* [PATCH 0/2] TQMa7x / MBa7x DT improvements
@ 2024-08-12 14:14 Markus Niebel
2024-08-12 14:14 ` [PATCH 1/2] arm: dts: imx7-mba7: add iio-hwmon support Markus Niebel
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Markus Niebel @ 2024-08-12 14:14 UTC (permalink / raw)
To: Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Fabio Estevam
Cc: Pengutronix Kernel Team, devicetree, imx, linux-arm-kernel,
linux-kernel, linux, Markus Niebel
This series brings two improvements: supporting the i.MX7 ADC paired
with HWMON support and using a more specific compatible for the
mainboard temperature sensor.
Markus Niebel (2):
arm: dts: imx7-mba7: add iio-hwmon support
arm: dts: imx7-mba7: improve compatible for LM75 temp sensor
arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] arm: dts: imx7-mba7: add iio-hwmon support
2024-08-12 14:14 [PATCH 0/2] TQMa7x / MBa7x DT improvements Markus Niebel
@ 2024-08-12 14:14 ` Markus Niebel
2024-08-12 14:14 ` [PATCH 2/2] arm: dts: imx7-mba7: improve compatible for LM75 temp sensor Markus Niebel
2024-08-28 3:22 ` [PATCH 0/2] TQMa7x / MBa7x DT improvements Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Markus Niebel @ 2024-08-12 14:14 UTC (permalink / raw)
To: Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Fabio Estevam
Cc: Pengutronix Kernel Team, devicetree, imx, linux-arm-kernel,
linux-kernel, linux, Markus Niebel
Enable IIO hwmon support for ADC1 and ADC2. All channels are
available on X23 (ADC2) and X24 (ADC1) of MBa7x.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
---
arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index 52869e68f833..775bd3066b87 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -81,6 +81,12 @@ led2 {
};
};
+ iio-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
+ <&adc2 0>, <&adc2 1>, <&adc2 2>, <&adc2 3>;
+ };
+
reg_sd1_vmmc: regulator-sd1-vmmc {
compatible = "regulator-fixed";
regulator-name = "VCC3V3_SD1";
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm: dts: imx7-mba7: improve compatible for LM75 temp sensor
2024-08-12 14:14 [PATCH 0/2] TQMa7x / MBa7x DT improvements Markus Niebel
2024-08-12 14:14 ` [PATCH 1/2] arm: dts: imx7-mba7: add iio-hwmon support Markus Niebel
@ 2024-08-12 14:14 ` Markus Niebel
2024-08-28 3:22 ` [PATCH 0/2] TQMa7x / MBa7x DT improvements Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Markus Niebel @ 2024-08-12 14:14 UTC (permalink / raw)
To: Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Fabio Estevam
Cc: Pengutronix Kernel Team, devicetree, imx, linux-arm-kernel,
linux-kernel, linux, Markus Niebel
Use national,lm75a to specify exact variant used. This should cause
no functional changes.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
---
arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index 775bd3066b87..e1c401f468e1 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -316,7 +316,7 @@ &flexcan2 {
&i2c1 {
lm75: temperature-sensor@49 {
- compatible = "national,lm75";
+ compatible = "national,lm75a";
reg = <0x49>;
vs-supply = <®_vcc_3v3>;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] TQMa7x / MBa7x DT improvements
2024-08-12 14:14 [PATCH 0/2] TQMa7x / MBa7x DT improvements Markus Niebel
2024-08-12 14:14 ` [PATCH 1/2] arm: dts: imx7-mba7: add iio-hwmon support Markus Niebel
2024-08-12 14:14 ` [PATCH 2/2] arm: dts: imx7-mba7: improve compatible for LM75 temp sensor Markus Niebel
@ 2024-08-28 3:22 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2024-08-28 3:22 UTC (permalink / raw)
To: Markus Niebel
Cc: Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Fabio Estevam, Pengutronix Kernel Team, devicetree, imx,
linux-arm-kernel, linux-kernel, linux
On Mon, Aug 12, 2024 at 04:14:12PM +0200, Markus Niebel wrote:
> This series brings two improvements: supporting the i.MX7 ADC paired
> with HWMON support and using a more specific compatible for the
> mainboard temperature sensor.
>
> Markus Niebel (2):
> arm: dts: imx7-mba7: add iio-hwmon support
> arm: dts: imx7-mba7: improve compatible for LM75 temp sensor
We use prefix "ARM: dts: ..." for i.MX arm DTS changes. Fix it up and
applied both, thanks!
Shawn
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-28 3:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 14:14 [PATCH 0/2] TQMa7x / MBa7x DT improvements Markus Niebel
2024-08-12 14:14 ` [PATCH 1/2] arm: dts: imx7-mba7: add iio-hwmon support Markus Niebel
2024-08-12 14:14 ` [PATCH 2/2] arm: dts: imx7-mba7: improve compatible for LM75 temp sensor Markus Niebel
2024-08-28 3:22 ` [PATCH 0/2] TQMa7x / MBa7x DT improvements Shawn Guo
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).