devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: Tomasz Figa <tfiga@chromium.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, Paul Bolle <pebolle@tiscali.nl>,
	Jitao Shi <jitao.shi@mediatek.com>,
	Pawel Moll <pawel.moll@arm.com>, Jie Qiu <jie.qiu@mediatek.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Cawa Cheng <cawa.cheng@mediatek.com>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	Rob Herring <robh+dt@kernel.org>,
	linux-mediatek@lists.infradead.org,
	Kumar Gala <galak@codeaurora.org>, YT Shen <yt.shen@mediatek.com>,
	Sasha Hauer <kernel@pengutronix.de>,
	Matthias Brugger <matthias.bgg@gmail.com>
Subject: Re: [PATCH v6 01/12] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding
Date: Tue, 24 Nov 2015 11:11:27 +0100	[thread overview]
Message-ID: <1448359887.3346.32.camel@pengutronix.de> (raw)
In-Reply-To: <CAAFQd5BPSWGDUJTihZyWpy3T6kpmdqtn0v9g_7g-YzMgpgiaJQ@mail.gmail.com>

Hi Tomasz,

Am Dienstag, den 24.11.2015, 14:32 +0900 schrieb Tomasz Figa:
> Hi Philipp, CK,
> 
> Please see my comments inline.
> 
> On Thu, Nov 19, 2015 at 2:34 AM, Philipp Zabel <p.zabel@pengutronix.de> wrote:
[...]
> > +Required properties (all function blocks):
> > +- compatible: "mediatek,<chip>-disp-<function>", one of
> > +       "mediatek,<chip>-disp-ovl"   - overlay (4 layers, blending, csc)
> > +       "mediatek,<chip>-disp-rdma"  - read DMA / line buffer
> > +       "mediatek,<chip>-disp-wdma"  - write DMA
> > +       "mediatek,<chip>-disp-color" - color processor
> > +       "mediatek,<chip>-disp-aal"   - adaptive ambient light controller
> > +       "mediatek,<chip>-disp-gamma" - gamma correction
> > +       "mediatek,<chip>-disp-ufoe"  - data compression engine
> > +       "mediatek,<chip>-dsi"        - DSI controller, see mediatek,dsi.txt
> > +       "mediatek,<chip>-dpi"        - DPI controller, see mediatek,dpi.txt
> > +       "mediatek,<chip>-disp-mutex" - display mutex
> > +       "mediatek,<chip>-disp-od"    - overdrive
> > +- reg: Physical base address and length of the function block register space
> > +- interrupts: The interrupt signal from the function block.
> 
> Do all the blocks have only one interrupt signal?

As far as I am aware, yes. They all have their own multiplexer, with
single output to the GIC each.

> > +- clocks: device clocks
> > +  See Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
> 
> What about clock-names? Also all required clocks for particular
> compatible strings should be listed in documentation,

All the internal blocks just have a single clock gate. The exceptions
are the DSI and DPI controllers, which are documented separately. I'll
add a note.

> > +- compatible: "mediatek,<chip>-ddp"
> 
> Is this a rebase error? compatible property was already described few
> lines above and also missing description.

Yes, I'll drop this line.

> > +
> > +Required properties (DMA function blocks):
> > +- compatible: Should be one of
> > +       "mediatek,<chip>-disp-ovl"
> > +       "mediatek,<chip>-disp-rdma"
> > +       "mediatek,<chip>-disp-wdma"
> 
> Perhaps these 3 could also have some short description like the ones
> listed above?

These three are already included in the list above. Should I make this
"Additional required properties (DMA function blocks):" to clarify?

> > +- larb: Should contain a phandle pointing to the local arbiter device as defined
> > +  in Documentation/devicetree/bindings/soc/mediatek/mediatek,smi-larb.txt
> > +- iommus: required a iommu node
> 
> Maybe rewrite to: "Should point to respective IOMMU block as defined
> in <path to IOMMU binding documentation>"?

I'll change this.

thank you
Philipp

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-11-24 10:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 17:34 [PATCH v6 00/12] MT8173 DRM support Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 01/12] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding Philipp Zabel
2015-11-24  5:32   ` Tomasz Figa
2015-11-24 10:11     ` Philipp Zabel [this message]
2015-11-18 17:34 ` [PATCH v6 02/12] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173 Philipp Zabel
2015-11-24  8:27   ` Tomasz Figa
2015-11-24 10:11     ` Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 03/12] drm/mediatek: Add DSI sub driver Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 04/12] drm/mediatek: Add DPI " Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 05/12] dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 06/12] drm/mediatek: Add HDMI support Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 07/12] drm/mediatek: enable hdmi output control bit Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 08/12] arm64: dts: mt8173: Add display subsystem related nodes Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 09/12] arm64: dts: mt8173: Add HDMI " Philipp Zabel
2015-11-18 17:34 ` [PATCH v6 10/12] clk: mediatek: make dpi0_sel and hdmi_sel not propagate rate changes Philipp Zabel
     [not found]   ` <1447868060-11620-11-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-11-26  6:01     ` James Liao
2015-11-18 17:34 ` [PATCH v6 11/12] clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output Philipp Zabel
     [not found]   ` <1447868060-11620-12-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-11-26  6:02     ` James Liao
2015-11-18 17:34 ` [PATCH v6 12/12] dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation Philipp Zabel
2015-11-19  8:40 ` [PATCH v6 00/12] MT8173 DRM support Daniel Vetter
2015-11-24 10:11   ` Philipp Zabel

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=1448359887.3346.32.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=cawa.cheng@mediatek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jie.qiu@mediatek.com \
    --cc=jitao.shi@mediatek.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=matthias.bgg@gmail.com \
    --cc=pawel.moll@arm.com \
    --cc=pebolle@tiscali.nl \
    --cc=robh+dt@kernel.org \
    --cc=tfiga@chromium.org \
    --cc=yt.shen@mediatek.com \
    /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).