| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| $id: http://devicetree.org/schemas/leds/leds-rt4505.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| title: Richtek RT4505 Single Channel LED Driver |
| - ChiYuan Huang <cy_huang@richtek.com> |
| The RT4505 is a flash LED driver that can support up to 375mA and 1.5A for |
| torch and flash mode, respectively. |
| The data sheet can be found at: |
| https://www.richtek.com/assets/product_file/RT4505/DS4505-02.pdf |
| description: I2C slave address of the controller. |
| unevaluatedProperties: false |
| additionalProperties: false |
| #include <dt-bindings/leds/common.h> |
| compatible = "richtek,rt4505"; |
| function = LED_FUNCTION_FLASH; |
| color = <LED_COLOR_ID_WHITE>; |
| led-max-microamp = <375000>; |
| flash-max-microamp = <1500000>; |
| flash-max-timeout-us = <800000>; |