Lines Matching +full:serial +full:- +full:leds
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
23 clock-names:
25 - const: sso
26 - const: fpid
28 gpio-controller: true
30 '#gpio-cells':
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]$":
68 led-gpios:
71 intel,sso-hw-trigger:
75 intel,sso-hw-blink:
79 intel,sso-blink-rate-hz:
82 retain-state-suspended:
86 retain-state-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>;
125 led-gpios = <&ssogpio 0 0>;
132 led-gpios = <&ssogpio 23 0>;