* [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc @ 2008-06-05 8:10 ` Stefan Roese 0 siblings, 0 replies; 6+ messages in thread From: Stefan Roese @ 2008-06-05 8:10 UTC (permalink / raw) To: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A, i2c-GZX6beZjE8VD60Wz+7aTrA This patch enables the IBM I2C driver for all PPC4xx variants by adding "ibm,iic" to the compatible list. This way all currently available arch/powerpc 4xx ports can make use of this driver without any changes. Additionally all "other" compatible entries are removed since they are not needed anymore. Currently all 4xx PPC's have the same compatible I2C macro. If at some time an incompatibility is detected we can take care of this with an additional property. Signed-off-by: Stefan Roese <sr-ynQEQJNshbs@public.gmane.org> --- drivers/i2c/busses/i2c-ibm_iic.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 3a364a7..ed73801 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c @@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device *ofdev) } static const struct of_device_id ibm_iic_match[] = { - { .compatible = "ibm,iic-405ex", }, - { .compatible = "ibm,iic-405gp", }, - { .compatible = "ibm,iic-440gp", }, - { .compatible = "ibm,iic-440gpx", }, - { .compatible = "ibm,iic-440grx", }, + { .compatible = "ibm,iic", }, {} }; -- 1.5.5.3 _______________________________________________ i2c mailing list i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org http://lists.lm-sensors.org/mailman/listinfo/i2c ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc @ 2008-06-05 8:10 ` Stefan Roese 0 siblings, 0 replies; 6+ messages in thread From: Stefan Roese @ 2008-06-05 8:10 UTC (permalink / raw) To: linuxppc-dev, i2c; +Cc: khali This patch enables the IBM I2C driver for all PPC4xx variants by adding "ibm,iic" to the compatible list. This way all currently available arch/powerpc 4xx ports can make use of this driver without any changes. Additionally all "other" compatible entries are removed since they are not needed anymore. Currently all 4xx PPC's have the same compatible I2C macro. If at some time an incompatibility is detected we can take care of this with an additional property. Signed-off-by: Stefan Roese <sr@denx.de> --- drivers/i2c/busses/i2c-ibm_iic.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 3a364a7..ed73801 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c @@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device *ofdev) } static const struct of_device_id ibm_iic_match[] = { - { .compatible = "ibm,iic-405ex", }, - { .compatible = "ibm,iic-405gp", }, - { .compatible = "ibm,iic-440gp", }, - { .compatible = "ibm,iic-440gpx", }, - { .compatible = "ibm,iic-440grx", }, + { .compatible = "ibm,iic", }, {} }; -- 1.5.5.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc 2008-06-05 8:10 ` Stefan Roese (?) @ 2008-06-05 11:27 ` Josh Boyer -1 siblings, 0 replies; 6+ messages in thread From: Josh Boyer @ 2008-06-05 11:27 UTC (permalink / raw) To: Stefan Roese; +Cc: khali, linuxppc-dev, i2c On Thu, 5 Jun 2008 10:10:53 +0200 Stefan Roese <sr@denx.de> wrote: > This patch enables the IBM I2C driver for all PPC4xx variants by adding > "ibm,iic" to the compatible list. This way all currently available > arch/powerpc 4xx ports can make use of this driver without any changes. > Additionally all "other" compatible entries are removed since they are > not needed anymore. > > Currently all 4xx PPC's have the same compatible I2C macro. If at some > time an incompatibility is detected we can take care of this with an > additional property. > > Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> josh > --- > drivers/i2c/busses/i2c-ibm_iic.c | 6 +----- > 1 files changed, 1 insertions(+), 5 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c > index 3a364a7..ed73801 100644 > --- a/drivers/i2c/busses/i2c-ibm_iic.c > +++ b/drivers/i2c/busses/i2c-ibm_iic.c > @@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device *ofdev) > } > > static const struct of_device_id ibm_iic_match[] = { > - { .compatible = "ibm,iic-405ex", }, > - { .compatible = "ibm,iic-405gp", }, > - { .compatible = "ibm,iic-440gp", }, > - { .compatible = "ibm,iic-440gpx", }, > - { .compatible = "ibm,iic-440grx", }, > + { .compatible = "ibm,iic", }, > {} > }; > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc 2008-06-05 8:10 ` Stefan Roese (?) (?) @ 2008-06-08 12:48 ` Jean Delvare [not found] ` <20080608144843.58857324-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org> -1 siblings, 1 reply; 6+ messages in thread From: Jean Delvare @ 2008-06-08 12:48 UTC (permalink / raw) To: Stefan Roese; +Cc: linuxppc-dev, i2c Hi Stefan, On Thu, 5 Jun 2008 10:10:53 +0200, Stefan Roese wrote: > This patch enables the IBM I2C driver for all PPC4xx variants by adding > "ibm,iic" to the compatible list. This way all currently available > arch/powerpc 4xx ports can make use of this driver without any changes. > Additionally all "other" compatible entries are removed since they are > not needed anymore. > > Currently all 4xx PPC's have the same compatible I2C macro. If at some > time an incompatibility is detected we can take care of this with an > additional property. > > Signed-off-by: Stefan Roese <sr@denx.de> > --- > drivers/i2c/busses/i2c-ibm_iic.c | 6 +----- > 1 files changed, 1 insertions(+), 5 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c > index 3a364a7..ed73801 100644 > --- a/drivers/i2c/busses/i2c-ibm_iic.c > +++ b/drivers/i2c/busses/i2c-ibm_iic.c > @@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device *ofdev) > } > > static const struct of_device_id ibm_iic_match[] = { > - { .compatible = "ibm,iic-405ex", }, > - { .compatible = "ibm,iic-405gp", }, > - { .compatible = "ibm,iic-440gp", }, > - { .compatible = "ibm,iic-440gpx", }, > - { .compatible = "ibm,iic-440grx", }, > + { .compatible = "ibm,iic", }, > {} > }; > OK, I can take this in my tree, unless it depends on arch-specific patches which have not hit mainline yet. I guess this is 2.6.27 material? -- Jean Delvare ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20080608144843.58857324-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>]
* Re: [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc 2008-06-08 12:48 ` Jean Delvare @ 2008-06-09 4:48 ` Stefan Roese 0 siblings, 0 replies; 6+ messages in thread From: Stefan Roese @ 2008-06-09 4:48 UTC (permalink / raw) To: Jean Delvare Cc: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A, i2c-GZX6beZjE8VD60Wz+7aTrA Hi Jean, On Sunday 08 June 2008, Jean Delvare wrote: > > This patch enables the IBM I2C driver for all PPC4xx variants by adding > > "ibm,iic" to the compatible list. This way all currently available > > arch/powerpc 4xx ports can make use of this driver without any changes. > > Additionally all "other" compatible entries are removed since they are > > not needed anymore. > > > > Currently all 4xx PPC's have the same compatible I2C macro. If at some > > time an incompatibility is detected we can take care of this with an > > additional property. > > > > Signed-off-by: Stefan Roese <sr-ynQEQJNshbs@public.gmane.org> > > --- > > drivers/i2c/busses/i2c-ibm_iic.c | 6 +----- > > 1 files changed, 1 insertions(+), 5 deletions(-) > > > > diff --git a/drivers/i2c/busses/i2c-ibm_iic.c > > b/drivers/i2c/busses/i2c-ibm_iic.c index 3a364a7..ed73801 100644 > > --- a/drivers/i2c/busses/i2c-ibm_iic.c > > +++ b/drivers/i2c/busses/i2c-ibm_iic.c > > @@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device > > *ofdev) } > > > > static const struct of_device_id ibm_iic_match[] = { > > - { .compatible = "ibm,iic-405ex", }, > > - { .compatible = "ibm,iic-405gp", }, > > - { .compatible = "ibm,iic-440gp", }, > > - { .compatible = "ibm,iic-440gpx", }, > > - { .compatible = "ibm,iic-440grx", }, > > + { .compatible = "ibm,iic", }, > > {} > > }; > > OK, I can take this in my tree, unless it depends on arch-specific > patches which have not hit mainline yet. No, this doesn't depend on other pathes. > I guess this is 2.6.27 > material? Yes. No real hurry here. Thanks. Best regards, Stefan _______________________________________________ i2c mailing list i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org http://lists.lm-sensors.org/mailman/listinfo/i2c ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc @ 2008-06-09 4:48 ` Stefan Roese 0 siblings, 0 replies; 6+ messages in thread From: Stefan Roese @ 2008-06-09 4:48 UTC (permalink / raw) To: Jean Delvare; +Cc: linuxppc-dev, i2c Hi Jean, On Sunday 08 June 2008, Jean Delvare wrote: > > This patch enables the IBM I2C driver for all PPC4xx variants by adding > > "ibm,iic" to the compatible list. This way all currently available > > arch/powerpc 4xx ports can make use of this driver without any changes. > > Additionally all "other" compatible entries are removed since they are > > not needed anymore. > > > > Currently all 4xx PPC's have the same compatible I2C macro. If at some > > time an incompatibility is detected we can take care of this with an > > additional property. > > > > Signed-off-by: Stefan Roese <sr@denx.de> > > --- > > drivers/i2c/busses/i2c-ibm_iic.c | 6 +----- > > 1 files changed, 1 insertions(+), 5 deletions(-) > > > > diff --git a/drivers/i2c/busses/i2c-ibm_iic.c > > b/drivers/i2c/busses/i2c-ibm_iic.c index 3a364a7..ed73801 100644 > > --- a/drivers/i2c/busses/i2c-ibm_iic.c > > +++ b/drivers/i2c/busses/i2c-ibm_iic.c > > @@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device > > *ofdev) } > > > > static const struct of_device_id ibm_iic_match[] = { > > - { .compatible = "ibm,iic-405ex", }, > > - { .compatible = "ibm,iic-405gp", }, > > - { .compatible = "ibm,iic-440gp", }, > > - { .compatible = "ibm,iic-440gpx", }, > > - { .compatible = "ibm,iic-440grx", }, > > + { .compatible = "ibm,iic", }, > > {} > > }; > > OK, I can take this in my tree, unless it depends on arch-specific > patches which have not hit mainline yet. No, this doesn't depend on other pathes. > I guess this is 2.6.27 > material? Yes. No real hurry here. Thanks. Best regards, Stefan ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-06-09 4:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 8:10 [PATCH] i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc Stefan Roese
2008-06-05 8:10 ` Stefan Roese
2008-06-05 11:27 ` Josh Boyer
2008-06-08 12:48 ` Jean Delvare
[not found] ` <20080608144843.58857324-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-06-09 4:48 ` Stefan Roese
2008-06-09 4:48 ` Stefan Roese
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.