mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
99545b4bb1
This target adds support for the Allwinner D1 RISC-V based SoCs. - RISC-V single-core T-Head C906 (RV64GCV) - Tensilica HiFi4 DSP - DDR2/DDR3 support - 10/100/1000M ethernet - usual peripherals like USB2, SPI, I2C, PWM, etc. Four boards are supported: - Dongshan Nezha STU - 512Mb RAM - ethernet - LicheePi RV Dock - 512Mb RAM - wireless-only (RTL8723DS) - MangoPi MQ-Pro - 512Mb RAM - there are pads available for an SPI flash - wireless-only (RTL8723DS) - Nezha D1 - 512Mb/1Gb/2Gb RAM - 256Mb NAND flash - ethernet, wireless Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
86 lines
2.5 KiB
Diff
86 lines
2.5 KiB
Diff
From 30abd0e5f27bc57fba7084ba51aca671316b6d24 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Sun, 7 Aug 2022 10:50:21 -0500
|
|
Subject: [PATCH 095/117] 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.
|
|
|
|
Commit-notes:
|
|
Removal of the vcc-dsi-supply is maybe a bit questionable. Since there
|
|
is no "VCC-DSI" pin anymore, it's not obvious which pin actually does
|
|
power the DSI controller/PHY. Possibly power comes from VCC-PD or VCC-IO
|
|
or VCC-LVDS. So far, all boards have all of these as always-on supplies,
|
|
so it is hard to test.
|
|
END
|
|
|
|
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
.../display/allwinner,sun6i-a31-mipi-dsi.yaml | 28 +++++++++++++++----
|
|
1 file changed, 23 insertions(+), 5 deletions(-)
|
|
|
|
--- a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml
|
|
+++ b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml
|
|
@@ -12,9 +12,14 @@ maintainers:
|
|
|
|
properties:
|
|
compatible:
|
|
- enum:
|
|
- - allwinner,sun6i-a31-mipi-dsi
|
|
- - allwinner,sun50i-a64-mipi-dsi
|
|
+ oneOf:
|
|
+ - enum:
|
|
+ - allwinner,sun6i-a31-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:
|
|
maxItems: 1
|
|
@@ -59,7 +64,6 @@ required:
|
|
- phys
|
|
- phy-names
|
|
- resets
|
|
- - vcc-dsi-supply
|
|
- port
|
|
|
|
allOf:
|
|
@@ -68,7 +72,9 @@ allOf:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
- const: allwinner,sun6i-a31-mipi-dsi
|
|
+ enum:
|
|
+ - allwinner,sun6i-a31-mipi-dsi
|
|
+ - allwinner,sun50i-a100-mipi-dsi
|
|
|
|
then:
|
|
properties:
|
|
@@ -83,6 +89,18 @@ allOf:
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
+ - if:
|
|
+ properties:
|
|
+ compatible:
|
|
+ contains:
|
|
+ enum:
|
|
+ - allwinner,sun6i-a31-mipi-dsi
|
|
+ - allwinner,sun50i-a64-mipi-dsi
|
|
+
|
|
+ then:
|
|
+ required:
|
|
+ - vcc-dsi-supply
|
|
+
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|