2014-11-18 23:58:38

by Andrew Bresticker

[permalink] [raw]
Subject: [PATCH] i2c: img-scb: Allow building for MIPS

The SCB is present on IMG SoCs other than the META-based TZ1090,
such as the MIPS-based Pistachio SoC. Relax the Kconfig dependency
so that it can be built on any MIPS or META machine.

Signed-off-by: Andrew Bresticker <[email protected]>
---
Based on i2c/for-next
---
drivers/i2c/busses/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 03c6119..16c649a 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -526,10 +526,10 @@ config I2C_IBM_IIC

config I2C_IMG
tristate "Imagination Technologies I2C SCB Controller"
- depends on SOC_TZ1090 || COMPILE_TEST
+ depends on MIPS || METAG || COMPILE_TEST
help
Say Y here if you want to use the IMG I2C SCB controller,
- available on the TZ1090 SoC.
+ available on the TZ1090 and other IMG SoCs.

This driver can also be built as a module. If so, the module
will be called i2c-img-scb.
--
2.1.0.rc2.206.gedb03e5


2014-11-19 00:03:13

by James Hogan

[permalink] [raw]
Subject: Re: [PATCH] i2c: img-scb: Allow building for MIPS

On Tue, Nov 18, 2014 at 03:58:33PM -0800, Andrew Bresticker wrote:
> The SCB is present on IMG SoCs other than the META-based TZ1090,
> such as the MIPS-based Pistachio SoC. Relax the Kconfig dependency
> so that it can be built on any MIPS or META machine.
>
> Signed-off-by: Andrew Bresticker <[email protected]>

Looks good to me.

Acked-by: James Hogan <[email protected]>

Cheers
James

> ---
> Based on i2c/for-next
> ---
> drivers/i2c/busses/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 03c6119..16c649a 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -526,10 +526,10 @@ config I2C_IBM_IIC
>
> config I2C_IMG
> tristate "Imagination Technologies I2C SCB Controller"
> - depends on SOC_TZ1090 || COMPILE_TEST
> + depends on MIPS || METAG || COMPILE_TEST
> help
> Say Y here if you want to use the IMG I2C SCB controller,
> - available on the TZ1090 SoC.
> + available on the TZ1090 and other IMG SoCs.
>
> This driver can also be built as a module. If so, the module
> will be called i2c-img-scb.
> --
> 2.1.0.rc2.206.gedb03e5
>

2014-11-19 09:06:13

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH] i2c: img-scb: Allow building for MIPS

On Wed, Nov 19, 2014 at 12:03:08AM +0000, James Hogan wrote:
> On Tue, Nov 18, 2014 at 03:58:33PM -0800, Andrew Bresticker wrote:
> > The SCB is present on IMG SoCs other than the META-based TZ1090,
> > such as the MIPS-based Pistachio SoC. Relax the Kconfig dependency
> > so that it can be built on any MIPS or META machine.
> >
> > Signed-off-by: Andrew Bresticker <[email protected]>
>
> Looks good to me.
>
> Acked-by: James Hogan <[email protected]>
>
> Cheers
> James
>

Applied to for-next, thanks!


Attachments:
(No filename) (523.00 B)
signature.asc (819.00 B)
Digital signature
Download all attachments

2014-11-20 10:20:36

by Ezequiel Garcia

[permalink] [raw]
Subject: Re: [PATCH] i2c: img-scb: Allow building for MIPS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 11/19/2014 06:07 AM, Wolfram Sang wrote:
> On Wed, Nov 19, 2014 at 12:03:08AM +0000, James Hogan wrote:
>> On Tue, Nov 18, 2014 at 03:58:33PM -0800, Andrew Bresticker
>> wrote:
>>> The SCB is present on IMG SoCs other than the META-based
>>> TZ1090, such as the MIPS-based Pistachio SoC. Relax the
>>> Kconfig dependency so that it can be built on any MIPS or META
>>> machine.
>>>
>>> Signed-off-by: Andrew Bresticker <[email protected]>
>>
>> Looks good to me.
>>
>> Acked-by: James Hogan <[email protected]>
>>
>> Cheers James
>>
>
> Applied to for-next, thanks!
>

Can't find this one, maybe it wasn't pushed yet?
- --
Ezequiel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUbcALAAoJEIOKbhOEIHKi5U4P+gJ/JwXOFFCbWxhA8SQZShWC
Rwx8RSlvhbsOPPc7G596mMu0nfFBQFVBOII1Pw6UByPlUpi5FaLxQtEnxdWYNGbX
nQ7opxx/r0Ml5z5FsNQnBZ8olaoBfzZb1o/yl91cavul8JND1DCiyljAhvFzwRkv
ggnb8e6VY4ezqhYeS7HxNeVVjl+a3VQRHXnRfKYY/yFzVGO8/p1dPEXgm30hbIiK
NW9DoTq7HRkgtPtEJR1/pR0OnRvE3nA7kgi0u5ZUA8zjlzMwDm1Bpn/MQugX/4Lq
bRCbF67AMYDQAbifimZoxG/mlXRXpaKvcS/o4yagoTdXQuWFPNrRZyRvz9fSaGuZ
GD3sE6IGYwhXIP+o6CIHL/6SUPT50+5hGCcuBivwr3fiBw3SzPDJXAG29gUXo0v7
vW4RTV+mouEgJX4YKdjtLaeCdOrru6zwXEVlhpCky8mczAoYFahK2nm7BhL/aC2y
7nrPNLGAaEg0MXuaWwmgBeYqIHkJyf4TAmL2A5uj4kb8zH7QlzyNSa4ETwL1VqkE
krEOjfr6KsQ2YW9MNEUK8S7ti9WB3ezUOQYEOKGn/w6ZAiynzev6YRg+sWyDhsK2
qZ065wYttrSB/ShHagbQbKt+4F+WXEkLl+T72ZNqwj+02G3/cU9i5BjH8XTsPfJu
Qp66n26U/8ynz4N5rafo
=qMRD
-----END PGP SIGNATURE-----