* [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806
@ 2025-06-27 10:53 Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode Quentin Schulz
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Quentin Schulz @ 2025-06-27 10:53 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz, Krzysztof Kozlowski
This allows to customize the PMIC reset method (also called RST_FUN) on
RK806 PMIC from Rockchip, mainly found on RK3588 devices but also on
RK3576.
Finally, this is required on the two RK3588 devices from Theobroma as
U-Boot changes the silicon-default (which is suitable for us) to
something that breaks our companion microcontroller's reboot detection
which breaks a bunch of assumptions in the MCU FW code.
To validate this works on those devices do the following:
On Tiger:
i2cset -y -f 6 0x6f 0x9 0x62
On Jaguar:
i2cset -y -f 0 0x6f 0x9 0x62
You hear a nice (loud :) ) beep, then reboot and it should stop right
before entering U-Boot TPL again.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Changes in v4:
- removed not-so-useful dev_dbg message about missing property,
- unwrapped RK806_RST_FUN_MSK into the line above,
- reworded regmap_update_bits error message according to Lee's
suggestion,
- Link to v3: https://lore.kernel.org/r/20250618-rk8xx-rst-fun-v3-0-081f02d3d348@cherry.de
Changes in v3:
- (hopefully) fixed missing bitfield.h include in driver as reported by
Intel's kernel test robot,
- removed dt-binding header file,
- removed mentions to constants that used to be in dt-binding header
file since they aren't anymore,
- added (patch 3) header file in arch/arm64/boot/dts/rockchip to make
the value of rockchip,reset-mode easier to understand when reading the
device tree,
- Link to v2: https://lore.kernel.org/r/20250605-rk8xx-rst-fun-v2-0-143d190596dd@cherry.de
Changes in v2:
- moved rst_fun variable declaration out of the switch-case,
- initialized rst_fun variable to make kernel test robot happy even
though the variable wouldn't be used uninitialized due to breaking
before using it,
- renamed rockchip,rst-fun to rockchip,reset-mode
- rewrote rockchip,reset-mode binding description to not mention the
relation to registers or register values,
- added binding header file to make it easier to understand what the
mode is when reading a Device Tree without having to read the binding,
- Link to v1: https://lore.kernel.org/r/20250526-rk8xx-rst-fun-v1-0-ea894d9474e0@cherry.de
---
Quentin Schulz (5):
dt-bindings: mfd: rk806: allow to customize PMIC reset mode
mfd: rk8xx-core: allow to customize RK806 reset mode
arm64: dts: rockchip: add header for RK8XX PMIC constants
arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar
arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger
.../devicetree/bindings/mfd/rockchip,rk806.yaml | 21 +++++++++++++++++++++
arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 2 ++
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 2 ++
arch/arm64/boot/dts/rockchip/rk8xx.h | 18 ++++++++++++++++++
drivers/mfd/rk8xx-core.c | 12 ++++++++++++
include/linux/mfd/rk808.h | 2 ++
6 files changed, 57 insertions(+)
---
base-commit: b004ef1a3e9210ef9b9092ed8812ab8cc65b10e9
change-id: 20250526-rk8xx-rst-fun-f261c40b6d0c
Best regards,
--
Quentin Schulz <quentin.schulz@cherry.de>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
@ 2025-06-27 10:53 ` Quentin Schulz
2025-06-27 19:13 ` Rob Herring (Arm)
2025-06-27 10:53 ` [PATCH v4 2/5] mfd: rk8xx-core: allow to customize RK806 " Quentin Schulz
` (5 subsequent siblings)
6 siblings, 1 reply; 9+ messages in thread
From: Quentin Schulz @ 2025-06-27 10:53 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz, Krzysztof Kozlowski
From: Quentin Schulz <quentin.schulz@cherry.de>
The RK806 PMIC allows to configure its reset/restart behavior whenever
the PMIC is reset either programmatically or via some external pins
(e.g. PWRCTRL or RESETB).
The following modes exist:
- 0; restart PMU,
- 1; reset all power off reset registers and force state to switch to
ACTIVE mode,
- 2; same as mode 1 and also pull RESETB pin down for 5ms,
For example, some hardware may require a full restart (mode 0) in order
to function properly as regulators are shortly interrupted in this mode.
This is the case for RK3588 Jaguar and RK3588 Tiger which have a
companion microcontroller running on an independent power supply and
monitoring the PMIC power rail to know the state of the main system.
When it detects a restart, it resets its own IPs exposed to the main
system as if to simulate its own reset. Failing to perform this fake
reset of the microcontroller may break things (e.g. watchdog not
automatically disabled, buzzer still running until manually disabled,
leftover configuration from previous main system state, etc...).
Some other systems may be depending on the power rails to not be
interrupted even for a small amount of time[1].
This allows to specify how the PMIC should perform on the hardware level
and may differ between harwdare designs, so a DT property seems
warranted. I unfortunately do not see how this could be made generic
enough to make it a non-vendor property.
[1] https://lore.kernel.org/linux-rockchip/2577051.irdbgypaU6@workhorse/
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
.../devicetree/bindings/mfd/rockchip,rk806.yaml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
index 3c2b06629b75ea94f90712470bf14ed7fc16d68d..eb5bca31948ef0d39c46025d0cca65b8b4105a50 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
@@ -31,6 +31,27 @@ properties:
system-power-controller: true
+ rockchip,reset-mode:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [0, 1, 2]
+ description:
+ Mode to use when a reset of the PMIC is triggered.
+
+ The reset can be triggered either programmatically, via one of
+ the PWRCTRL pins (provided additional configuration) or
+ asserting RESETB pin low.
+
+ The following modes are supported
+
+ - 0; restart PMU,
+ - 1; reset all power off reset registers and force state to
+ switch to ACTIVE mode,
+ - 2; same as mode 1 and also pull RESETB pin down for 5ms,
+
+ For example, some hardware may require a full restart (mode 0)
+ in order to function properly as regulators are shortly
+ interrupted in this mode.
+
vcc1-supply:
description:
The input supply for dcdc-reg1.
--
2.50.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 2/5] mfd: rk8xx-core: allow to customize RK806 reset mode
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode Quentin Schulz
@ 2025-06-27 10:53 ` Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 3/5] arm64: dts: rockchip: add header for RK8XX PMIC constants Quentin Schulz
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Quentin Schulz @ 2025-06-27 10:53 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz
From: Quentin Schulz <quentin.schulz@cherry.de>
The RK806 PMIC has a bitfield for configuring the restart/reset behavior
(which I assume Rockchip calls "function") whenever the PMIC is reset
either programmatically (c.f. DEV_RST in the datasheet) or via PWRCTRL
or RESETB pins.
For RK806, the following values are possible for RST_FUN:
0b00 means "Restart PMU"
0b01 means "Reset all the power off reset registers, forcing
the state to switch to ACTIVE mode"
0b10 means "Reset all the power off reset registers, forcing
the state to switch to ACTIVE mode, and simultaneously
pull down the RESETB PIN for 5mS before releasing"
0b11 means the same as for 0b10 just above.
This adds the appropriate logic in the driver to parse the new
rockchip,reset-mode DT property to pass this information. It just
happens that the values in the binding match the values to write in the
bitfield so no mapping is necessary.
If it is missing, the register is left untouched and relies either on
the silicon default or on whatever was set earlier in the boot stages
(e.g. the bootloader).
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
drivers/mfd/rk8xx-core.c | 12 ++++++++++++
include/linux/mfd/rk808.h | 2 ++
2 files changed, 14 insertions(+)
diff --git a/drivers/mfd/rk8xx-core.c b/drivers/mfd/rk8xx-core.c
index 71c2b80a4678d627e86cfbec8135f08e262559d3..def4587fdfb8b82e5548e70310d3e16e6d07d7af 100644
--- a/drivers/mfd/rk8xx-core.c
+++ b/drivers/mfd/rk8xx-core.c
@@ -10,6 +10,7 @@
* Author: Wadim Egorov <w.egorov@phytec.de>
*/
+#include <linux/bitfield.h>
#include <linux/interrupt.h>
#include <linux/mfd/rk808.h>
#include <linux/mfd/core.h>
@@ -699,6 +700,7 @@ int rk8xx_probe(struct device *dev, int variant, unsigned int irq, struct regmap
const struct mfd_cell *cells;
int dual_support = 0;
int nr_pre_init_regs;
+ u32 rst_fun = 0;
int nr_cells;
int ret;
int i;
@@ -726,6 +728,16 @@ int rk8xx_probe(struct device *dev, int variant, unsigned int irq, struct regmap
cells = rk806s;
nr_cells = ARRAY_SIZE(rk806s);
dual_support = IRQF_SHARED;
+
+ ret = device_property_read_u32(dev, "rockchip,reset-mode", &rst_fun);
+ if (ret)
+ break;
+
+ ret = regmap_update_bits(rk808->regmap, RK806_SYS_CFG3, RK806_RST_FUN_MSK,
+ FIELD_PREP(RK806_RST_FUN_MSK, rst_fun));
+ if (ret)
+ return dev_err_probe(dev, ret,
+ "Failed to configure requested restart/reset behavior\n");
break;
case RK808_ID:
rk808->regmap_irq_chip = &rk808_irq_chip;
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
index 69cbea78b430b562a23d995263369d475daa6287..28170ee08898ca59c76a741a1d42763a42b72380 100644
--- a/include/linux/mfd/rk808.h
+++ b/include/linux/mfd/rk808.h
@@ -812,6 +812,8 @@ enum rk806_pin_dr_sel {
#define RK806_INT_POL_H BIT(1)
#define RK806_INT_POL_L 0
+/* SYS_CFG3 */
+#define RK806_RST_FUN_MSK GENMASK(7, 6)
#define RK806_SLAVE_RESTART_FUN_MSK BIT(1)
#define RK806_SLAVE_RESTART_FUN_EN BIT(1)
#define RK806_SLAVE_RESTART_FUN_OFF 0
--
2.50.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 3/5] arm64: dts: rockchip: add header for RK8XX PMIC constants
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 2/5] mfd: rk8xx-core: allow to customize RK806 " Quentin Schulz
@ 2025-06-27 10:53 ` Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 4/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar Quentin Schulz
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Quentin Schulz @ 2025-06-27 10:53 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz
From: Quentin Schulz <quentin.schulz@cherry.de>
To make it easier to read the device tree, let's add constants for the
rockchip,reset-mode property values that are currently only applicable
to RK806 PMIC.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
arch/arm64/boot/dts/rockchip/rk8xx.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk8xx.h b/arch/arm64/boot/dts/rockchip/rk8xx.h
new file mode 100644
index 0000000000000000000000000000000000000000..a6fbef71c06493c35b0f3697476167aaafa24f30
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk8xx.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
+/*
+ * Device Tree defines for Rockchip RK8xx PMICs
+ *
+ * Copyright 2025 Cherry Embedded Solutions GmbH
+ *
+ * Author: Quentin Schulz <quentin.schulz@cherry.de>
+ */
+
+#ifndef _DT_MFD_ROCKCHIP_RK8XX_H
+#define _DT_MFD_ROCKCHIP_RK8XX_H
+
+/* For use with rockchip,reset-mode property */
+#define RK806_RESTART 0
+#define RK806_RESET 1
+#define RK806_RESET_NOTIFY 2
+
+#endif
--
2.50.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 4/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
` (2 preceding siblings ...)
2025-06-27 10:53 ` [PATCH v4 3/5] arm64: dts: rockchip: add header for RK8XX PMIC constants Quentin Schulz
@ 2025-06-27 10:53 ` Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 5/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger Quentin Schulz
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Quentin Schulz @ 2025-06-27 10:53 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz
From: Quentin Schulz <quentin.schulz@cherry.de>
The bootloader for RK3588 Jaguar currently forces the PMIC reset
behavior (stored in RST_FUN bitfield in register SYS_CFG3 of the PMIC)
to 0b1X which is incorrect for our devices.
It is required to restart the PMU as otherwise the companion
microcontroller cannot detect the PMIC (and by extension the full
product and main SoC) being rebooted which is an issue as that is used
to reset a few things like the PWM beeper and watchdogs.
Let's add the new rockchip,reset-mode property to make sure the PMIC
reset behavior is the expected one.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
index ebe77cdd24e803b00fb848dc81258909472290f1..176925d0a1a809d1e2500f5e5efbbfa6a6d0bd42 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts
@@ -10,6 +10,7 @@
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/soc/rockchip,vop2.h>
#include <dt-bindings/usb/pd.h>
+#include "rk8xx.h"
#include "rk3588.dtsi"
/ {
@@ -693,6 +694,7 @@ pmic@0 {
vcc13-supply = <&vcc_1v1_nldo_s3>;
vcc14-supply = <&vcc_1v1_nldo_s3>;
vcca-supply = <&vcc5v0_sys>;
+ rockchip,reset-mode = <RK806_RESTART>;
rk806_dvs1_null: dvs1-null-pins {
pins = "gpio_pwrctrl1";
--
2.50.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v4 5/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
` (3 preceding siblings ...)
2025-06-27 10:53 ` [PATCH v4 4/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar Quentin Schulz
@ 2025-06-27 10:53 ` Quentin Schulz
2025-07-02 15:38 ` (subset) [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Lee Jones
2025-07-10 9:27 ` Heiko Stuebner
6 siblings, 0 replies; 9+ messages in thread
From: Quentin Schulz @ 2025-06-27 10:53 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz
From: Quentin Schulz <quentin.schulz@cherry.de>
The bootloader for RK3588 Tiger currently forces the PMIC reset behavior
(stored in RST_FUN bitfield in register SYS_CFG3 of the PMIC) to 0b1X
which is incorrect for our devices.
It is required to restart the PMU as otherwise the companion
microcontroller cannot detect the PMIC (and by extension the full
product and main SoC) being rebooted which is an issue as that is used
to reset a few things like the PWM beeper and watchdogs.
Let's add the new rockchip,reset-mode property to make sure the PMIC
reset behavior is the expected one.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
index c4933a08dd1e3c92f3e0747135faf97c5eeca906..b44e89e1bb1599ee70b921598c2eb6fd54614f55 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
@@ -6,6 +6,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/rockchip.h>
+#include "rk8xx.h"
#include "rk3588.dtsi"
/ {
@@ -440,6 +441,7 @@ pmic@0 {
vcc13-supply = <&vcc_1v1_nldo_s3>;
vcc14-supply = <&vcc_1v1_nldo_s3>;
vcca-supply = <&vcc5v0_sys>;
+ rockchip,reset-mode = <RK806_RESTART>;
rk806_dvs1_null: dvs1-null-pins {
pins = "gpio_pwrctrl1";
--
2.50.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode
2025-06-27 10:53 ` [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode Quentin Schulz
@ 2025-06-27 19:13 ` Rob Herring (Arm)
0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring (Arm) @ 2025-06-27 19:13 UTC (permalink / raw)
To: Quentin Schulz
Cc: Conor Dooley, Krzysztof Kozlowski, Daniel Semkowicz,
Nicolas Frattaroli, Sebastian Reichel, linux-arm-kernel,
Lukasz Czechowski, Krzysztof Kozlowski, devicetree,
linux-rockchip, Heiko Stuebner, Lee Jones, Quentin Schulz,
linux-kernel
On Fri, 27 Jun 2025 12:53:53 +0200, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@cherry.de>
>
> The RK806 PMIC allows to configure its reset/restart behavior whenever
> the PMIC is reset either programmatically or via some external pins
> (e.g. PWRCTRL or RESETB).
>
> The following modes exist:
> - 0; restart PMU,
> - 1; reset all power off reset registers and force state to switch to
> ACTIVE mode,
> - 2; same as mode 1 and also pull RESETB pin down for 5ms,
>
> For example, some hardware may require a full restart (mode 0) in order
> to function properly as regulators are shortly interrupted in this mode.
>
> This is the case for RK3588 Jaguar and RK3588 Tiger which have a
> companion microcontroller running on an independent power supply and
> monitoring the PMIC power rail to know the state of the main system.
> When it detects a restart, it resets its own IPs exposed to the main
> system as if to simulate its own reset. Failing to perform this fake
> reset of the microcontroller may break things (e.g. watchdog not
> automatically disabled, buzzer still running until manually disabled,
> leftover configuration from previous main system state, etc...).
>
> Some other systems may be depending on the power rails to not be
> interrupted even for a small amount of time[1].
>
> This allows to specify how the PMIC should perform on the hardware level
> and may differ between harwdare designs, so a DT property seems
> warranted. I unfortunately do not see how this could be made generic
> enough to make it a non-vendor property.
>
> [1] https://lore.kernel.org/linux-rockchip/2577051.irdbgypaU6@workhorse/
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
> ---
> .../devicetree/bindings/mfd/rockchip,rk806.yaml | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
` (4 preceding siblings ...)
2025-06-27 10:53 ` [PATCH v4 5/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger Quentin Schulz
@ 2025-07-02 15:38 ` Lee Jones
2025-07-10 9:27 ` Heiko Stuebner
6 siblings, 0 replies; 9+ messages in thread
From: Lee Jones @ 2025-07-02 15:38 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Heiko Stuebner, Sebastian Reichel, Quentin Schulz
Cc: Lukasz Czechowski, Daniel Semkowicz, Nicolas Frattaroli,
devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Quentin Schulz, Krzysztof Kozlowski
On Fri, 27 Jun 2025 12:53:52 +0200, Quentin Schulz wrote:
> This allows to customize the PMIC reset method (also called RST_FUN) on
> RK806 PMIC from Rockchip, mainly found on RK3588 devices but also on
> RK3576.
>
> Finally, this is required on the two RK3588 devices from Theobroma as
> U-Boot changes the silicon-default (which is suitable for us) to
> something that breaks our companion microcontroller's reboot detection
> which breaks a bunch of assumptions in the MCU FW code.
>
> [...]
Applied, thanks!
[1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode
commit: 1ba8d6e2e2003681fc0a1548c145299d509e352a
[2/5] mfd: rk8xx-core: allow to customize RK806 reset mode
commit: 2e8185c0f214d45cdbc20ee4e6796c561ba66c55
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
` (5 preceding siblings ...)
2025-07-02 15:38 ` (subset) [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Lee Jones
@ 2025-07-10 9:27 ` Heiko Stuebner
6 siblings, 0 replies; 9+ messages in thread
From: Heiko Stuebner @ 2025-07-10 9:27 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Sebastian Reichel, Quentin Schulz
Cc: Heiko Stuebner, Lukasz Czechowski, Daniel Semkowicz,
Nicolas Frattaroli, devicetree, linux-arm-kernel, linux-rockchip,
linux-kernel, Quentin Schulz, Krzysztof Kozlowski
On Fri, 27 Jun 2025 12:53:52 +0200, Quentin Schulz wrote:
> This allows to customize the PMIC reset method (also called RST_FUN) on
> RK806 PMIC from Rockchip, mainly found on RK3588 devices but also on
> RK3576.
>
> Finally, this is required on the two RK3588 devices from Theobroma as
> U-Boot changes the silicon-default (which is suitable for us) to
> something that breaks our companion microcontroller's reboot detection
> which breaks a bunch of assumptions in the MCU FW code.
>
> [...]
Applied, thanks!
[3/5] arm64: dts: rockchip: add header for RK8XX PMIC constants
commit: 92056b3afde6599f0e125a89c9483bad6930ea85
[4/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar
commit: 03b77bbb428250d8359bc76ff5032534d33f8499
[5/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger
commit: b5c69adb3e27a5d31b733fbfbc32e5f036e21bed
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-07-10 9:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-27 10:53 [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 1/5] dt-bindings: mfd: rk806: allow to customize PMIC reset mode Quentin Schulz
2025-06-27 19:13 ` Rob Herring (Arm)
2025-06-27 10:53 ` [PATCH v4 2/5] mfd: rk8xx-core: allow to customize RK806 " Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 3/5] arm64: dts: rockchip: add header for RK8XX PMIC constants Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 4/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar Quentin Schulz
2025-06-27 10:53 ` [PATCH v4 5/5] arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Tiger Quentin Schulz
2025-07-02 15:38 ` (subset) [PATCH v4 0/5] rockchip: rk8xx: allow to customize PMIC reset mode on RK806 Lee Jones
2025-07-10 9:27 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®