lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241107101406.6bj4xbiguzuwt5db@prasanth-server>
Date: Thu, 7 Nov 2024 15:44:06 +0530
From: Prasanth Mantena <p-mantena@...com>
To: Bhavya Kapoor <b-kapoor@...com>
CC: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>, <nm@...com>,
        <vigneshr@...com>, <kristo@...nel.org>, <robh@...nel.org>,
        <krzk+dt@...nel.org>, <conor+dt@...nel.org>,
        <linux-arm-kernel@...ts.infradead.org>, <u-kumar1@...com>,
        <s-sinha@...com>
Subject: Re: [PATCH] arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0

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@...com>
> Signed-off-by: Shreyash Sinha <s-sinha@...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@...com>

> -- 
> 2.34.1
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ