Skip to content

Make qcom pinctrl drivers tristate again

Stephen Boyd linux-arm-kernel linux-arm-msm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3driver-core: platform: Add platform_irq_count()drivers/base/platform.c include/linux/platform_device.h+21 -04 replies
2/3pinctrl: qcom: Use platform_irq_count() instead of of_irq_count()drivers/pinctrl/qcom/pinctrl-spmi-gpio.c drivers/pinctrl/qcom/pinctrl-spmi-mpp.c drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c +1 more+18 -84 replies
3/3Revert "pinctrl: qcom: make PMIC drivers bool"drivers/pinctrl/qcom/Kconfig+2 -21 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob HerringGreg Kroah-HartmanArnd Bergmann
1/3A-b A-b A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] Make qcom pinctrl drivers tristate again

One of my recent changes to the qcom pinctrl drivers introduced a module build failure due to of_irq_count() missing an export. Rob doesn't want us to export that API though, so this series introduces platform_irq_count() and uses it in the pinctrl drivers. Linus changed the Kconfig to bool so that the build failure went away, so I've reverted that patch here after we fix the build failure with the new API.

Greg, please ack the first patch so it can go through Linus' tree.

Cc Rob Herring <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Andy Gross <[email protected]>

Stephen Boyd (3):
driver-core: platform: Add platform_irq_count()
pinctrl: qcom: Use platform_irq_count() instead of of_irq_count() Revert "pinctrl: qcom: make PMIC drivers bool"

 drivers/base/platform.c                  | 20 ++++++++++++++++++++
 drivers/pinctrl/qcom/Kconfig             |  4 ++--
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c |  4 +++-
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c  |  4 +++-
 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c |  9 ++++++---
 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c  |  9 ++++++---
 include/linux/platform_device.h          |  1 +
 7 files changed, 41 insertions(+), 10 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project