From patchwork Thu Aug 31 23:20:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keiji Hayashibara X-Patchwork-Id: 111452 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp210118qge; Thu, 31 Aug 2017 16:20:27 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7gSf4Fu8EqG326apY77KsrYq4JNrpkie4W/IY/+52iyq0H+vDLOVusgrxuSy9EXG/AvSlv X-Received: by 10.99.157.74 with SMTP id i71mr95888pgd.271.1504221627642; Thu, 31 Aug 2017 16:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504221627; cv=none; d=google.com; s=arc-20160816; b=XrxJPbpL09OkKQDVLX0RrLmXuSxki+Wy/oj5s4GkzhNxhsGjeb/OzmOPfhhjVnL1Tc khlyrzY++tvZoMrvC0ry/kiW6ZmU+Ma6RVWFLYLumprScsOHOuSmT/WSq0Gqa23DBoKx vT9B/WHwVzfPZOLADNW0QIQ6HNIJHmYGkWs3GD6mWsWctgYRPAl4prT0nayK4eBa4YcM 4slXWGjBV4fzdw6lzlIF49k2On9rl6h/EqT1w0D9ZnrVwg98VYMI+F1MlbaHwVl5wWdu UhTwLeplcr3A9wxr0WSmfBhhPx2bIVEZ38Gt5gXL3FtTOclVoO5d/leCqLKkE3eQmOso t6JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=x0A6gFH2HjbdmUcXnOwAa9K7BkjsGIrLSIiRhdyIQ3o=; b=BBSFElHEK9+ToQxig5U74Vwq/O7iy/AZsYAK2s0y67xSYFCDV19SrgX64zvlCDVnPK CogFC1DhVoHNsks9wqxiLVZVMbrKPsVYyDXYeCUm56wByQWWbh6g6gVvP37wcn8u9tzP ZewgDa//b4mRPWelXGN2SDvR182Wh5I00ULQnCCGJH5J1+7zYLSF2DEUHuAExrF0UTIC aPPIhwDN56ZfafD7AGpJF/e0fmVHv9ch0rtmbMJWd8ehljuDrMdBHlX7hkQLDHra+E2I 81nzdlUHUWt81vJtIReX71Zopt36P8BpewdXalRPzxZlBPj8pnBghZygRyiZy72FFVb4 BDJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15si633356pgo.495.2017.08.31.16.20.27; Thu, 31 Aug 2017 16:20:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751796AbdHaXUZ (ORCPT + 6 others); Thu, 31 Aug 2017 19:20:25 -0400 Received: from mx.socionext.com ([202.248.49.38]:31258 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbdHaXUY (ORCPT ); Thu, 31 Aug 2017 19:20:24 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 01 Sep 2017 08:20:23 +0900 Received: from mail.mfilter.local (unknown [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 0763118022A; Fri, 1 Sep 2017 08:20:23 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 1 Sep 2017 08:20:23 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 934C61A1223; Fri, 1 Sep 2017 08:20:22 +0900 (JST) From: Keiji Hayashibara To: srinivas.kandagatla@linaro.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, masami.hiramatsu@linaro.org, jaswinder.singh@linaro.org, yamada.masahiro@socionext.com, hayashi.kunihiko@socionext.com, owada.kiyoshi@socionext.com, Keiji Hayashibara Subject: [PATCH v1 1/3] dt-bindings: nvmem: add description for UniPhier eFuse Date: Fri, 1 Sep 2017 08:20:18 +0900 Message-Id: <1504221620-358-2-git-send-email-hayashibara.keiji@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504221620-358-1-git-send-email-hayashibara.keiji@socionext.com> References: <1504221620-358-1-git-send-email-hayashibara.keiji@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add uniphier-efuse dt-bindings documentation. Signed-off-by: Keiji Hayashibara --- .../devicetree/bindings/nvmem/uniphier-efuse.txt | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt b/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt new file mode 100644 index 0000000..09024a2 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt @@ -0,0 +1,45 @@ += UniPhier eFuse device tree bindings = + +This UniPhier eFuse must be under soc-glue. + +Required properties: +- compatible: should be "socionext,uniphier-efuse" +- reg: should contain the register base and length + += Data cells = +Are child nodes of efuse, bindings of which as described in +bindings/nvmem/nvmem.txt + +Example: + + soc-glue@5f900000 { + compatible = "socionext,uniphier-ld20-soc-glue-debug", + "simple-mfd"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x5f900000 0x2000>; + + efuse { + compatible = "socionext,uniphier-efuse", + "syscon"; + reg = <0x100 0xf00>; + #address-cells = <1>; + #size-cells = <1>; + + /* Data cells */ + usb_mon: usb_mon { + reg = <0x154 0xc>; + }; + }; + }; + += Data consumers = +Are device nodes which consume nvmem data cells. + +Example: + + usb { + ... + nvmem-cells = <&usb_mon>; + nvmem-cell-names = "usb_mon"; + }