linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs
@ 2016-07-04 15:24 Andy Shevchenko
  2016-07-22 12:45 ` Andy Shevchenko
  2016-08-09 14:28 ` Lee Jones
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Shevchenko @ 2016-07-04 15:24 UTC (permalink / raw)
  To: Lee Jones, linux-kernel, Mika Westerberg

From: Mika Westerberg <mika.westerberg@linux.intel.com>

Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new
IDs to the list of supported devices.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
index 1d79a3c..d19569a 100644
--- a/drivers/mfd/intel-lpss-pci.c
+++ b/drivers/mfd/intel-lpss-pci.c
@@ -111,6 +111,19 @@ static const struct intel_lpss_platform_info bxt_i2c_info = {
 	.properties = bxt_i2c_properties,
 };
 
+static const struct intel_lpss_platform_info kbl_info = {
+	.clk_rate = 120000000,
+};
+
+static const struct intel_lpss_platform_info kbl_uart_info = {
+	.clk_rate = 120000000,
+	.clk_con_id = "baudclk",
+};
+
+static const struct intel_lpss_platform_info kbl_i2c_info = {
+	.clk_rate = 133000000,
+};
+
 static const struct pci_device_id intel_lpss_pci_ids[] = {
 	/* BXT A-Step */
 	{ PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info },
@@ -181,6 +194,16 @@ static const struct pci_device_id intel_lpss_pci_ids[] = {
 	{ PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
 	{ PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
 	{ PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
+	/* KBL-H */
+	{ PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&kbl_uart_info },
+	{ PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&kbl_uart_info },
+	{ PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&kbl_info },
+	{ PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&kbl_info },
+	{ PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&kbl_i2c_info },
+	{ PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&kbl_i2c_info },
+	{ PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&kbl_i2c_info },
+	{ PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&kbl_i2c_info },
+	{ PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&kbl_uart_info },
 	{ }
 };
 MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids);
-- 
2.8.1

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

* Re: [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs
  2016-07-04 15:24 [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs Andy Shevchenko
@ 2016-07-22 12:45 ` Andy Shevchenko
  2016-07-22 13:53   ` Lee Jones
  2016-08-09 14:28 ` Lee Jones
  1 sibling, 1 reply; 6+ messages in thread
From: Andy Shevchenko @ 2016-07-22 12:45 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Lee Jones, linux-kernel, Mika Westerberg

On Mon, Jul 4, 2016 at 6:24 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> From: Mika Westerberg <mika.westerberg@linux.intel.com>
>
> Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new
> IDs to the list of supported devices.

I'm sorry for an empty ping, but we would like to clarify what is the
plan for this patch. Will it be material for v4.8-rc1?

>
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
>  drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
> index 1d79a3c..d19569a 100644
> --- a/drivers/mfd/intel-lpss-pci.c
> +++ b/drivers/mfd/intel-lpss-pci.c
> @@ -111,6 +111,19 @@ static const struct intel_lpss_platform_info bxt_i2c_info = {
>         .properties = bxt_i2c_properties,
>  };
>
> +static const struct intel_lpss_platform_info kbl_info = {
> +       .clk_rate = 120000000,
> +};
> +
> +static const struct intel_lpss_platform_info kbl_uart_info = {
> +       .clk_rate = 120000000,
> +       .clk_con_id = "baudclk",
> +};
> +
> +static const struct intel_lpss_platform_info kbl_i2c_info = {
> +       .clk_rate = 133000000,
> +};
> +
>  static const struct pci_device_id intel_lpss_pci_ids[] = {
>         /* BXT A-Step */
>         { PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info },
> @@ -181,6 +194,16 @@ static const struct pci_device_id intel_lpss_pci_ids[] = {
>         { PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
>         { PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
>         { PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
> +       /* KBL-H */
> +       { PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&kbl_uart_info },
> +       { PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&kbl_uart_info },
> +       { PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&kbl_info },
> +       { PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&kbl_info },
> +       { PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&kbl_i2c_info },
> +       { PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&kbl_i2c_info },
> +       { PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&kbl_i2c_info },
> +       { PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&kbl_i2c_info },
> +       { PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&kbl_uart_info },
>         { }
>  };
>  MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids);
> --
> 2.8.1
>



-- 
With Best Regards,
Andy Shevchenko

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

* Re: [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs
  2016-07-22 12:45 ` Andy Shevchenko
@ 2016-07-22 13:53   ` Lee Jones
  0 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2016-07-22 13:53 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Andy Shevchenko, linux-kernel, Mika Westerberg

On Fri, 22 Jul 2016, Andy Shevchenko wrote:

> On Mon, Jul 4, 2016 at 6:24 PM, Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> > From: Mika Westerberg <mika.westerberg@linux.intel.com>
> >
> > Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new
> > IDs to the list of supported devices.
> 
> I'm sorry for an empty ping, but we would like to clarify what is the
> plan for this patch. Will it be material for v4.8-rc1?

I don't tend to accept !bug-fix patches post -rc6, and the
merge-window is due to open imminently.  So it's due for v4.9.

> > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > ---
> >  drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++
> >  1 file changed, 23 insertions(+)
> >
> > diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
> > index 1d79a3c..d19569a 100644
> > --- a/drivers/mfd/intel-lpss-pci.c
> > +++ b/drivers/mfd/intel-lpss-pci.c
> > @@ -111,6 +111,19 @@ static const struct intel_lpss_platform_info bxt_i2c_info = {
> >         .properties = bxt_i2c_properties,
> >  };
> >
> > +static const struct intel_lpss_platform_info kbl_info = {
> > +       .clk_rate = 120000000,
> > +};
> > +
> > +static const struct intel_lpss_platform_info kbl_uart_info = {
> > +       .clk_rate = 120000000,
> > +       .clk_con_id = "baudclk",
> > +};
> > +
> > +static const struct intel_lpss_platform_info kbl_i2c_info = {
> > +       .clk_rate = 133000000,
> > +};
> > +
> >  static const struct pci_device_id intel_lpss_pci_ids[] = {
> >         /* BXT A-Step */
> >         { PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info },
> > @@ -181,6 +194,16 @@ static const struct pci_device_id intel_lpss_pci_ids[] = {
> >         { PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
> >         { PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
> >         { PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
> > +       /* KBL-H */
> > +       { PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&kbl_uart_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&kbl_uart_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&kbl_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&kbl_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&kbl_i2c_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&kbl_i2c_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&kbl_i2c_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&kbl_i2c_info },
> > +       { PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&kbl_uart_info },
> >         { }
> >  };
> >  MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids);
> >
> 
> 
> 

-- 
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 v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs
  2016-07-04 15:24 [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs Andy Shevchenko
  2016-07-22 12:45 ` Andy Shevchenko
@ 2016-08-09 14:28 ` Lee Jones
  2016-08-22 14:50   ` Andy Shevchenko
  1 sibling, 1 reply; 6+ messages in thread
From: Lee Jones @ 2016-08-09 14:28 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, Mika Westerberg

On Mon, 04 Jul 2016, Andy Shevchenko wrote:

> From: Mika Westerberg <mika.westerberg@linux.intel.com>
> 
> Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new
> IDs to the list of supported devices.
> 
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
>  drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

Applied, thanks.

> diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
> index 1d79a3c..d19569a 100644
> --- a/drivers/mfd/intel-lpss-pci.c
> +++ b/drivers/mfd/intel-lpss-pci.c
> @@ -111,6 +111,19 @@ static const struct intel_lpss_platform_info bxt_i2c_info = {
>  	.properties = bxt_i2c_properties,
>  };
>  
> +static const struct intel_lpss_platform_info kbl_info = {
> +	.clk_rate = 120000000,
> +};
> +
> +static const struct intel_lpss_platform_info kbl_uart_info = {
> +	.clk_rate = 120000000,
> +	.clk_con_id = "baudclk",
> +};
> +
> +static const struct intel_lpss_platform_info kbl_i2c_info = {
> +	.clk_rate = 133000000,
> +};
> +
>  static const struct pci_device_id intel_lpss_pci_ids[] = {
>  	/* BXT A-Step */
>  	{ PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info },
> @@ -181,6 +194,16 @@ static const struct pci_device_id intel_lpss_pci_ids[] = {
>  	{ PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
>  	{ PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
>  	{ PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
> +	/* KBL-H */
> +	{ PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&kbl_uart_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&kbl_uart_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&kbl_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&kbl_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&kbl_i2c_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&kbl_i2c_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&kbl_i2c_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&kbl_i2c_info },
> +	{ PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&kbl_uart_info },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids);

-- 
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 v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs
  2016-08-09 14:28 ` Lee Jones
@ 2016-08-22 14:50   ` Andy Shevchenko
  2016-08-31 11:41     ` Lee Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Shevchenko @ 2016-08-22 14:50 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, Mika Westerberg

On Tue, 2016-08-09 at 15:28 +0100, Lee Jones wrote:
> On Mon, 04 Jul 2016, Andy Shevchenko wrote:
> 
> > 
> > From: Mika Westerberg <mika.westerberg@linux.intel.com>
> > 
> > Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add
> > the new
> > IDs to the list of supported devices.
> > 
> > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > ---
> >  drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++
> >  1 file changed, 23 insertions(+)
> 
> Applied, thanks.

I do not see it in linux-next. Am I missing something?


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

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

* Re: [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs
  2016-08-22 14:50   ` Andy Shevchenko
@ 2016-08-31 11:41     ` Lee Jones
  0 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2016-08-31 11:41 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, Mika Westerberg

On Mon, 22 Aug 2016, Andy Shevchenko wrote:

> On Tue, 2016-08-09 at 15:28 +0100, Lee Jones wrote:
> > On Mon, 04 Jul 2016, Andy Shevchenko wrote:
> > 
> > > 
> > > From: Mika Westerberg <mika.westerberg@linux.intel.com>
> > > 
> > > Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add
> > > the new
> > > IDs to the list of supported devices.
> > > 
> > > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > > ---
> > >  drivers/mfd/intel-lpss-pci.c | 23 +++++++++++++++++++++++
> > >  1 file changed, 23 insertions(+)
> > 
> > Applied, thanks.
> 
> I do not see it in linux-next. Am I missing something?

Should be there.

-- 
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

end of thread, other threads:[~2016-08-31 11:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04 15:24 [PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs Andy Shevchenko
2016-07-22 12:45 ` Andy Shevchenko
2016-07-22 13:53   ` Lee Jones
2016-08-09 14:28 ` Lee Jones
2016-08-22 14:50   ` Andy Shevchenko
2016-08-31 11:41     ` 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).