Skip to contentSkip to conversation

mfd: dt-bindings: Add PMIC reset property

PATCH Superseded Daniel Schultz 2 participants 3 messages Mar 15, 2018 – Mar 29, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: dt-bindings: Add PMIC reset property

Add documentation about a new rk808 devicetree property, which can enable resets by the PMIC.

---
 Documentation/devicetree/bindings/mfd/rk808.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/mfd/rk808.txt +2 -0
index 91b6522..fa1a30f 100644
@@ -20,6 +20,8 @@ Optional properties:
   default output clock name
 - rockchip,system-power-controller: Telling whether or not this pmic is controlling
   the system power.
+- rockchip,system-reset-controller: Telling whether or not this pmic is controlling
+  the system reset.
 
 Optional RK805 properties:
 - vcc1-supply:  The input supply for DCDC_REG1
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 2 lines · Daniel Schultz

Add documentation about a new rk808 devicetree property, which can enable resets by the PMIC.

The subject needs to be more specific that this is for Rockchip PMIC.

Quoted 11 lines
---
 Documentation/devicetree/bindings/mfd/rk808.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/mfd/rk808.txt +0 -0
index 91b6522..fa1a30f 100644

Documentation/devicetree/bindings/mfd/rk808.txt Optional properties: · line 24

Quoted 5 lines
Documentation/devicetree/bindings/mfd/rk808.txt +2 -0
@@ -20,6 +20,8 @@ Optional properties:
   default output clock name
 - rockchip,system-power-controller: Telling whether or not this pmic is controlling
   the system power.
+- rockchip,system-reset-controller: Telling whether or not this pmic is controlling
+  the system reset.

Would you ever really have power and reset controlled by different things? IOW, why do we need 2 properties?

Rob

#2 lore raw

Hi Rob,

Quoted 12 lines · Rob Herring
Quoted 2 lines · Daniel Schultz

Add documentation about a new rk808 devicetree property, which can enable resets by the PMIC.

The subject needs to be more specific that this is for Rockchip PMIC.

Quoted 6 lines
---
  Documentation/devicetree/bindings/mfd/rk808.txt | 2 ++
  1 file changed, 2 insertions(+)
Quoted 14 lines

Documentation/devicetree/bindings/mfd/rk808.txt Optional properties: · line 24

Quoted 10 lines
Documentation/devicetree/bindings/mfd/rk808.txt +2 -0
index 91b6522..fa1a30f 100644
@@ -20,6 +20,8 @@ Optional properties:
    default output clock name
  - rockchip,system-power-controller: Telling whether or not this pmic is controlling
    the system power.
+- rockchip,system-reset-controller: Telling whether or not this pmic is controlling
+  the system reset.

Would you ever really have power and reset controlled by different things? IOW, why do we need 2 properties?

The existing property enables the shutdown function and since the preferred way for resetting the system is the soft reset (control and reset module), rockchip wishes to have an extra property.

Signature · 3 lines
Mit freundlichen Grüßen,
With best regards,
  Daniel Schultz