Home
last modified time | relevance | path

Searched +full:bd2606mvv_1 +full:- +full:e (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Drohm,bd2606mvv.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Kemnade <andreas@kemnade.info>
18 https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/led_driver/bd2606mvv_1-e.pdf
27 "#address-cells":
30 "#size-cells":
33 enable-gpios:
38 "^led@[0-5]$":
49 - reg
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-bd2606mvv.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/led_driver/bd2606mvv_1-e.pdf
42 struct bd2606mvv_priv *priv = led->priv; in bd2606mvv_brightness_set()
46 return regmap_update_bits(priv->regmap, in bd2606mvv_brightness_set()
48 1 << led->led_no, in bd2606mvv_brightness_set()
52 err = regmap_write(priv->regmap, led->led_no / 2, in bd2606mvv_brightness_set()
53 led_cdev->max_brightness == 1 ? in bd2606mvv_brightness_set()
58 return regmap_update_bits(priv->regmap, in bd2606mvv_brightness_set()
60 1 << led->led_no, in bd2606mvv_brightness_set()
61 1 << led->led_no); in bd2606mvv_brightness_set()
[all …]