[PATCH 12/13] ARM: dts: exynos: Silence SATA PHY warning in SMDK5250

Krzysztof Kozlowski krzk at kernel.org
Tue Sep 1 03:54:16 EDT 2020


The SATA PHY in Exynos5250 SoCs has two interfaces and two device nodes:
1. sata-phy at 12170000
2. i2c-9/i2c at 38

The first node represents the actual SATA PHY device with phy-cells.
The second represents additional I2C interface, needed by the driver
to communicate with the SATA PHY device.  It is not a PHY-provider in
the terms of dtschema so rename it to silence dtbs_check warning:

  arch/arm/boot/dts/exynos5250-smdk5250.dt.yaml: sata-phy at 38: '#phy-cells' is a required property
    From schema: lib/python3.6/site-packages/dtschema/schemas/phy/phy-provider.yaml

Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
 arch/arm/boot/dts/exynos5250-smdk5250.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index 00af7fb65080..e613814da386 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -328,7 +328,7 @@
 	samsung,i2c-max-bus-freq = <40000>;
 	samsung,i2c-slave-addr = <0x38>;
 
-	sata_phy_i2c: sata-phy at 38 {
+	sata_phy_i2c: sata-phy-i2c at 38 {
 		compatible = "samsung,exynos-sataphy-i2c";
 		reg = <0x38>;
 	};
-- 
2.17.1




More information about the linux-arm-kernel mailing list