Lines Matching +full:pwm +full:- +full:clock
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/pwm/pwm.h>
10 * BBLED controller 0 uses GPIO156/LED0 connected to JP31-13
11 * BBLED controller 1 uses GPIO157/LED1 connected to JP31-15
12 * BBLED controller 2 uses GPIO153/LED2 connected to JP31-17
14 * BBLED hardware divides input clock (32KHz or 48MHz) by (256 * (prescalar+1)
15 * and implements duty cycle for blink mode as an 8-bit value where 0 is off and
16 * 255 full on. BBLED PWM is 8-bit.
17 * BBLED-PWM driver get cycles API reports 32KHz/256 or 48M/256.
18 * Due to all the above we use 50 ms for DT PWM period.
24 compatible = "pwm-leds";
41 microchip,output-func-invert;
45 microchip,output-func-invert;
49 microchip,output-func-invert;
54 compatible = "microchip,xec-pwmbbled";
55 clock-select = "PWM_BBLED_CLK_32K";
56 pinctrl-0 = <&led0_gpio156>;
57 pinctrl-1 = <&led0_gpio156_sleep>;
58 pinctrl-names = "default", "sleep";
60 #pwm-cells = <3>;
64 compatible = "microchip,xec-pwmbbled";
65 clock-select = "PWM_BBLED_CLK_32K";
66 pinctrl-0 = <&led1_gpio157>;
67 pinctrl-1 = <&led1_gpio157_sleep>;
68 pinctrl-names = "default", "sleep";
70 #pwm-cells = <3>;
74 compatible = "microchip,xec-pwmbbled";
75 clock-select = "PWM_BBLED_CLK_32K";
76 pinctrl-0 = <&led2_gpio153>;
77 pinctrl-1 = <&led2_gpio153_sleep>;
78 pinctrl-names = "default", "sleep";
80 #pwm-cells = <3>;