Skip to content

Commit

Permalink
feat: add i2c7-m3 for rock 5a and rock 5c
Browse files Browse the repository at this point in the history
Signed-off-by: Nascs Fang <[email protected]>
  • Loading branch information
nascs committed May 20, 2024
1 parent d936b4e commit 076f3c4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ dtb-$(CONFIG_CLK_RK3588) += \
rk3588-w1-gpio3-b3.dtbo \
rk3588-w1-gpio4-b1.dtbo \
rock-5a-allnet-5inch-display.dtbo \
rock-5a-i2c7-m3.dtbo \
rock-5a-radxa-25w-poe.dtbo \
rock-5a-radxa-display-8hd.dtbo \
rock-5a-rpi-camera-v2.dtbo \
Expand Down
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rock-5a-i2c7-m3.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include "rk3588-i2c7-m3.dts"

/ {
metadata {
title = "Enable I2C7-M3 and Disable onboard Audio Jack";
compatible = "radxa,rock-5a", "radxa,rock-5c";
description = "Enable I2C7-M3 and Disable onboard Audio Jack.
Onboard audio jack has to be disabled, as the codec is connected to I2C7 on different pins.
Once I2C signal is routed to 40-pin header, the codec is disconnected, thus unusable.
On Radxa ROCK 5A this is SDA pin 11 & SCL pin 13.
On Radxa ROCK 5C this is SDA pin 11 & SCL pin 13.
";
};
};

&es8316 {
status = "disabled";
};

0 comments on commit 076f3c4

Please sign in to comment.