Searched +full:bled +full:- +full:ovp +full:- +full:microvolt (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | mediatek,mt6370-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiaEn Wu <chiaen_wu@richtek.com> 21 - $ref: common.yaml# 26 - mediatek,mt6370-backlight 27 - mediatek,mt6372-backlight 29 default-brightness: 32 max-brightness: [all …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | mt6370-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 82 brightness_val[0] = (brightness - 1) & priv->dim2_mask; in mt6370_bl_update_status() 83 brightness_val[1] = (brightness - 1) >> priv->dim2_shift; in mt6370_bl_update_status() 85 ret = regmap_raw_write(priv->regmap, MT6370_REG_BL_DIM2, in mt6370_bl_update_status() 91 gpiod_set_value(priv->enable_gpio, !!brightness); in mt6370_bl_update_status() 94 return regmap_update_bits(priv->regmap, MT6370_REG_BL_EN, in mt6370_bl_update_status() 105 ret = regmap_read(priv->regmap, MT6370_REG_BL_EN, &enable); in mt6370_bl_get_brightness() 112 ret = regmap_raw_read(priv->regmap, MT6370_REG_BL_DIM2, in mt6370_bl_get_brightness() 117 brightness = brightness_val[1] << priv->dim2_shift; in mt6370_bl_get_brightness() 118 brightness += brightness_val[0] & priv->dim2_mask; in mt6370_bl_get_brightness() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | richtek,rt4831.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 23 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 33 enable-gpios: 40 $ref: ../regulator/richtek,rt4831-regulator.yaml 43 $ref: ../leds/backlight/richtek,rt4831-backlight.yaml 46 - compatible 47 - reg [all …]
|