From: Jonathan Cameron <jic23@kernel.org>
To: Naveen Krishna Chatradhi <ch.naveen@samsung.com>,
linux-iio@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, cw00.choi@samsung.com,
gregkh@linuxfoundation.org, naveenkrishna.ch@gmail.com,
lars@metafoo.de, cpgs@samsung.com, grundler@chromium.org
Subject: Re: [PATCH v2 3/3] ARM: dts: exynos: Add sysreg phandle to ADC node
Date: Wed, 05 Nov 2014 15:35:52 +0000 [thread overview]
Message-ID: <545A43D8.6050202@kernel.org> (raw)
In-Reply-To: <1410857931-4980-4-git-send-email-ch.naveen@samsung.com>
On 16/09/14 09:58, Naveen Krishna Chatradhi wrote:
> Instead of using the ADC_PHY register base address, use sysreg phandle
> in ADC node to control ADC_PHY configuration register.
>
> This patch adds syscon node for Exynos3250, Exynos4x12, Exynos5250,
> and Exynos5420, Exynos5800.
>
> Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
> To: linux-samsung-soc@vger.kernel.org
Applied to the togreg branch of iio.git - initially pushed out as testing.
As this is very closely tied with the driver changes I've applied it through
the IIO tree. If it turns up in the samsung tree as well, we can let git
work it's magic to drop one of the copies!
Jonathan
> ---
> arch/arm/boot/dts/exynos3250.dtsi | 3 ++-
> arch/arm/boot/dts/exynos4x12.dtsi | 3 ++-
> arch/arm/boot/dts/exynos5250.dtsi | 3 ++-
> arch/arm/boot/dts/exynos5420.dtsi | 3 ++-
> 4 files changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
> index 1d52de6..b997a4c 100644
> --- a/arch/arm/boot/dts/exynos3250.dtsi
> +++ b/arch/arm/boot/dts/exynos3250.dtsi
> @@ -272,12 +272,13 @@
> adc: adc@126C0000 {
> compatible = "samsung,exynos3250-adc",
> "samsung,exynos-adc-v2";
> - reg = <0x126C0000 0x100>, <0x10020718 0x4>;
> + reg = <0x126C0000 0x100>;
> interrupts = <0 137 0>;
> clock-names = "adc", "sclk";
> clocks = <&cmu CLK_TSADC>, <&cmu CLK_SCLK_TSADC>;
> #io-channel-cells = <1>;
> io-channel-ranges;
> + samsung,syscon-phandle = <&pmu_system_controller>;
> status = "disabled";
> };
>
> diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi
> index 861bb91..9ee77d3 100644
> --- a/arch/arm/boot/dts/exynos4x12.dtsi
> +++ b/arch/arm/boot/dts/exynos4x12.dtsi
> @@ -108,13 +108,14 @@
>
> adc: adc@126C0000 {
> compatible = "samsung,exynos-adc-v1";
> - reg = <0x126C0000 0x100>, <0x10020718 0x4>;
> + reg = <0x126C0000 0x100>;
> interrupt-parent = <&combiner>;
> interrupts = <10 3>;
> clocks = <&clock CLK_TSADC>;
> clock-names = "adc";
> #io-channel-cells = <1>;
> io-channel-ranges;
> + samsung,syscon-phandle = <&pmu_system_controller>;
> status = "disabled";
> };
>
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index 492e1ef..108adc5 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -765,12 +765,13 @@
>
> adc: adc@12D10000 {
> compatible = "samsung,exynos-adc-v1";
> - reg = <0x12D10000 0x100>, <0x10040718 0x4>;
> + reg = <0x12D10000 0x100>;
> interrupts = <0 106 0>;
> clocks = <&clock CLK_ADC>;
> clock-names = "adc";
> #io-channel-cells = <1>;
> io-channel-ranges;
> + samsung,syscon-phandle = <&pmu_system_controller>;
> status = "disabled";
> };
>
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index bfe056d..5fd587a 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -541,12 +541,13 @@
>
> adc: adc@12D10000 {
> compatible = "samsung,exynos-adc-v2";
> - reg = <0x12D10000 0x100>, <0x10040720 0x4>;
> + reg = <0x12D10000 0x100>;
> interrupts = <0 106 0>;
> clocks = <&clock CLK_TSADC>;
> clock-names = "adc";
> #io-channel-cells = <1>;
> io-channel-ranges;
> + samsung,syscon-phandle = <&pmu_system_controller>;
> status = "disabled";
> };
>
>
next prev parent reply other threads:[~2014-11-05 15:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 8:58 [PATCH v2 0/3] iio: exynos-adc: use syscon instead of ioremap Naveen Krishna Chatradhi
2014-09-16 8:58 ` [PATCH v2 1/3] iio: exyno-adc: use syscon for PMU register access Naveen Krishna Chatradhi
2014-10-28 12:31 ` Vivek Gautam
2014-11-05 15:25 ` Jonathan Cameron
2014-11-05 15:29 ` Jonathan Cameron
2014-09-16 8:58 ` [PATCH v2 2/3] Documentation: dt-bindings: update exynos-adc.txt with syscon handle Naveen Krishna Chatradhi
2014-11-05 15:34 ` Jonathan Cameron
2014-09-16 8:58 ` [PATCH v2 3/3] ARM: dts: exynos: Add sysreg phandle to ADC node Naveen Krishna Chatradhi
2014-11-05 15:35 ` Jonathan Cameron [this message]
2014-09-21 12:17 ` [PATCH v2 0/3] iio: exynos-adc: use syscon instead of ioremap Jonathan Cameron
2014-10-09 20:05 ` Jonathan Cameron
2014-10-25 20:15 ` Jonathan Cameron
2014-10-28 10:19 ` Kukjin Kim
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=545A43D8.6050202@kernel.org \
--to=jic23@kernel.org \
--cc=ch.naveen@samsung.com \
--cc=cpgs@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=grundler@chromium.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=naveenkrishna.ch@gmail.com \
/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: link
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;
as well as URLs for NNTP newsgroup(s).