# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/leds/backlight/ti,lm3533-backlight.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: TI LM3533 high voltage series LED strings
description:
This is part of the TI LM3533 MFD device. It represents two high voltage series
LED strings for display backlight controlled by the TI LM3533.
maintainers:
- Svyatoslav Ryhel <clamor95@gmail.com>
allOf:
- $ref: /schemas/leds/backlight/common.yaml#
properties:
compatible:
const: ti,lm3533-backlight
reg:
description: Control bank selection (0 = bank A, 1 = bank B).
maximum: 1
led-max-microamp:
description: maximum current in uA with a 800 uA step.
minimum: 5000
maximum: 29800
default: 5000
led-sources:
description: |
HVLED strings associated with this control bank:
0 - HVLED1
1 - HVLED2
minItems: 1
maxItems: 2
items:
maximum: 1
ti,pwm-config-mask:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
Control Bank PWM Configuration Register mask that allows to configure
PWM input in Zones 0-4
BIT(0) - PWM Input is enabled
BIT(1) - PWM Input is enabled in Zone 0
BIT(2) - PWM Input is enabled in Zone 1
BIT(3) - PWM Input is enabled in Zone 2
BIT(4) - PWM Input is enabled in Zone 3
BIT(5) - PWM Input is enabled in Zone 4
default: 0
ti,linear-mapping-mode:
description:
Enable linear mapping mode. If disabled, then it will use exponential
mapping mode in which the ramp up/down appears to have a more uniform
transition to the human eye.
type: boolean
required:
- compatible
- reg
unevaluatedProperties: false
# see ti,lm3533.yaml for an example