build/patch/kernel/archive/sunxi-5.15/patches.megous/arm64-dts-sun50i-pinephone-Bump-I2C-frequency-to-400kHz.patch

37 lines
1010 B
Diff

From 5d5f4c955d084baf71cf7fe960c802ec4d353dfe Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Mon, 30 Nov 2020 06:14:07 +0100
Subject: [PATCH 209/478] arm64: dts: sun50i-pinephone: Bump I2C frequency to
400kHz
High speed. :)
Signed-off-by: Ondrej Jirman <megous@megous.com>
---
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index 01721f6346a2..b55709bb5d3c 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
@@ -469,6 +469,7 @@ ov5640_ep: endpoint {
&i2c0 {
status = "okay";
+ clock-frequency = <400000>;
touchscreen@5d {
compatible = "goodix,gt917s";
@@ -486,6 +487,7 @@ touchscreen@5d {
&i2c1 {
status = "okay";
+ clock-frequency = <400000>;
/* Magnetometer */
lis3mdl: magnetometer@1e {
--
2.35.3