Searched +full:bled +full:- +full:ovp +full:- +full:sel (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/leds/backlight/ |
D | richtek,rt4831-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 20 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf 23 - $ref: common.yaml# 27 const: richtek,rt4831-backlight 29 default-brightness: 33 max-brightness: [all …]
|
/linux-6.12.1/drivers/video/backlight/ |
D | rt4831-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include <dt-bindings/leds/rt4831-backlight.h> 48 v[0] = (brightness - 1) & RT4831_BLDIML_MASK; in rt4831_bl_update_status() 49 v[1] = ((brightness - 1) & RT4831_BLDIMH_MASK) >> RT4831_BLDIMH_SHIFT; in rt4831_bl_update_status() 51 ret = regmap_raw_write(priv->regmap, RT4831_REG_BLDIML, v, sizeof(v)); in rt4831_bl_update_status() 56 return regmap_update_bits(priv->regmap, RT4831_REG_ENABLE, RT4831_BLEN_MASK, enable); in rt4831_bl_update_status() 67 ret = regmap_read(priv->regmap, RT4831_REG_ENABLE, &val); in rt4831_bl_get_brightness() 74 ret = regmap_raw_read(priv->regmap, RT4831_REG_BLDIML, v, sizeof(v)); in rt4831_bl_get_brightness() 92 struct device *dev = priv->dev; in rt4831_parse_backlight_properties() 99 ret = device_property_read_u32(dev, "max-brightness", &brightness); in rt4831_parse_backlight_properties() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
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: /schemas/regulator/richtek,rt4831-regulator.yaml 43 $ref: /schemas/leds/backlight/richtek,rt4831-backlight.yaml 46 - compatible 47 - reg [all …]
|