From: Maxime Ripard <maxime.ripard@bootlin.com>
To: Chen-Yu Tsai <wens@csie.org>
Cc: Thierry Reding <thierry.reding@gmail.com>,
Mark Rutland <mark.rutland@arm.com>,
Rob Herring <robh+dt@kernel.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
Gustavo Padovan <gustavo@padovan.org>,
Daniel Vetter <daniel.vetter@intel.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Sean Paul <seanpaul@chromium.org>,
devicetree <devicetree@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v3 6/7] arm: dts: sun8i: a33: Add the DSI-related nodes
Date: Wed, 4 Apr 2018 10:14:55 +0200 [thread overview]
Message-ID: <20180404081455.radrcx4hs7n3hlzo@flea> (raw)
In-Reply-To: <CAGb2v65AfHHUZ=fUB+TPUZaLdYb4mN3hZ=3n5GOAD39C42+Nag@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3546 bytes --]
Hi,
On Thu, Mar 22, 2018 at 10:23:32AM +0800, Chen-Yu Tsai wrote:
> On Tue, Mar 6, 2018 at 9:56 PM, Maxime Ripard <maxime.ripard@bootlin.com> wrote:
> > From: Maxime Ripard <maxime.ripard@free-electrons.com>
> >
> > The A33 has a MIPI-DSI block, along with its D-PHY. Let's add it in order
> > to use it in the relevant boards.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
> > arch/arm/boot/dts/sun8i-a33.dtsi | 44 +++++++++++++++++++++++++++++++++-
> > 1 file changed, 44 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
> > index 50eb84fa246a..94cfa7b1bbfa 100644
> > --- a/arch/arm/boot/dts/sun8i-a33.dtsi
> > +++ b/arch/arm/boot/dts/sun8i-a33.dtsi
> > @@ -236,6 +236,11 @@
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <1>;
> > +
> > + tcon0_out_dsi0: endpoint@1 {
> > + reg = <1>;
> > + remote-endpoint = <&dsi0_in_tcon0>;
> > + };
> > };
> > };
> > };
> > @@ -280,6 +285,45 @@
> > #io-channel-cells = <0>;
> > };
> >
> > + dsi0: dsi@1ca0000 {
>
> Nit: There's only one so you don't need the numbered suffix.
I'll fix it.
> Also, is "dsi" specific enough, or should we use "mipi-dsi"
If we were to be pedantic about it, that would even be MIPI-DSI2, but
I'm not sure it's worth it to be honest.
> > + compatible = "allwinner,sun6i-a31-mipi-dsi";
> > + reg = <0x01ca0000 0x1000>;
> > + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&ccu CLK_BUS_MIPI_DSI>,
> > + <&ccu CLK_DSI_SCLK>;
> > + clock-names = "bus", "mod";
> > + resets = <&ccu RST_BUS_MIPI_DSI>;
> > + phys = <&dphy0>;
> > + phy-names = "dphy";
> > + status = "disabled";
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + port@0 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
> > +
> > + dsi0_in_tcon0: endpoint {
> > + remote-endpoint = <&tcon0_out_dsi0>;
> > + };
> > + };
> > + };
> > + };
> > +
> > + dphy0: d-phy@1ca1000 {
>
> Same nit, and "dsi-phy" would be better.
D-PHY is one of the MIPI standards that can be used with DSI, but it
doesn't mean DSI-PHY. You also have C-PHY (that can be used with DSI
as well) and M-PHY (than can be used with UniPro and CSI3). So, no, it
really is a D-PHY controller :)
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-04-04 8:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 13:55 [PATCH v3 0/7] drm/sun4i: Allwinner MIPI-DSI support Maxime Ripard
2018-03-06 13:55 ` [PATCH v3 1/7] drm/sun4i: tcon: Add TRI finish interrupt for vblank Maxime Ripard
2018-03-06 13:55 ` [PATCH v3 2/7] dt-bindings: display: Add Allwinner MIPI-DSI bindings Maxime Ripard
2018-03-07 19:26 ` Rob Herring
2018-03-06 13:56 ` [PATCH v3 3/7] drm/sun4i: Add Allwinner A31 MIPI-DSI controller support Maxime Ripard
2018-03-22 2:17 ` Chen-Yu Tsai
2018-03-06 13:56 ` [PATCH v3 4/7] dt-bindings: panel: Add the Ilitek ILI9881c panel documentation Maxime Ripard
2018-03-06 13:56 ` [PATCH v3 5/7] drm/panel: Add Ilitek ILI9881c panel driver Maxime Ripard
2018-03-12 7:39 ` Thierry Reding
2018-03-06 13:56 ` [PATCH v3 6/7] arm: dts: sun8i: a33: Add the DSI-related nodes Maxime Ripard
2018-03-22 2:23 ` Chen-Yu Tsai
2018-04-04 8:14 ` Maxime Ripard [this message]
2018-03-06 13:56 ` [PATCH v3 7/7] [DO NOT MERGE] arm: dts: sun8i: bpi-m2m: Add DSI display Maxime Ripard
2018-03-23 17:06 ` [PATCH v3 0/7] drm/sun4i: Allwinner MIPI-DSI support Jagan Teki
2018-03-26 11:14 ` 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=20180404081455.radrcx4hs7n3hlzo@flea \
--to=maxime.ripard@bootlin.com \
--cc=daniel.vetter@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gustavo@padovan.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=seanpaul@chromium.org \
--cc=thierry.reding@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--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