linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
@ 2017-05-09  4:40 Jan Kiszka
  2017-05-09 11:34 ` Andy Shevchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Kiszka @ 2017-05-09  4:40 UTC (permalink / raw)
  To: Lee Jones, Linux Kernel Mailing List; +Cc: Andy Shevchenko

The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
its I2C frequency.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Sascha Weisenberger <sascha.weisenberger@siemens.com>

---
 drivers/mfd/intel_quark_i2c_gpio.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c
index 7946d6e38b87..98dddf2831ad 100644
--- a/drivers/mfd/intel_quark_i2c_gpio.c
+++ b/drivers/mfd/intel_quark_i2c_gpio.c
@@ -72,6 +72,10 @@ static const struct i2c_mode_info platform_i2c_mode_info[] = {
 		.name = "GalileoGen2",
 		.i2c_scl_freq = 400000,
 	},
+	{
+		.name = "SIMATIC IOT2000",
+		.i2c_scl_freq = 400000,
+	},
 	{}
 };
 
-- 
2.12.0

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

* Re: [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
  2017-05-09  4:40 [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform Jan Kiszka
@ 2017-05-09 11:34 ` Andy Shevchenko
  2017-05-12  8:12   ` Lee Jones
  0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2017-05-09 11:34 UTC (permalink / raw)
  To: Jan Kiszka, Lee Jones, Linux Kernel Mailing List

On Tue, 2017-05-09 at 06:40 +0200, Jan Kiszka wrote:
> The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
> its I2C frequency.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

> Signed-off-by: Sascha Weisenberger <sascha.weisenberger@siemens.com>

Hmm... I thought that SoB chain goes from first author to last. (Or in
case of maintainer / submitter their SoB goes at the end, which is
apparently not the case here).

Other than above

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> 
> ---
>  drivers/mfd/intel_quark_i2c_gpio.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/mfd/intel_quark_i2c_gpio.c
> b/drivers/mfd/intel_quark_i2c_gpio.c
> index 7946d6e38b87..98dddf2831ad 100644
> --- a/drivers/mfd/intel_quark_i2c_gpio.c
> +++ b/drivers/mfd/intel_quark_i2c_gpio.c
> @@ -72,6 +72,10 @@ static const struct i2c_mode_info
> platform_i2c_mode_info[] = {
>  		.name = "GalileoGen2",
>  		.i2c_scl_freq = 400000,
>  	},
> +	{
> +		.name = "SIMATIC IOT2000",
> +		.i2c_scl_freq = 400000,
> +	},
>  	{}
>  };
>  

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

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

* Re: [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
  2017-05-09 11:34 ` Andy Shevchenko
@ 2017-05-12  8:12   ` Lee Jones
  2017-05-19  7:55     ` Jan Kiszka
  0 siblings, 1 reply; 7+ messages in thread
From: Lee Jones @ 2017-05-12  8:12 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Jan Kiszka, Linux Kernel Mailing List

On Tue, 09 May 2017, Andy Shevchenko wrote:

> On Tue, 2017-05-09 at 06:40 +0200, Jan Kiszka wrote:
> > The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
> > its I2C frequency.
> > 
> > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> 
> > Signed-off-by: Sascha Weisenberger <sascha.weisenberger@siemens.com>
> 
> Hmm... I thought that SoB chain goes from first author to last. (Or in
> case of maintainer / submitter their SoB goes at the end, which is
> apparently not the case here).

Yes, that's correct.  I will switch them when I apply the patch.

> Other than above
> 
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> > 
> > ---
> >  drivers/mfd/intel_quark_i2c_gpio.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/drivers/mfd/intel_quark_i2c_gpio.c
> > b/drivers/mfd/intel_quark_i2c_gpio.c
> > index 7946d6e38b87..98dddf2831ad 100644
> > --- a/drivers/mfd/intel_quark_i2c_gpio.c
> > +++ b/drivers/mfd/intel_quark_i2c_gpio.c
> > @@ -72,6 +72,10 @@ static const struct i2c_mode_info
> > platform_i2c_mode_info[] = {
> >  		.name = "GalileoGen2",
> >  		.i2c_scl_freq = 400000,
> >  	},
> > +	{
> > +		.name = "SIMATIC IOT2000",
> > +		.i2c_scl_freq = 400000,
> > +	},
> >  	{}
> >  };
> >  
> 

-- 
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] 7+ messages in thread

* Re: [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
  2017-05-12  8:12   ` Lee Jones
@ 2017-05-19  7:55     ` Jan Kiszka
  2017-05-19 14:22       ` Andy Shevchenko
  2017-05-22  9:36       ` Lee Jones
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Kiszka @ 2017-05-19  7:55 UTC (permalink / raw)
  To: Lee Jones, Andy Shevchenko; +Cc: Linux Kernel Mailing List

On 2017-05-12 10:12, Lee Jones wrote:
> On Tue, 09 May 2017, Andy Shevchenko wrote:
> 
>> On Tue, 2017-05-09 at 06:40 +0200, Jan Kiszka wrote:
>>> The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
>>> its I2C frequency.
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>
>>> Signed-off-by: Sascha Weisenberger <sascha.weisenberger@siemens.com>
>>
>> Hmm... I thought that SoB chain goes from first author to last. (Or in
>> case of maintainer / submitter their SoB goes at the end, which is
>> apparently not the case here).
> 
> Yes, that's correct.  I will switch them when I apply the patch.

Apparently, the patch is not yet in mfd-next, so let me retract it: I
just realized we should rather do an exact name/asset-tags match here as
well (like for exar and stmmac).

Moreover, I'd like to rework the DMI matching along Andy's suggestion
and use native matching methods (dmi_system_id table) instead of the
current open-code one. Patches will follow soon.

Jan

> 
>> Other than above
>>
>> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 
>>>
>>> ---
>>>  drivers/mfd/intel_quark_i2c_gpio.c | 4 ++++
>>>  1 file changed, 4 insertions(+)
>>>
>>> diff --git a/drivers/mfd/intel_quark_i2c_gpio.c
>>> b/drivers/mfd/intel_quark_i2c_gpio.c
>>> index 7946d6e38b87..98dddf2831ad 100644
>>> --- a/drivers/mfd/intel_quark_i2c_gpio.c
>>> +++ b/drivers/mfd/intel_quark_i2c_gpio.c
>>> @@ -72,6 +72,10 @@ static const struct i2c_mode_info
>>> platform_i2c_mode_info[] = {
>>>  		.name = "GalileoGen2",
>>>  		.i2c_scl_freq = 400000,
>>>  	},
>>> +	{
>>> +		.name = "SIMATIC IOT2000",
>>> +		.i2c_scl_freq = 400000,
>>> +	},
>>>  	{}
>>>  };
>>>  
>>
> 

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

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

* Re: [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
  2017-05-19  7:55     ` Jan Kiszka
@ 2017-05-19 14:22       ` Andy Shevchenko
  2017-05-19 14:35         ` Jan Kiszka
  2017-05-22  9:36       ` Lee Jones
  1 sibling, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2017-05-19 14:22 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Lee Jones, Andy Shevchenko, Linux Kernel Mailing List

On Fri, May 19, 2017 at 10:55 AM, Jan Kiszka <jan.kiszka@siemens.com> wrote:
> On 2017-05-12 10:12, Lee Jones wrote:
>> On Tue, 09 May 2017, Andy Shevchenko wrote:
>> On Tue, 2017-05-09 at 06:40 +0200, Jan Kiszka wrote:
>>>> The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
>>>> its I2C frequency.

> Apparently, the patch is not yet in mfd-next, so let me retract it: I
> just realized we should rather do an exact name/asset-tags match here as
> well (like for exar and stmmac).
>
> Moreover, I'd like to rework the DMI matching along Andy's suggestion
> and use native matching methods (dmi_system_id table) instead of the
> current open-code one. Patches will follow soon.

Suggestion was made regarding another driver and code.

-- 
With Best Regards,
Andy Shevchenko

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

* Re: [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
  2017-05-19 14:22       ` Andy Shevchenko
@ 2017-05-19 14:35         ` Jan Kiszka
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Kiszka @ 2017-05-19 14:35 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Lee Jones, Andy Shevchenko, Linux Kernel Mailing List

On 2017-05-19 16:22, Andy Shevchenko wrote:
> On Fri, May 19, 2017 at 10:55 AM, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>> On 2017-05-12 10:12, Lee Jones wrote:
>>> On Tue, 09 May 2017, Andy Shevchenko wrote:
>>> On Tue, 2017-05-09 at 06:40 +0200, Jan Kiszka wrote:
>>>>> The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
>>>>> its I2C frequency.
> 
>> Apparently, the patch is not yet in mfd-next, so let me retract it: I
>> just realized we should rather do an exact name/asset-tags match here as
>> well (like for exar and stmmac).
>>
>> Moreover, I'd like to rework the DMI matching along Andy's suggestion
>> and use native matching methods (dmi_system_id table) instead of the
>> current open-code one. Patches will follow soon.
> 
> Suggestion was made regarding another driver and code.
> 

Yes, but it applies here analogously, just like to stmmac_pci.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

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

* Re: [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
  2017-05-19  7:55     ` Jan Kiszka
  2017-05-19 14:22       ` Andy Shevchenko
@ 2017-05-22  9:36       ` Lee Jones
  1 sibling, 0 replies; 7+ messages in thread
From: Lee Jones @ 2017-05-22  9:36 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Andy Shevchenko, Linux Kernel Mailing List

On Fri, 19 May 2017, Jan Kiszka wrote:

> On 2017-05-12 10:12, Lee Jones wrote:
> > On Tue, 09 May 2017, Andy Shevchenko wrote:
> > 
> >> On Tue, 2017-05-09 at 06:40 +0200, Jan Kiszka wrote:
> >>> The SIMATIC IOT2000 is derived from the Galileo Gen2 board and shares
> >>> its I2C frequency.
> >>>
> >>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> >>
> >>> Signed-off-by: Sascha Weisenberger <sascha.weisenberger@siemens.com>
> >>
> >> Hmm... I thought that SoB chain goes from first author to last. (Or in
> >> case of maintainer / submitter their SoB goes at the end, which is
> >> apparently not the case here).
> > 
> > Yes, that's correct.  I will switch them when I apply the patch.
> 
> Apparently, the patch is not yet in mfd-next, so let me retract it: I
> just realized we should rather do an exact name/asset-tags match here as
> well (like for exar and stmmac).

Consider it done.

> Moreover, I'd like to rework the DMI matching along Andy's suggestion
> and use native matching methods (dmi_system_id table) instead of the
> current open-code one. Patches will follow soon.
> 
> Jan
> 
> > 
> >> Other than above
> >>
> >> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > 
> >>>
> >>> ---
> >>>  drivers/mfd/intel_quark_i2c_gpio.c | 4 ++++
> >>>  1 file changed, 4 insertions(+)
> >>>
> >>> diff --git a/drivers/mfd/intel_quark_i2c_gpio.c
> >>> b/drivers/mfd/intel_quark_i2c_gpio.c
> >>> index 7946d6e38b87..98dddf2831ad 100644
> >>> --- a/drivers/mfd/intel_quark_i2c_gpio.c
> >>> +++ b/drivers/mfd/intel_quark_i2c_gpio.c
> >>> @@ -72,6 +72,10 @@ static const struct i2c_mode_info
> >>> platform_i2c_mode_info[] = {
> >>>  		.name = "GalileoGen2",
> >>>  		.i2c_scl_freq = 400000,
> >>>  	},
> >>> +	{
> >>> +		.name = "SIMATIC IOT2000",
> >>> +		.i2c_scl_freq = 400000,
> >>> +	},
> >>>  	{}
> >>>  };
> >>>  
> >>
> > 
> 

-- 
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] 7+ messages in thread

end of thread, other threads:[~2017-05-22  9:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09  4:40 [PATCH] mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform Jan Kiszka
2017-05-09 11:34 ` Andy Shevchenko
2017-05-12  8:12   ` Lee Jones
2017-05-19  7:55     ` Jan Kiszka
2017-05-19 14:22       ` Andy Shevchenko
2017-05-19 14:35         ` Jan Kiszka
2017-05-22  9:36       ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).