devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: icenowy@aosc.io
To: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Rob Herring <robh+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-sunxi@googlegroups.com
Subject: Re: [PATCH v7 11/13] ARM: sun8i: v3s: add device nodes for DE2 display pipeline
Date: Wed, 17 May 2017 17:27:00 +0800	[thread overview]
Message-ID: <45e3b368b80fb74f33b18afcc3f783c5@aosc.io> (raw)
In-Reply-To: <20170515092400.nzxmocrdqgt4u476@flea.home>

在 2017-05-15 17:24,Maxime Ripard 写道:
> On Mon, May 15, 2017 at 12:30:43AM +0800, Icenowy Zheng wrote:
>> +		de2_clocks: clock@1000000 {
> 
> display_clocks would be better there, we don't have to dissociate de1
> with de2

How about de_clocks ? (See A80 DTSI)

> 
>> +			compatible = "allwinner,sun8i-v3s-de2-clk";
>> +			reg = <0x01000000 0x100000>;
>> +			clocks = <&ccu CLK_DE>,
>> +				 <&ccu CLK_BUS_DE>;
>> +			clock-names = "mod",
>> +				      "bus";
>> +			resets = <&ccu RST_BUS_DE>;
>> +			#clock-cells = <1>;
>> +			#reset-cells = <1>;
>> +		};
>> +
>> +		de2_mixer0: mixer@1100000 {
> 
> and mixer0 here is enough too.
> 
> Is there several of them? Why not just use mixer if there's only one?

Nope, here it's tagged 0 only for consistency with other SoCs.

> 
>> +			compatible = "allwinner,sun8i-v3s-de2-mixer";
>> +			reg = <0x01100000 0x100000>;
>> +			clocks = <&de2_clocks CLK_MIXER0>,
>> +				 <&de2_clocks CLK_BUS_MIXER0>;
>> +			clock-names = "mod",
>> +				      "bus";
>> +			resets = <&de2_clocks RST_MIXER0>;
>> +			assigned-clocks = <&de2_clocks CLK_MIXER0>;
>> +			assigned-clock-rates = <150000000>;
>> +
>> +			ports {
>> +				#address-cells = <1>;
>> +				#size-cells = <0>;
>> +
>> +				mixer0_out: port@1 {
>> +					#address-cells = <1>;
>> +					#size-cells = <0>;
>> +					reg = <1>;
>> +
>> +					mixer0_out_tcon0: endpoint@0 {
>> +						reg = <0>;
>> +						remote-endpoint = <&tcon0_in_mixer0>;
>> +					};
>> +				};
>> +			};
>> +		};
>> +
>> +		tcon0: lcd-controller@1c0c000 {
>> +			compatible = "allwinner,sun8i-v3s-tcon";
>> +			reg = <0x01c0c000 0x1000>;
>> +			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
>> +			clocks = <&ccu CLK_BUS_TCON0>,
>> +				 <&ccu CLK_TCON0>;
>> +			clock-names = "ahb",
>> +				      "tcon-ch0";
>> +			clock-output-names = "tcon-pixel-clock";
>> +			resets = <&ccu RST_BUS_TCON0>;
>> +			reset-names = "lcd";
>> +			status = "disabled";
>> +
>> +			ports {
>> +				#address-cells = <1>;
>> +				#size-cells = <0>;
>> +
>> +				tcon0_in: port@0 {
>> +					#address-cells = <1>;
>> +					#size-cells = <0>;
>> +					reg = <0>;
>> +
>> +					tcon0_in_mixer0: endpoint@0 {
>> +						reg = <0>;
>> +						remote-endpoint = <&mixer0_out_tcon0>;
>> +					};
>> +				};
>> +
>> +				tcon0_out: port@1 {
>> +					#address-cells = <1>;
>> +					#size-cells = <0>;
>> +					reg = <1>;
>> +				};
>> +			};
>> +		};
>> +
>> +
> 
> You have an extra new line here.
> 
> Maxime

  reply	other threads:[~2017-05-17  9:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-14 16:30 [PATCH v7 00/13] Initial Allwinner Display Engine 2.0 Support Icenowy Zheng
     [not found] ` <20170514163045.40366-1-icenowy-h8G6r0blFSE@public.gmane.org>
2017-05-14 16:30   ` [PATCH v7 01/13] dt-bindings: add binding for the Allwinner DE2 CCU Icenowy Zheng
     [not found]     ` <20170514163045.40366-2-icenowy-h8G6r0blFSE@public.gmane.org>
2017-05-15  8:40       ` Maxime Ripard
2017-05-14 16:30   ` [PATCH v7 02/13] clk: sunxi-ng: add support for " Icenowy Zheng
     [not found]     ` <20170514163045.40366-3-icenowy-h8G6r0blFSE@public.gmane.org>
2017-05-15  8:40       ` Maxime Ripard
2017-05-14 16:30   ` [PATCH v7 03/13] dt-bindings: add bindings for DE2 on V3s SoC Icenowy Zheng
     [not found]     ` <20170514163045.40366-4-icenowy-h8G6r0blFSE@public.gmane.org>
2017-05-15  9:24       ` Maxime Ripard
2017-05-14 16:30   ` [PATCH v7 04/13] drm/sun4i: return only planes for layers created Icenowy Zheng
     [not found]     ` <20170514163045.40366-5-icenowy-h8G6r0blFSE@public.gmane.org>
2017-05-15  9:24       ` Maxime Ripard
2017-05-14 16:30   ` [PATCH v7 05/13] drm/sun4i: abstract a engine type Icenowy Zheng
2017-05-15  9:20     ` Maxime Ripard
     [not found]       ` <20170515092001.ik7qrqmg5pgtp2ct-YififvaboMKzQB+pC5nmwQ@public.gmane.org>
2017-05-15  9:35         ` [linux-sunxi] " Icenowy Zheng
2017-05-16 12:14           ` Maxime Ripard
2017-05-14 16:30   ` [PATCH v7 06/13] drm/sun4i: add a dedicated module for sun4i-backend and sun4i-layer Icenowy Zheng
2017-05-14 16:30   ` [PATCH v7 07/13] drm/sun4i: add a Kconfig option for sun4i-backend Icenowy Zheng
2017-05-14 16:30   ` [PATCH v7 08/13] drm/sun4i: add support for Allwinner DE2 mixers Icenowy Zheng
2017-05-14 16:30   ` [PATCH v7 09/13] drm/sun4i: Add compatible string for V3s display engine Icenowy Zheng
2017-05-14 16:30   ` [PATCH v7 10/13] drm/sun4i: tcon: add support for V3s TCON Icenowy Zheng
2017-05-14 16:30   ` [PATCH v7 11/13] ARM: sun8i: v3s: add device nodes for DE2 display pipeline Icenowy Zheng
     [not found]     ` <20170514163045.40366-12-icenowy-h8G6r0blFSE@public.gmane.org>
2017-05-15  9:24       ` Maxime Ripard
2017-05-17  9:27         ` icenowy [this message]
2017-05-17  9:32           ` icenowy
2017-05-14 16:30   ` [PATCH v7 12/13] ARM: sun8i: v3s: add pinmux for LCD pins of V3s SoC Icenowy Zheng
2017-05-14 16:30   ` [PATCH v7 13/13] [DO NOT MERGE] ARM: sun8i: v3s: enable LCD panel of Lichee Pi Zero Icenowy Zheng

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=45e3b368b80fb74f33b18afcc3f783c5@aosc.io \
    --to=icenowy@aosc.io \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).