All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: cros_ec: allow building for ARM64
@ 2016-04-08 20:11 Brian Norris
  2016-04-11  8:48 ` Lee Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Norris @ 2016-04-08 20:11 UTC (permalink / raw)
  To: Olof Johansson, Lee Jones
  Cc: linux-kernel, Brian Norris, Javier Martinez Canillas, Brian Norris

Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index eea61e349e26..1d63c5fb3f3c 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -134,7 +134,7 @@ config MFD_CROS_EC
 	select MFD_CORE
 	select CHROME_PLATFORMS
 	select CROS_EC_PROTO
-	depends on X86 || ARM || COMPILE_TEST
+	depends on X86 || ARM || ARM64 || COMPILE_TEST
 	help
 	  If you say Y here you get support for the ChromeOS Embedded
 	  Controller (EC) providing keyboard, battery and power services.
-- 
2.8.0.rc3.226.g39d4020

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: cros_ec: allow building for ARM64
  2016-04-08 20:11 [PATCH] mfd: cros_ec: allow building for ARM64 Brian Norris
@ 2016-04-11  8:48 ` Lee Jones
  2016-04-11 16:42   ` Brian Norris
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Jones @ 2016-04-11  8:48 UTC (permalink / raw)
  To: Brian Norris
  Cc: Olof Johansson, linux-kernel, Brian Norris, Javier Martinez Canillas

When submitting patches, please use the format appropriate for the
subsystem.

  `git log --oneline -- <subsystem>` helps with this.

Also please provide a commit log containing a short description of the
change.  Are you enabling ARM64 becuase the driver is able to be used
on a new platform?  If not, how did this work before?  Etc.

> Signed-off-by: Brian Norris <briannorris@chromium.org>
> ---
>  drivers/mfd/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index eea61e349e26..1d63c5fb3f3c 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -134,7 +134,7 @@ config MFD_CROS_EC
>  	select MFD_CORE
>  	select CHROME_PLATFORMS
>  	select CROS_EC_PROTO
> -	depends on X86 || ARM || COMPILE_TEST
> +	depends on X86 || ARM || ARM64 || COMPILE_TEST
>  	help
>  	  If you say Y here you get support for the ChromeOS Embedded
>  	  Controller (EC) providing keyboard, battery and power services.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: cros_ec: allow building for ARM64
  2016-04-11  8:48 ` Lee Jones
@ 2016-04-11 16:42   ` Brian Norris
  2016-04-11 17:15     ` Javier Martinez Canillas
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Norris @ 2016-04-11 16:42 UTC (permalink / raw)
  To: Lee Jones
  Cc: Olof Johansson, linux-kernel, Brian Norris, Javier Martinez Canillas

On Mon, Apr 11, 2016 at 09:48:49AM +0100, Lee Jones wrote:
> When submitting patches, please use the format appropriate for the
> subsystem.
> 
>   `git log --oneline -- <subsystem>` helps with this.

$ git log --oneline --no-merges drivers/mfd/cros_ec*.c | head -10
8827a642a463 mfd: cros_ec_spi: Repair comparison ordering issue
2756db6c6366 mfd: cros_ec_i2c: Fix trivial 'tabs before spaces'
whitespace issue.
6d6e44a95316 mfd: cros ec: Lock the SPI bus while holding chipselect
3821a065f567 spi: Drop owner assignment from spi_drivers
385c0012dfa0 mfd: cros_ec_i2c: Add OF match table
a78ea195f77a mfd: cros_ec: spi: Add OF match table
0e777366fb0e mfd: Drop owner assignment from i2c_drivers
cf649e00769a mfd: cros_ec: Staticise some newly introduced structures
ff4378f4b813 mfd: cros_ec: spi: Add delay for asserting CS
57b33ff077be mfd: cros_ec: Support multiple EC in a system

So...what's the problem with the subject?

> Also please provide a commit log containing a short description of the
> change.  Are you enabling ARM64 becuase the driver is able to be used
> on a new platform?  If not, how did this work before?  Etc.

I can add a short description. But there's really not much more to it
than the subject. We have ARM64 platforms we want to use this on. Some
are already released, and some are in development.

Brian

> > Signed-off-by: Brian Norris <briannorris@chromium.org>
> > ---
> >  drivers/mfd/Kconfig | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> > index eea61e349e26..1d63c5fb3f3c 100644
> > --- a/drivers/mfd/Kconfig
> > +++ b/drivers/mfd/Kconfig
> > @@ -134,7 +134,7 @@ config MFD_CROS_EC
> >  	select MFD_CORE
> >  	select CHROME_PLATFORMS
> >  	select CROS_EC_PROTO
> > -	depends on X86 || ARM || COMPILE_TEST
> > +	depends on X86 || ARM || ARM64 || COMPILE_TEST
> >  	help
> >  	  If you say Y here you get support for the ChromeOS Embedded
> >  	  Controller (EC) providing keyboard, battery and power services.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: cros_ec: allow building for ARM64
  2016-04-11 16:42   ` Brian Norris
@ 2016-04-11 17:15     ` Javier Martinez Canillas
  2016-04-12  7:13       ` Lee Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-04-11 17:15 UTC (permalink / raw)
  To: Brian Norris, Lee Jones; +Cc: Olof Johansson, linux-kernel, Brian Norris

Hello Brian,

On 04/11/2016 12:42 PM, Brian Norris wrote:
> On Mon, Apr 11, 2016 at 09:48:49AM +0100, Lee Jones wrote:
>> When submitting patches, please use the format appropriate for the
>> subsystem.
>>
>>   `git log --oneline -- <subsystem>` helps with this.
> 
> $ git log --oneline --no-merges drivers/mfd/cros_ec*.c | head -10
> 8827a642a463 mfd: cros_ec_spi: Repair comparison ordering issue
> 2756db6c6366 mfd: cros_ec_i2c: Fix trivial 'tabs before spaces'
> whitespace issue.
> 6d6e44a95316 mfd: cros ec: Lock the SPI bus while holding chipselect
> 3821a065f567 spi: Drop owner assignment from spi_drivers
> 385c0012dfa0 mfd: cros_ec_i2c: Add OF match table
> a78ea195f77a mfd: cros_ec: spi: Add OF match table
> 0e777366fb0e mfd: Drop owner assignment from i2c_drivers
> cf649e00769a mfd: cros_ec: Staticise some newly introduced structures
> ff4378f4b813 mfd: cros_ec: spi: Add delay for asserting CS
> 57b33ff077be mfd: cros_ec: Support multiple EC in a system
> 
> So...what's the problem with the subject?
>

I also don't see what's wrong with the subject line...
 
>> Also please provide a commit log containing a short description of the
>> change.  Are you enabling ARM64 becuase the driver is able to be used
>> on a new platform?  If not, how did this work before?  Etc.
> 
> I can add a short description. But there's really not much more to it
> than the subject. We have ARM64 platforms we want to use this on. Some
> are already released, and some are in development.
>

I think at least a short description is always welcomed. Even if the
patch is obvious, it should state why the change was introduced.
 
> Brian
> 
>>> Signed-off-by: Brian Norris <briannorris@chromium.org>
>>> ---
>>>  drivers/mfd/Kconfig | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
>>> index eea61e349e26..1d63c5fb3f3c 100644
>>> --- a/drivers/mfd/Kconfig
>>> +++ b/drivers/mfd/Kconfig
>>> @@ -134,7 +134,7 @@ config MFD_CROS_EC
>>>  	select MFD_CORE
>>>  	select CHROME_PLATFORMS
>>>  	select CROS_EC_PROTO
>>> -	depends on X86 || ARM || COMPILE_TEST
>>> +	depends on X86 || ARM || ARM64 || COMPILE_TEST
>>>  	help
>>>  	  If you say Y here you get support for the ChromeOS Embedded
>>>  	  Controller (EC) providing keyboard, battery and power services.

Patch looks good to me, so after resending with a commit message:

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: cros_ec: allow building for ARM64
  2016-04-11 17:15     ` Javier Martinez Canillas
@ 2016-04-12  7:13       ` Lee Jones
  2016-04-12 13:54         ` Javier Martinez Canillas
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Jones @ 2016-04-12  7:13 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: Brian Norris, Olof Johansson, linux-kernel, Brian Norris

On Mon, 11 Apr 2016, Javier Martinez Canillas wrote:
> On 04/11/2016 12:42 PM, Brian Norris wrote:
> > On Mon, Apr 11, 2016 at 09:48:49AM +0100, Lee Jones wrote:
> >> When submitting patches, please use the format appropriate for the
> >> subsystem.
> >>
> >>   `git log --oneline -- <subsystem>` helps with this.
> > 
> > $ git log --oneline --no-merges drivers/mfd/cros_ec*.c | head -10
> > 8827a642a463 mfd: cros_ec_spi: Repair comparison ordering issue
> > 2756db6c6366 mfd: cros_ec_i2c: Fix trivial 'tabs before spaces'
> > whitespace issue.
> > 6d6e44a95316 mfd: cros ec: Lock the SPI bus while holding chipselect
> > 3821a065f567 spi: Drop owner assignment from spi_drivers
> > 385c0012dfa0 mfd: cros_ec_i2c: Add OF match table
> > a78ea195f77a mfd: cros_ec: spi: Add OF match table
> > 0e777366fb0e mfd: Drop owner assignment from i2c_drivers
> > cf649e00769a mfd: cros_ec: Staticise some newly introduced structures
> > ff4378f4b813 mfd: cros_ec: spi: Add delay for asserting CS
> > 57b33ff077be mfd: cros_ec: Support multiple EC in a system
> > 
> > So...what's the problem with the subject?
> >
> 
> I also don't see what's wrong with the subject line...

Then you're not looking hard enough.

Every single patch description in the MFD subsystem starts with an
uppercase character, just as you would any sentence.

> >> Also please provide a commit log containing a short description of the
> >> change.  Are you enabling ARM64 becuase the driver is able to be used
> >> on a new platform?  If not, how did this work before?  Etc.
> > 
> > I can add a short description. But there's really not much more to it
> > than the subject. We have ARM64 platforms we want to use this on. Some
> > are already released, and some are in development.
> >
> 
> I think at least a short description is always welcomed. Even if the
> patch is obvious, it should state why the change was introduced.

+1

> >>> Signed-off-by: Brian Norris <briannorris@chromium.org>
> >>> ---
> >>>  drivers/mfd/Kconfig | 2 +-
> >>>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>>
> >>> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> >>> index eea61e349e26..1d63c5fb3f3c 100644
> >>> --- a/drivers/mfd/Kconfig
> >>> +++ b/drivers/mfd/Kconfig
> >>> @@ -134,7 +134,7 @@ config MFD_CROS_EC
> >>>  	select MFD_CORE
> >>>  	select CHROME_PLATFORMS
> >>>  	select CROS_EC_PROTO
> >>> -	depends on X86 || ARM || COMPILE_TEST
> >>> +	depends on X86 || ARM || ARM64 || COMPILE_TEST
> >>>  	help
> >>>  	  If you say Y here you get support for the ChromeOS Embedded
> >>>  	  Controller (EC) providing keyboard, battery and power services.
> 
> Patch looks good to me, so after resending with a commit message:
> 
> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> Best regards,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mfd: cros_ec: allow building for ARM64
  2016-04-12  7:13       ` Lee Jones
@ 2016-04-12 13:54         ` Javier Martinez Canillas
  0 siblings, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-04-12 13:54 UTC (permalink / raw)
  To: Lee Jones; +Cc: Brian Norris, Olof Johansson, linux-kernel, Brian Norris

Hello Lee,

On 04/12/2016 03:13 AM, Lee Jones wrote:
> On Mon, 11 Apr 2016, Javier Martinez Canillas wrote:
>> On 04/11/2016 12:42 PM, Brian Norris wrote:
>>> On Mon, Apr 11, 2016 at 09:48:49AM +0100, Lee Jones wrote:
>>>> When submitting patches, please use the format appropriate for the
>>>> subsystem.
>>>>
>>>>   `git log --oneline -- <subsystem>` helps with this.
>>>
>>> $ git log --oneline --no-merges drivers/mfd/cros_ec*.c | head -10
>>> 8827a642a463 mfd: cros_ec_spi: Repair comparison ordering issue
>>> 2756db6c6366 mfd: cros_ec_i2c: Fix trivial 'tabs before spaces'
>>> whitespace issue.
>>> 6d6e44a95316 mfd: cros ec: Lock the SPI bus while holding chipselect
>>> 3821a065f567 spi: Drop owner assignment from spi_drivers
>>> 385c0012dfa0 mfd: cros_ec_i2c: Add OF match table
>>> a78ea195f77a mfd: cros_ec: spi: Add OF match table
>>> 0e777366fb0e mfd: Drop owner assignment from i2c_drivers
>>> cf649e00769a mfd: cros_ec: Staticise some newly introduced structures
>>> ff4378f4b813 mfd: cros_ec: spi: Add delay for asserting CS
>>> 57b33ff077be mfd: cros_ec: Support multiple EC in a system
>>>
>>> So...what's the problem with the subject?
>>>
>>
>> I also don't see what's wrong with the subject line...
> 
> Then you're not looking hard enough.
> 
> Every single patch description in the MFD subsystem starts with an
> uppercase character, just as you would any sentence.
> 

Oh, I see. I didn't notice the difference indeed. Thanks a lot for
the clarification.

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-12 13:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08 20:11 [PATCH] mfd: cros_ec: allow building for ARM64 Brian Norris
2016-04-11  8:48 ` Lee Jones
2016-04-11 16:42   ` Brian Norris
2016-04-11 17:15     ` Javier Martinez Canillas
2016-04-12  7:13       ` Lee Jones
2016-04-12 13:54         ` Javier Martinez Canillas

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.