From patchwork Thu May 4 05:21:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 758349 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wJNgP54t5z9ryb for ; Thu, 4 May 2017 15:21:53 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dowhile0-org.20150623.gappssmtp.com header.i=@dowhile0-org.20150623.gappssmtp.com header.b="0ID8o9e7"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932314AbdEDFVW (ORCPT ); Thu, 4 May 2017 01:21:22 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33056 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932260AbdEDFVU (ORCPT ); Thu, 4 May 2017 01:21:20 -0400 Received: by mail-wm0-f65.google.com with SMTP id y10so858043wmh.0 for ; Wed, 03 May 2017 22:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dowhile0-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hLLrZsxkwtssVpeIVTu0plKchyIUpOoJCNCU+79YuWc=; b=0ID8o9e7BY+5LKWtltHEF2MGJNrpVQfjNMR3exdW8vsAW96U6RTk8SqO5iKO42HVwq T2U3W7ktElI1VbteA5X4ADV7o2mwTdGo5+OEB8tnpLEHF4sZKF0Cr8cwsKS4su9XdaaV XUm5vk0BcE3DvtmDwAk1y/IXGEacbJbML2b4nkGwfZmZM9Pi63WaLhNN1Ph4Buk0tngQ U1NUY2TJDFp2FVTO2yzy3GVAbNzHwCW8MzAKC3g4MVVtmaZhv8hZG2InLVqGRWAQ/AlZ fzls95UVS31hpqiSSC9CempNUopEjSOWHO0mf+cNZJuD8NFAc2SbeY5FkoQdXWqm1X8C CVOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hLLrZsxkwtssVpeIVTu0plKchyIUpOoJCNCU+79YuWc=; b=nZVuNHVLHzlxdq92Y/pamIn4eZQGU+snEhf4UTOeoX3hzSBgGz+PJAIUDbmm83/Y3h l/Cv/6UbvPFPpHgeyxflmxNNAp1QvpU3szVqbFdr+EoY0uJvTqm6rzkhQ2WgKa76FRMf xHHp10dE5JPytSsUWZ9DuuEM2aTYOa+KilA57mUV6aGg+t/YqgRkCMXj2OchXh/w23cr L/Z5ZGV5FdHIth1nkULix751+FU6LTGQ6joBTSmuuhfyzo2dEreTKTymq4B1dEFPTi7o 8F+c8z14TYyX8NceXLyJ74VWm3eL8Mlm0V5rNMFSQoQCtsfN96OOe+fYkJ2E3HHKy1AH sVsg== X-Gm-Message-State: AN3rC/64RfavWjNY/iwDvySrRRssBtjtAu41hDEkRbhmSZyY0WGFE9bi FmtuoQx+AeTAbw== X-Received: by 10.28.215.18 with SMTP id o18mr246318wmg.31.1493875278302; Wed, 03 May 2017 22:21:18 -0700 (PDT) Received: from localhost.localdomain ([90.163.109.123]) by smtp.gmail.com with ESMTPSA id p104sm1467662wrc.66.2017.05.03.22.21.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 22:21:17 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, Wolfram Sang , Rob Herring , Tony Lindgren , Lee Jones , Aaro Koskinen , Javier Martinez Canillas Subject: [PATCH v6 1/8] dt-bindings: mfd: Add retu/tahvo ASIC chips bindings Date: Thu, 4 May 2017 01:21:00 -0400 Message-Id: <20170504052107.18995-2-javier@dowhile0.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170504052107.18995-1-javier@dowhile0.org> References: <20170504052107.18995-1-javier@dowhile0.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There are Device Tree source files defining a device node for the retu/tahvo I2C chip, but there isn't a DT binding document for it. Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring Acked-by: Aaro Koskinen Acked-by: Tony Lindgren Acked-by: Lee Jones --- Changes in v6: - Mention CBUS address instead of I2C since that's the bus used (Wolfram Sang). - Add a "i2c-cbus-gpio" comptible and use cbus0 for parent node (Wolfram Sang). Changes in v5: - Add missing properties for interrupts to DT binding doc (Rob Herring). - Add Rob Herring's Acked-by tag. - Add Aaro Koskinen's Acked-by tag. - Add Acked-by: Tony Lindgren 's Acked-by tag. - Add Lee Jones 's Acked-by tag. Changes in v4: - Use "dt-bindings: mfd:" prefix in subject line (Rob Herring). - Add information about what functions the device serve (Lee Jones). - Avoid using MFD in Device Tree (Lee Jones). Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/mfd/retu.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/retu.txt diff --git a/Documentation/devicetree/bindings/mfd/retu.txt b/Documentation/devicetree/bindings/mfd/retu.txt new file mode 100644 index 000000000000..876242394a16 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/retu.txt @@ -0,0 +1,25 @@ +* Device tree bindings for Nokia Retu and Tahvo multi-function device + +Retu and Tahvo are a multi-function devices found on Nokia Internet +Tablets (770, N800 and N810). The Retu chip provides watchdog timer +and power button control functionalities while Tahvo chip provides +USB transceiver functionality. + +Required properties: +- compatible: "nokia,retu" or "nokia,tahvo" +- reg: Specifies the CBUS slave address of the ASIC chip +- interrupts: The interrupt line the device is connected to +- interrupt-parent: The parent interrupt controller + +Example: + +cbus0 { + compatible = "i2c-cbus-gpio"; + ... + retu: retu@1 { + compatible = "nokia,retu"; + interrupt-parent = <&gpio4>; + interrupts = <12 IRQ_TYPE_EDGE_RISING>; + reg = <0x1>; + }; +};