I2C: Add support for 64bit system.
PATCH 1/1 I2C: Add support for 64bit system.
Currently I2C_MPC supports 32bit system only, then this modification makes it support 32bit and 64bit system both.
--- drivers/i2c/busses/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/Kconfig +1 -1
@@ -422,7 +422,7 @@ config I2C_IXP2000 config I2C_MPC tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" - depends on PPC32 + depends on PPC32 || PPC64 help If you say yes to this option, support will be included for the built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,
Signature · 1 line
1.7.0.4
A message that is not in the archive (sent off-list or not yet received): 1292830654-7056-1-git-send-email-B33228-KZfg59tc24xl57MIdRCFDg@public.gmane.org
Quoted 4 lines · Xulei
Currently
I2C_MPCsupports 32bit system only, then this modification makes it support 32bit and 64bit system both.Signed-off-by Xulei <[email protected]>
This been build or run tested?
Quoted 25 lines
--- drivers/i2c/busses/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/i2c/busses/Kconfig +1
-1@@ -422,7 +422,7 @@ config I2C_IXP2000 config I2C_MPC tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" - depends on PPC32 + depends on PPC32 || PPC64 help If you say yes to this option, support will be included for the built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,Signature · 7 lines
1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Ben Dooks, [email protected], http://www.fluff.org/ben/ Large Hadron Colada: A large Pina Colada that makes the universe disappear.
A message that is not in the archive (sent off-list or not yet received): 20101220145954.GA1126-SMNkleLxa3Z6Wcw2j4pizdi2O/[email protected]
yes, it has been built and could access the RTC well.
Quoted 23 lines · Ben Dooks
Quoted 4 lines · Xulei
Currently
I2C_MPCsupports 32bit system only, then this modification makes it support 32bit and 64bit system both. =20Signed-off-by Xulei <[email protected]>=20
This been build or run tested?
=20Quoted 15 lines
--- drivers/i2c/busses/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)=20
drivers/i2c/busses/Kconfig +0
-0@@ -422,7 +422,7 @@ config I2C_IXP2000=20
configI2C_MPCdrivers/i2c/busses/Kconfig +1
-1tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" - depends on PPC32 + depends on PPC32 || PPC64 help
Quoted 8 lines
Quoted 8 lines
drivers/i2c/busses/Kconfig +0
-1If you say yes to this option, support will be included for the built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx, --=201.7.0.4
=20
=20
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" =
in
Quoted 3 lines
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html=20
Quoted 7 lines · Ben Dooks
Quoted 4 lines · Xulei
Currently
I2C_MPCsupports 32bit system only, then this modification makes it support 32bit and 64bit system both.Signed-off-by Xulei <[email protected]>This been build or run tested?
Yes, Any issues with me applying this via the powerpc.git tree?
Quoted 36 lines
Quoted 26 lines
---
drivers/i2c/busses/Kconfig| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)drivers/i2c/busses/Kconfig +0
-0@@ -422,7 +422,7 @@ config I2C_IXP2000config
I2C_MPCtristate "MPC107/824x/85xx/512x/52xx/83xx/86xx"drivers/i2c/busses/Kconfig +1
-1- depends on PPC32 + depends on PPC32 || PPC64help If you say yes to this option, support will be included for the built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,Signature · 7 lines
1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 8 lines
Ben Dooks, [email protected], http://www.fluff.org/ben/ Large Hadron Colada: A large Pina Colada that makes the universe disappear. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev-uLR06cmDAlY/[email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
A message that is not in the archive (sent off-list or not yet received): D9BF0938-44B1-4BB8-BF3C-0A9CB44B9CC5-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org
Quoted 4 lines · Kumar Gala
Quoted 1 line · Ben Dooks
On Mon, Dec 20, 2010 at 03:37:34PM +0800, Xulei wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Currently
I2C_MPCsupports 32bit system only, then this modification makes it support 32bit and 64bit system both.Signed-off-by Xulei <[email protected]>This been build or run tested?
Yes, Any issues with me applying this via the powerpc.git tree?
I'm concerned about the fact that we have to have two defines to declare code that is 32-bit and 64-bit clean. Technically speaking, all drivers should work in both environments. It seems silly to have "PPC32 || PPC64" for everything. Isn't there a generic "PPC" config option that covers this?
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
A message that is not in the archive (sent off-list or not yet received): AANLkTim0_ttjDPJvx71B-=Ze5dRTrKXfpavx7gxvYr5p-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 12 lines · Timur Tabi
Quoted 11 lines · Kumar Gala
Quoted 7 lines · Ben Dooks
Quoted 4 lines · Xulei
Currently
I2C_MPCsupports 32bit system only, then this modification makes it support 32bit and 64bit system both.Signed-off-by Xulei <[email protected]>This been build or run tested?
Quoted 7 lines
Quoted 1 line
Yes, Any issues with me applying this via the powerpc.git tree?
I'm concerned about the fact that we have to have two defines to declare code that is 32-bit and 64-bit clean. Technically speaking, all drivers should work in both environments. It seems silly to have "PPC32 || PPC64" for everything. Isn't there a generic "PPC" config option that covers this?
There is, I'll post a new patch that uses it.
- k--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html