Commit e5418ff5 authored by Martí Bolívar's avatar Martí Bolívar Committed by Carles Cufi
Browse files

doc: devicetree: update binding-template.yaml



Remove some deprecated or obsolete functionality:

- the 'title:' key is now deprecated
- more than 2 levels of child-binding are now supported

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 930c5807
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -294,7 +294,6 @@ properties:
#         ...
# };
child-binding:
    title: PWM LED
    description: LED that uses PWM

    properties:
@@ -314,18 +313,12 @@ child-binding:
#                 };
#         };
# }
#
# WARNING: Due to implementation issues with legacy code, only up to two levels
# of 'child-binding:' nesting (like below) is supported. This restriction will
# go away in Zephyr 2.2.
child-binding:
    title: ...
    description: ...

    ...

    child-binding:
        title: ...
        description: ...

        properties: