[PATCH v2 08/10] ARM: dts: hisilicon: fix errors detected by syscon.yaml

Zhen Lei thunder.leizhen at huawei.com
Mon Oct 12 02:12:23 EDT 2020


The DT binding for system controller is not allowed to contain only the
compatible string "syscon", the Hisilicon peripheral subsystem controller
should add compatible string "hisilicon,peri-subctrl". Otherwise, the
error "compatible: ['syscon'] is too short" will be reported.

Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>
---
 arch/arm/boot/dts/hisi-x5hd2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi
index 9a513893758bf89..97211385dc89cbf 100644
--- a/arch/arm/boot/dts/hisi-x5hd2.dtsi
+++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi
@@ -468,7 +468,7 @@
 		};
 
 		peripheral_ctrl: syscon at a20000 {
-			compatible = "syscon";
+			compatible = "hisilicon,peri-subctrl", "syscon";
 			reg = <0xa20000 0x1000>;
 		};
 
-- 
1.8.3





More information about the linux-arm-kernel mailing list