From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Tony Lindgren <tony@atomide.com>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
Rob Landley <rob@landley.net>, Jon Loeliger <jdl@jdl.com>,
Stephen Warren <swarren@wwwdotorg.org>,
David Gibson <david@gibson.dropbear.id.au>,
Benoit Cousson <b-cousson@ti.com>,
Mitch Bradley <wmb@firmworks.com>, Alan Tull <atull@altera.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Matt Porter <mporter@ti.com>, Russ Dill <Russ.Dill@ti.com>,
Koen Kooi <koen@dominion.thruhere.net>,
Joel A Fernandes <agnel.joel@gmail.com>,
Rob Clark <robdclark@gmail.com>,
Jason Kridner <jkridner@beagleboard.org>,
Matt Ranostay <mranostay@gmail.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Linus Walleij <linus.walleij@stericsson.com>,
Lee Jones <lee.jones@linaro.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager
Date: Tue, 8 Jan 2013 10:51:29 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.1301081033440.1794@axis700.grange> (raw)
In-Reply-To: <89A7A8FD-935E-4225-8C7B-EA1DBA0C2780@antoniou-consulting.com>
(adding linux-media ML to cc)
Hi Pantelis
On Tue, 8 Jan 2013, Pantelis Antoniou wrote:
> Hi Arnd,
>
> On Jan 7, 2013, at 11:35 PM, Arnd Bergmann wrote:
>
> > (Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc)
> >
> > On Monday 07 January 2013, Tony Lindgren wrote:
> >>>
> >>> At the end of the line, some kind of hardware glue is going to be needed.
> >>>
> >>> I just feel that drawing from a sample size of 1 (maybe 2 if I get to throw
> >>> in the beagleboard), it is a bit premature to think about making it overly
> >>> general, besides the part that are obviously part of the infrastructure
> >>> (like the DT overlay stuff).
> >>>
> >>> What I'm getting at, is that we need some user experience about this, before
> >>> going away and creating structure out of possible misconception about the uses.
> >>
> >> IMHO stuff like this will be needed by many SoCs. Some examples of similar
> >> things for omaps that have eventually become generic frameworks have been
> >> the clock framework, USB OTG support, runtime PM, pinmux framework and
> >> so on.
> >>
> >> So I suggest a minimal generic API from the start as that will make things
> >> a lot easier in the long run.
> >
> > I agree. The ux500 platform already has the concept of "user interface boards",
> > which currently is not well integrated into devicetree. I believe Sascha
> > mentioned that Pengutronix had been shipping some other systems with add-on
> > boards and generating device tree binaries from source for each combination.
> >
> > Ideally, both of the above should be able to use the same DT overlay logic
> > as BeagleBone, and I'm sure there are more of those.
> >
> > Arnd
>
> Hmm, I see.
>
> I will need some more information about the interface of the 'user interface boards'.
> I.e. how is the board identified, what is typically present on those boards, etc.
>
> Can we get some input by the owner of other similar hardware? I know the FPGA
> people have similar requirements for example. There are other people that are hitting
> problems getting DT to work with their systems, like the V4L people with the order
> of initialization; see http://lwn.net/Articles/531068/. I think the V4L problem is
> cleanly solved by the overlay being contained in the V4L device node and applied just before
> the device is probed.
You probably mean these related V4L patches:
http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/58646
that base upon of asynchronous V4L2 subdevice probing, referenced above.
Yes, V4L DT nodes, as documented in
http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/58646/focus=58648
contain "port" and "endpoint" nodes, that describe the configuration of
the hardware port and link to devices, connected to it. Not sure how well
this would work with DT overlays, because endpoint nodes on both sides of
the video data bus contain references to the other side and I don't know
whether and how these can be created and / or updated at run-time.
Otherwise, yes, the approach that we're currently developing on V4L allows
us to build video data pipelines independent of (sub)device driver probing
order.
Thanks
Guennadi
> In the meantime it would be better to wait until we have some ack from the maintainers
> of the core subsystems about what they think.
>
> Regards
>
> -- Pantelis
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
next prev parent reply other threads:[~2013-01-08 9:51 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 18:51 [PATCH 0/5] DT Overlay based cape manager for TI's Beaglebone Pantelis Antoniou
2013-01-07 18:51 ` [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager Pantelis Antoniou
2013-01-07 20:09 ` Tony Lindgren
2013-01-07 20:13 ` Pantelis Antoniou
2013-01-07 20:23 ` Tony Lindgren
2013-01-07 20:26 ` Pantelis Antoniou
2013-01-07 20:35 ` Tony Lindgren
2013-01-07 20:40 ` Pantelis Antoniou
2013-01-07 21:05 ` Tony Lindgren
2013-01-07 21:35 ` Arnd Bergmann
2013-01-08 9:15 ` Pantelis Antoniou
2013-01-08 9:51 ` Guennadi Liakhovetski [this message]
2013-01-08 10:07 ` Pantelis Antoniou
2013-01-08 10:00 ` Lee Jones
2013-01-08 10:10 ` Pantelis Antoniou
2013-01-08 10:48 ` Lee Jones
2013-01-08 12:12 ` Arnd Bergmann
2013-01-08 13:26 ` Pantelis Antoniou
2013-01-08 16:12 ` Arnd Bergmann
2013-01-09 8:11 ` Lee Jones
2013-01-09 8:29 ` Linus Walleij
2013-03-26 16:16 ` Grant Likely
2013-03-26 18:40 ` Greg Kroah-Hartman
2013-01-08 11:14 ` Sascha Hauer
2013-04-15 10:14 ` Jean-Christophe PLAGNIOL-VILLARD
2013-01-07 18:51 ` [PATCH 2/5] capemgr: Add beaglebone's cape driver bindings Pantelis Antoniou
2013-03-26 17:36 ` Grant Likely
2013-03-27 9:26 ` Pantelis Antoniou
2013-01-07 18:51 ` [PATCH 3/5] capemgr: am335x-bone capemgr bindings Pantelis Antoniou
2013-01-07 18:51 ` [PATCH 4/5] capemgr: firmware makefiles for DT objects Pantelis Antoniou
2013-01-07 18:51 ` [PATCH 5/5] capemgr: Weather cape cape definition Pantelis Antoniou
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=Pine.LNX.4.64.1301081033440.1794@axis700.grange \
--to=g.liakhovetski@gmx.de \
--cc=Russ.Dill@ti.com \
--cc=agnel.joel@gmail.com \
--cc=arnd@arndb.de \
--cc=atull@altera.com \
--cc=b-cousson@ti.com \
--cc=david@gibson.dropbear.id.au \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@linuxfoundation.org \
--cc=jdl@jdl.com \
--cc=jkridner@beagleboard.org \
--cc=koen@dominion.thruhere.net \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mporter@ti.com \
--cc=mranostay@gmail.com \
--cc=panto@antoniou-consulting.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=robdclark@gmail.com \
--cc=s.hauer@pengutronix.de \
--cc=swarren@wwwdotorg.org \
--cc=tony@atomide.com \
--cc=wmb@firmworks.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
all inboxes | Powered by JetHome®