From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Michael Lawnick <ml.lawnick-Mmb7MZpHnFY@public.gmane.org>
Cc: Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Subject: Re: [PATCH] assign a default class to MPC adapter
Date: Fri, 17 Apr 2009 09:33:56 +0200 [thread overview]
Message-ID: <20090417093356.79f38e40@hyperion.delvare> (raw)
In-Reply-To: <49E82270.4030509-Mmb7MZpHnFY@public.gmane.org>
Hi Michael,
please keep the list CC'd.
On Fri, 17 Apr 2009 08:32:16 +0200, Michael Lawnick wrote:
> Jean Delvare said the following:
> > That's right, but why do you insist on instantiating them at runtime?
> >
> Because we have 2 different boards with same main processor but
> different on-board peripherals. They should run with same binary kernel
> to avoid duplicate production tests. On boot the system checks on which
> of the boards it is running and loads the necessary drivers with
> matching parameters.
Why would the system check need to be done in user-space? I can easily
imagine a single kernel supporting more than one system, all I2C
devices being described in the kernel and the right subset of I2C
devices being instantiated at boot based on which system the kernel is
running on.
> > The question is: why every other user of i2c-mpc is apparently able
> > to declare i2c devices through dts and you aren't?
>
> The question was: does dts work for drivers that are loaded on runtime.
Answer is yes.
> I did not check before I asked, because it is a bit complicated here to
> do. In difference to you Wolfram was able to give a verbose 'yes' which
> I will check now.
In difference to Wolfram I have no specific knowledge of embedded
boards. I try to help with i2c in general but I am limited when it
comes to embedded.
--
Jean Delvare
next prev parent reply other threads:[~2009-04-17 7:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-16 9:06 [PATCH] assign a default class to MPC adapter Michael Lawnick
[not found] ` <49E6F4F9.3060705-Mmb7MZpHnFY@public.gmane.org>
2009-04-16 9:20 ` Wolfram Sang
[not found] ` <20090416092012.GB3052-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-04-16 10:55 ` Michael Lawnick
2009-04-16 11:01 ` Michael Lawnick
[not found] ` <49E7101E.6070806-Mmb7MZpHnFY@public.gmane.org>
2009-04-16 11:47 ` Wolfram Sang
[not found] ` <20090416114701.GD3052-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-04-16 13:36 ` Michael Lawnick
[not found] ` <49E7344C.2060704-Mmb7MZpHnFY@public.gmane.org>
2009-04-16 13:55 ` Jean Delvare
[not found] ` <49E82270.4030509@gmx.de>
[not found] ` <49E82270.4030509-Mmb7MZpHnFY@public.gmane.org>
2009-04-17 7:33 ` Jean Delvare [this message]
[not found] ` <20090417093356.79f38e40-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-04-17 7:46 ` Wolfram Sang
2009-04-16 14:05 ` Wolfram Sang
2009-04-21 6:47 ` Michael Lawnick
[not found] ` <49ED6C0D.2060607-Mmb7MZpHnFY@public.gmane.org>
2009-04-21 7:13 ` Wolfgang Grandegger
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=20090417093356.79f38e40@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ml.lawnick-Mmb7MZpHnFY@public.gmane.org \
--cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.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