Skip to content

leds: is31fl319x: Fix shutdown GPIO and update DT bindings

Jun Yan linux-arm-kernel linux-arm-msm linux-devicetree linux-gpio linux-leds lkml sashiko-reviews 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 7 repliesIn review
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Add comments explaining the reason for this GPIO line level.
- Add fixup to force consumer active low for legacy device trees in gpiolib.
- Link to v1: https://lore.kernel.org/all/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: leds: issi,is31fl319x: Update description for the shutdown-gpios propertyDocumentation/devicetree/bindings/leds/issi,is31fl319x.yaml+7 -20 replies
2/6leds: is31fl319x: Fix shutdown GPIO initial state and remove redundant startup pulsedrivers/leds/leds-is31fl319x.c+4 -72 replies
3/6gpiolib: of: add quirk for IS31FL319X shutdown linedrivers/gpio/gpiolib-of.c+10 -03 replies
4/6arm64: dts: qcom: msm8916-alcatel-idol347: Fix sn3190 shutdown GPIO polarityarch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts+1 -10 replies
5/6ARM: dts: qcom: msm8974-oneplus-bacon: Fix sn3193 shutdown GPIO polarityarch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts+1 -10 replies
6/6arm64: dts: marvell: armada-7040-mochabin: Fix is31fl3199 shutdown GPIO polarityarch/arm64/boot/dts/marvell/armada-7040-mochabin.dts+1 -12 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Konrad DybcioBartosz GolaszewskiLinus Walleij
1/6R-b
2/6
3/6A-b R-b
4/6R-b
5/6R-b
6/6

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

Read the v2 thread

Cover letter [PATCH v2 0/6] leds: is31fl319x: Fix shutdown GPIO and update DT bindings

This series fixes incorrect shutdown GPIO polarity and improves shutdown-gpios description in DT bindings.

Patch 1 adds detailed shutdown-gpios description and fixes example in DT bindings.

Patch 2 fixes shutdown GPIO initial state and removes redundant startup toggling.

Patch 3 adds fixup to force consumer active low for legacy device trees in gpiolib.

Patches 4-6 correct shutdown GPIO polarity in board DTS files.

Changes in v2:
- Add comments explaining the reason for this GPIO line level.
- Add fixup to force consumer active low for legacy device trees in gpiolib.
- Link to v1: https://lore.kernel.org/all/[email protected]

Jun Yan (6):
dt-bindings: leds: issi,is31fl319x: Update description for the
shutdown-gpios property
leds: is31fl319x: Fix shutdown GPIO initial state and remove redundant
startup pulse
gpiolib: of: add quirk for IS31FL319X shutdown line
arm64: dts: qcom: msm8916-alcatel-idol347: Fix sn3190 shutdown GPIO
polarity
ARM: dts: qcom: msm8974-oneplus-bacon: Fix sn3193 shutdown GPIO
polarity
arm64: dts: marvell: armada-7040-mochabin: Fix is31fl3199 shutdown
GPIO polarity

 .../devicetree/bindings/leds/issi,is31fl319x.yaml     |  9 +++++++--
 .../boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts   |  2 +-
 arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts  |  2 +-
 arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts  |  2 +-
 drivers/gpio/gpiolib-of.c                             | 10 ++++++++++
 drivers/leds/leds-is31fl319x.c                        | 11 ++++-------
 6 files changed, 24 insertions(+), 12 deletions(-)
Signature · 1 line
2.54.0