diff mbox series

[4/4] arm64: rk3399: r4s: disabled i2c4 bus during the system boot process

Message ID 20210706144400.8665-4-peterwillcn@gmail.com
State Not Applicable
Delegated to: Kever Yang
Headers show
Series [1/4] arm64: rk3399: r4s: correct the LEDS label name | expand

Commit Message

Xiaobo Tian July 6, 2021, 2:44 p.m. UTC
Data transmission on the I2C4 bus is not required during the system boot process,
so it is disabled

Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
---
 arch/arm/dts/rk3399-nanopi-r4s.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Kever Yang Aug. 11, 2021, 10:10 a.m. UTC | #1
Hi Xiaobo,
    This dts may also used by the kernel on some of the linux distro,
so if there is no other impact, I would suggest not to disable.

Thanks,
- Kever

Xiaobo Tian <peterwillcn@gmail.com> 于2021年7月6日周二 下午10:44写道:
>
> Data transmission on the I2C4 bus is not required during the system boot process,
> so it is disabled
>
> Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
> ---
>  arch/arm/dts/rk3399-nanopi-r4s.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-nanopi-r4s.dts b/arch/arm/dts/rk3399-nanopi-r4s.dts
> index 042c73ca17..e5f57dd51a 100644
> --- a/arch/arm/dts/rk3399-nanopi-r4s.dts
> +++ b/arch/arm/dts/rk3399-nanopi-r4s.dts
> @@ -69,6 +69,10 @@
>         status = "disabled";
>  };
>
> +&i2c4 {
> +       status = "disabled";
> +};
> +
>  &leds {
>         lan_led: led-1 {
>                 gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
> --
> 2.32.0
>
diff mbox series

Patch

diff --git a/arch/arm/dts/rk3399-nanopi-r4s.dts b/arch/arm/dts/rk3399-nanopi-r4s.dts
index 042c73ca17..e5f57dd51a 100644
--- a/arch/arm/dts/rk3399-nanopi-r4s.dts
+++ b/arch/arm/dts/rk3399-nanopi-r4s.dts
@@ -69,6 +69,10 @@ 
 	status = "disabled";
 };
 
+&i2c4 {
+	status = "disabled";
+};
+
 &leds {
 	lan_led: led-1 {
 		gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;