All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Ezequiel Garcia
	<ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
Cc: Walter Lozano
	<walter-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>,
	mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
	Romain.Baeriswyl-ux6zf3SgZrrQT0dZR+AlfA@public.gmane.org,
	atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org,
	raymond.tan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	carlpeng008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one
Date: Tue, 23 Dec 2014 17:23:58 +0100	[thread overview]
Message-ID: <20141223162357.GA4467@katana> (raw)
In-Reply-To: <54998B1A.9020208-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]


> >> This means there won't be any early users of the I2C platform driver in this
> >> scenario.
> > 
> > There won't be with platform as well.
> 
> Oh, OK. Then maybe you can clarify why all those i2c busses need to be
> registered with initcall in the first place?

Because they want to access PMICs early to have voltages ready when
other drivers are probed. This, again, is DT/platform independent.
All this is cruft from the pre-deferred-probe era. And pretty annoying
to deprecated although I'd love to do that.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: Walter Lozano <walter@vanguardiasur.com.ar>,
	mika.westerberg@linux.intel.com, Romain.Baeriswyl@abilis.com,
	atull@opensource.altera.com, raymond.tan@intel.com,
	carlpeng008@gmail.com, linux-i2c@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one
Date: Tue, 23 Dec 2014 17:23:58 +0100	[thread overview]
Message-ID: <20141223162357.GA4467@katana> (raw)
In-Reply-To: <54998B1A.9020208@vanguardiasur.com.ar>

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]


> >> This means there won't be any early users of the I2C platform driver in this
> >> scenario.
> > 
> > There won't be with platform as well.
> 
> Oh, OK. Then maybe you can clarify why all those i2c busses need to be
> registered with initcall in the first place?

Because they want to access PMICs early to have voltages ready when
other drivers are probed. This, again, is DT/platform independent.
All this is cruft from the pre-deferred-probe era. And pretty annoying
to deprecated although I'd love to do that.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2014-12-23 16:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 18:15 [RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one Walter Lozano
2014-12-22 18:15 ` Walter Lozano
     [not found] ` <1419272149-28716-1-git-send-email-walter-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-12-22 19:02   ` Wolfram Sang
2014-12-22 19:02     ` Wolfram Sang
2014-12-23 12:53     ` Walter Lozano
2014-12-23 12:53       ` Walter Lozano
2014-12-23 14:57     ` Ezequiel Garcia
2014-12-23 14:57       ` Ezequiel Garcia
     [not found]       ` <549982BE.3080500-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-12-23 15:26         ` Wolfram Sang
2014-12-23 15:26           ` Wolfram Sang
2014-12-23 15:32           ` Ezequiel Garcia
2014-12-23 15:32             ` Ezequiel Garcia
     [not found]             ` <54998B1A.9020208-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-12-23 16:23               ` Wolfram Sang [this message]
2014-12-23 16:23                 ` Wolfram Sang

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=20141223162357.GA4467@katana \
    --to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
    --cc=Romain.Baeriswyl-ux6zf3SgZrrQT0dZR+AlfA@public.gmane.org \
    --cc=atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org \
    --cc=carlpeng008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=raymond.tan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=walter-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.