Skip to content

i2c: Set i2c pinctrl recovery info from it's device pinctrl

Hanna Hawa linux-gpio linux-i2c lkml 3 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 7 repliesApplied
  2. v42 patches 2 repliesSuperseded
  3. v31 patch 8 repliesSuperseded

Changes in v5 from the cover letter

- Fix include misplaced
- Update variable set order to reduce one line
- Add Reviewed-by: Andy Shevchenko

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2pinctrl: Add an API to get the pinctrl pins if initializedinclude/linux/pinctrl/devinfo.h+15 -02 replies
2/2i2c: Set i2c pinctrl recovery info from it's device pinctrldrivers/i2c/i2c-core-base.c+4 -15 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoLinus Walleij
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] i2c: Set i2c pinctrl recovery info from it's device pinctrl

This series include two changes:
1. Adding new API to get the device pinctrl information when it's initialized before device probed.
2. Make the i2c init recovery to get the device pins if it's not initialized by the driver from the device pins.

Change Log v4->v5:
- Fix include misplaced
- Update variable set order to reduce one line
- Add Reviewed-by: Andy Shevchenko

Change Log v3->v4:
- Split the change into 2 commits
- Add cover letter and remove change log from commit message
- Fix compilation failure when CONFIG_PINCTRL is not defined

Change Log v2->v3:
- Add API to get the device pinctrl
- Make the i2c init recovery to get the device pins

Change Log v1->v2:
- set the rinfo->pinctrl to dev->pins->p instead calling devm_pinctrl_get()

Hanna Hawa (2):
pinctrl: Add an API to get the pinctrl pins if initialized
i2c: Set i2c pinctrl recovery info from it's device pinctrl

 drivers/i2c/i2c-core-base.c     |  5 ++++-
 include/linux/pinctrl/devinfo.h | 15 +++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
Signature · 1 line
2.38.1