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

title: Motorola CPCAP PMIC LEDs

maintainers:
  - Svyatoslav Ryhel <clamor95@gmail.com>

description:
  This module is part of the Motorola CPCAP MFD device. For more details
  see Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml. LEDs are
  represented as sub-nodes of the PMIC node on the device tree.

allOf:
  - $ref: /schemas/leds/common.yaml#

properties:
  compatible:
    enum:
      - motorola,cpcap-led-adl # Display Lighting
      - motorola,cpcap-led-blue # Blue Triode
      - motorola,cpcap-led-bt # Bluetooth
      - motorola,cpcap-led-cf # Camera Flash
      - motorola,cpcap-led-cp # Camera Privacy LED
      - motorola,cpcap-led-green # Green Triode
      - motorola,cpcap-led-kl # Keyboard Lighting
      - motorola,cpcap-led-mdl # Main Display Lighting
      - motorola,cpcap-led-red # Red Triode

  vdd-supply: true

required:
  - compatible
  - label
  - vdd-supply

unevaluatedProperties: false

...