linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Introduce Intel Elkhart Lake PSE I/O
@ 2025-11-12  3:40 Raag Jadav
  2025-11-12  3:40 ` [PATCH v3 1/2] platform/x86/intel: " Raag Jadav
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Raag Jadav @ 2025-11-12  3:40 UTC (permalink / raw)
  To: hansg, ilpo.jarvinen, andriy.shevchenko, linus.walleij, brgl
  Cc: platform-driver-x86, linux-gpio, linux-kernel, Raag Jadav

This series adds Intel Elkhart Lake PSE I/O driver which enumerates the
PCI parent device and splits two child I/O devices (GPIO and Timed I/O
which are available as a single PCI function through shared MMIO) to their
respective I/O drivers.

In spirit, it is a continuation of PSE TIO series[1] which received
objection from Greg for abusing platform device and has now been reworked
to use auxiliary device instead.

Currently TIO driver[2] falls under PPS subsystem supporting generator
functionality and will be coming up in a separate follow-up series for
its independent design changes as per below roadmap.

=> Extend TIO driver[2] to support PPS client functionality.
=> Develop a PPS common driver which hooks to both generator and client
   counterparts.
=> Develop an auxiliary glue driver for PPS common driver.

[1] https://lore.kernel.org/r/20250307052231.551737-1-raag.jadav@intel.com
[2] https://lore.kernel.org/r/20250219040618.70962-1-subramanian.mohan@intel.com

v2:
- Consolidate OFFSET and SIZE macros (Andy)
- Make child device objects parent managed (Andy)
- Fix double free on error path (Andy)
- Shorten child device names to fit id string length (Andy)

v3:
- Use auxiliary_device_create() (Andy)

Raag Jadav (2):
  platform/x86/intel: Introduce Intel Elkhart Lake PSE I/O
  gpio: elkhartlake: Convert to auxiliary driver

 MAINTAINERS                             |  7 ++
 drivers/gpio/Kconfig                    |  2 +-
 drivers/gpio/gpio-elkhartlake.c         | 36 ++++++-----
 drivers/platform/x86/intel/Kconfig      | 13 ++++
 drivers/platform/x86/intel/Makefile     |  1 +
 drivers/platform/x86/intel/ehl_pse_io.c | 86 +++++++++++++++++++++++++
 include/linux/ehl_pse_io_aux.h          | 24 +++++++
 7 files changed, 151 insertions(+), 18 deletions(-)
 create mode 100644 drivers/platform/x86/intel/ehl_pse_io.c
 create mode 100644 include/linux/ehl_pse_io_aux.h

-- 
2.43.0


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

end of thread, other threads:[~2025-11-19 13:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-12  3:40 [PATCH v3 0/2] Introduce Intel Elkhart Lake PSE I/O Raag Jadav
2025-11-12  3:40 ` [PATCH v3 1/2] platform/x86/intel: " Raag Jadav
2025-11-19 11:27   ` Ilpo Järvinen
2025-11-12  3:40 ` [PATCH v3 2/2] gpio: elkhartlake: Convert to auxiliary driver Raag Jadav
2025-11-19 11:42   ` Ilpo Järvinen
2025-11-12 15:14 ` [PATCH v3 0/2] Introduce Intel Elkhart Lake PSE I/O Bartosz Golaszewski
2025-11-19  6:40   ` Raag Jadav
2025-11-19  7:29     ` Bartosz Golaszewski
2025-11-19 13:09 ` Bartosz Golaszewski

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