All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-amlogic@lists.infradead.org, khilman@baylibre.com
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/7] ARM: dts: meson: chip temperature (hwmon) support
Date: Fri, 18 Jan 2019 23:52:20 +0100	[thread overview]
Message-ID: <20190118225227.6516-1-martin.blumenstingl@googlemail.com> (raw)

Now that the Meson SAR ADC driver can get the chip temperature on
Meson8, Meson8b and Meson8m2 (see [0]) we can add the missing bits to
the .dts{,i} and enable iio-hwmon for all boards where this could be
tested successfully.

This was successfully tested on multiple boards:
- Meson8b Odroid-C1 (me)
- Meson8b EC-100 (me)
- Meson8m2 M8S (not upstream yet, me)
- Meson8m2 MXIII-Plus (an earlier version of this series, Oleg Ivanov)

compile-time dependencies:
- none
runtime dependencies:
- my other series "meson-saradc: temperature sensor support for
  Meson8b/Meson8m2" from [0]
- multi_v7_defconfig already enables CONFIG_SENSORS_IIO_HWMON, so
  there's no patch which selects that.


Changes since v1 at [1]:
- added patch 1 at the start of the series because patches #3 and #4
  require the HHI memory region to be a syscon, which is what patch
  #1 provides. Thanks for spotting this Kevin!


[0] https://patchwork.kernel.org/cover/10744059/
[1] https://patchwork.kernel.org/cover/10760963/


Martin Blumenstingl (7):
  ARM: dts: meson: switch the clock controller to the HHI register area
  ARM: dts: meson8m2: use the Meson8m2 specific SAR ADC compatible
  ARM: dts: meson8: add the temperature calibration data for the SAR ADC
  ARM: dts: meson8b: add the temperature calibration data for the SAR
    ADC
  ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature
  ARM: dts: meson8b: odroidc1: add iio-hwmon for the chip temperature
  ARM: dts: meson8m2: mxiii-plus: add iio-hwmon for the chip temperature

 arch/arm/boot/dts/meson.dtsi              |  7 +++++++
 arch/arm/boot/dts/meson8.dtsi             | 23 ++++++++++++++++-------
 arch/arm/boot/dts/meson8b-ec100.dts       |  5 +++++
 arch/arm/boot/dts/meson8b-odroidc1.dts    |  5 +++++
 arch/arm/boot/dts/meson8b.dtsi            | 23 ++++++++++++++++-------
 arch/arm/boot/dts/meson8m2-mxiii-plus.dts |  5 +++++
 arch/arm/boot/dts/meson8m2.dtsi           |  4 ++++
 7 files changed, 58 insertions(+), 14 deletions(-)

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-amlogic@lists.infradead.org, khilman@baylibre.com
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/7] ARM: dts: meson: chip temperature (hwmon) support
Date: Fri, 18 Jan 2019 23:52:20 +0100	[thread overview]
Message-ID: <20190118225227.6516-1-martin.blumenstingl@googlemail.com> (raw)

Now that the Meson SAR ADC driver can get the chip temperature on
Meson8, Meson8b and Meson8m2 (see [0]) we can add the missing bits to
the .dts{,i} and enable iio-hwmon for all boards where this could be
tested successfully.

This was successfully tested on multiple boards:
- Meson8b Odroid-C1 (me)
- Meson8b EC-100 (me)
- Meson8m2 M8S (not upstream yet, me)
- Meson8m2 MXIII-Plus (an earlier version of this series, Oleg Ivanov)

compile-time dependencies:
- none
runtime dependencies:
- my other series "meson-saradc: temperature sensor support for
  Meson8b/Meson8m2" from [0]
- multi_v7_defconfig already enables CONFIG_SENSORS_IIO_HWMON, so
  there's no patch which selects that.


Changes since v1 at [1]:
- added patch 1 at the start of the series because patches #3 and #4
  require the HHI memory region to be a syscon, which is what patch
  #1 provides. Thanks for spotting this Kevin!


[0] https://patchwork.kernel.org/cover/10744059/
[1] https://patchwork.kernel.org/cover/10760963/


Martin Blumenstingl (7):
  ARM: dts: meson: switch the clock controller to the HHI register area
  ARM: dts: meson8m2: use the Meson8m2 specific SAR ADC compatible
  ARM: dts: meson8: add the temperature calibration data for the SAR ADC
  ARM: dts: meson8b: add the temperature calibration data for the SAR
    ADC
  ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature
  ARM: dts: meson8b: odroidc1: add iio-hwmon for the chip temperature
  ARM: dts: meson8m2: mxiii-plus: add iio-hwmon for the chip temperature

 arch/arm/boot/dts/meson.dtsi              |  7 +++++++
 arch/arm/boot/dts/meson8.dtsi             | 23 ++++++++++++++++-------
 arch/arm/boot/dts/meson8b-ec100.dts       |  5 +++++
 arch/arm/boot/dts/meson8b-odroidc1.dts    |  5 +++++
 arch/arm/boot/dts/meson8b.dtsi            | 23 ++++++++++++++++-------
 arch/arm/boot/dts/meson8m2-mxiii-plus.dts |  5 +++++
 arch/arm/boot/dts/meson8m2.dtsi           |  4 ++++
 7 files changed, 58 insertions(+), 14 deletions(-)

-- 
2.20.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

             reply	other threads:[~2019-01-18 22:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18 22:52 Martin Blumenstingl [this message]
2019-01-18 22:52 ` [PATCH v2 0/7] ARM: dts: meson: chip temperature (hwmon) support Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 1/7] ARM: dts: meson: switch the clock controller to the HHI register area Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 2/7] ARM: dts: meson8m2: use the Meson8m2 specific SAR ADC compatible Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 3/7] ARM: dts: meson8: add the temperature calibration data for the SAR ADC Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 4/7] ARM: dts: meson8b: " Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 5/7] ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 6/7] ARM: dts: meson8b: odroidc1: " Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-01-18 22:52 ` [PATCH v2 7/7] ARM: dts: meson8m2: mxiii-plus: " Martin Blumenstingl
2019-01-18 22:52   ` Martin Blumenstingl
2019-02-07  3:41 ` [PATCH v2 0/7] ARM: dts: meson: chip temperature (hwmon) support Kevin Hilman
2019-02-07  3:41   ` Kevin Hilman

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=20190118225227.6516-1-martin.blumenstingl@googlemail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.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: link
Be 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.