]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: exynos: Align MAX77843 nodes with dtschema on TM2
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 11 Jan 2022 17:48:01 +0000 (18:48 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sun, 23 Jan 2022 16:59:21 +0000 (17:59 +0100)
The newly introduced dtschema for MAX77843 MUIC require the children to
have proper naming and a port@0 property.

This should not have actual impact on MFD children driver binding,
because the max77843 MFD driver uses compatibles.  The port@0 is
disabled to avoid any impact.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220111174805.223732-2-krzysztof.kozlowski@canonical.com
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi

index cbcc01a66aab75df04f55f5341a7ddfad5933e1b..03f7c9acaacb133218b6c2306ffda54c06be8faf 100644 (file)
                interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
                reg = <0x66>;
 
-               muic: max77843-muic {
+               muic: extcon {
                        compatible = "maxim,max77843-muic";
 
-                       musb_con: musb-connector {
+                       musb_con: connector {
                                compatible = "samsung,usb-connector-11pin",
                                             "usb-b-connector";
                                label = "micro-USB";
                                        #address-cells = <1>;
                                        #size-cells = <0>;
 
+                                       port@0 {
+                                               /*
+                                                * TODO: The DTS this is based on does not have
+                                                * port@0 which is a required property. The ports
+                                                * look incomplete and need fixing.
+                                                * Add a disabled port just to satisfy dtschema.
+                                                */
+                                               reg = <0>;
+                                               status = "disabled";
+                                       };
+
                                        port@3 {
                                                reg = <3>;
                                                musb_con_to_mhl: endpoint {
                        };
                };
 
-               haptic: max77843-haptic {
+               haptic: motor-driver {
                        compatible = "maxim,max77843-haptic";
                        haptic-supply = <&ldo38_reg>;
                        pwms = <&pwm 0 33670 0>;