# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/atmel,hlcdc-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Atmel's HLCDC's PWM controller

maintainers:
  - Nicolas Ferre <nicolas.ferre@microchip.com>
  - Alexandre Belloni <alexandre.belloni@bootlin.com>
  - Claudiu Beznea <claudiu.beznea@tuxon.dev>

description:
  The LCDC integrates a Pulse Width Modulation (PWM) Controller. This block
  generates the LCD contrast control signal (LCD_PWM) that controls the
  display's contrast by software. LCDC_PWM is an 8-bit PWM signal that can be
  converted to an analog voltage with a simple passive filter. LCD display
  panels have different backlight specifications in terms of minimum/maximum
  values for PWM frequency. If the LCDC PWM frequency range does not match the
  LCD display panel, it is possible to use the standalone PWM Controller to
  drive the backlight.

properties:
  compatible:
    const: atmel,hlcdc-pwm

  "#pwm-cells":
    const: 3

required:
  - compatible
  - "#pwm-cells"

additionalProperties: false
