Message ID | 20230120155404.323386-12-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers | show |
Series | ARM: dts: exynos: DT schema fixes | expand |
> -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: Friday, January 20, 2023 9:24 PM > To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski > <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar > <alim.akhtar@samsung.com>; Inki Dae <inki.dae@samsung.com>; Kyungmin > Park <kyungmin.park@samsung.com>; Kukjin Kim <kgene@kernel.org>; > devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- > samsung-soc@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: replicant@osuosl.org; phone-devel@vger.kernel.org; > ~postmarketos/upstreaming@lists.sr.ht; Martin Jücker > <martin.juecker@gmail.com>; Henrik Grimler <henrik@grimler.se>; > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Subject: [PATCH 11/11] ARM: dts: exynos: correct HSI2C properties in > Exynos5410 Odroid XU > > The HSI2C controller uses clock-frequency and does not have i2c-sda-delay. > The properties were copy-pasted from the slower S3C-family I2C controller: > > exynos5410-odroidxu.dtb: i2c@12ca0000: Unevaluated properties are not > allowed ('samsung,i2c-max-bus-freq', 'samsung,i2c-sda-delay' were > unexpected) > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> > arch/arm/boot/dts/exynos5410-odroidxu.dts | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts > b/arch/arm/boot/dts/exynos5410-odroidxu.dts > index d1cbc6b8a570..232561620da2 100644 > --- a/arch/arm/boot/dts/exynos5410-odroidxu.dts > +++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts > @@ -164,8 +164,7 @@ map2 { > }; > > &hsi2c_4 { > - samsung,i2c-sda-delay = <100>; > - samsung,i2c-max-bus-freq = <400000>; > + clock-frequency = <400000>; > status = "okay"; > > usb3503: usb-hub@8 { > -- > 2.34.1
diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts index d1cbc6b8a570..232561620da2 100644 --- a/arch/arm/boot/dts/exynos5410-odroidxu.dts +++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts @@ -164,8 +164,7 @@ map2 { }; &hsi2c_4 { - samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <400000>; + clock-frequency = <400000>; status = "okay"; usb3503: usb-hub@8 {
The HSI2C controller uses clock-frequency and does not have i2c-sda-delay. The properties were copy-pasted from the slower S3C-family I2C controller: exynos5410-odroidxu.dtb: i2c@12ca0000: Unevaluated properties are not allowed ('samsung,i2c-max-bus-freq', 'samsung,i2c-sda-delay' were unexpected) Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm/boot/dts/exynos5410-odroidxu.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)