kernel/0156-fix-add-i2c-hold-time-for-aon-i2c.patch

30 lines
988 B
Diff

From 332365af925e667dcb1b3127a026ad3eb4f087cb Mon Sep 17 00:00:00 2001
From: yangwei1 <yangwei1@eswincomputing.com>
Date: Mon, 19 Aug 2024 19:16:55 +0800
Subject: [PATCH 156/219] fix:add i2c hold time for aon i2c
Changelogs:
add i2c hold time for aon i2c
Signed-off-by: yangwei1 <yangwei1@eswincomputing.com>
---
arch/riscv/boot/dts/eswin/hifive-premier-p550.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/boot/dts/eswin/hifive-premier-p550.dts b/arch/riscv/boot/dts/eswin/hifive-premier-p550.dts
index 33e02628614a..c4a9d6f97f95 100644
--- a/arch/riscv/boot/dts/eswin/hifive-premier-p550.dts
+++ b/arch/riscv/boot/dts/eswin/hifive-premier-p550.dts
@@ -674,7 +674,7 @@ &d0_aon_i2c1 {
/* PCA9450 & SiC451 & INA226 & PAC1934 */
status = "okay";
eswin,syscfg = <&d0_sys_con 0x3C0 15>;
- iic_hold_time = <0x40>;
+ i2c-sda-hold-time-ns = <0x40>;
pac1934:pmic@10 {
compatible = "microchip,pac1934";
/*update all register data*/
--
2.47.0