Skip to contentSkip to conversation

arm64: dts: ti: k3-j721s2: Add support for ADC nodes

PATCH Superseded Bhavya Kapoor 2 participants 5 messages Dec 21, 2022 – Dec 22, 2022 1 message not in the archive

Subsystems (2)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: ti: k3-j721s2: Add support for ADC nodes

J721s2 has two instances of 8 channel ADCs in MCU domain. Add DT nodes for 8 channel ADCs for J721s2 SoC.

---

Changelog v1 -> v2:
- Updated Interrupt Values for tscadc

 .../dts/ti/k3-j721s2-common-proc-board.dts    | 14 +++++++
 .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi     | 42 ++++++++++++++++++-
 2 files changed, 55 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +14 -0
index a7aa6cf08acd..67593aa69327 100644
@@ -309,3 +309,17 @@ &mcu_mcan1 {
 	pinctrl-0 = <&mcu_mcan1_pins_default>;
 	phys = <&transceiver2>;
 };
+
+&tscadc0 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;
+	};
+};
+
+&tscadc1 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;
+	};
+};
\ No newline at end of file
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +41 -1

46 lines not on this page · raw message

Signature · 1 line
2.37.2
#1 lore raw
Quoted 26 lines · Bhavya Kapoor

J721s2 has two instances of 8 channel ADCs in MCU domain. Add DT nodes for 8 channel ADCs for J721s2 SoC.

---

Changelog v1 -> v2:
- Updated Interrupt Values for tscadc

 .../dts/ti/k3-j721s2-common-proc-board.dts    | 14 +++++++
 .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi     | 42 ++++++++++++++++++-
 2 files changed, 55 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +5 -0
index a7aa6cf08acd..67593aa69327 100644
@@ -309,3 +309,17 @@ &mcu_mcan1 {
 	pinctrl-0 = <&mcu_mcan1_pins_default>;
 	phys = <&transceiver2>;
 };
+
+&tscadc0 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;

arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts &mcu_mcan1 { · line 325

Quoted 10 lines
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +9 -0
+	};
+};
+
+&tscadc1 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;
+	};
+};
\ No newline at end of file

Same errors as before.

I don't know how many same patches we need to see - this is fourth. None of them seems to be correct...

Best regards,
Krzysztof

#2 lore raw
Quoted 39 lines · Krzysztof Kozlowski
Quoted 26 lines · Bhavya Kapoor

J721s2 has two instances of 8 channel ADCs in MCU domain. Add DT nodes for 8 channel ADCs for J721s2 SoC.

---

Changelog v1 -> v2:
- Updated Interrupt Values for tscadc

  .../dts/ti/k3-j721s2-common-proc-board.dts    | 14 +++++++
  .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi     | 42 ++++++++++++++++++-
  2 files changed, 55 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +5 -0
index a7aa6cf08acd..67593aa69327 100644
@@ -309,3 +309,17 @@ &mcu_mcan1 {
  	pinctrl-0 = <&mcu_mcan1_pins_default>;
  	phys = <&transceiver2>;
  };
+
+&tscadc0 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;

arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts &mcu_mcan1 { · line 325

Quoted 10 lines
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +9 -0
+	};
+};
+
+&tscadc1 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;
+	};
+};
\ No newline at end of file

Same errors as before.

Quoted 6 lines

I don't know how many same patches we need to see - this is fourth. None of them seems to be correct...

Best regards,
Krzysztof

This is a v2 patch. Please read the changelog. Link to its v1 is https://lore.kernel.org/all/[email protected]/

I mailed to drop other previous patch before this v1 -> https://lore.kernel.org/all/[email protected]/

Regards

#3 lore raw
Quoted 41 lines · Bhavya Kapoor
Quoted 39 lines · Krzysztof Kozlowski
Quoted 26 lines · Bhavya Kapoor

J721s2 has two instances of 8 channel ADCs in MCU domain. Add DT nodes for 8 channel ADCs for J721s2 SoC.

---

Changelog v1 -> v2:
- Updated Interrupt Values for tscadc

  .../dts/ti/k3-j721s2-common-proc-board.dts    | 14 +++++++
  .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi     | 42 ++++++++++++++++++-
  2 files changed, 55 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +5 -0
index a7aa6cf08acd..67593aa69327 100644
@@ -309,3 +309,17 @@ &mcu_mcan1 {
  	pinctrl-0 = <&mcu_mcan1_pins_default>;
  	phys = <&transceiver2>;
  };
+
+&tscadc0 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;

arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts &mcu_mcan1 { · line 325

Quoted 10 lines
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +9 -0
+	};
+};
+
+&tscadc1 {
+	status = "okay";
+	adc {
+		ti,adc-channels = <0 1 2 3 4 5 6 7>;
+	};
+};
\ No newline at end of file

Same errors as before.

Quoted 8 lines
Quoted 6 lines

I don't know how many same patches we need to see - this is fourth. None of them seems to be correct...

Best regards,
Krzysztof

This is a v2 patch. Please read the changelog. Link to its v1 is
https://lore.kernel.org/all/[email protected]/

Sure, you still need to correct patch error. I am writing about this fourth time and you never responded.

Best regards,
Krzysztof

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 1 line · Bhavya Kapoor

Hi, Only comment that I am aware of is:

I wrote:
"Additionally - I commented just before error in your patch. You must fix it, not ignore it, even though I did not point it out before."

My comment was literally just before error you get from git. Just open the patch and see the error - no new line.

Best regards,
Krzysztof