From 335b9e53d210d60e2eb02ad9d63ce35b41e3409a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 9 Mar 2018 13:20:21 -0800 Subject: [PATCH 386/401] overlays: Add an overlay for the Adafruit Kippah with their 7" panel Signed-off-by: Eric Anholt --- arch/arm/boot/dts/overlays/Makefile | 1 + arch/arm/boot/dts/overlays/README | 6 +++ .../dts/overlays/vc4-kms-kippah-7inch-overlay.dts | 43 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile index a468a3140789..969f40721038 100644 --- a/arch/arm/boot/dts/overlays/Makefile +++ b/arch/arm/boot/dts/overlays/Makefile @@ -137,6 +137,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ upstream.dtbo \ upstream-aux-interrupt.dtbo \ vc4-fkms-v3d.dtbo \ + vc4-kms-kippah-7inch.dtbo \ vc4-kms-v3d.dtbo \ vga666.dtbo \ w1-gpio.dtbo \ diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README index a62b854d3d57..801fbb19699c 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -1977,6 +1977,12 @@ Params: cma-256 CMA is 256MB, 256MB-aligned (needs 1GB) cma-64 CMA is 64MB, 64MB-aligned +Name: vc4-kms-kippah-7inch +Info: Enable the Adafruit DPI Kippah with the 7" Ontat panel attached. + Requires vc4-kms-v3d to be loaded. +Load: dtoverlay=vc4-kms-kippah-7inch + + Name: vga666 Info: Overlay for the Fen Logic VGA666 board This uses GPIOs 2-21 (so no I2C), and activates the output 2-3 seconds diff --git a/arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts b/arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts new file mode 100644 index 000000000000..1e20d7e51115 --- /dev/null +++ b/arch/arm/boot/dts/overlays/vc4-kms-kippah-7inch-overlay.dts @@ -0,0 +1,43 @@ +/* + * vc4-kms-v3d-overlay.dts + */ + +/dts-v1/; +/plugin/; + +#include + +/ { + compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; + + fragment@0 { + target-path = "/"; + __overlay__ { + panel: panel { + compatible = "ontat,yx700wv03", "simple-panel"; + + port { + panel_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + }; + }; + + fragment@1 { + target = <&dpi>; + __overlay__ { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&dpi_18bit_gpio0>; + + port { + dpi_out: endpoint@0 { + remote-endpoint = <&panel_in>; + }; + }; + }; + }; +}; -- 2.16.1