Commit c1c7b394 authored by Samuel Holland's avatar Samuel Holland Committed by Maxime Ripard

dt-bindings: display: sun6i-dsi: Add the A100 variant

The "40nm" MIPI DSI controller found in the A100 and D1 SoCs has the
same register layout as previous SoC integrations. However, its module
clock now comes from the TCON, which means it no longer runs at a fixed
rate, so this needs to be distinguished in the driver.

The controller also now uses pins on Port D instead of dedicated pins,
so it drops the separate power domain.
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221107053552.2330-3-samuel@sholland.orgSigned-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent f7931b03
...@@ -12,9 +12,14 @@ maintainers: ...@@ -12,9 +12,14 @@ maintainers:
properties: properties:
compatible: compatible:
enum: oneOf:
- enum:
- allwinner,sun6i-a31-mipi-dsi - allwinner,sun6i-a31-mipi-dsi
- allwinner,sun50i-a64-mipi-dsi - allwinner,sun50i-a64-mipi-dsi
- allwinner,sun50i-a100-mipi-dsi
- items:
- const: allwinner,sun20i-d1-mipi-dsi
- const: allwinner,sun50i-a100-mipi-dsi
reg: reg:
maxItems: 1 maxItems: 1
...@@ -59,7 +64,6 @@ required: ...@@ -59,7 +64,6 @@ required:
- phys - phys
- phy-names - phy-names
- resets - resets
- vcc-dsi-supply
- port - port
allOf: allOf:
...@@ -68,7 +72,9 @@ allOf: ...@@ -68,7 +72,9 @@ allOf:
properties: properties:
compatible: compatible:
contains: contains:
const: allwinner,sun6i-a31-mipi-dsi enum:
- allwinner,sun6i-a31-mipi-dsi
- allwinner,sun50i-a100-mipi-dsi
then: then:
properties: properties:
...@@ -83,6 +89,18 @@ allOf: ...@@ -83,6 +89,18 @@ allOf:
clocks: clocks:
maxItems: 1 maxItems: 1
- if:
properties:
compatible:
contains:
enum:
- allwinner,sun6i-a31-mipi-dsi
- allwinner,sun50i-a64-mipi-dsi
then:
required:
- vcc-dsi-supply
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment