Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: bridge: add sam9x75-lvds binding

Add the 'sam9x75-lvds' compatible binding, which describes the Low Voltage
Differential Signaling (LVDS) Controller found on some Microchip's sam9x7
series System-on-Chip (SoC) devices. This binding will be used to define
the properties and configuration for the LVDS Controller in DT.

Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240421011050.43265-2-dharma.b@microchip.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240421011050.43265-2-dharma.b@microchip.com

authored by

Dharma Balasubiramani and committed by
Neil Armstrong
c24177ca c058e7a8

+55
+55
Documentation/devicetree/bindings/display/bridge/microchip,sam9x75-lvds.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/bridge/microchip,sam9x75-lvds.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microchip SAM9X75 LVDS Controller 8 + 9 + maintainers: 10 + - Dharma Balasubiramani <dharma.b@microchip.com> 11 + 12 + description: 13 + The Low Voltage Differential Signaling Controller (LVDSC) manages data 14 + format conversion from the LCD Controller internal DPI bus to OpenLDI 15 + LVDS output signals. LVDSC functions include bit mapping, balanced mode 16 + management, and serializer. 17 + 18 + properties: 19 + compatible: 20 + const: microchip,sam9x75-lvds 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + maxItems: 1 27 + 28 + clocks: 29 + items: 30 + - description: Peripheral Bus Clock 31 + 32 + clock-names: 33 + items: 34 + - const: pclk 35 + 36 + required: 37 + - compatible 38 + - reg 39 + - interrupts 40 + - clocks 41 + - clock-names 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + #include <dt-bindings/interrupt-controller/irq.h> 48 + #include <dt-bindings/clock/at91.h> 49 + lvds-controller@f8060000 { 50 + compatible = "microchip,sam9x75-lvds"; 51 + reg = <0xf8060000 0x100>; 52 + interrupts = <56 IRQ_TYPE_LEVEL_HIGH 0>; 53 + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>; 54 + clock-names = "pclk"; 55 + };