From fa2b54ccd9a5cc851668b4af7134abdf764f15db Mon Sep 17 00:00:00 2001 From: yang.li3 Date: Fri, 26 Jun 2026 11:58:17 +0800 Subject: [PATCH] Bug #11111113 - mipi转HDMI调试 [root cause ]:mipi转HDMI调试 [changes ]:mipi转HDMI调试 [side effects]:na [self test ]:pass [download normally]:pass [power on/off normally]:pass [do common repository/branch inspection]:na [is there dependence]:na [confirm dependent commit]:na [board]:na [test case]:na [reviewers]:na commit_template_version:v1 Change-Id: I7fc0e6ece8628c6e0c79d3c91b9a7acf78589a1c Signed-off-by: yang.li3 --- diff --git a/recipes-kernel/linux/linux-unisoc-5.4.bb b/recipes-kernel/linux/linux-unisoc-5.4.bb index 3f85602..633d231 100755 --- a/recipes-kernel/linux/linux-unisoc-5.4.bb +++ b/recipes-kernel/linux/linux-unisoc-5.4.bb @@ -24,6 +24,7 @@ file://kernel-config/8021q_vlan.cfg \ ${KERNEL_MACHINE_PATCH} \ ${@bb.utils.contains('USERDEBUG', 'userdebug', 'file://userdebug.cfg', 'file://user.cfg', d)} \ + file://enable-8912.cfg \ " PV = "5.4" diff --git a/recipes-kernel/linux/linux-unisoc-5.4/uis7885/enable-8912.cfg b/recipes-kernel/linux/linux-unisoc-5.4/uis7885/enable-8912.cfg new file mode 100644 index 0000000..968a628 --- /dev/null +++ b/recipes-kernel/linux/linux-unisoc-5.4/uis7885/enable-8912.cfg @@ -0,0 +1 @@ +CONFIG_LT8912B=y diff --git a/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts b/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts index 94a1359..91e1a63 100755 --- a/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts +++ b/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts @@ -731,6 +731,29 @@ }; }; +&i2c2 { + status = "okay"; + clock-frequency = <400000>; + #address-cells = <1>; + #size-cells = <0>; + + lt8912b: lt8912b@48 { + compatible = "lontium,lt8912b"; + reg = <0x48>; + /*power-gpios = <&ap_gpio 22 GPIO_ACTIVE_HIGH>;*/ + reset-gpios = <&ap_gpio 11 GPIO_ACTIVE_HIGH>; + interrupt-gpios = <&ap_gpio 132 GPIO_ACTIVE_HIGH>; + + lt8912b_addr_1: lt8912b_addr_1@49 { + addr_1_reg = /bits/ 8 <0x49>; + }; + + lt8912b_addr_2: lt8912b_addr_2@4a { + addr_2_reg = /bits/ 8 <0x4a>; + }; + }; +}; + &i2c4 { status = "okay"; clock-frequency = <400000>;