From patchwork Tue Oct 24 09:54:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 116929 Delivered-To: patch@linaro.org Received: by 10.80.245.45 with SMTP id t42csp406947edm; Tue, 24 Oct 2017 02:59:09 -0700 (PDT) X-Received: by 10.98.214.17 with SMTP id r17mr16221453pfg.246.1508839149184; Tue, 24 Oct 2017 02:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508839149; cv=none; d=google.com; s=arc-20160816; b=HEsp/2Us+o8blwthyyEFyXYQx8hu/R0/WdYFOiv5pcdaOOoJcEDFuu92yqTie2lXJQ 3PyZHmBK2M0jyAW5RzSAOSm+A0UdAp0p2+LzD+TJDTJK95OCl9etVdWTkk2/0ua4cHrk m7kW6+kdRz/fJ3Zv6iO1ZbgK2oKV90tHxqICxeyDQYliVfaiEoYxTCCAEmQ0L3uOZLKP NBfyNMKuMAqpiQCVqCdUkZI6v16+CpCC/UTRBzbXwfFZUuhdGlLiEPWOcdtw9vzAiB6c Erv99XE8Uk0ikzSIZG0oFeANjAD6GktXvp5zwZL2yoGJ9qAfvi2ugszeepr67KZ/irta hqVg== 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:dkim-signature:arc-authentication-results; bh=a+LKxpWdnoZqdnYHYwbanAXkuTFZXbuaQTVKE6UuN/U=; b=XdYZsgHjsDSzHr4e2ytUiSRSo8BaTJZPYKy+J0Hsd0KJDejyoUOocviv8Z9krs6TeA bwm1kIY+Y+uPqG1TXkQyH+/kU9hZF/M+CxEaK8AWngcej3YS4CIfvJFAo6esBnJobx10 xEKes6C/ONlmzDaOZi4KFKU+Zr8tMWxwsnL69f7fgpMAQljYBqTa9aloUwhfBFfMKDgn dukGq3XEPR56WWD8VixXyjXQEziiKeTl2FH80M0q2q7xnbqLC2wCvsrFFv0x9/NYz6D9 dyzQU1sAA5NBZCXi07iFUKD6Csy9RtwkWb6Wfh1NV4hV7sKxYAaYVBcJuSoXNEa1Z56O sYDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NTeOEO78; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si5102622plp.477.2017.10.24.02.59.08; Tue, 24 Oct 2017 02:59:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NTeOEO78; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752307AbdJXJ7H (ORCPT + 27 others); Tue, 24 Oct 2017 05:59:07 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:45585 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbdJXJ4r (ORCPT ); Tue, 24 Oct 2017 05:56:47 -0400 Received: by mail-wr0-f195.google.com with SMTP id y9so7819110wrb.2 for ; Tue, 24 Oct 2017 02:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a+LKxpWdnoZqdnYHYwbanAXkuTFZXbuaQTVKE6UuN/U=; b=NTeOEO78BBhVXaRIvpI//7nkkFXLRiJ0mg7ViwRQQ6xg+p6QXIIDszjMFvhk2LOR1B gQybvSXh6zgUy6uF7rUXYvi/LzM5z408mK9wc+ZoMPyqXdB8Llt+YjUE5QHfU2ESE0Z+ nXxa70v1AOOGcA2NitOpzkIeQi3SKWLl+G6LM= 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=a+LKxpWdnoZqdnYHYwbanAXkuTFZXbuaQTVKE6UuN/U=; b=X2cu89eBpVl8LLCJygkb3rJDdpxfRLGoK8b3HIn6L21JSFBnXaAdb4WRiG05qx/phL CCXJDck0LGHxgOHxexkCNs23MDeIkG/iZdFQvNSBh1dXV3lzBQfSpQtuJ/VGdHQTFvLh PZW8UBQMv89EE3yANBKotimm7AVuT+y/GzKwywRvAZI6bugvSUxN/MfofvKjOaRCEyh7 vz8SIPiq9SmGqwGPI7A5x5+raDEdxTQqi8zEi4JPUqvMMg2wfdp9SkyFwDYN7xWd+Qy4 nhsP9+IjACNmeXfInMxE2zsTAPpoac0eLJwReoL/9gzOJBM8290YrJzFB6fQNKUnGvUV mY8Q== X-Gm-Message-State: AMCzsaXgG4G5A0qxZbG+ASjKuKUIgBiicDsogGsEk2/jK4Mbx3eJ5oyD kX7KmCJ8itRCyoDFb3Od0u8aew== X-Google-Smtp-Source: ABhQp+R1SzTiFtjoWi5/33A3aVmWjyCRsJ+wBSnYUTuy6vKNekQSa3Zr5ck4LqRcyACvRloD/huEVQ== X-Received: by 10.223.138.208 with SMTP id z16mr13772603wrz.152.1508839005875; Tue, 24 Oct 2017 02:56:45 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id 29sm9666451wrz.77.2017.10.24.02.56.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 02:56:45 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Keiji Hayashibara , Srinivas Kandagatla Subject: [PATCH 01/10] dt-bindings: nvmem: add description for UniPhier eFuse Date: Tue, 24 Oct 2017 10:54:25 +0100 Message-Id: <1508838874-32252-2-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508838874-32252-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1508838874-32252-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Keiji Hayashibara Add uniphier-efuse dt-bindings documentation. Signed-off-by: Keiji Hayashibara Acked-by: Rob Herring Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/nvmem/uniphier-efuse.txt | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt -- 1.9.1 diff --git a/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt b/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt new file mode 100644 index 0000000..eccf490 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt @@ -0,0 +1,49 @@ += 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 location 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@100 { + compatible = "socionext,uniphier-efuse"; + reg = <0x100 0x28>; + }; + + efuse@200 { + compatible = "socionext,uniphier-efuse"; + reg = <0x200 0x68>; + #address-cells = <1>; + #size-cells = <1>; + + /* Data cells */ + usb_mon: usb-mon@54 { + reg = <0x54 0xc>; + }; + }; + }; + += Data consumers = +Are device nodes which consume nvmem data cells. + +Example: + + usb { + ... + nvmem-cells = <&usb_mon>; + nvmem-cell-names = "usb_mon"; + }