mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1] arm: dts: imx8mp-skov: fix reset reason detection
@ 2023-11-02  8:03 Oleksij Rempel
  2023-11-03  7:38 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2023-11-02  8:03 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

Set PMIC as default reset source to fix reset reason detection.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/dts/imx8mp-skov.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
index 885ffe6a24..27768c61e7 100644
--- a/arch/arm/dts/imx8mp-skov.dts
+++ b/arch/arm/dts/imx8mp-skov.dts
@@ -231,6 +231,7 @@ pmic@25 {
 		pinctrl-0 = <&pinctrl_pmic>;
 		interrupt-parent = <&gpio1>;
 		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
+		reset-source-priority = <500>;
 
 		regulators {
 			buck1: BUCK1 {
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] arm: dts: imx8mp-skov: fix reset reason detection
  2023-11-02  8:03 [PATCH v1] arm: dts: imx8mp-skov: fix reset reason detection Oleksij Rempel
@ 2023-11-03  7:38 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-11-03  7:38 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: barebox

On Thu, Nov 02, 2023 at 09:03:07AM +0100, Oleksij Rempel wrote:
> Set PMIC as default reset source to fix reset reason detection.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  arch/arm/dts/imx8mp-skov.dts | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
> index 885ffe6a24..27768c61e7 100644
> --- a/arch/arm/dts/imx8mp-skov.dts
> +++ b/arch/arm/dts/imx8mp-skov.dts
> @@ -231,6 +231,7 @@ pmic@25 {
>  		pinctrl-0 = <&pinctrl_pmic>;
>  		interrupt-parent = <&gpio1>;
>  		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
> +		reset-source-priority = <500>;
>  
>  		regulators {
>  			buck1: BUCK1 {
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-03  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-02  8:03 [PATCH v1] arm: dts: imx8mp-skov: fix reset reason detection Oleksij Rempel
2023-11-03  7:38 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox