d1: add new target
[openwrt/staging/pepe2k.git] / target / linux / d1 / patches-6.1 / 0099-dt-bindings-sun6i-a31-mipi-dphy-Add-the-interrupts-p.patch
1 From 20a204b31291befcd583f97dafc0a827f3bc7f00 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Fri, 12 Aug 2022 01:37:16 -0500
4 Subject: [PATCH 099/117] dt-bindings: sun6i-a31-mipi-dphy: Add the interrupts
5 property
6
7 The sun6i DPHY can generate several interrupts, mostly for reporting
8 error conditions, but also for detecting BTA and UPLS sequences.
9 Document this capability in order to accurately describe the hardware.
10
11 The DPHY has no interrupt number provided in the vendor documentation
12 because its interrupt line is shared with the DSI controller.
13
14 Signed-off-by: Samuel Holland <samuel@sholland.org>
15 ---
16 .../bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 4 ++++
17 1 file changed, 4 insertions(+)
18
19 --- a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml
20 +++ b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml
21 @@ -24,6 +24,9 @@ properties:
22 reg:
23 maxItems: 1
24
25 + interrupts:
26 + maxItems: 1
27 +
28 clocks:
29 items:
30 - description: Bus Clock
31 @@ -53,6 +56,7 @@ required:
32 - "#phy-cells"
33 - compatible
34 - reg
35 + - interrupts
36 - clocks
37 - clock-names
38 - resets