All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Cerveny <m.cerveny@computer.org>
To: u-boot@lists.denx.de
Subject: [PATCH v2 2/5] ARM: dts: sun8i: v3s: Add simple-framebuffer
Date: Fri, 16 Oct 2020 19:17:02 +0200	[thread overview]
Message-ID: <20201016171705.49609-3-m.cerveny@computer.org> (raw)
In-Reply-To: <20201016171705.49609-1-m.cerveny@computer.org>

Add support for "allwinner,simple-framebuffer" with "mixer0-lcd0" pipeline.

Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
---
 arch/arm/dts/sun8i-v3s.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/dts/sun8i-v3s.dtsi b/arch/arm/dts/sun8i-v3s.dtsi
index e5312869c0..b93dd69bf3 100644
--- a/arch/arm/dts/sun8i-v3s.dtsi
+++ b/arch/arm/dts/sun8i-v3s.dtsi
@@ -43,12 +43,28 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/sun8i-v3s-ccu.h>
 #include <dt-bindings/reset/sun8i-v3s-ccu.h>
+#include <dt-bindings/clock/sun8i-de2.h>
 
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;
 	interrupt-parent = <&gic>;
 
+	chosen {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		framebuffer-lcd {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "mixer0-lcd0";
+			clocks = <&display_clocks CLK_MIXER0>,
+				 <&ccu CLK_TCON0>;
+			status = "disabled";
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-- 
2.25.1

  parent reply	other threads:[~2020-10-16 17:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 17:17 [PATCH v2 0/5] sunxi: video: Add V3S simple-framebuffer Martin Cerveny
2020-10-16 17:17 ` [PATCH v2 1/5] ARM: dts: sun8i: Update V3s dts(i) files from Linux-v5.9 Martin Cerveny
2020-10-16 17:17 ` Martin Cerveny [this message]
2020-10-19  8:45   ` [PATCH v2 2/5] ARM: dts: sun8i: v3s: Add simple-framebuffer Maxime Ripard
2020-10-16 17:17 ` [PATCH v2 3/5] pwm: sunxi: v3s: Enable PWM0 Martin Cerveny
2020-10-16 17:17 ` [PATCH v2 4/5] sunxi: video: v3s: Enable LCD support Martin Cerveny
2020-10-19  9:25   ` Maxime Ripard
2020-10-25  9:46     ` Martin Cerveny
2020-10-26 19:09       ` Maxime Ripard
2020-10-16 17:17 ` [PATCH v2 5/5] sunxi: add drivers and configs needed for LCD display Martin Cerveny
2020-10-19  9:27   ` Maxime Ripard
2020-10-25  9:56     ` Martin Cerveny
2020-10-26 19:25       ` Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201016171705.49609-3-m.cerveny@computer.org \
    --to=m.cerveny@computer.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.