From: Liviu Dudau <Liviu.Dudau@arm.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: David Airlie <airlied@linux.ie>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Mark Rutland <Mark.Rutland@arm.com>,
Jon Medhurst <tixy@linaro.org>, Arnd Bergmann <arnd@arndb.de>,
Pawel Moll <Pawel.Moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Catalin Marinas <Catalin.Marinas@arm.com>,
Sudeep Holla <Sudeep.Holla@arm.com>,
Will Deacon <Will.Deacon@arm.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Kumar Gala <galak@codeaurora.org>,
Olof Johansson <olof@lixom.net>
Subject: Re: [PATCH 3/4] arm64: Juno: Add HDLCD support to the Juno boards.
Date: Thu, 6 Aug 2015 11:16:37 +0100 [thread overview]
Message-ID: <20150806101637.GI20890@e106497-lin.cambridge.arm.com> (raw)
In-Reply-To: <20150805214854.GC7557@n2100.arm.linux.org.uk>
On Wed, Aug 05, 2015 at 10:48:54PM +0100, Russell King - ARM Linux wrote:
> On Wed, Aug 05, 2015 at 08:03:12PM +0100, Liviu Dudau wrote:
> > I have to confess that I am not entirely up to speed with the TDA19988
> > situation at the moment. Andrew Jackson was dealing with that and
> > working with Jean to get that in the upstream, but his contract has
> > ended and he has moved to other things.
>
> Umm, I'm the maintainer for TDA998x:
>
> NXP TDA998X DRM DRIVER
> M: Russell King <rmk+kernel@arm.linux.org.uk>
> S: Supported
> F: drivers/gpu/drm/i2c/tda998x_drv.c
> F: include/drm/i2c/tda998x.h
>
> It would be nice if people worked with the actual maintainers of things
> rather than random other people...
Sorry, it was my mistake, I have blindly followed the get_maintainers.pl
generated list of email rather than engage my brain and realise that part
of the patch also affects TDA19988 driver.
>
> > > Also, the whole question of representing connectors in a DRM model is
> > > yet to be established. Yes, DT should describe the hardware, but we
> > > don't yet know _how_ to describe physical connectors with stuff
> > > implemented on top of DRM yet, and we have nothing that makes use of
> > > this.
> >
> > Please help me understand the current situation: you have added
> > support for components that the video drivers can use and the bindings
> > for that are described in Documentation/devicetree/bindings/media/video-interfaces.txt.
>
> No. I added the component helpers, which are entirely firmware agnostic.
> The media bindings were created by others, and through development done
> by Pengutronix, they were factored out of media into common DT code and
> re-used for the IMX DRM driver. The binding document which describes
> that work is not the one you refer to above, but this one:
>
> Documentation/devicetree/bindings/graph.txt
>
> This started them as a basis for DRM drivers on ARM - but it's never been
> officially "adopted" as a method to describe DRM drivers - it's only what
> some drivers are using. It ought to be nailed down as a way to ensure
> inter-operability between components though, but no one has really made
> that decision.
OK, I'm interested on whom do I need to talk to in order for the official
"adoption" to happen here.
>
> > According to that document my patch should be compliant once I add the
> > reg= property. Is that something that cannot be used with tda998x driver
> > or is there any other reason why you think the patch is not compliant?
>
> Jean's proposal to add audio support to the TDA998x driver does it via
> this change to the binding spec:
>
> +Optional nodes:
> +
> + - port: up to three ports.
> + The ports are defined according to [1].
> +
> + Video port.
> + There may be only one video port.
> + This one must contain the following property:
> +
> + - port-type: must be "rgb"
> +
> + and may contain the optional property:
> +
> + - reg: 24 bits value which defines how the video controller
> + output is wired to the TDA998x input (video pins)
> + When absent, the default value is <0x230145>.
> +
> + Audio ports.
> + There may be one or two audio ports.
> + These ones must contain the following properties:
> +
> + - port-type: must be "i2s" or "spdif"
> +
> + - reg: 8 bits value which defines how the audio controller
> + output is wired to the TDA998x input (audio pins)
> +
> +[1] Documentation/devicetree/bindings/graph.txt
>
> (That's not a particularly precise definition, but it's what we have at
> the moment.)
>
> > If you are referring to connecting an encoder with a HDMI connector, I
> > have tested that and it seems to work, although my situation is simple
> > because there are no options in my setup: one HDLCD connects to one
> > TDA19988 which connects to one HDMI output.
>
> Right now, the TDA998x will ignore the additional information, but that
> won't be the case with Jean's audio work (see the above binding
> information.)
Yes, I have seen that patchset. I will apply it to my tree and send an
updated version with the port-type property when I send v2.
Best regards,
Liviu
>
> --
> FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
> according to speedtest.net.
>
--
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
next prev parent reply other threads:[~2015-08-06 10:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 14:28 [PATCH 0/4] drm: Add support for the ARM HDLCD display controller Liviu Dudau
2015-08-05 14:28 ` [PATCH 1/4] drm: arm: Add DT bindings documentation for HDLCD driver Liviu Dudau
2015-08-05 14:28 ` [PATCH 2/4] drm: Add support for ARM's HDLCD controller Liviu Dudau
2015-08-16 8:56 ` Emil Velikov
2015-08-17 15:15 ` Liviu Dudau
2015-08-18 16:41 ` Emil Velikov
2015-08-19 9:28 ` Liviu Dudau
2015-08-17 18:17 ` Jon Medhurst (Tixy)
2015-08-19 9:46 ` Liviu Dudau
2015-08-05 14:28 ` [PATCH 3/4] arm64: Juno: Add HDLCD support to the Juno boards Liviu Dudau
2015-08-05 17:53 ` Russell King - ARM Linux
2015-08-05 19:03 ` Liviu Dudau
2015-08-05 21:48 ` Russell King - ARM Linux
2015-08-06 10:16 ` Liviu Dudau [this message]
2015-08-05 14:28 ` [PATCH 4/4] MAINTAINERS: Add Liviu Dudau as maintainer for ARM HDLCD driver Liviu Dudau
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=20150806101637.GI20890@e106497-lin.cambridge.arm.com \
--to=liviu.dudau@arm.com \
--cc=Catalin.Marinas@arm.com \
--cc=Mark.Rutland@arm.com \
--cc=Pawel.Moll@arm.com \
--cc=Sudeep.Holla@arm.com \
--cc=Will.Deacon@arm.com \
--cc=airlied@linux.ie \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=tixy@linaro.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
all inboxes | Powered by JetHome®