Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c56909e authored by Dinh Nguyen's avatar Dinh Nguyen
Browse files

ARM: dts: socfpga: set the i2c frequency



Use 'clock-frequency' binding for the i2c node that will put the I2C driver
into the standard operating mode. 'speed-mode' was not a valid binding for
the I2C driver, remove it.

Signed-off-by: default avatarAlan Tull <atull@kernel.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 5b5ada57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,13 +130,13 @@
};

&i2c1 {
	speed-mode = <0>;
	status = "okay";

	/*
	 * adjust the falling times to decrease the i2c frequency to 50Khz
	 * because the LCD module does not work at the standard 100Khz
	 */
	clock-frequency = <100000>;
	i2c-sda-falling-time-ns = <6000>;
	i2c-scl-falling-time-ns = <6000>;

+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@

&i2c0 {
	status = "okay";
	speed-mode = <0>;
	clock-frequency = <100000>;

	adxl345: adxl345@0 {
		compatible = "adi,adxl345";
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@

&i2c0 {
	status = "okay";
	speed-mode = <0>;
	clock-frequency = <100000>;

	stmpe1: stmpe811@41 {
		compatible = "st,stmpe811";