All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models
@ 2023-01-13 23:11 Philip Prindeville
  2023-01-17  5:40 ` Philip Prindeville
  2023-01-17 10:25 ` Hans de Goede
  0 siblings, 2 replies; 6+ messages in thread
From: Philip Prindeville @ 2023-01-13 23:11 UTC (permalink / raw)
  To: platform-driver-x86, linux-x86_64
  Cc: Ed Wildgoose, Andres Salomon, Andreas Eberlein, Paul Spooren,
	Philip Prindeville

From: Philip Prindeville <philipp@redfish-solutions.com>

Extend PCEngines APU2 driver to derivative models APU3, 4, 5
and 6.

Of the five, the APU5 is the most dissimilar.  The APU2 is not
derivative of the APU1, and we call that out in the leds-apu
driver.  We also clarify the expanded compatibility of the
pcengines-apuv2 driver in the Kconfig menu.

We correct some line labeling for GPIO lines 4-6, and we add
appropriate definitions to the GPIO lines for the APU5 which
is mapped out differently.

The majority of the work was done by Ed Wildgoose.  Philip
Prindeville took over the effort to upstream the fixes and
made some minor cleanup.

Philip Prindeville (2):
  x86: Support APU5 & APU6 in PCEngines platform driver
  x86: Further PCEngines APU4/5/6 cleanup

 drivers/leds/leds-apu.c                |   2 +-
 drivers/platform/x86/Kconfig           |   4 +-
 drivers/platform/x86/pcengines-apuv2.c | 118 ++++++++++++++++++++++---
 3 files changed, 107 insertions(+), 17 deletions(-)

-- 
2.34.1


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

* Re: [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models
  2023-01-13 23:11 [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models Philip Prindeville
@ 2023-01-17  5:40 ` Philip Prindeville
  2023-01-17 10:25 ` Hans de Goede
  1 sibling, 0 replies; 6+ messages in thread
From: Philip Prindeville @ 2023-01-17  5:40 UTC (permalink / raw)
  To: platform-driver-x86, linux-x86_64
  Cc: Ed Wildgoose, Andres Salomon, Andreas Eberlein, Paul Spooren

For the record, we're using the APUv2 driver as patched by this series in Openwrt and there are no reported issues with it.



> On Jan 13, 2023, at 4:11 PM, Philip Prindeville <philipp@redfish-solutions.com> wrote:
> 
> From: Philip Prindeville <philipp@redfish-solutions.com>
> 
> Extend PCEngines APU2 driver to derivative models APU3, 4, 5
> and 6.
> 
> Of the five, the APU5 is the most dissimilar.  The APU2 is not
> derivative of the APU1, and we call that out in the leds-apu
> driver.  We also clarify the expanded compatibility of the
> pcengines-apuv2 driver in the Kconfig menu.
> 
> We correct some line labeling for GPIO lines 4-6, and we add
> appropriate definitions to the GPIO lines for the APU5 which
> is mapped out differently.
> 
> The majority of the work was done by Ed Wildgoose.  Philip
> Prindeville took over the effort to upstream the fixes and
> made some minor cleanup.
> 
> Philip Prindeville (2):
>  x86: Support APU5 & APU6 in PCEngines platform driver
>  x86: Further PCEngines APU4/5/6 cleanup
> 
> drivers/leds/leds-apu.c                |   2 +-
> drivers/platform/x86/Kconfig           |   4 +-
> drivers/platform/x86/pcengines-apuv2.c | 118 ++++++++++++++++++++++---
> 3 files changed, 107 insertions(+), 17 deletions(-)
> 
> -- 
> 2.34.1
> 


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

* Re: [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models
  2023-01-13 23:11 [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models Philip Prindeville
  2023-01-17  5:40 ` Philip Prindeville
@ 2023-01-17 10:25 ` Hans de Goede
  2023-01-19  7:17   ` Philip Prindeville
       [not found]   ` <7f5644a8-2e6f-b4c6-4db8-2419d1a7f005@metux.net>
  1 sibling, 2 replies; 6+ messages in thread
From: Hans de Goede @ 2023-01-17 10:25 UTC (permalink / raw)
  To: Philip Prindeville, platform-driver-x86, linux-x86_64,
	Enrico Weigelt, metux IT consult
  Cc: Ed Wildgoose, Andres Salomon, Andreas Eberlein, Paul Spooren

Hi Philip,

On 1/14/23 00:11, Philip Prindeville wrote:
> From: Philip Prindeville <philipp@redfish-solutions.com>
> 
> Extend PCEngines APU2 driver to derivative models APU3, 4, 5
> and 6.
> 
> Of the five, the APU5 is the most dissimilar.  The APU2 is not
> derivative of the APU1, and we call that out in the leds-apu
> driver.  We also clarify the expanded compatibility of the
> pcengines-apuv2 driver in the Kconfig menu.
> 
> We correct some line labeling for GPIO lines 4-6, and we add
> appropriate definitions to the GPIO lines for the APU5 which
> is mapped out differently.
> 
> The majority of the work was done by Ed Wildgoose.  Philip
> Prindeville took over the effort to upstream the fixes and
> made some minor cleanup.

Thank you both for your work on this.

In would really like to hear back from Enrico what he thinks
about these patches. FWIW I'm fine with merging these as is.

Also note that Enrico is listed as maintainer for the 
pcengines-apuv2.c file in MAINTAINERS, so you really should
have Cc-ed him on this.

Enrico, can you take a look at this series please? You can find
the 2 actual patches here:

https://lore.kernel.org/platform-driver-x86/20230113231139.436956-1-philipp@redfish-solutions.com/
https://lore.kernel.org/platform-driver-x86/20230113231140.437040-1-philipp@redfish-solutions.com/

Regards,

Hans


> 
> Philip Prindeville (2):
>   x86: Support APU5 & APU6 in PCEngines platform driver
>   x86: Further PCEngines APU4/5/6 cleanup
> 
>  drivers/leds/leds-apu.c                |   2 +-
>  drivers/platform/x86/Kconfig           |   4 +-
>  drivers/platform/x86/pcengines-apuv2.c | 118 ++++++++++++++++++++++---
>  3 files changed, 107 insertions(+), 17 deletions(-)
> 


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

* Re: [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models
  2023-01-17 10:25 ` Hans de Goede
@ 2023-01-19  7:17   ` Philip Prindeville
  2023-01-19  9:58     ` Hans de Goede
       [not found]   ` <7f5644a8-2e6f-b4c6-4db8-2419d1a7f005@metux.net>
  1 sibling, 1 reply; 6+ messages in thread
From: Philip Prindeville @ 2023-01-19  7:17 UTC (permalink / raw)
  To: Hans de Goede
  Cc: platform-driver-x86, linux-x86_64, Enrico Weigelt,
	metux IT consult, Ed Wildgoose, Andres Salomon, Andreas Eberlein,
	Paul Spooren, linux-kernel, x86



> On Jan 17, 2023, at 3:25 AM, Hans de Goede <hdegoede@redhat.com> wrote:
> 
> Hi Philip,
> 
> On 1/14/23 00:11, Philip Prindeville wrote:
>> From: Philip Prindeville <philipp@redfish-solutions.com>
>> 
>> Extend PCEngines APU2 driver to derivative models APU3, 4, 5
>> and 6.
>> 
>> Of the five, the APU5 is the most dissimilar.  The APU2 is not
>> derivative of the APU1, and we call that out in the leds-apu
>> driver.  We also clarify the expanded compatibility of the
>> pcengines-apuv2 driver in the Kconfig menu.
>> 
>> We correct some line labeling for GPIO lines 4-6, and we add
>> appropriate definitions to the GPIO lines for the APU5 which
>> is mapped out differently.
>> 
>> The majority of the work was done by Ed Wildgoose.  Philip
>> Prindeville took over the effort to upstream the fixes and
>> made some minor cleanup.
> 
> Thank you both for your work on this.
> 
> In would really like to hear back from Enrico what he thinks
> about these patches. FWIW I'm fine with merging these as is.
> 
> Also note that Enrico is listed as maintainer for the 
> pcengines-apuv2.c file in MAINTAINERS, so you really should
> have Cc-ed him on this.
> 
> Enrico, can you take a look at this series please? You can find
> the 2 actual patches here:
> 
> https://lore.kernel.org/platform-driver-x86/20230113231139.436956-1-philipp@redfish-solutions.com/
> https://lore.kernel.org/platform-driver-x86/20230113231140.437040-1-philipp@redfish-solutions.com/
> 
> Regards,
> 
> Hans


I tried to copy Enrico on earlier revisions of this patch but they bounced so I stopped including him.

-Philip


> 
> 
>> 
>> Philip Prindeville (2):
>>  x86: Support APU5 & APU6 in PCEngines platform driver
>>  x86: Further PCEngines APU4/5/6 cleanup
>> 
>> drivers/leds/leds-apu.c                |   2 +-
>> drivers/platform/x86/Kconfig           |   4 +-
>> drivers/platform/x86/pcengines-apuv2.c | 118 ++++++++++++++++++++++---
>> 3 files changed, 107 insertions(+), 17 deletions(-)
>> 
> 


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

* Re: [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models
  2023-01-19  7:17   ` Philip Prindeville
@ 2023-01-19  9:58     ` Hans de Goede
  0 siblings, 0 replies; 6+ messages in thread
From: Hans de Goede @ 2023-01-19  9:58 UTC (permalink / raw)
  To: Philip Prindeville
  Cc: platform-driver-x86, linux-x86_64, Enrico Weigelt,
	metux IT consult, Ed Wildgoose, Andres Salomon, Andreas Eberlein,
	Paul Spooren, linux-kernel, x86

Hi,

On 1/19/23 08:17, Philip Prindeville wrote:
> 
> 
>> On Jan 17, 2023, at 3:25 AM, Hans de Goede <hdegoede@redhat.com> wrote:
>>
>> Hi Philip,
>>
>> On 1/14/23 00:11, Philip Prindeville wrote:
>>> From: Philip Prindeville <philipp@redfish-solutions.com>
>>>
>>> Extend PCEngines APU2 driver to derivative models APU3, 4, 5
>>> and 6.
>>>
>>> Of the five, the APU5 is the most dissimilar.  The APU2 is not
>>> derivative of the APU1, and we call that out in the leds-apu
>>> driver.  We also clarify the expanded compatibility of the
>>> pcengines-apuv2 driver in the Kconfig menu.
>>>
>>> We correct some line labeling for GPIO lines 4-6, and we add
>>> appropriate definitions to the GPIO lines for the APU5 which
>>> is mapped out differently.
>>>
>>> The majority of the work was done by Ed Wildgoose.  Philip
>>> Prindeville took over the effort to upstream the fixes and
>>> made some minor cleanup.
>>
>> Thank you both for your work on this.
>>
>> In would really like to hear back from Enrico what he thinks
>> about these patches. FWIW I'm fine with merging these as is.
>>
>> Also note that Enrico is listed as maintainer for the 
>> pcengines-apuv2.c file in MAINTAINERS, so you really should
>> have Cc-ed him on this.
>>
>> Enrico, can you take a look at this series please? You can find
>> the 2 actual patches here:
>>
>> https://lore.kernel.org/platform-driver-x86/20230113231139.436956-1-philipp@redfish-solutions.com/
>> https://lore.kernel.org/platform-driver-x86/20230113231140.437040-1-philipp@redfish-solutions.com/
>>
>> Regards,
>>
>> Hans
> 
> 
> I tried to copy Enrico on earlier revisions of this patch but they bounced so I stopped including him.

Weird I don't think I have received any bounces for Enrico.

Regards,

Hans




>>> Philip Prindeville (2):
>>>  x86: Support APU5 & APU6 in PCEngines platform driver
>>>  x86: Further PCEngines APU4/5/6 cleanup
>>>
>>> drivers/leds/leds-apu.c                |   2 +-
>>> drivers/platform/x86/Kconfig           |   4 +-
>>> drivers/platform/x86/pcengines-apuv2.c | 118 ++++++++++++++++++++++---
>>> 3 files changed, 107 insertions(+), 17 deletions(-)
>>>
>>
> 


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

* Re: [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models
       [not found]   ` <7f5644a8-2e6f-b4c6-4db8-2419d1a7f005@metux.net>
@ 2023-02-18 19:14     ` Ed W
  0 siblings, 0 replies; 6+ messages in thread
From: Ed W @ 2023-02-18 19:14 UTC (permalink / raw)
  To: Enrico Weigelt, metux IT consult, Hans de Goede,
	Philip Prindeville, platform-driver-x86, linux-x86_64,
	Enrico Weigelt, metux IT consult
  Cc: Andres Salomon, Andreas Eberlein, Paul Spooren

On 17/02/2023 12:31, Enrico Weigelt, metux IT consult wrote:
> On 17.01.23 11:25, Hans de Goede wrote:
>
>> Enrico, can you take a look at this series please? You can find
>> the 2 actual patches here:
>>
>> https://lore.kernel.org/platform-driver-x86/20230113231139.436956-1-philipp@redfish-solutions.com/
>> https://lore.kernel.org/platform-driver-x86/20230113231140.437040-1-philipp@redfish-solutions.com/
>
> NAK on renaming the RST lines (at least for the older boards), this will
> break existing applications in the field (I know for sure certain ones I
> wrote myself - and they're used in remote places!)
>
> These lines (at least for the older boards) are supposed to be generic
> RST lines on the mpcie ports - not strictly limited to modems - that's
> why I've chosen this naming.


Sure - but the *wiring* of the RST lines *follows* the modems.

Can you give an example of how you are using the RST line, such that it's naming affects you please?
Hans pointed out that generally it's the number order which is used?

Ed W


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

end of thread, other threads:[~2023-02-18 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 23:11 [PATCH v4 0/2] Expand APU2 driver to 3/4/5/6 models Philip Prindeville
2023-01-17  5:40 ` Philip Prindeville
2023-01-17 10:25 ` Hans de Goede
2023-01-19  7:17   ` Philip Prindeville
2023-01-19  9:58     ` Hans de Goede
     [not found]   ` <7f5644a8-2e6f-b4c6-4db8-2419d1a7f005@metux.net>
2023-02-18 19:14     ` Ed W

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.