From: Jonathan Cameron <jic23@kernel•org>
To: Krzysztof Kozlowski <krzk@kernel•org>
Cc: Mark Rutland <mark.rutland@arm•com>,
Alessandro Zummo <a.zummo@towertech•it>,
Alexandre Belloni <alexandre.belloni@bootlin•com>,
Lars-Peter Clausen <lars@metafoo•de>,
devicetree@vger•kernel.org, linux-iio@vger•kernel.org,
linux-pm@vger•kernel.org, Sebastian Reichel <sre@kernel•org>,
linux-kernel@vger•kernel.org, linux-samsung-soc@vger•kernel.org,
Rob Herring <robh+dt@kernel•org>, Kukjin Kim <kgene@kernel•org>,
Peter Meerwald-Stadler <pmeerw@pmeerw•net>,
Hartmut Knaack <knaack.h@gmx•de>,
linux-arm-kernel@lists•infradead.org, linux-rtc@vger•kernel.org
Subject: Re: [PATCH 4/4] dt-bindings: iio: adc: exynos: Use defines instead of clock numbers
Date: Sun, 6 Oct 2019 11:02:12 +0100 [thread overview]
Message-ID: <20191006110212.4e6fe30e@archlinux> (raw)
In-Reply-To: <20191002160744.11307-4-krzk@kernel.org>
On Wed, 2 Oct 2019 18:07:44 +0200
Krzysztof Kozlowski <krzk@kernel•org> wrote:
> Make the examples in Exynos ADC bindings more readable and bring them
> closer to real DTS by using defines for clocks.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel•org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei•com>
> ---
> .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> index a0a9b909ac40..a3010e7ea051 100644
> --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
> @@ -135,6 +135,8 @@ examples:
> };
>
> - |
> + #include <dt-bindings/clock/exynos3250.h>
> +
> adc@126c0000 {
> compatible = "samsung,exynos3250-adc";
> reg = <0x126C0000 0x100>;
> @@ -142,8 +144,8 @@ examples:
> #io-channel-cells = <1>;
> io-channel-ranges;
>
> - clocks = <&cmu 0>, // CLK_TSADC
> - <&cmu 1>; // CLK_SCLK_TSADC
> + clocks = <&cmu CLK_TSADC>,
> + <&cmu CLK_SCLK_TSADC>;
> clock-names = "adc", "sclk";
>
> vdd-supply = <&buck5_reg>;
_______________________________________________
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-10-06 10:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-02 16:07 [PATCH 1/4] dt-bindings: samsung: Indent examples with four spaces Krzysztof Kozlowski
2019-10-02 16:07 ` [PATCH 2/4] dt-bindings: rtc: s3c: Use defines instead of clock numbers Krzysztof Kozlowski
2019-10-07 13:17 ` Alexandre Belloni
2019-10-15 17:10 ` Rob Herring
2019-10-02 16:07 ` [PATCH 3/4] dt-bindings: rtc: s3c: Include generic dt-schema bindings Krzysztof Kozlowski
2019-10-07 13:17 ` Alexandre Belloni
2019-10-15 17:11 ` Rob Herring
2019-10-02 16:07 ` [PATCH 4/4] dt-bindings: iio: adc: exynos: Use defines instead of clock numbers Krzysztof Kozlowski
2019-10-06 10:02 ` Jonathan Cameron [this message]
2019-10-15 17:11 ` Rob Herring
2019-10-06 10:01 ` [PATCH 1/4] dt-bindings: samsung: Indent examples with four spaces Jonathan Cameron
2019-10-07 13:17 ` Alexandre Belloni
2019-10-10 16:48 ` Sebastian Reichel
2019-10-15 17:10 ` Rob Herring
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=20191006110212.4e6fe30e@archlinux \
--to=jic23@kernel$(echo .)org \
--cc=a.zummo@towertech$(echo .)it \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=kgene@kernel$(echo .)org \
--cc=knaack.h@gmx$(echo .)de \
--cc=krzk@kernel$(echo .)org \
--cc=lars@metafoo$(echo .)de \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-iio@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-pm@vger$(echo .)kernel.org \
--cc=linux-rtc@vger$(echo .)kernel.org \
--cc=linux-samsung-soc@vger$(echo .)kernel.org \
--cc=mark.rutland@arm$(echo .)com \
--cc=pmeerw@pmeerw$(echo .)net \
--cc=robh+dt@kernel$(echo .)org \
--cc=sre@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox