moby: limit i2c1 frequency to 400 kHz
This commit is contained in:
@@ -188,7 +188,10 @@
|
|||||||
// declared in rk3399-base.dtsi, as `i2c1: i2c@ff110000 { ... }`
|
// declared in rk3399-base.dtsi, as `i2c1: i2c@ff110000 { ... }`
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
// clock-frequency = <400000>;
|
// ALC5640 datasheet specifies max i2c rate of 400kHz
|
||||||
|
// - max rise time: 300ns
|
||||||
|
// - max fall time: 300ns
|
||||||
|
clock-frequency = <400000>;
|
||||||
// from rk3399-firefly.dts
|
// from rk3399-firefly.dts
|
||||||
// note that i2c3 in pinephone-pro is defined as 450/15 rise/fall
|
// note that i2c3 in pinephone-pro is defined as 450/15 rise/fall
|
||||||
i2c-scl-rising-time-ns = <300>;
|
i2c-scl-rising-time-ns = <300>;
|
||||||
|
Reference in New Issue
Block a user