On Thu 2020-11-05 17:43:50, Amireddy Mallikarjuna reddy wrote:
Add DT bindings YAML schema for SSO controller driverintel -> Intel in the title.
of Lightning Mountain(LGM) SoC.
"Lightning Mountain(LGM)" -> 'Lightning Mountain (LGM)"
ok.
+%YAML 1.2Please spell out LGM and SSO here. Soc -> SoC?
+---
+$id: http://devicetree.org/schemas/leds/leds-lgm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Intel LGM Soc LED SSO driver
In case of using "default-state" property, it is redundant.
+ intel,sso-brightness:?
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: brightness level of the LED.
+ minimum: 0
+ maximum: 255
This is not common property, so i used vendor name.
+ intel,sso-hw-trigger:Why is this intel specific?
+ type: boolean
+ description: This property indicates Hardware driven/control LED.
This is not common property, so i used vendor name.
+ intel,sso-hw-blink:?
+ type: boolean
+ description: This property indicates Enable LED blink by Hardware.
This is not common property, so i used vendor name.
+ intel,sso-blink-rate:?
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: LED HW blink frequency.
Best regards,
Pavel