devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Archit Taneja <architt@codeaurora.org>
To: Rob Herring <robh@kernel.org>, Philippe CORNU <philippe.cornu@st.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	Neil Armstrong <narmstrong@baylibre.com>,
	dri-devel@lists.freedesktop.org,
	Thierry Reding <thierry.reding@gmail.com>,
	Chris Zhong <zyw@rock-chips.com>,
	Mickael Reulier <mickael.reulier@st.com>,
	Russell King <linux@armlinux.org.uk>,
	Fabien Dessenne <fabien.dessenne@st.com>,
	Xinwei Kong <kong.kongxinwei@hisilicon.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	Alexandre Torgue <alexandre.torgue@st.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Chen Feng <puck.chen@hisilicon.com>,
	Vincent Abriou <vincent.abriou@st.com>,
	Ludovic Barre <ludovic.barre@st.com>,
	Yannick Fertre <yannick.fertre@st.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	zourongrong@gmail.com,
	Gabriel Fernandez <gabriel.fernandez@st.com>
Subject: Re: [PATCH v3 2/6] dt-bindings: display: Add Synopsys DW MIPI DSI DRM bridge driver
Date: Fri, 9 Jun 2017 09:41:00 +0530	[thread overview]
Message-ID: <7502cbc2-9feb-4dd3-3d95-b5f33b8a8872@codeaurora.org> (raw)
In-Reply-To: <20170608154028.6ck3dos6de2dogrk@rob-hp-laptop>

Hi Philippe, Rob,

On 06/08/2017 09:10 PM, Rob Herring wrote:
> On Fri, Jun 02, 2017 at 04:37:11PM +0200, Philippe CORNU wrote:
>> This patch adds documentation of device tree bindings for the
>> Synopsys DesignWare MIPI DSI host DRM bridge driver.
>>

Could you drop "DRM bridge driver" from the subject and commit message and
replace it with just "bridge" or "controller". DT bindings shouldn't mention
drivers.

>> Signed-off-by: Philippe CORNU <philippe.cornu@st.com>
>> ---
>>   .../bindings/display/bridge/dw_mipi_dsi.txt        | 30 ++++++++++++++++++++++
>>   1 file changed, 30 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt
>>
>> diff --git a/Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt b/Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt
>> new file mode 100644
>> index 0000000..1d7c438
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt
>> @@ -0,0 +1,30 @@
>> +Synopsys DesignWare MIPI DSI host controller
>> +============================================
>> +
>> +This document defines device tree properties for the Synopsys DesignWare MIPI
>> +DSI host controller. It doesn't constitue a device tree binding specification

s/constitue/constitute

>> +by itself but is meant to be referenced by platform-specific device tree
>> +bindings.
>> +
>> +When referenced from platform device tree bindings the properties defined in
>> +this document are defined as follows. The platform device tree bindings are
>> +responsible for defining whether each property is required or optional.
>> +
>> +- reg: Memory mapped base address and length of the DWC MIPI DSI
>> +  registers. (mandatory)
>> +
>> +- clocks: References to all the clocks specified in the clock-names property
>> +  as specified in [1]. (mandatory)
>> +
>> +- clock-names: "pclk" is peripheral clock for either AHB and APB. (mandatory)
> 
> Seems strange there's not also a pixel or bit clock? Or this gets driven
> from the phy?

Since you mention phy here, I wanted to share a concern with the bindings.
These bindings don't have a separate PHY DT node. The PHY is assumed as a
part of the IP when integrated by a SoC. There are already rockchip and
hisil DSI bindings that use this IP but don't define a PHY node.

It's a similar situation with the DW-HDMI bindings.

For example, when the DW HDMI is integrated in rockchip or renesas SoC, the
bindings "rockchip,rk3288-dw-hdmi" or "renesas,r8a7795-dw-hdmi" are used,
and they don't have a separate PHY DT node.

I wasn't sure whether this is the right way to proceed or not for such IPs.
Some advice would help us here.

Thanks,
Archit

> 
>> +
>> +- resets: References to all the resets specified in the reset-names property
>> +  as specified in [2]. (optional)
>> +
>> +- reset-names: string reset name, must be "apb" if used. (optional)
>> +
>> +- panel or bridge node: see [3]. (mandatory)
>> +
>> +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
>> +[2] Documentation/devicetree/bindings/reset/reset.txt
>> +[3] Documentation/devicetree/bindings/display/mipi-dsi-bus.txt
>> -- 
>> 1.9.1
>>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-06-09  4:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 14:37 [PATCH v3 0/6] STM32 DSI HOST Philippe CORNU
2017-06-02 14:37 ` [PATCH v3 2/6] dt-bindings: display: Add Synopsys DW MIPI DSI DRM bridge driver Philippe CORNU
     [not found]   ` <1496414235-20098-3-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-06-06  8:00     ` Neil Armstrong
2017-06-08 15:40     ` Rob Herring
2017-06-09  4:11       ` Archit Taneja [this message]
     [not found]         ` <7502cbc2-9feb-4dd3-3d95-b5f33b8a8872-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-06-09  9:43           ` Jose Abreu
     [not found]             ` <7dd31d6d-1d5d-2432-07aa-96349f50c924-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
2017-06-09 13:01               ` Rob Herring
2017-06-11  5:58                 ` Archit Taneja
2017-06-19 16:51       ` Philippe CORNU
2017-06-23 21:24         ` Rob Herring
     [not found] ` <1496414235-20098-1-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-06-02 14:37   ` [PATCH v3 1/6] drm/stm: ltdc: Add panel-bridge support Philippe CORNU
2017-06-02 20:41     ` Eric Anholt
2017-06-03 16:43     ` kbuild test robot
2017-06-02 14:37   ` [PATCH v3 3/6] drm/bridge/synopsys: Add MIPI DSI host controller bridge Philippe CORNU
     [not found]     ` <1496414235-20098-4-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-06-06  8:07       ` Neil Armstrong
2017-06-09  5:21       ` Archit Taneja
2017-06-02 14:37   ` [PATCH v3 4/6] dt-bindings: display: stm32: remove st-display-subsystem parent node requirement Philippe CORNU
     [not found]     ` <1496414235-20098-5-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-06-06  8:02       ` Neil Armstrong
2017-06-08 17:01     ` Rob Herring
2017-06-02 14:37   ` [PATCH v3 5/6] dt-bindings: display: stm32: Add DSI host driver Philippe CORNU
     [not found]     ` <1496414235-20098-6-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-06-06  8:05       ` Neil Armstrong
2017-06-08 17:12     ` Rob Herring
2017-06-19 16:58       ` Philippe CORNU
2017-06-02 14:37   ` [PATCH v3 6/6] drm/stm: Add STM32 " Philippe CORNU
2017-06-06  8:11     ` Neil Armstrong
     [not found]       ` <e1872ac0-c0e0-b615-4b5e-d45d9ae96f85-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-06-09  5:31         ` Archit Taneja

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=7502cbc2-9feb-4dd3-3d95-b5f33b8a8872@codeaurora.org \
    --to=architt@codeaurora.org \
    --cc=alexandre.torgue@st.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fabien.dessenne@st.com \
    --cc=gabriel.fernandez@st.com \
    --cc=kong.kongxinwei@hisilicon.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=ludovic.barre@st.com \
    --cc=mark.rutland@arm.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mickael.reulier@st.com \
    --cc=narmstrong@baylibre.com \
    --cc=philippe.cornu@st.com \
    --cc=puck.chen@hisilicon.com \
    --cc=robh@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=vincent.abriou@st.com \
    --cc=yannick.fertre@st.com \
    --cc=zourongrong@gmail.com \
    --cc=zyw@rock-chips.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).