d6273bb8e755e1d398d7aa7ff48b988648e7294f
[openwrt/staging/jow.git] /
1 From 62da6ec26e4e73c553dfadcd962b583af9975a39 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Fri, 9 Mar 2018 13:20:21 -0800
4 Subject: [PATCH 352/454] overlays: Add an overlay for the Adafruit Kippah with
5 their 7" panel
6
7 Signed-off-by: Eric Anholt <eric@anholt.net>
8 ---
9 arch/arm/boot/dts/overlays/Makefile | 1 +
10 arch/arm/boot/dts/overlays/README | 6 +++
11 .../overlays/vc4-kms-kippah-7inch-overlay.dts | 43 +++++++++++++++++++
12 3 files changed, 50 insertions(+)
13 create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts
14
15 --- a/arch/arm/boot/dts/overlays/Makefile
16 +++ b/arch/arm/boot/dts/overlays/Makefile
17 @@ -137,6 +137,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
18 upstream.dtbo \
19 upstream-aux-interrupt.dtbo \
20 vc4-fkms-v3d.dtbo \
21 + vc4-kms-kippah-7inch.dtbo \
22 vc4-kms-v3d.dtbo \
23 vga666.dtbo \
24 w1-gpio.dtbo \
25 --- a/arch/arm/boot/dts/overlays/README
26 +++ b/arch/arm/boot/dts/overlays/README
27 @@ -1977,6 +1977,12 @@ Params: cma-256 CMA is 2
28 cma-64 CMA is 64MB, 64MB-aligned
29
30
31 +Name: vc4-kms-kippah-7inch
32 +Info: Enable the Adafruit DPI Kippah with the 7" Ontat panel attached.
33 + Requires vc4-kms-v3d to be loaded.
34 +Load: dtoverlay=vc4-kms-kippah-7inch
35 +
36 +
37 Name: vga666
38 Info: Overlay for the Fen Logic VGA666 board
39 This uses GPIOs 2-21 (so no I2C), and activates the output 2-3 seconds
40 --- /dev/null
41 +++ b/arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts
42 @@ -0,0 +1,43 @@
43 +/*
44 + * vc4-kms-v3d-overlay.dts
45 + */
46 +
47 +/dts-v1/;
48 +/plugin/;
49 +
50 +#include <dt-bindings/pinctrl/bcm2835.h>
51 +
52 +/ {
53 + compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
54 +
55 + fragment@0 {
56 + target-path = "/";
57 + __overlay__ {
58 + panel: panel {
59 + compatible = "ontat,yx700wv03", "simple-panel";
60 +
61 + port {
62 + panel_in: endpoint {
63 + remote-endpoint = <&dpi_out>;
64 + };
65 + };
66 + };
67 + };
68 + };
69 +
70 + fragment@1 {
71 + target = <&dpi>;
72 + __overlay__ {
73 + status = "okay";
74 +
75 + pinctrl-names = "default";
76 + pinctrl-0 = <&dpi_18bit_gpio0>;
77 +
78 + port {
79 + dpi_out: endpoint@0 {
80 + remote-endpoint = <&panel_in>;
81 + };
82 + };
83 + };
84 + };
85 +};