devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap
@ 2014-07-11  9:06 Naveen Krishna Chatradhi
  2014-07-11  9:06 ` [PATCH 1/4] iio: exyno-adc: use syscon for PMU register access Naveen Krishna Chatradhi
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Naveen Krishna Chatradhi @ 2014-07-11  9:06 UTC (permalink / raw)
  To: linux-iio, linux-samsung-soc, devicetree
  Cc: linux-kernel, cw00.choi, gregkh, naveenkrishna.ch, lars, cpgs,
	grundler

This patch does the following
1. Use the syscon and Regmap API instead of ioremappaing the
   ADC_PHY register from PMU.
2. Moves the exynos-adc.txt from bindings/arm/samsung/
   to bindings/iio/adc/.
3. Updates the Documentation in exynos-adc.txt with syscon phandle
   for the ADC nodes.
4. Updates the Dts files for Exynos3250, Exynos4x12, Exynos5250,
   Exynos5420 with the syscon phandle.

Tested on Exynos5420 based Peach PIT and Exynos5800 based Peach PI
by verifying sysfs entries provided by HWMON based NTC thermistors.

Tested-By for Exynos3250, Exynos4x12 would be appreciated.

Naveen Krishna Chatradhi (4):
  iio: exyno-adc: use syscon for PMU register access
  Documentation: dt-bindings: move exynos-adc.txt to more iio/adc/
  Documentation: dt-bindings: update exynos-adc.txt with syscon handle
  ARM: dts: exynos: Add sysreg phandle to ADC node

 .../devicetree/bindings/arm/samsung/exynos-adc.txt |   82 ------------------
 .../devicetree/bindings/iio/adc/exynos-adc.txt     |   87 ++++++++++++++++++++
 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 +-
 drivers/iio/adc/exynos_adc.c                       |   29 +++++--
 7 files changed, 115 insertions(+), 95 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
 create mode 100644 Documentation/devicetree/bindings/iio/adc/exynos-adc.txt

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-07-17 11:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11  9:06 [PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap Naveen Krishna Chatradhi
2014-07-11  9:06 ` [PATCH 1/4] iio: exyno-adc: use syscon for PMU register access Naveen Krishna Chatradhi
2014-07-11  9:06 ` [PATCH 2/4] Documentation: dt-bindings: move exynos-adc.txt to more iio/adc/ Naveen Krishna Chatradhi
     [not found]   ` <1405069589-10388-3-git-send-email-ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-07-11  9:17     ` Sachin Kamat
     [not found]       ` <CAK5sBcFvPo38LtWAhee0xO=KONM5V-UEDzgjCc=uEXtG32NowA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-11  9:22         ` Naveen Krishna Ch
2014-07-11  9:06 ` [PATCH 3/4] Documentation: dt-bindings: update exynos-adc.txt with syscon handle Naveen Krishna Chatradhi
2014-07-11  9:06 ` [PATCH 4/4] ARM: dts: exynos: Add sysreg phandle to ADC node Naveen Krishna Chatradhi
2014-07-15 18:13 ` [PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap Jonathan Cameron
2014-07-15 18:15   ` Jonathan Cameron
2014-07-17 11:47     ` Naveen Krishna Ch

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).