Lines Matching +full:led +full:- +full:2

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lgm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Intel Lightning Mountain (LGM) SoC LED Serial Shift Output (SSO) Controller driver
10 - Zhu, Yi Xin <Yixin.zhu@intel.com>
11 - Amireddy Mallikarjuna reddy <mallikarjunax.reddy@intel.com>
15 const: intel,lgm-ssoled
21 maxItems: 2
23 clock-names:
25 - const: sso
26 - const: fpid
28 gpio-controller: true
30 '#gpio-cells':
31 const: 2
39 intel,sso-update-rate-hz:
43 led-controller:
46 This sub-node must contain a sub-node for each leds.
51 '#address-cells':
54 '#size-cells':
58 "^led@[0-2]$":
64 description: Index of the LED.
66 maximum: 2
68 led-gpios:
71 intel,sso-hw-trigger:
73 description: This property indicates Hardware driven/control LED.
75 intel,sso-hw-blink:
77 description: This property indicates Enable LED blink by Hardware.
79 intel,sso-blink-rate-hz:
80 description: LED HW blink frequency.
82 retain-state-suspended:
84 description: The suspend state of LED can be retained.
86 retain-state-shutdown:
88 description: Retain the state of the LED on shutdown.
91 - compatible
92 - reg
93 - clocks
94 - clock-names
95 - "#gpio-cells"
96 - gpio-controller
101 - |
102 #include <dt-bindings/clock/intel,lgm-clk.h>
103 #include <dt-bindings/leds/common.h>
106 compatible = "intel,lgm-ssoled";
108 gpio-controller;
109 #gpio-cells = <2>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_ledc>;
114 clock-names = "sso", "fpid";
115 intel,sso-update-rate-hz = <250000>;
117 led-controller {
118 #address-cells = <1>;
119 #size-cells = <0>;
121 led@0 {
125 led-gpios = <&ssogpio 0 0>;
128 led@2 {
129 reg = <2>;
132 led-gpios = <&ssogpio 23 0>;