Home
last modified time | relevance | path

Searched refs:pwmled (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/leds/rgb/
Dleds-pwm-multicolor.c70 struct pwm_led *pwmled; in iterate_subleds() local
76 pwmled = &priv->leds[priv->mc_cdev.num_colors]; in iterate_subleds()
77 pwmled->pwm = devm_fwnode_pwm_get(dev, fwnode, NULL); in iterate_subleds()
78 if (IS_ERR(pwmled->pwm)) { in iterate_subleds()
79 ret = dev_err_probe(dev, PTR_ERR(pwmled->pwm), "unable to request PWM\n"); in iterate_subleds()
82 pwm_init_state(pwmled->pwm, &pwmled->state); in iterate_subleds()
83 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds()
/Linux-v6.1/Documentation/devicetree/bindings/pwm/
Dti,twl-pwmled.txt8 - compatible: "ti,twl4030-pwmled" or "ti,twl6030-pwmled"
14 twl_pwmled: pwmled {
15 compatible = "ti,twl6030-pwmled";
/Linux-v6.1/arch/arm/boot/dts/
Dtwl6030.dtsi94 twl_pwmled: pwmled {
96 compatible = "ti,twl6030-pwmled";
Dtwl4030.dtsi138 twl_pwmled: pwmled {
139 compatible = "ti,twl4030-pwmled";