Skip to contentSkip to conversation

intel-pinctrl for 6.3-1

GIT PULL Andy Shevchenko 2 participants 2 messages Jan 30, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

Hi Linux pin control maintainers,

Here is the bunch of refactoring and cleanups for Intel pin control drivers for v6.3 cycle. Has been for a few weeks in Linux Next without any issue reported. Please pull for next.

Thanks,

With Best Regards,
Andy Shevchenko

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel.git tags/intel-pinctrl-v6.3-1

for you to fetch changes up to 88f8ac47bddc1674b2840c733f1120a548037199:

pinctrl: Proofreading and updating the documentation (part 2) (2023-01-17 17:42:29 +0200)

----------------------------------------------------------------
intel-pinctrl for v6.3-1

* Add ~4kOhm bias support to Intel pin control drivers
* Convert Intel pin control drivers to use INTEL_COMMUNITY_*()
* Add struct pinfunction and use it in Intel pin control drivers
* Make pin control documentation up to date
* Miscellaneous cleanups

The following is an automated git shortlog grouped by driver:

pinctrl:
- Proofreading and updating the documentation accordingly
- Proofreading and updating the documentation (part 2)

alderlake:
- Replace ADL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

baytrail:
- Convert to use new memeber in struct intel_function

broxton:
- Replace BXT_COMMUNITY() by INTEL_COMMUNITY_SIZE()

cannonlake:
- Replace CNL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

cedarfork:
- Replace CDF_COMMUNITY() by INTEL_COMMUNITY_GPPS()

cherryview:
- Convert to use new memeber in struct intel_function

denverton:
- Replace DNV_COMMUNITY() by INTEL_COMMUNITY_GPPS()

elkhartlake:
- Replace EHL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

emmitsburg:
- Replace EBG_COMMUNITY() by INTEL_COMMUNITY_GPPS()

geminilake:
- Replace GLK_COMMUNITY() by INTEL_COMMUNITY_SIZE()

icelake:
- Replace ICL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

intel:

 -  Get rid of unused members in struct intel_function
 -  Make use of struct pinfunction and PINCTRL_PINFUNCTION()
 -  Define maximum pad number in the group
 -  Use same order of bit fields for PADCFG2
 -  Add ~4k bias support
 -  Add definitions to all possible biases
 -  Deduplicate some code in intel_config_set_pull()
 -  Add default case to intel_config_set_pull()
 -  Convert to generic_handle_domain_irq()
 -  Always use gpp_num_padown_regs in the main driver
 -  Introduce INTEL_COMMUNITY_*() to unify community macros

Introduce struct pinfunction and PINCTRL_PINFUNCTION() macro:
- Introduce struct pinfunction and PINCTRL_PINFUNCTION() macro

jasperlake:
- Replace JSL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

lakefield:
- Replace LKF_COMMUNITY() by INTEL_COMMUNITY_GPPS()

lewisburg:
- Replace LBG_COMMUNITY() by INTEL_COMMUNITY_SIZE()

lynxpoint:
- Convert to use new memeber in struct intel_function

merrifield:
- Convert to use new memeber in struct intel_function

meteorlake:
- Replace MTL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

moorefield:
- Convert to use new memeber in struct intel_function

sunrisepoint:
- Replace SPT_COMMUNITY() by INTEL_COMMUNITY_*()

tigerlake:
- Replace TGL_COMMUNITY() by INTEL_COMMUNITY_GPPS()

----------------------------------------------------------------
Andy Shevchenko (33):
pinctrl: intel: Introduce INTEL_COMMUNITY_*() to unify community macros
pinctrl: alderlake: Replace ADL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: broxton: Replace BXT_COMMUNITY() by INTEL_COMMUNITY_SIZE()
pinctrl: cannonlake: Replace CNL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: cedarfork: Replace CDF_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: denverton: Replace DNV_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: elkhartlake: Replace EHL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: emmitsburg: Replace EBG_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: geminilake: Replace GLK_COMMUNITY() by INTEL_COMMUNITY_SIZE()
pinctrl: icelake: Replace ICL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: jasperlake: Replace JSL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: lakefield: Replace LKF_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: lewisburg: Replace LBG_COMMUNITY() by INTEL_COMMUNITY_SIZE()
pinctrl: meteorlake: Replace MTL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: tigerlake: Replace TGL_COMMUNITY() by INTEL_COMMUNITY_GPPS()
pinctrl: sunrisepoint: Replace SPT_COMMUNITY() by INTEL_COMMUNITY_*()
pinctrl: intel: Always use gpp_num_padown_regs in the main driver
pinctrl: intel: Convert to generic_handle_domain_irq()
pinctrl: intel: Add default case to intel_config_set_pull()
pinctrl: intel: Deduplicate some code in intel_config_set_pull()
pinctrl: intel: Add definitions to all possible biases
pinctrl: intel: Add ~4k bias support
pinctrl: intel: Use same order of bit fields for PADCFG2
pinctrl: intel: Define maximum pad number in the group
pinctrl: Introduce struct pinfunction and PINCTRL_PINFUNCTION() macro
pinctrl: intel: Make use of struct pinfunction and PINCTRL_PINFUNCTION()
pinctrl: baytrail: Convert to use new memeber in struct intel_function
pinctrl: cherryview: Convert to use new memeber in struct intel_function
pinctrl: lynxpoint: Convert to use new memeber in struct intel_function
pinctrl: merrifield: Convert to use new memeber in struct intel_function
pinctrl: moorefield: Convert to use new memeber in struct intel_function
pinctrl: intel: Get rid of unused members in struct intel_function
pinctrl: Proofreading and updating the documentation accordingly

Bagas Sanjaya (1):
pinctrl: Proofreading and updating the documentation (part 2)

 Documentation/driver-api/pin-control.rst     | 498 +++++++++++++--------------
 drivers/pinctrl/intel/pinctrl-alderlake.c    |  18 +-
 drivers/pinctrl/intel/pinctrl-baytrail.c     |  10 +-
 drivers/pinctrl/intel/pinctrl-broxton.c      |  31 +-
 drivers/pinctrl/intel/pinctrl-cannonlake.c   |  31 +-
 drivers/pinctrl/intel/pinctrl-cedarfork.c    |  13 +-
 drivers/pinctrl/intel/pinctrl-cherryview.c   |   6 +-
 drivers/pinctrl/intel/pinctrl-denverton.c    |  13 +-
 drivers/pinctrl/intel/pinctrl-elkhartlake.c  |  24 +-
 drivers/pinctrl/intel/pinctrl-emmitsburg.c   |  13 +-
 drivers/pinctrl/intel/pinctrl-geminilake.c   |  21 +-
 drivers/pinctrl/intel/pinctrl-icelake.c      |  35 +-
 drivers/pinctrl/intel/pinctrl-intel.c        |  74 ++--
 drivers/pinctrl/intel/pinctrl-intel.h        |  55 ++-
 drivers/pinctrl/intel/pinctrl-jasperlake.c   |  13 +-
 drivers/pinctrl/intel/pinctrl-lakefield.c    |  13 +-
 drivers/pinctrl/intel/pinctrl-lewisburg.c    |  12 +-
 drivers/pinctrl/intel/pinctrl-lynxpoint.c    |   8 +-
 drivers/pinctrl/intel/pinctrl-merrifield.c   |   6 +-
 drivers/pinctrl/intel/pinctrl-meteorlake.c   |  23 +-
 drivers/pinctrl/intel/pinctrl-moorefield.c   |   6 +-
 drivers/pinctrl/intel/pinctrl-sunrisepoint.c |  37 +-
 drivers/pinctrl/intel/pinctrl-tigerlake.c    |  30 +-
 include/linux/pinctrl/pinctrl.h              |  20 ++
 24 files changed, 440 insertions(+), 570 deletions(-)
Signature · 2 lines
With Best Regards,
Andy Shevchenko
#1 lore raw
Quoted 5 lines · Andy Shevchenko

Hi Linux pin control maintainers,

Here is the bunch of refactoring and cleanups for Intel pin control drivers for v6.3 cycle. Has been for a few weeks in Linux Next without any issue reported. Please pull for next.

Duly pulled into the pinctrl tree for v6.3, thanks!

Yours,
Linus Walleij