1 From d7c14f289222f88475106dd22c50600378bce10e 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 159/782] overlays: Add an overlay for the Adafruit Kippah with
7 Signed-off-by: Eric Anholt <eric@anholt.net>
9 arch/arm/boot/dts/overlays/Makefile | 1 +
10 arch/arm/boot/dts/overlays/README | 7 +++
11 .../overlays/vc4-kms-kippah-7inch-overlay.dts | 43 +++++++++++++++++++
12 3 files changed, 51 insertions(+)
13 create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts
15 --- a/arch/arm/boot/dts/overlays/Makefile
16 +++ b/arch/arm/boot/dts/overlays/Makefile
17 @@ -134,6 +134,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
19 upstream-aux-interrupt.dtbo \
21 + vc4-kms-kippah-7inch.dtbo \
25 --- a/arch/arm/boot/dts/overlays/README
26 +++ b/arch/arm/boot/dts/overlays/README
27 @@ -1920,6 +1920,13 @@ Params: cma-256 CMA is 2
28 cma-64 CMA is 64MB, 64MB-aligned
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
39 Info: Enable Eric Anholt's DRM VC4 HDMI/HVS/V3D driver. Running startx or
40 booting to GUI while this overlay is in use will cause interesting
42 +++ b/arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts
45 + * vc4-kms-v3d-overlay.dts
51 +#include <dt-bindings/pinctrl/bcm2835.h>
54 + compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
60 + compatible = "ontat,yx700wv03", "simple-panel";
63 + panel_in: endpoint {
64 + remote-endpoint = <&dpi_out>;
76 + pinctrl-names = "default";
77 + pinctrl-0 = <&dpi_18bit_gpio0>;
80 + dpi_out: endpoint@0 {
81 + remote-endpoint = <&panel_in>;