[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1574674036-5589-1-git-send-email-eugen.hristev@microchip.com>
Date: Mon, 25 Nov 2019 09:27:41 +0000
From: <Eugen.Hristev@...rochip.com>
To: <alexandre.belloni@...tlin.com>, <Ludovic.Desroches@...rochip.com>,
<robh+dt@...nel.org>
CC: <Nicolas.Ferre@...rochip.com>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<Eugen.Hristev@...rochip.com>
Subject: [PATCH] ARM: dts: at91: sama5d27_som1_ek: add i2c filters properties
From: Eugen Hristev <eugen.hristev@...rochip.com>
Add properties for i2c filters for i2c0 and i2c1 on sama5d27_som1_ek.
Noise is affecting communication on i2c for example when connecting i2c
camera sensors.
Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index fca5716..b6a22bb 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -123,6 +123,9 @@
flx1: flexcom@...38000 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
+ i2c-analog-filter;
+ i2c-digital-filter;
+ i2c-digital-filter-width-ns = <35>;
status = "okay";
i2c2: i2c@600 {
@@ -246,6 +249,9 @@
i2c1: i2c@...28000 {
dmas = <0>, <0>;
+ i2c-analog-filter;
+ i2c-digital-filter;
+ i2c-digital-filter-width-ns = <35>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1_default>;
status = "okay";
--
2.7.4
Powered by blists - more mailing lists