Re: [PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap

2014-07-17 Thread Naveen Krishna Ch
Hello Jonathan,

On 15 July 2014 23:45, Jonathan Cameron ji...@kernel.org wrote:
 On 15/07/14 19:13, Jonathan Cameron wrote:

 On 11/07/14 10:06, Naveen Krishna Chatradhi wrote:

 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.

 This series all looks fine to me.  Took me a minute to work out what the
 point
 of the syscon change was (perhaps a little description in the cover letter
 would have been nice ;)

 Anyhow, with the device tree changes in here we'll have to let it sit for
 a while.  I'll also definitely want an ack from
 Kukjin Kim kgene@samsung.com for the device tree changes.

 Although I haven't tried it, I'd imagine this might cause a little bit
 of merging fun with the other exynos series waiting for Kukjin to
 ack...

I've tried to rebase on top of Chongwoo's v5 version changes for Exynos5320.
there is one conflict with Documentation. I've submitted the v2 version.

 [PATCHv5 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean


 Jonathan

 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


 --
 To unsubscribe from this list: send the line unsubscribe linux-iio in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html





-- 
Regards,
(: Naveen :)
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap

2014-07-15 Thread Jonathan Cameron

On 11/07/14 10:06, Naveen Krishna Chatradhi wrote:

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.


This series all looks fine to me.  Took me a minute to work out what the point
of the syscon change was (perhaps a little description in the cover letter
would have been nice ;)

Anyhow, with the device tree changes in here we'll have to let it sit for
a while.  I'll also definitely want an ack from
Kukjin Kim kgene@samsung.com for the device tree changes.

Jonathan

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



--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap

2014-07-15 Thread Jonathan Cameron

On 15/07/14 19:13, Jonathan Cameron wrote:

On 11/07/14 10:06, Naveen Krishna Chatradhi wrote:

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.


This series all looks fine to me.  Took me a minute to work out what the point
of the syscon change was (perhaps a little description in the cover letter
would have been nice ;)

Anyhow, with the device tree changes in here we'll have to let it sit for
a while.  I'll also definitely want an ack from
Kukjin Kim kgene@samsung.com for the device tree changes.

Although I haven't tried it, I'd imagine this might cause a little bit
of merging fun with the other exynos series waiting for Kukjin to
ack...
[PATCHv5 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean


Jonathan

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



--
To unsubscribe from this list: send the line unsubscribe linux-iio in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap

2014-07-11 Thread Naveen Krishna Chatradhi
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

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html