2024-03-26 19:24:27

by Andreas Kemnade

[permalink] [raw]
Subject: [PATCH v2 0/2] mfd: rohm-bd71828: Add power off

Add power off functionality. Marked as RFC because of magic numbers
without a good source and strange delays. The only information source is
a vendor kernel.

Changes in v2:
- style corrections
- remove unnecessary writes and delays
- correctly unregister handler

Andreas Kemnade (2):
dt-bindings: mfd: Add ROHM BD71828 system-power-controller property
mfd: rohm-bd71828: Add power off functionality

.../bindings/mfd/rohm,bd71828-pmic.yaml | 2 ++
drivers/mfd/rohm-bd71828.c | 30 ++++++++++++++++++-
2 files changed, 31 insertions(+), 1 deletion(-)

--
2.39.2



2024-03-26 19:24:30

by Andreas Kemnade

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: mfd: Add ROHM BD71828 system-power-controller property

As the PMIC can power off the system, add the corresponding property.

Signed-off-by: Andreas Kemnade <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
index 11089aa89ec6..0b62f854bf6b 100644
--- a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
@@ -73,6 +73,8 @@ properties:
used to mark the pins which should not be configured for GPIO. Please see
the ../gpio/gpio.txt for more information.

+ system-power-controller: true
+
required:
- compatible
- reg
--
2.39.2


2024-03-27 07:02:08

by Matti Vaittinen

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: mfd: Add ROHM BD71828 system-power-controller property

On 3/26/24 21:22, Andreas Kemnade wrote:
> As the PMIC can power off the system, add the corresponding property.
>
> Signed-off-by: Andreas Kemnade <[email protected]>
> Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Matti Vaittinen <[email protected]>

--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~