# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/bridge/microchip,sam9x75-lvds.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip SAM9X75 LVDS Controller

maintainers:
  - Dharma Balasubiramani <dharma.b@microchip.com>

description:
  The Low Voltage Differential Signaling Controller (LVDSC) manages data
  format conversion from the LCD Controller internal DPI bus to OpenLDI
  LVDS output signals. LVDSC functions include bit mapping, balanced mode
  management, and serializer.

properties:
  compatible:
    const: microchip,sam9x75-lvds

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    items:
      - description: Peripheral Bus Clock

  clock-names:
    items:
      - const: pclk

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    #include <dt-bindings/clock/at91.h>
    lvds-controller@f8060000 {
      compatible = "microchip,sam9x75-lvds";
      reg = <0xf8060000 0x100>;
      interrupts = <56 IRQ_TYPE_LEVEL_HIGH 0>;
      clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
      clock-names = "pclk";
    };
