From: Wolfram Sang <wsa@the-dreams.de>
To: linux-i2c@vger.kernel.org
Cc: davinci-linux-open-source@linux.davincidsp.com,
linux-samsung-soc@vger.kernel.org,
adi-buildroot-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 00/16] i2c: drop class based instantiaion for selected drivers
Date: Wed, 16 Jul 2014 19:46:05 +0200 [thread overview]
Message-ID: <20140716174604.GI2759@katana> (raw)
In-Reply-To: <1404992799-3705-1-git-send-email-wsa@the-dreams.de>
[-- Attachment #1.1: Type: text/plain, Size: 2766 bytes --]
On Thu, Jul 10, 2014 at 01:46:20PM +0200, Wolfram Sang wrote:
> Some drivers were flagged to remove class based instantiation soon to improve
> boot-up time. Originally, I was planning for a longer deprecation time so users
> could switch over to some other kind of instantiation. However, the demand for
> the speed up is high enough and class based instantiation is used rarely, so
> the removal takes place now. To make up for the deprecation time, another
> warning is added to the i2c core pointing out that the behaviour has now
> changed:
>
> + /* Warn that the adapter lost class based instantiation */
> + if (adapter->class == I2C_CLASS_DEPRECATED) {
> + dev_dbg(&adapter->dev,
> + "This adapter dropped support for I2C classes and "
> + "won't auto-detect %s devices anymore. If you need it, check "
> + "'Documentation/i2c/instantiating-devices' for alternatives.\n",
> + driver->driver.name);
> + return 0;
> + }
>
> A branch can be found here (with two other cleanups -> driver removals):
> git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/deprecate_stuff
>
> I hope this meets all the needs. Please comment, ack, test...
>
> Thanks,
>
> Wolfram
>
>
> Wolfram Sang (16):
> i2c: add debug info when class instantiation was dropped
> i2c: i2c-at91: Drop class based scanning to improve bootup time
> i2c: i2c-bcm2835: Drop class based scanning to improve bootup time
> i2c: i2c-bfin-twi: Drop class based scanning to improve bootup time
> i2c: i2c-davinci: Drop class based scanning to improve bootup time
> i2c: i2c-designware-platdrv: Drop class based scanning to improve
> bootup time
> i2c: i2c-mv64xxx: Drop class based scanning to improve bootup time
> i2c: i2c-nomadik: Drop class based scanning to improve bootup time
> i2c: i2c-ocores: Drop class based scanning to improve bootup time
> i2c: i2c-omap: Drop class based scanning to improve bootup time
> i2c: i2c-rcar: Drop class based scanning to improve bootup time
> i2c: i2c-s3c2410: Drop class based scanning to improve bootup time
> i2c: i2c-sirf: Drop class based scanning to improve bootup time
> i2c: i2c-stu300: Drop class based scanning to improve bootup time
> i2c: i2c-tegra: Drop class based scanning to improve bootup time
> i2c: i2c-xiic: Drop class based scanning to improve bootup time
>
> drivers/i2c/busses/i2c-at91.c | 2 +-
> drivers/i2c/busses/i2c-bcm2835.c | 2 +-
> drivers/i2c/busses/i2c-bfin-twi.c | 2 +-
> drivers/i2c/busses/i2c-davinci.c | 2 +-
> drivers/i2c/busses/i2c-designware-platdrv.c | 2 +-
> drivers/i2c/busses/i2c-mv64xxx.c | 2 +-
Applied to for-next, thanks!
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: wsa@the-dreams.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/16] i2c: drop class based instantiaion for selected drivers
Date: Wed, 16 Jul 2014 19:46:05 +0200 [thread overview]
Message-ID: <20140716174604.GI2759@katana> (raw)
In-Reply-To: <1404992799-3705-1-git-send-email-wsa@the-dreams.de>
On Thu, Jul 10, 2014 at 01:46:20PM +0200, Wolfram Sang wrote:
> Some drivers were flagged to remove class based instantiation soon to improve
> boot-up time. Originally, I was planning for a longer deprecation time so users
> could switch over to some other kind of instantiation. However, the demand for
> the speed up is high enough and class based instantiation is used rarely, so
> the removal takes place now. To make up for the deprecation time, another
> warning is added to the i2c core pointing out that the behaviour has now
> changed:
>
> + /* Warn that the adapter lost class based instantiation */
> + if (adapter->class == I2C_CLASS_DEPRECATED) {
> + dev_dbg(&adapter->dev,
> + "This adapter dropped support for I2C classes and "
> + "won't auto-detect %s devices anymore. If you need it, check "
> + "'Documentation/i2c/instantiating-devices' for alternatives.\n",
> + driver->driver.name);
> + return 0;
> + }
>
> A branch can be found here (with two other cleanups -> driver removals):
> git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/deprecate_stuff
>
> I hope this meets all the needs. Please comment, ack, test...
>
> Thanks,
>
> Wolfram
>
>
> Wolfram Sang (16):
> i2c: add debug info when class instantiation was dropped
> i2c: i2c-at91: Drop class based scanning to improve bootup time
> i2c: i2c-bcm2835: Drop class based scanning to improve bootup time
> i2c: i2c-bfin-twi: Drop class based scanning to improve bootup time
> i2c: i2c-davinci: Drop class based scanning to improve bootup time
> i2c: i2c-designware-platdrv: Drop class based scanning to improve
> bootup time
> i2c: i2c-mv64xxx: Drop class based scanning to improve bootup time
> i2c: i2c-nomadik: Drop class based scanning to improve bootup time
> i2c: i2c-ocores: Drop class based scanning to improve bootup time
> i2c: i2c-omap: Drop class based scanning to improve bootup time
> i2c: i2c-rcar: Drop class based scanning to improve bootup time
> i2c: i2c-s3c2410: Drop class based scanning to improve bootup time
> i2c: i2c-sirf: Drop class based scanning to improve bootup time
> i2c: i2c-stu300: Drop class based scanning to improve bootup time
> i2c: i2c-tegra: Drop class based scanning to improve bootup time
> i2c: i2c-xiic: Drop class based scanning to improve bootup time
>
> drivers/i2c/busses/i2c-at91.c | 2 +-
> drivers/i2c/busses/i2c-bcm2835.c | 2 +-
> drivers/i2c/busses/i2c-bfin-twi.c | 2 +-
> drivers/i2c/busses/i2c-davinci.c | 2 +-
> drivers/i2c/busses/i2c-designware-platdrv.c | 2 +-
> drivers/i2c/busses/i2c-mv64xxx.c | 2 +-
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140716/49f27188/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: linux-i2c@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
adi-buildroot-devel@lists.sourceforge.net,
davinci-linux-open-source@linux.davincidsp.com,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH 00/16] i2c: drop class based instantiaion for selected drivers
Date: Wed, 16 Jul 2014 19:46:05 +0200 [thread overview]
Message-ID: <20140716174604.GI2759@katana> (raw)
In-Reply-To: <1404992799-3705-1-git-send-email-wsa@the-dreams.de>
[-- Attachment #1: Type: text/plain, Size: 2766 bytes --]
On Thu, Jul 10, 2014 at 01:46:20PM +0200, Wolfram Sang wrote:
> Some drivers were flagged to remove class based instantiation soon to improve
> boot-up time. Originally, I was planning for a longer deprecation time so users
> could switch over to some other kind of instantiation. However, the demand for
> the speed up is high enough and class based instantiation is used rarely, so
> the removal takes place now. To make up for the deprecation time, another
> warning is added to the i2c core pointing out that the behaviour has now
> changed:
>
> + /* Warn that the adapter lost class based instantiation */
> + if (adapter->class == I2C_CLASS_DEPRECATED) {
> + dev_dbg(&adapter->dev,
> + "This adapter dropped support for I2C classes and "
> + "won't auto-detect %s devices anymore. If you need it, check "
> + "'Documentation/i2c/instantiating-devices' for alternatives.\n",
> + driver->driver.name);
> + return 0;
> + }
>
> A branch can be found here (with two other cleanups -> driver removals):
> git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/deprecate_stuff
>
> I hope this meets all the needs. Please comment, ack, test...
>
> Thanks,
>
> Wolfram
>
>
> Wolfram Sang (16):
> i2c: add debug info when class instantiation was dropped
> i2c: i2c-at91: Drop class based scanning to improve bootup time
> i2c: i2c-bcm2835: Drop class based scanning to improve bootup time
> i2c: i2c-bfin-twi: Drop class based scanning to improve bootup time
> i2c: i2c-davinci: Drop class based scanning to improve bootup time
> i2c: i2c-designware-platdrv: Drop class based scanning to improve
> bootup time
> i2c: i2c-mv64xxx: Drop class based scanning to improve bootup time
> i2c: i2c-nomadik: Drop class based scanning to improve bootup time
> i2c: i2c-ocores: Drop class based scanning to improve bootup time
> i2c: i2c-omap: Drop class based scanning to improve bootup time
> i2c: i2c-rcar: Drop class based scanning to improve bootup time
> i2c: i2c-s3c2410: Drop class based scanning to improve bootup time
> i2c: i2c-sirf: Drop class based scanning to improve bootup time
> i2c: i2c-stu300: Drop class based scanning to improve bootup time
> i2c: i2c-tegra: Drop class based scanning to improve bootup time
> i2c: i2c-xiic: Drop class based scanning to improve bootup time
>
> drivers/i2c/busses/i2c-at91.c | 2 +-
> drivers/i2c/busses/i2c-bcm2835.c | 2 +-
> drivers/i2c/busses/i2c-bfin-twi.c | 2 +-
> drivers/i2c/busses/i2c-davinci.c | 2 +-
> drivers/i2c/busses/i2c-designware-platdrv.c | 2 +-
> drivers/i2c/busses/i2c-mv64xxx.c | 2 +-
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-07-16 17:46 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-10 11:46 [PATCH 00/16] i2c: drop class based instantiaion for selected drivers Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 01/16] i2c: add debug info when class instantiation was dropped Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 02/16] i2c: i2c-at91: Drop class based scanning to improve bootup time Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-17 15:27 ` Ludovic Desroches
2014-07-17 15:27 ` Ludovic Desroches
2014-07-17 15:27 ` Ludovic Desroches
2014-07-10 11:46 ` [PATCH 03/16] i2c: i2c-bcm2835: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 04/16] i2c: i2c-bfin-twi: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 06/16] i2c: i2c-designware-platdrv: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 07/16] i2c: i2c-mv64xxx: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-21 13:33 ` Andrew Lunn
2014-07-21 13:33 ` Andrew Lunn
2014-07-10 11:46 ` [PATCH 08/16] i2c: i2c-nomadik: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
[not found] ` <1404992799-3705-9-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 14:35 ` Linus Walleij
2014-07-10 14:35 ` Linus Walleij
2014-07-10 14:35 ` Linus Walleij
2014-07-10 11:46 ` [PATCH 09/16] i2c: i2c-ocores: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
[not found] ` <1404992799-3705-10-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 14:32 ` Peter Korsgaard
2014-07-10 14:32 ` Peter Korsgaard
2014-07-10 14:32 ` Peter Korsgaard
2014-07-10 11:46 ` [PATCH 10/16] i2c: i2c-omap: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 11/16] i2c: i2c-rcar: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 12/16] i2c: i2c-s3c2410: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-11 5:59 ` Sachin Kamat
2014-07-11 5:59 ` Sachin Kamat
2014-07-10 11:46 ` [PATCH 13/16] i2c: i2c-sirf: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` [PATCH 14/16] i2c: i2c-stu300: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 14:35 ` Linus Walleij
2014-07-10 14:35 ` Linus Walleij
2014-07-10 11:46 ` [PATCH 15/16] i2c: i2c-tegra: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
[not found] ` <1404992799-3705-16-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 12:34 ` Mikko Perttunen
2014-07-10 12:34 ` Mikko Perttunen
2014-07-10 12:34 ` Mikko Perttunen
2014-07-10 13:43 ` Thierry Reding
2014-07-10 13:43 ` Thierry Reding
2014-07-10 13:43 ` Thierry Reding
2014-07-10 11:46 ` [PATCH 16/16] i2c: i2c-xiic: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
[not found] ` <1404992799-3705-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 11:46 ` [PATCH 05/16] i2c: i2c-davinci: " Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 11:46 ` Wolfram Sang
2014-07-10 12:38 ` [PATCH 00/16] i2c: drop class based instantiaion for selected drivers Lothar Waßmann
2014-07-10 12:38 ` Lothar Waßmann
2014-07-10 12:38 ` Lothar Waßmann
[not found] ` <20140710143837.558c1d07-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>
2014-07-10 13:13 ` Wolfram Sang
2014-07-10 13:13 ` Wolfram Sang
2014-07-10 13:13 ` Wolfram Sang
2014-07-16 17:46 ` Wolfram Sang [this message]
2014-07-16 17:46 ` Wolfram Sang
2014-07-16 17:46 ` 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=20140716174604.GI2759@katana \
--to=wsa@the-dreams.de \
--cc=adi-buildroot-devel@lists.sourceforge.net \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.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.