[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240421011050.43265-2-dharma.b@microchip.com>
Date: Sun, 21 Apr 2024 06:40:47 +0530
From: Dharma Balasubiramani <dharma.b@...rochip.com>
To: "dmitry . baryshkov @ linaro . org" <dmitry.baryshkov@...aro.org>,
"andrzej . hajda @ intel . com" <andrzej.hajda@...el.com>, "neil . armstrong
@ linaro . org" <neil.armstrong@...aro.org>, "rfoss @ kernel . org"
<rfoss@...nel.org>, "Laurent . pinchart @ ideasonboard . com"
<Laurent.pinchart@...asonboard.com>, "jonas @ kwiboo . se" <jonas@...boo.se>,
"jernej . skrabec @ gmail . com" <jernej.skrabec@...il.com>, "maarten .
lankhorst @ linux . intel . com" <maarten.lankhorst@...ux.intel.com>,
"mripard @ kernel . org" <mripard@...nel.org>, "tzimmermann @ suse . de"
<tzimmermann@...e.de>, "airlied @ gmail . com" <airlied@...il.com>, "daniel @
ffwll . ch" <daniel@...ll.ch>, "robh+dt @ kernel . org" <robh+dt@...nel.org>,
"krzysztof . kozlowski+dt @ linaro . org"
<krzysztof.kozlowski+dt@...aro.org>, "conor+dt @ kernel . org"
<conor+dt@...nel.org>, "linux @ armlinux . org . uk" <linux@...linux.org.uk>,
"Nicolas . Ferre @ microchip . com" <Nicolas.Ferre@...rochip.com>, "alexandre
. belloni @ bootlin . com" <alexandre.belloni@...tlin.com>, "claudiu . beznea
@ tuxon . dev" <claudiu.beznea@...on.dev>, "Manikandan . M @ microchip . com"
<Manikandan.M@...rochip.com>, "arnd @ arndb . de" <arnd@...db.de>,
"geert+renesas @ glider . be" <geert+renesas@...der.be>, "Jason @ zx2c4 .
com" <Jason@...c4.com>, "mpe @ ellerman . id . au" <mpe@...erman.id.au>,
"gerg @ linux-m68k . org" <gerg@...ux-m68k.org>, "rdunlap @ infradead . org"
<rdunlap@...radead.org>, "vbabka @ suse . cz" <vbabka@...e.cz>, "dri-devel @
lists . freedesktop . org" <dri-devel@...ts.freedesktop.org>, "devicetree @
vger . kernel . org" <devicetree@...r.kernel.org>, "linux-kernel @ vger .
kernel . org" <linux-kernel@...r.kernel.org>, "oe-kbuild-all @ lists . linux
. dev" <oe-kbuild-all@...ts.linux.dev>, "Hari . PrasathGE @ microchip . com"
<Hari.PrasathGE@...rochip.com>
CC: Dharma Balasubiramani <dharma.b@...rochip.com>, Rob Herring
<robh@...nel.org>
Subject: [PATCH v8 1/4] 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@...rochip.com>
Reviewed-by: Rob Herring <robh@...nel.org>
---
Changelog
v7 -> v8
v6 -> v7
v5 -> v6
v4 -> v5
- No changes.
v3 -> v4
- Rephrase the commit subject.
v2 -> v3
- No changes.
v1 -> v2
- Remove '|' in description, as there is no formatting to preserve.
- Remove 'gclk' from clock-names as there is only one clock(pclk).
- Remove the unused headers and include only used ones.
- Change the compatible name specific to SoC (sam9x75) instead of entire series.
- Change file name to match the compatible name.
---
.../bridge/microchip,sam9x75-lvds.yaml | 55 +++++++++++++++++++
1 file changed, 55 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/microchip,sam9x75-lvds.yaml
diff --git a/Documentation/devicetree/bindings/display/bridge/microchip,sam9x75-lvds.yaml b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x75-lvds.yaml
new file mode 100644
index 000000000000..862ef441ac9f
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x75-lvds.yaml
@@ -0,0 +1,55 @@
+# 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@...rochip.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@...60000 {
+ compatible = "microchip,sam9x75-lvds";
+ reg = <0xf8060000 0x100>;
+ interrupts = <56 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
+ clock-names = "pclk";
+ };
--
2.25.1
Powered by blists - more mailing lists