Skip to content

mfd: bd718x7: Set button press duration via dt only

Leonard Crestez linux-arm-kernel linux-devicetree 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Attempt to round to closest supporting value
* Spelling fix in PATCH 2 commit message
* Collect acks
Link to v1: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=119597

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3mfd: bd718x7: Remove hardcoded config for button press durationdrivers/mfd/rohm-bd718x7.c+0 -231 reply
2/3dt-bindings: mfd: Document short/long press duration for bd718x7Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt+8 -02 replies
3/3mfd: bd718x7: Make power button press duration configurabledrivers/mfd/rohm-bd718x7.c+42 -01 reply

Reviews trailers per patch

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

PatchMatti Vaittinen
1/3A-b
2/3A-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] mfd: bd718x7: Set button press duration via dt only

The reset button on imx8mm-evk is tied to PWRON_B pin of bd71847 and the long press duration is set to zero from OTP. The linux driver overrides those values and breaks reset from button.

Overwriting OTP or bootloader configuration with some hardcoded defaults is not desirable, power button should behave identically from bootloader to kernel.

Add DT properties to allow explicitly overriding press durations but don't do anything by default.

Changes since v1:
* Attempt to round to closest supporting value
* Spelling fix in PATCH 2 commit message
* Collect acks
Link to v1: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=119597

Leonard Crestez (3):
mfd: bd718x7: Remove hardcoded config for button press duration
dt-bindings: mfd: Document short/long press duration for bd718x7
mfd: bd718x7: Make power button press duration configurable

 .../bindings/mfd/rohm,bd71837-pmic.txt        |  8 +++
 drivers/mfd/rohm-bd718x7.c                    | 61 ++++++++++++-------
 2 files changed, 48 insertions(+), 21 deletions(-)
Signature · 1 line
2.17.1