On Thu, Aug 06, 2026 at 10:15:40PM +0200, Wim de With wrote:
> Add device tree bindings for the Orient Chip OCP8178 LED backlight
> driver.
> 
> Signed-off-by: Wim de With <[email protected]>
> ---
>  .../bindings/leds/backlight/ocs,ocp8178.yaml  | 46 +++++++++++++++++++
>  MAINTAINERS                                   |  5 ++
>  2 files changed, 51 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml
> 
> diff --git 
> a/Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml 
> b/Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml
> new file mode 100644
> index 0000000000000..9a4df1ef91edd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/ocs,ocp8178.yaml
> @@ -0,0 +1,46 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/backlight/ocs,ocp8178.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Orient Chip OCP8178 backlight
> +
> +maintainers:
> +  - Wim de With <[email protected]>
> +
> +description: |

Don't need '|'.

> +  The Orient Chip OCP8178 is a white LED backlight driver controlled by a 
> single
> +  GPIO line with a vendor-specific onewire protocol.
> +
> +allOf:
> +  - $ref: common.yaml#
> +
> +properties:
> +  compatible:
> +    const: ocs,ocp8178
> +
> +  enable-gpios:
> +    description: GPIO to use to enable/disable and dim the backlight.
> +    maxItems: 1
> +
> +  default-brightness:
> +    maximum: 31

blank line

> +  max-brightness:
> +    maximum: 31

Reply via email to