From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:53002 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752265AbcHUSyE (ORCPT ); Sun, 21 Aug 2016 14:54:04 -0400 Subject: Re: [PATCH v7 1/3] dt-bindings: auxadc: Add binding document for Mediatek auxadc. To: Zhiyong Tao , robh+dt@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net References: <1471504297-26947-1-git-send-email-zhiyong.tao@mediatek.com> <1471504297-26947-2-git-send-email-zhiyong.tao@mediatek.com> Cc: srv_heupstream@mediatek.com, liguo.zhang@mediatek.com, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, erin.lo@mediatek.com, dawei.chien@mediatek.com, matthias.bgg@gmail.com, s.hauer@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, linux-mediatek@lists.infradead.org From: Jonathan Cameron Message-ID: Date: Sun, 21 Aug 2016 19:54:00 +0100 MIME-Version: 1.0 In-Reply-To: <1471504297-26947-2-git-send-email-zhiyong.tao@mediatek.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 18/08/16 08:11, Zhiyong Tao wrote: > The commit adds the device tree binding documentation for the mediatek > auxadc found on Mediatek MT2701. > Thermal gets auxadc sample data by iio device. > So the commit changes auxadc device tree binding documentation from > /soc/mediatek/auxadc.txt to /iio/adc/mt6577_auxadc.txt. > > Acked-by: Rob Herring > Signed-off-by: Zhiyong Tao Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > .../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 18 +++++++++++++----- > 1 file changed, 13 insertions(+), 5 deletions(-) > rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt => iio/adc/mt6577_auxadc.txt} (46%) > > diff --git a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > similarity index 46% > rename from Documentation/devicetree/bindings/soc/mediatek/auxadc.txt > rename to Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > index bdb7829..68c45cb 100644 > --- a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt > +++ b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > @@ -1,4 +1,4 @@ > -MediaTek AUXADC > +* Mediatek AUXADC - Analog to Digital Converter on Mediatek mobile soc (mt65xx/mt81xx/mt27xx) > =============== > > The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found > @@ -10,12 +10,20 @@ Documentation/devicetree/bindings/thermal/mediatek-thermal.txt > for the Thermal Controller which holds a phandle to the AUXADC. > > Required properties: > -- compatible: Must be "mediatek,mt8173-auxadc" > -- reg: Address range of the AUXADC unit > + - compatible: Should be one of: > + - "mediatek,mt2701-auxadc": For MT2701 family of SoCs > + - "mediatek,mt8173-auxadc": For MT8173 family of SoCs > + - reg: Address range of the AUXADC unit. > + - clocks: Should contain a clock specifier for each entry in clock-names > + - clock-names: Should contain "main". > + - #io-channel-cells: Should be 1, see ../iio-bindings.txt > > Example: > > -auxadc: auxadc@11001000 { > - compatible = "mediatek,mt8173-auxadc"; > +auxadc: adc@11001000 { > + compatible = "mediatek,mt2701-auxadc"; > reg = <0 0x11001000 0 0x1000>; > + clocks = <&pericfg CLK_PERI_AUXADC>; > + clock-names = "main"; > + #io-channel-cells = <1>; > }; > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCH v7 1/3] dt-bindings: auxadc: Add binding document for Mediatek auxadc. Date: Sun, 21 Aug 2016 19:54:00 +0100 Message-ID: References: <1471504297-26947-1-git-send-email-zhiyong.tao@mediatek.com> <1471504297-26947-2-git-send-email-zhiyong.tao@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1471504297-26947-2-git-send-email-zhiyong.tao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Zhiyong Tao , robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, knaack.h-Mmb7MZpHnFY@public.gmane.org, lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org, pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org Cc: srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, liguo.zhang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, erin.lo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, dawei.chien-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-mediatek@lists.infradead.org On 18/08/16 08:11, Zhiyong Tao wrote: > The commit adds the device tree binding documentation for the mediatek > auxadc found on Mediatek MT2701. > Thermal gets auxadc sample data by iio device. > So the commit changes auxadc device tree binding documentation from > /soc/mediatek/auxadc.txt to /iio/adc/mt6577_auxadc.txt. > > Acked-by: Rob Herring > Signed-off-by: Zhiyong Tao Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > .../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 18 +++++++++++++----- > 1 file changed, 13 insertions(+), 5 deletions(-) > rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt => iio/adc/mt6577_auxadc.txt} (46%) > > diff --git a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > similarity index 46% > rename from Documentation/devicetree/bindings/soc/mediatek/auxadc.txt > rename to Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > index bdb7829..68c45cb 100644 > --- a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt > +++ b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > @@ -1,4 +1,4 @@ > -MediaTek AUXADC > +* Mediatek AUXADC - Analog to Digital Converter on Mediatek mobile soc (mt65xx/mt81xx/mt27xx) > =============== > > The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found > @@ -10,12 +10,20 @@ Documentation/devicetree/bindings/thermal/mediatek-thermal.txt > for the Thermal Controller which holds a phandle to the AUXADC. > > Required properties: > -- compatible: Must be "mediatek,mt8173-auxadc" > -- reg: Address range of the AUXADC unit > + - compatible: Should be one of: > + - "mediatek,mt2701-auxadc": For MT2701 family of SoCs > + - "mediatek,mt8173-auxadc": For MT8173 family of SoCs > + - reg: Address range of the AUXADC unit. > + - clocks: Should contain a clock specifier for each entry in clock-names > + - clock-names: Should contain "main". > + - #io-channel-cells: Should be 1, see ../iio-bindings.txt > > Example: > > -auxadc: auxadc@11001000 { > - compatible = "mediatek,mt8173-auxadc"; > +auxadc: adc@11001000 { > + compatible = "mediatek,mt2701-auxadc"; > reg = <0 0x11001000 0 0x1000>; > + clocks = <&pericfg CLK_PERI_AUXADC>; > + clock-names = "main"; > + #io-channel-cells = <1>; > }; > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: jic23@kernel.org (Jonathan Cameron) Date: Sun, 21 Aug 2016 19:54:00 +0100 Subject: [PATCH v7 1/3] dt-bindings: auxadc: Add binding document for Mediatek auxadc. In-Reply-To: <1471504297-26947-2-git-send-email-zhiyong.tao@mediatek.com> References: <1471504297-26947-1-git-send-email-zhiyong.tao@mediatek.com> <1471504297-26947-2-git-send-email-zhiyong.tao@mediatek.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 18/08/16 08:11, Zhiyong Tao wrote: > The commit adds the device tree binding documentation for the mediatek > auxadc found on Mediatek MT2701. > Thermal gets auxadc sample data by iio device. > So the commit changes auxadc device tree binding documentation from > /soc/mediatek/auxadc.txt to /iio/adc/mt6577_auxadc.txt. > > Acked-by: Rob Herring > Signed-off-by: Zhiyong Tao Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > .../auxadc.txt => iio/adc/mt6577_auxadc.txt} | 18 +++++++++++++----- > 1 file changed, 13 insertions(+), 5 deletions(-) > rename Documentation/devicetree/bindings/{soc/mediatek/auxadc.txt => iio/adc/mt6577_auxadc.txt} (46%) > > diff --git a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > similarity index 46% > rename from Documentation/devicetree/bindings/soc/mediatek/auxadc.txt > rename to Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > index bdb7829..68c45cb 100644 > --- a/Documentation/devicetree/bindings/soc/mediatek/auxadc.txt > +++ b/Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt > @@ -1,4 +1,4 @@ > -MediaTek AUXADC > +* Mediatek AUXADC - Analog to Digital Converter on Mediatek mobile soc (mt65xx/mt81xx/mt27xx) > =============== > > The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found > @@ -10,12 +10,20 @@ Documentation/devicetree/bindings/thermal/mediatek-thermal.txt > for the Thermal Controller which holds a phandle to the AUXADC. > > Required properties: > -- compatible: Must be "mediatek,mt8173-auxadc" > -- reg: Address range of the AUXADC unit > + - compatible: Should be one of: > + - "mediatek,mt2701-auxadc": For MT2701 family of SoCs > + - "mediatek,mt8173-auxadc": For MT8173 family of SoCs > + - reg: Address range of the AUXADC unit. > + - clocks: Should contain a clock specifier for each entry in clock-names > + - clock-names: Should contain "main". > + - #io-channel-cells: Should be 1, see ../iio-bindings.txt > > Example: > > -auxadc: auxadc at 11001000 { > - compatible = "mediatek,mt8173-auxadc"; > +auxadc: adc at 11001000 { > + compatible = "mediatek,mt2701-auxadc"; > reg = <0 0x11001000 0 0x1000>; > + clocks = <&pericfg CLK_PERI_AUXADC>; > + clock-names = "main"; > + #io-channel-cells = <1>; > }; >