mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number
@ 2024-02-09 17:11 Romain Naour
  2024-02-09 17:11 ` [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: " Romain Naour
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Romain Naour @ 2024-02-09 17:11 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel, conor+dt,
	krzysztof.kozlowski+dt, robh+dt, kristo, vigneshr, nm
  Cc: Romain Naour, Neha Malcom Francis

The tps659413 node set WKUP_GPIO0_83 (AA37) pin as input to be used as
PMIC interrupt but uses 39 (WKUP_GPIO0_39) as "interrupts" property.

Replace 39 by 83 after checking in the board schematic [1].

[1] https://www.ti.com/tool/SK-AM69

Fixes: 865a1593bf99 ("arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC")
Cc: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 arch/arm64/boot/dts/ti/k3-am69-sk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
index 8da591579868..95c9d3da59d3 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
@@ -646,7 +646,7 @@ tps659413: pmic@48 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pmic_irq_pins_default>;
 		interrupt-parent = <&wkup_gpio0>;
-		interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
+		interrupts = <83 IRQ_TYPE_EDGE_FALLING>;
 		gpio-controller;
 		#gpio-cells = <2>;
 		ti,primary-pmic;
-- 
2.43.0


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

* [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: fix PMIC interrupt number
  2024-02-09 17:11 [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number Romain Naour
@ 2024-02-09 17:11 ` Romain Naour
  2024-02-14  9:33   ` Neha Malcom Francis
  2024-02-14  9:33 ` [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: " Neha Malcom Francis
  2024-02-15  9:26 ` Vignesh Raghavendra
  2 siblings, 1 reply; 5+ messages in thread
From: Romain Naour @ 2024-02-09 17:11 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel, conor+dt,
	krzysztof.kozlowski+dt, robh+dt, kristo, vigneshr, nm
  Cc: Romain Naour, Neha Malcom Francis

The tps659413 and tps659411 nodes set WKUP_GPIO0_7 (G28) pin as input
to be used as PMIC interrupt but uses 9 (WKUP_GPIO0_9) as
"interrupts" property.

Replace 9 by 7 for both tps659413 and tps659411 after checking in the
board schematic [1].

[1] https://www.ti.com/tool/SK-TDA4VM

Fixes: b808cef0be46 ("arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs")
Cc: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
v2: update tps659411 interrupts parameter too.
---
 arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
index 188dfe291a32..658764f7d544 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
@@ -574,7 +574,7 @@ tps659413: pmic@48 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pmic_irq_pins_default>;
 		interrupt-parent = <&wkup_gpio0>;
-		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
 		gpio-controller;
 		#gpio-cells = <2>;
 		ti,primary-pmic;
@@ -651,7 +651,7 @@ tps659411: pmic@4c {
 		reg = <0x4c>;
 		system-power-controller;
 		interrupt-parent = <&wkup_gpio0>;
-		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
 		gpio-controller;
 		#gpio-cells = <2>;
 		buck1234-supply = <&vsys_3v3>;
-- 
2.43.0


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

* Re: [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number
  2024-02-09 17:11 [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number Romain Naour
  2024-02-09 17:11 ` [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: " Romain Naour
@ 2024-02-14  9:33 ` Neha Malcom Francis
  2024-02-15  9:26 ` Vignesh Raghavendra
  2 siblings, 0 replies; 5+ messages in thread
From: Neha Malcom Francis @ 2024-02-14  9:33 UTC (permalink / raw)
  To: Romain Naour, linux-kernel, devicetree, linux-arm-kernel,
	conor+dt, krzysztof.kozlowski+dt, robh+dt, kristo, vigneshr, nm

Hi Romain

On 09/02/24 22:41, Romain Naour wrote:
> The tps659413 node set WKUP_GPIO0_83 (AA37) pin as input to be used as
> PMIC interrupt but uses 39 (WKUP_GPIO0_39) as "interrupts" property.
> 
> Replace 39 by 83 after checking in the board schematic [1].
> 
> [1] https://www.ti.com/tool/SK-AM69
> 
> Fixes: 865a1593bf99 ("arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC")
> Cc: Neha Malcom Francis <n-francis@ti.com>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> ---
>   arch/arm64/boot/dts/ti/k3-am69-sk.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> index 8da591579868..95c9d3da59d3 100644
> --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> @@ -646,7 +646,7 @@ tps659413: pmic@48 {
>   		pinctrl-names = "default";
>   		pinctrl-0 = <&pmic_irq_pins_default>;
>   		interrupt-parent = <&wkup_gpio0>;
> -		interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
> +		interrupts = <83 IRQ_TYPE_EDGE_FALLING>;
>   		gpio-controller;
>   		#gpio-cells = <2>;
>   		ti,primary-pmic;

Thanks for catching this!

Reviewed-by: Neha Malcom Francis <n-francis@ti.com>

-- 
Thanking You
Neha Malcom Francis

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

* Re: [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: fix PMIC interrupt number
  2024-02-09 17:11 ` [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: " Romain Naour
@ 2024-02-14  9:33   ` Neha Malcom Francis
  0 siblings, 0 replies; 5+ messages in thread
From: Neha Malcom Francis @ 2024-02-14  9:33 UTC (permalink / raw)
  To: Romain Naour, linux-kernel, devicetree, linux-arm-kernel,
	conor+dt, krzysztof.kozlowski+dt, robh+dt, kristo, vigneshr, nm

On 09/02/24 22:41, Romain Naour wrote:
> The tps659413 and tps659411 nodes set WKUP_GPIO0_7 (G28) pin as input
> to be used as PMIC interrupt but uses 9 (WKUP_GPIO0_9) as
> "interrupts" property.
> 
> Replace 9 by 7 for both tps659413 and tps659411 after checking in the
> board schematic [1].
> 
> [1] https://www.ti.com/tool/SK-TDA4VM
> 
> Fixes: b808cef0be46 ("arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs")
> Cc: Neha Malcom Francis <n-francis@ti.com>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> ---
> v2: update tps659411 interrupts parameter too.
> ---
>   arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
> index 188dfe291a32..658764f7d544 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts
> @@ -574,7 +574,7 @@ tps659413: pmic@48 {
>   		pinctrl-names = "default";
>   		pinctrl-0 = <&pmic_irq_pins_default>;
>   		interrupt-parent = <&wkup_gpio0>;
> -		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
> +		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
>   		gpio-controller;
>   		#gpio-cells = <2>;
>   		ti,primary-pmic;
> @@ -651,7 +651,7 @@ tps659411: pmic@4c {
>   		reg = <0x4c>;
>   		system-power-controller;
>   		interrupt-parent = <&wkup_gpio0>;
> -		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
> +		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
>   		gpio-controller;
>   		#gpio-cells = <2>;
>   		buck1234-supply = <&vsys_3v3>;


Reviewed-by: Neha Malcom Francis <n-francis@ti.com>

-- 
Thanking You
Neha Malcom Francis

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

* Re: [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number
  2024-02-09 17:11 [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number Romain Naour
  2024-02-09 17:11 ` [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: " Romain Naour
  2024-02-14  9:33 ` [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: " Neha Malcom Francis
@ 2024-02-15  9:26 ` Vignesh Raghavendra
  2 siblings, 0 replies; 5+ messages in thread
From: Vignesh Raghavendra @ 2024-02-15  9:26 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel, conor+dt,
	krzysztof.kozlowski+dt, robh+dt, kristo, nm, Romain Naour
  Cc: Vignesh Raghavendra, Neha Malcom Francis

Hi Romain Naour,

On Fri, 09 Feb 2024 18:11:45 +0100, Romain Naour wrote:
> The tps659413 node set WKUP_GPIO0_83 (AA37) pin as input to be used as
> PMIC interrupt but uses 39 (WKUP_GPIO0_39) as "interrupts" property.
> 
> Replace 39 by 83 after checking in the board schematic [1].
> 
> [1] https://www.ti.com/tool/SK-AM69
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number
      commit: 9673acae37ce06bebfe75b38c15952cab05da896
[2/2] arm64: dts: ti: k3-j721e-sk: fix PMIC interrupt number
      commit: 59974c38ded179cac63a3fa1a8adaaa1048cdc41

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh


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

end of thread, other threads:[~2024-02-15  9:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 17:11 [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: fix PMIC interrupt number Romain Naour
2024-02-09 17:11 ` [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: " Romain Naour
2024-02-14  9:33   ` Neha Malcom Francis
2024-02-14  9:33 ` [PATCH v2 1/2] arm64: dts: ti: k3-am69-sk: " Neha Malcom Francis
2024-02-15  9:26 ` Vignesh Raghavendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®