public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0
@ 2024-11-05  9:12 Bhavya Kapoor
  2024-11-07 10:14 ` Prasanth Mantena
  2025-01-02 16:29 ` Nishanth Menon
  0 siblings, 2 replies; 3+ messages in thread
From: Bhavya Kapoor @ 2024-11-05  9:12 UTC (permalink / raw)
  To: devicetree, linux-kernel
  Cc: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
	b-kapoor, u-kumar1, s-sinha

Enable support for mcu_i2c0 and add pinmux required to bring out the
mcu_i2c0 signals on 40-pin RPi expansion header on the J722S EVM.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
Signed-off-by: Shreyash Sinha <s-sinha@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
index a00f4a7d20d9..796287c76b69 100644
--- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
@@ -406,6 +406,13 @@ &main_uart5 {
 
 &mcu_pmx0 {
 
+	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
+		pinctrl-single,pins = <
+			J722S_MCU_IOPAD(0x048, PIN_INPUT, 0) /* (E11) MCU_I2C0_SDA */
+			J722S_MCU_IOPAD(0x044, PIN_INPUT, 0) /* (B13) MCU_I2C0_SCL */
+		>;
+	};
+
 	mcu_mcan0_pins_default: mcu-mcan0-default-pins {
 		pinctrl-single,pins = <
 			J722S_MCU_IOPAD(0x038, PIN_INPUT, 0) /* (D8) MCU_MCAN0_RX */
@@ -812,3 +819,10 @@ &main_mcan0 {
 &mcu_gpio0 {
 	status = "okay";
 };
+
+&mcu_i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mcu_i2c0_pins_default>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
-- 
2.34.1



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

* Re: [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0
  2024-11-05  9:12 [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0 Bhavya Kapoor
@ 2024-11-07 10:14 ` Prasanth Mantena
  2025-01-02 16:29 ` Nishanth Menon
  1 sibling, 0 replies; 3+ messages in thread
From: Prasanth Mantena @ 2024-11-07 10:14 UTC (permalink / raw)
  To: Bhavya Kapoor
  Cc: devicetree, linux-kernel, nm, vigneshr, kristo, robh, krzk+dt,
	conor+dt, linux-arm-kernel, u-kumar1, s-sinha

On 14:42, Bhavya Kapoor wrote:
> Enable support for mcu_i2c0 and add pinmux required to bring out the
> mcu_i2c0 signals on 40-pin RPi expansion header on the J722S EVM.
> 
> Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
> Signed-off-by: Shreyash Sinha <s-sinha@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> index a00f4a7d20d9..796287c76b69 100644
> --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> @@ -406,6 +406,13 @@ &main_uart5 {
>  
>  &mcu_pmx0 {
>  
> +	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
> +		pinctrl-single,pins = <
> +			J722S_MCU_IOPAD(0x048, PIN_INPUT, 0) /* (E11) MCU_I2C0_SDA */
> +			J722S_MCU_IOPAD(0x044, PIN_INPUT, 0) /* (B13) MCU_I2C0_SCL */
> +		>;
> +	};
> +
>  	mcu_mcan0_pins_default: mcu-mcan0-default-pins {
>  		pinctrl-single,pins = <
>  			J722S_MCU_IOPAD(0x038, PIN_INPUT, 0) /* (D8) MCU_MCAN0_RX */
> @@ -812,3 +819,10 @@ &main_mcan0 {
>  &mcu_gpio0 {
>  	status = "okay";
>  };
> +
> +&mcu_i2c0 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&mcu_i2c0_pins_default>;
> +	clock-frequency = <400000>;
> +	status = "okay";
> +};

Reviewed-by: Prasanth Babu Mantena <p-mantena@ti.com>

> -- 
> 2.34.1
> 
> 


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

* Re: [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0
  2024-11-05  9:12 [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0 Bhavya Kapoor
  2024-11-07 10:14 ` Prasanth Mantena
@ 2025-01-02 16:29 ` Nishanth Menon
  1 sibling, 0 replies; 3+ messages in thread
From: Nishanth Menon @ 2025-01-02 16:29 UTC (permalink / raw)
  To: devicetree, linux-kernel, Bhavya Kapoor
  Cc: Nishanth Menon, vigneshr, kristo, robh, krzk+dt, conor+dt,
	linux-arm-kernel, u-kumar1, s-sinha

Hi Bhavya Kapoor,

On Tue, 05 Nov 2024 14:42:24 +0530, Bhavya Kapoor wrote:
> Enable support for mcu_i2c0 and add pinmux required to bring out the
> mcu_i2c0 signals on 40-pin RPi expansion header on the J722S EVM.
> 
> 

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

Side note: It would have been useful to state in the diff stat that
gpio_ranges handles the standard GPIO configuration.

[1/1] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0
      commit: 9442f963098f1eb9d1565fdd694e506d0c2c6f45

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
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D



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

end of thread, other threads:[~2025-01-02 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05  9:12 [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0 Bhavya Kapoor
2024-11-07 10:14 ` Prasanth Mantena
2025-01-02 16:29 ` Nishanth Menon

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