linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] TQMa7x DT cleanup
@ 2024-11-08 13:49 Alexander Stein
  2024-11-08 13:49 ` [PATCH 1/8] ARM: dts: imx7-mba7: remove LVDS transmitter regulator Alexander Stein
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

Hi all,

this series fixes some DT binding check warnings as well as removing
duplicated nodes. Eventually IRQ support for thernet PHYs was added.
Additionally add CONFIG_JC42 to imx_v6_v7_defconfig.

Best regards,
Alexander

Alexander Stein (8):
  ARM: dts: imx7-mba7: remove LVDS transmitter regulator
  ARM: dts: imx7-tqma7: Remove superfluous status="okay" property
  ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
  ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators
  ARM: dts: imx7-mba7: Fix SD card vmmc-supply
  ARM: dts: imx7-mba7: Remove duplicated power supply
  ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support
  ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x

 arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi  | 61 +++++++----------------
 arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi |  3 +-
 arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts  |  3 +-
 arch/arm/configs/imx_v6_v7_defconfig      |  1 +
 4 files changed, 21 insertions(+), 47 deletions(-)

-- 
2.34.1



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

* [PATCH 1/8] ARM: dts: imx7-mba7: remove LVDS transmitter regulator
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 2/8] ARM: dts: imx7-tqma7: Remove superfluous status="okay" property Alexander Stein
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

This regulator essentially controls the SHTDN# pin of the LVDS encoder.
Remove it for proper usage with 'lvds-encoder' driver.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index e1c401f468e16..cc3760fa7d981 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -162,15 +162,6 @@ reg_mba_12v0: regulator-mba-12v0 {
 		enable-active-high;
 	};
 
-	reg_lvds_transmitter: regulator-lvds-transmitter {
-		compatible = "regulator-fixed";
-		regulator-name = "#SHTDN_LVDS";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		gpio = <&pca9555 1 GPIO_ACTIVE_HIGH>;
-		enable-active-high;
-	};
-
 	reg_vref_1v8: regulator-vref-1v8 {
 		compatible = "regulator-fixed";
 		regulator-name = "VCC1V8_REF";
-- 
2.34.1



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

* [PATCH 2/8] ARM: dts: imx7-tqma7: Remove superfluous status="okay" property
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
  2024-11-08 13:49 ` [PATCH 1/8] ARM: dts: imx7-mba7: remove LVDS transmitter regulator Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 3/8] ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx) Alexander Stein
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

There is no need to specify status = "okay"; for newly created nodes,
remove this property.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
index 028961eb71089..656ab0562695b 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
@@ -150,7 +150,6 @@ m24c64: eeprom@50 {
 		reg = <0x50>;
 		pagesize = <32>;
 		vcc-supply = <&vgen4_reg>;
-		status = "okay";
 	};
 
 	at24c02: eeprom@56 {
@@ -158,7 +157,6 @@ at24c02: eeprom@56 {
 		reg = <0x56>;
 		pagesize = <16>;
 		vcc-supply = <&vgen4_reg>;
-		status = "okay";
 	};
 
 	ds1339: rtc@68 {
-- 
2.34.1



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

* [PATCH 3/8] ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
  2024-11-08 13:49 ` [PATCH 1/8] ARM: dts: imx7-mba7: remove LVDS transmitter regulator Alexander Stein
  2024-11-08 13:49 ` [PATCH 2/8] ARM: dts: imx7-tqma7: Remove superfluous status="okay" property Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 4/8] ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators Alexander Stein
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

Add missing supply for LM75. Fixes the kernel warning:
  lm75 0-0048: supply vs not found, using dummy regulator

Fixes: c9d4affbe60a ("ARM: dts: imx: tqma7: add lm75a sensor (rev. 01xxx)")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
index 656ab0562695b..aa8f65cd4adf7 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
@@ -135,6 +135,7 @@ vgen6_reg: vldo4 {
 	lm75a: temperature-sensor@48 {
 		compatible = "national,lm75a";
 		reg = <0x48>;
+		vs-supply = <&vgen4_reg>;
 	};
 
 	/* NXP SE97BTP with temperature sensor + eeprom, TQMa7x 02xx */
-- 
2.34.1



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

* [PATCH 4/8] ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (2 preceding siblings ...)
  2024-11-08 13:49 ` [PATCH 3/8] ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx) Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 5/8] ARM: dts: imx7-mba7: Fix SD card vmmc-supply Alexander Stein
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

These voltages are provided unconditionally from external power supply and
are input voltages to various dedicated, switchable, power rails.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index cc3760fa7d981..a23d7b0a195f1 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -141,6 +141,7 @@ reg_mpcie_1v5: regulator-mpcie-1v5 {
 		gpio = <&pca9555 12 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-always-on;
+		vin-supply = <&reg_mba_5v>;
 	};
 
 	reg_mpcie_3v3: regulator-mpcie-3v3 {
@@ -151,6 +152,7 @@ reg_mpcie_3v3: regulator-mpcie-3v3 {
 		gpio = <&pca9555 10 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 		regulator-always-on;
+		vin-supply = <&reg_mba_3v3>;
 	};
 
 	reg_mba_12v0: regulator-mba-12v0 {
@@ -162,6 +164,20 @@ reg_mba_12v0: regulator-mba-12v0 {
 		enable-active-high;
 	};
 
+	reg_mba_5v: regulator-mba-5v {
+		compatible = "regulator-fixed";
+		regulator-name = "VCC5V";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+	};
+
+	reg_mba_3v3: regulator-mba-3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "VCC3V3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
 	reg_vref_1v8: regulator-vref-1v8 {
 		compatible = "regulator-fixed";
 		regulator-name = "VCC1V8_REF";
@@ -177,6 +193,7 @@ reg_audio_3v3: regulator-audio-3v3 {
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 		regulator-always-on;
+		vin-supply = <&reg_mba_3v3>;
 	};
 
 	reg_vcc_3v3: regulator-vcc-3v3 {
-- 
2.34.1



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

* [PATCH 5/8] ARM: dts: imx7-mba7: Fix SD card vmmc-supply
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (3 preceding siblings ...)
  2024-11-08 13:49 ` [PATCH 4/8] ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 6/8] ARM: dts: imx7-mba7: Remove duplicated power supply Alexander Stein
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

The SD card is directly supplied by VCC3V3. Remove superfluous regulator.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index a23d7b0a195f1..077700a5f4c3d 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -87,14 +87,6 @@ iio-hwmon {
 			      <&adc2 0>, <&adc2 1>, <&adc2 2>, <&adc2 3>;
 	};
 
-	reg_sd1_vmmc: regulator-sd1-vmmc {
-		compatible = "regulator-fixed";
-		regulator-name = "VCC3V3_SD1";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-	};
-
 	reg_fec1_pwdn: regulator-fec1-pwdn {
 		compatible = "regulator-fixed";
 		regulator-name = "PWDN_FEC1";
@@ -676,7 +668,7 @@ &usdhc1 {
 	pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>;
 	cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
 	wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
-	vmmc-supply = <&reg_sd1_vmmc>;
+	vmmc-supply = <&reg_mba_3v3>;
 	bus-width = <4>;
 	no-1-8-v;
 	no-sdio;
-- 
2.34.1



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

* [PATCH 6/8] ARM: dts: imx7-mba7: Remove duplicated power supply
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (4 preceding siblings ...)
  2024-11-08 13:49 ` [PATCH 5/8] ARM: dts: imx7-mba7: Fix SD card vmmc-supply Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 7/8] ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support Alexander Stein
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

VCC3V3 is used twice, resulting in the debugfs warning:
debugfs: Directory 'VCC3V3' with parent 'regulator' already present!

The power supply provided by reg_vcc_3v3 is actually the same as
reg_mba_3v3.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index 077700a5f4c3d..304281681abfe 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -188,14 +188,6 @@ reg_audio_3v3: regulator-audio-3v3 {
 		vin-supply = <&reg_mba_3v3>;
 	};
 
-	reg_vcc_3v3: regulator-vcc-3v3 {
-		compatible = "regulator-fixed";
-		regulator-name = "VCC3V3";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-	};
-
 	sound {
 		compatible = "fsl,imx-audio-tlv320aic32x4";
 		model = "imx-audio-tlv320aic32x4";
@@ -318,7 +310,7 @@ &i2c1 {
 	lm75: temperature-sensor@49 {
 		compatible = "national,lm75a";
 		reg = <0x49>;
-		vs-supply = <&reg_vcc_3v3>;
+		vs-supply = <&reg_mba_3v3>;
 	};
 };
 
@@ -351,7 +343,7 @@ pca9555: gpio-expander@20 {
 		interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		vcc-supply = <&reg_vcc_3v3>;
+		vcc-supply = <&reg_mba_3v3>;
 	};
 };
 
-- 
2.34.1



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

* [PATCH 7/8] ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (5 preceding siblings ...)
  2024-11-08 13:49 ` [PATCH 6/8] ARM: dts: imx7-mba7: Remove duplicated power supply Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 13:49 ` [PATCH 8/8] ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x Alexander Stein
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

The regulator-fec*-pwdn regulators were used to deassert the PWDN signal
of ethernet PHY, e.g. not powering. This is not necessary as the line
has a pull-up already.
Instead of the combo pad of the PHY for IRQ support.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 23 ++---------------------
 arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts |  3 ++-
 2 files changed, 4 insertions(+), 22 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
index 304281681abfe..576a7df505d3b 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi
@@ -87,26 +87,6 @@ iio-hwmon {
 			      <&adc2 0>, <&adc2 1>, <&adc2 2>, <&adc2 3>;
 	};
 
-	reg_fec1_pwdn: regulator-fec1-pwdn {
-		compatible = "regulator-fixed";
-		regulator-name = "PWDN_FEC1";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-		gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
-		enable-active-high;
-	};
-
-	reg_fec2_pwdn: regulator-fec2-pwdn {
-		compatible = "regulator-fixed";
-		regulator-name = "PWDN_FEC2";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-		gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>;
-		enable-active-high;
-	};
-
 	reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
 		compatible = "regulator-fixed";
 		regulator-name = "VBUS_USBOTG1";
@@ -231,7 +211,6 @@ &fec1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet1>;
 	phy-mode = "rgmii-id";
-	phy-supply = <&reg_fec1_pwdn>;
 	phy-handle = <&ethphy1_0>;
 	fsl,magic-packet;
 	status = "okay";
@@ -252,6 +231,8 @@ ethphy1_0: ethernet-phy@0 {
 			reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>;
 			reset-assert-us = <1000>;
 			reset-deassert-us = <500>;
+			interrupt-parent = <&gpio1>;
+			interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
 		};
 	};
 };
diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts
index 0443faa3dfae4..e3ee16f1aaa96 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts
@@ -21,7 +21,6 @@ &fec2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet2>;
 	phy-mode = "rgmii-id";
-	phy-supply = <&reg_fec2_pwdn>;
 	phy-handle = <&ethphy2_0>;
 	fsl,magic-packet;
 	status = "okay";
@@ -42,6 +41,8 @@ ethphy2_0: ethernet-phy@0 {
 			reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
 			reset-assert-us = <1000>;
 			reset-deassert-us = <500>;
+			interrupt-parent = <&gpio2>;
+			interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
 		};
 	};
 };
-- 
2.34.1



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

* [PATCH 8/8] ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (6 preceding siblings ...)
  2024-11-08 13:49 ` [PATCH 7/8] ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support Alexander Stein
@ 2024-11-08 13:49 ` Alexander Stein
  2024-11-08 14:02 ` [PATCH 0/8] TQMa7x DT cleanup Niebel, Markus
  2024-12-09  9:11 ` Shawn Guo
  9 siblings, 0 replies; 12+ messages in thread
From: Alexander Stein @ 2024-11-08 13:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

TQMa7x uses an JC42 compatible temperature sensor. Enable the
corresponding driver.


Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 0beecdde55f58..5bd07f8dc031c 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -230,6 +230,7 @@ CONFIG_RN5T618_POWER=m
 CONFIG_SENSORS_MC13783_ADC=y
 CONFIG_SENSORS_GPIO_FAN=y
 CONFIG_SENSORS_IIO_HWMON=y
+CONFIG_SENSORS_JC42=m
 CONFIG_SENSORS_LM75=m
 CONFIG_SENSORS_PWM_FAN=y
 CONFIG_SENSORS_SY7636A=y
-- 
2.34.1



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

* Re: [PATCH 0/8] TQMa7x DT cleanup
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (7 preceding siblings ...)
  2024-11-08 13:49 ` [PATCH 8/8] ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x Alexander Stein
@ 2024-11-08 14:02 ` Niebel, Markus
  2024-11-11 19:29   ` Bruno Thomsen
  2024-12-09  9:11 ` Shawn Guo
  9 siblings, 1 reply; 12+ messages in thread
From: Niebel, Markus @ 2024-11-08 14:02 UTC (permalink / raw)
  To: Alexander Stein, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen
  Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel

On Fri, 2024-11-08 at 14:49 +0100, Alexander Stein wrote:
> Hi all,
> 
> this series fixes some DT binding check warnings as well as removing
> duplicated nodes. Eventually IRQ support for thernet PHYs was added.
> Additionally add CONFIG_JC42 to imx_v6_v7_defconfig.
> 
> Best regards,
> Alexander
> 
> Alexander Stein (8):
>   ARM: dts: imx7-mba7: remove LVDS transmitter regulator
>   ARM: dts: imx7-tqma7: Remove superfluous status="okay" property
>   ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
>   ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators
>   ARM: dts: imx7-mba7: Fix SD card vmmc-supply
>   ARM: dts: imx7-mba7: Remove duplicated power supply
>   ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support
>   ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x
> 
>  arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi  | 61 +++++++----------------
>  arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi |  3 +-
>  arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts  |  3 +-
>  arch/arm/configs/imx_v6_v7_defconfig      |  1 +
>  4 files changed, 21 insertions(+), 47 deletions(-)
> 

For the whole series:

Reviewed-by: Markus Niebel <markus.niebel@ew.tq-group.com>

Thank you
Markus

-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/


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

* Re: [PATCH 0/8] TQMa7x DT cleanup
  2024-11-08 14:02 ` [PATCH 0/8] TQMa7x DT cleanup Niebel, Markus
@ 2024-11-11 19:29   ` Bruno Thomsen
  0 siblings, 0 replies; 12+ messages in thread
From: Bruno Thomsen @ 2024-11-11 19:29 UTC (permalink / raw)
  To: Markus.Niebel
  Cc: Alexander Stein, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, linux, devicetree, imx,
	linux-arm-kernel, linux-kernel

Den fre. 8. nov. 2024 kl. 15.03 skrev Niebel, Markus
<Markus.Niebel@ew.tq-group.com>:
>
> On Fri, 2024-11-08 at 14:49 +0100, Alexander Stein wrote:
> > Hi all,
> >
> > this series fixes some DT binding check warnings as well as removing
> > duplicated nodes. Eventually IRQ support for thernet PHYs was added.
> > Additionally add CONFIG_JC42 to imx_v6_v7_defconfig.
> >
> > Best regards,
> > Alexander
> >
> > Alexander Stein (8):
> >   ARM: dts: imx7-mba7: remove LVDS transmitter regulator
> >   ARM: dts: imx7-tqma7: Remove superfluous status="okay" property
> >   ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
> >   ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators
> >   ARM: dts: imx7-mba7: Fix SD card vmmc-supply
> >   ARM: dts: imx7-mba7: Remove duplicated power supply
> >   ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support
> >   ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x
> >
> >  arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi  | 61 +++++++----------------
> >  arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi |  3 +-
> >  arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts  |  3 +-
> >  arch/arm/configs/imx_v6_v7_defconfig      |  1 +
> >  4 files changed, 21 insertions(+), 47 deletions(-)
> >
>
> For the whole series:

Reviewed-by: Bruno Thomsen <bruno.thomsen@gmail.com>

Thanks for the cleanup.

/Bruno

> Reviewed-by: Markus Niebel <markus.niebel@ew.tq-group.com>
>
> Thank you
> Markus
>
> --
> TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> Amtsgericht München, HRB 105018
> Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> http://www.tq-group.com/


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

* Re: [PATCH 0/8] TQMa7x DT cleanup
  2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
                   ` (8 preceding siblings ...)
  2024-11-08 14:02 ` [PATCH 0/8] TQMa7x DT cleanup Niebel, Markus
@ 2024-12-09  9:11 ` Shawn Guo
  9 siblings, 0 replies; 12+ messages in thread
From: Shawn Guo @ 2024-12-09  9:11 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Russell King, João Rodrigues, Bruno Thomsen, linux,
	devicetree, imx, linux-arm-kernel, linux-kernel

On Fri, Nov 08, 2024 at 02:49:18PM +0100, Alexander Stein wrote:
> Hi all,
> 
> this series fixes some DT binding check warnings as well as removing
> duplicated nodes. Eventually IRQ support for thernet PHYs was added.
> Additionally add CONFIG_JC42 to imx_v6_v7_defconfig.
> 
> Best regards,
> Alexander
> 
> Alexander Stein (8):
>   ARM: dts: imx7-mba7: remove LVDS transmitter regulator
>   ARM: dts: imx7-tqma7: Remove superfluous status="okay" property
>   ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
>   ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators
>   ARM: dts: imx7-mba7: Fix SD card vmmc-supply
>   ARM: dts: imx7-mba7: Remove duplicated power supply
>   ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support
>   ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x

Applied all, thanks!



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

end of thread, other threads:[~2024-12-09  9:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 13:49 [PATCH 0/8] TQMa7x DT cleanup Alexander Stein
2024-11-08 13:49 ` [PATCH 1/8] ARM: dts: imx7-mba7: remove LVDS transmitter regulator Alexander Stein
2024-11-08 13:49 ` [PATCH 2/8] ARM: dts: imx7-tqma7: Remove superfluous status="okay" property Alexander Stein
2024-11-08 13:49 ` [PATCH 3/8] ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx) Alexander Stein
2024-11-08 13:49 ` [PATCH 4/8] ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators Alexander Stein
2024-11-08 13:49 ` [PATCH 5/8] ARM: dts: imx7-mba7: Fix SD card vmmc-supply Alexander Stein
2024-11-08 13:49 ` [PATCH 6/8] ARM: dts: imx7-mba7: Remove duplicated power supply Alexander Stein
2024-11-08 13:49 ` [PATCH 7/8] ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support Alexander Stein
2024-11-08 13:49 ` [PATCH 8/8] ARM: imx_v6_v7_defconfig: enable JC42 for TQMa7x Alexander Stein
2024-11-08 14:02 ` [PATCH 0/8] TQMa7x DT cleanup Niebel, Markus
2024-11-11 19:29   ` Bruno Thomsen
2024-12-09  9:11 ` 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).