From: Yangtao Li <tiny.windzz@gmail.com> To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Yangtao Li <tiny.windzz@gmail.com> Subject: [PATCH 5/7] dt-bindings: mfd: Add H6 GPADC binding Date: Fri, 3 May 2019 03:28:11 -0400 [thread overview] Message-ID: <20190503072813.2719-6-tiny.windzz@gmail.com> (raw) In-Reply-To: <20190503072813.2719-1-tiny.windzz@gmail.com> This patch adds documentation for the H6 GPADC binding. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> --- .../devicetree/bindings/mfd/sun4i-gpadc.txt | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt b/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt index 86dd8191b04c..eeaf27eb8abd 100644 --- a/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt +++ b/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt @@ -5,11 +5,22 @@ and sometimes as a touchscreen controller. Required properties: - compatible: "allwinner,sun8i-a33-ths", + "allwinner,sun50i-h6-ths", - reg: mmio address range of the chip, - - #thermal-sensor-cells: shall be 0, + - #thermal-sensor-cells: shall be 0 for sun8i-a33-ths, + shall be 1 for sun50i-h6-ths, - #io-channel-cells: shall be 0, -Example: +Optional properties: + - clocks: Must contain an entry for each entry in clock-names. + See common clock-bindings.txt for details. + - clock-names: A list of clock names. For sun50i-h6-ths, it must contain + "bus". + - resets: Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. + - reset-names: For sun50i-h6-ths, it must contain "bus". + +Example1: ths: ths@1c25000 { compatible = "allwinner,sun8i-a33-ths"; reg = <0x01c25000 0x100>; @@ -17,6 +28,18 @@ Example: #io-channel-cells = <0>; }; +Example2: + ths: ths@1c25000 { + compatible = "allwinner,sun50i-h6-ths"; + reg = <0x05070400 0x100>; + clocks = <&ccu CLK_BUS_THS>; + clock-names = "bus"; + resets = <&ccu RST_BUS_THS>; + reset-names = "bus"; + #thermal-sensor-cells = <1>; + #io-channel-cells = <0>; + }; + sun4i, sun5i and sun6i SoCs are also supported via the older binding: sun4i resistive touchscreen controller -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Yangtao Li <tiny.windzz@gmail.com> To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Yangtao Li <tiny.windzz@gmail.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/7] dt-bindings: mfd: Add H6 GPADC binding Date: Fri, 3 May 2019 03:28:11 -0400 [thread overview] Message-ID: <20190503072813.2719-6-tiny.windzz@gmail.com> (raw) In-Reply-To: <20190503072813.2719-1-tiny.windzz@gmail.com> This patch adds documentation for the H6 GPADC binding. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> --- .../devicetree/bindings/mfd/sun4i-gpadc.txt | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt b/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt index 86dd8191b04c..eeaf27eb8abd 100644 --- a/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt +++ b/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt @@ -5,11 +5,22 @@ and sometimes as a touchscreen controller. Required properties: - compatible: "allwinner,sun8i-a33-ths", + "allwinner,sun50i-h6-ths", - reg: mmio address range of the chip, - - #thermal-sensor-cells: shall be 0, + - #thermal-sensor-cells: shall be 0 for sun8i-a33-ths, + shall be 1 for sun50i-h6-ths, - #io-channel-cells: shall be 0, -Example: +Optional properties: + - clocks: Must contain an entry for each entry in clock-names. + See common clock-bindings.txt for details. + - clock-names: A list of clock names. For sun50i-h6-ths, it must contain + "bus". + - resets: Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. + - reset-names: For sun50i-h6-ths, it must contain "bus". + +Example1: ths: ths@1c25000 { compatible = "allwinner,sun8i-a33-ths"; reg = <0x01c25000 0x100>; @@ -17,6 +28,18 @@ Example: #io-channel-cells = <0>; }; +Example2: + ths: ths@1c25000 { + compatible = "allwinner,sun50i-h6-ths"; + reg = <0x05070400 0x100>; + clocks = <&ccu CLK_BUS_THS>; + clock-names = "bus"; + resets = <&ccu RST_BUS_THS>; + reset-names = "bus"; + #thermal-sensor-cells = <1>; + #io-channel-cells = <0>; + }; + sun4i, sun5i and sun6i SoCs are also supported via the older binding: sun4i resistive touchscreen controller -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-05-03 7:28 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-03 7:28 [PATCH 0/7] Add support for H6 thermal sensor Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-03 7:28 ` [PATCH 1/7] iio: adc: sun4i-gpadc: rework for support multiple " Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-05 15:22 ` Jonathan Cameron 2019-05-05 15:22 ` Jonathan Cameron 2019-05-05 15:22 ` Jonathan Cameron 2019-05-06 12:28 ` Maxime Ripard 2019-05-06 12:28 ` Maxime Ripard 2019-05-06 16:52 ` Icenowy Zheng 2019-05-06 16:52 ` Icenowy Zheng 2019-05-06 17:08 ` Frank Lee 2019-05-06 17:08 ` Frank Lee 2019-05-06 17:55 ` Ondřej Jirman 2019-05-06 17:55 ` Ondřej Jirman 2019-05-07 13:59 ` Maxime Ripard 2019-05-07 13:59 ` Maxime Ripard 2019-05-03 7:28 ` [PATCH 2/7] iio: adc: sun4i-gpadc: introduce temp_data in gpadc_data Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-03 7:28 ` [PATCH 3/7] iio: adc: sun4i-gpadc: introduce gpadc_enable and gpadc_disable " Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-03 7:28 ` [PATCH 4/7] iio: adc: sun4i-gpadc-iio: support clocks and reset Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-03 7:28 ` Yangtao Li [this message] 2019-05-03 7:28 ` [PATCH 5/7] dt-bindings: mfd: Add H6 GPADC binding Yangtao Li 2019-05-08 11:44 ` Lee Jones 2019-05-08 11:44 ` Lee Jones 2019-05-03 7:28 ` [PATCH 6/7] iio: adc: sun4i-gpadc-iio: add support for H6 thermal sensor Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-05 15:25 ` Jonathan Cameron 2019-05-05 15:25 ` Jonathan Cameron 2019-05-08 11:45 ` Lee Jones 2019-05-08 11:45 ` Lee Jones 2019-05-03 7:28 ` [PATCH 7/7] iio: adc: sun4i-gpadc-iio convert to SPDX license tags Yangtao Li 2019-05-03 7:28 ` Yangtao Li 2019-05-03 9:18 ` Maxime Ripard 2019-05-03 9:18 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190503072813.2719-6-tiny.windzz@gmail.com \ --to=tiny.windzz@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=jic23@kernel.org \ --cc=knaack.h@gmx.de \ --cc=lars@metafoo.de \ --cc=lee.jones@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-iio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=maxime.ripard@bootlin.com \ --cc=pmeerw@pmeerw.net \ --cc=robh+dt@kernel.org \ --cc=wens@csie.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.