Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbdFIPBR (ORCPT ); Fri, 9 Jun 2017 11:01:17 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52405 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbdFIO7w (ORCPT ); Fri, 9 Jun 2017 10:59:52 -0400 Subject: Re: [PATCH v5 1/3] nvmem: dt: document SNVS LPGPR binding To: Oleksij Rempel , devicetree@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Rutland , Maxime Ripard , Rob Herring , Shawn Guo , Srinivas Kandagatla References: <20170609125730.25502-1-o.rempel@pengutronix.de> <20170609125730.25502-2-o.rempel@pengutronix.de> From: Stefan Wahren Message-ID: <8e50ff3d-d1f0-2795-5dc9-302979ca9694@i2se.com> Date: Fri, 9 Jun 2017 16:59:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170609125730.25502-2-o.rempel@pengutronix.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: de-DE X-Provags-ID: V03:K0:mwJbQsmY0Up/C21VJjoO0qR2HedUeGrMPH7RZDTA/cCdXKRvGPn zBDgAH6+3UPT6ZvdfxR/RhLB7cUO+Z2O2WUrS5TxBqPyfjip8QzchXAehCdqKJoTblvrCqW VUynX2cGE3NbLs/pNVA4hEmzCbWbQR5QzeLfGhBrMpDBbGgRQGIsGGSLBpvYOz/BZif9ORF XZWJBV+X6qbtQhy+unjIQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:kQKl/ynxtAc=:IX73ZRjOOR3CDnMMBkHahx dtIYr7DimEyA08Suv9pHUiEu7WdqzhqGWxCJy/isn/dPb965IdNrgV1AWlQK65YdEehBvW61y Fv74ERZYOufQYLLwHfBlh2eBR2rFmXIrH4XGOW06d4RQzVnrzeRXAzoK6Zb0wEg6Ud7RTqeRZ TweS9VD6VcCVgMc79AybcY3zgsGQXZaD3+S3KSGWB/PK7rurGZ2oetJ30f8n/uTp6KAPpF/gx sKaKxrY0M7yttlDTFleuttTSVwsSwoysEQXb6MhXgVhGn+XloTm9fQqUMVGPGAM0XtIhxIyHr qphh+cuksL8D3efUkarg3wJV6T7GpcekO7jxVaUHaXSLJALNvRhqfvEtaLrX9UUYMnAF/zXPV QFxEUdxxiv1NruK5HrUR5NHTZEEdCUi+suw5pDsPkIdvkQJk9XWzTowxGVRYcrzxH4ELPGCob wp7YoFc8OaPGAwRy68b9eomfsCPengx65oSEw5mXNQ690evWZKjc5JwGi6V+Ml4w/UsKQ7XFU rw6fRUKnF0pcgvzbSOc6t6zxsHTWbrW+Bf80lKHs1f483OeWhT5226iTcav5XP0Z90TMJxdAo ZgMNL/dPj4Wt5VkIAMJQg8LoWIB+wfm6b9sVablJBzuyOPF04RUgGUw+1og4DnckaN2DZKibR 8hygHbviLkmjr+VGWq4pztuNOx1Mh5sQ0nzIITL8hqSuC9iQRvEtXsr5IxuTs/wirWPuZybUo ZAsCbd4G6Grhyvxd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1466 Lines: 45 Hi Oleksij, Am 09.06.2017 um 14:57 schrieb Oleksij Rempel: > Documentation bindings for the Low Power General Purpose Register > available on i.MX6 SoCs in the Secure Non-Volatile Storage. > > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/nvmem/snvs-lpgpr.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt > > diff --git a/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt b/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt > new file mode 100644 > index 000000000000..21910fb3159f > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt > @@ -0,0 +1,19 @@ > +Device tree bindings for Low Power General Purpose Register found in i.MX6Q/D > +Secure Non-Volatile Storage. > + > +This DT node should be represented as a sub-node of a "syscon", > +"simple-mfd" node. > + > +Required properties: > +- compatible: should be: > + "fsl,imx6q-snvs-lpgpr" for Freescale i.MX6Q/D/DL/S > + > +Example: > +snvs: snvs@020cc000 { > + compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; > + reg = <0x020cc000 0x4000>; > + > + snvs_lpgpr: snvs-lpgpr { > + compatible = "fsl,imx6q-snvs-lpgpr"; according to the reference manual at least the clock "lp_ipg_clk_s" is required for register R/W access. So it should be added to the binding and enabled by the driver. Best regards Stefan > + }; > +};