mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH RESEND] mfd: rk808: Add missing RK809 chip ID to poweroff handler
@ 2023-08-03 13:39 Alexander Shiyan
  2023-08-04  8:33 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2023-08-03 13:39 UTC (permalink / raw)
  To: barebox; +Cc: Alexander Shiyan

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 drivers/mfd/rk808.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 738ba305ac..1361bb7101 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -224,6 +224,7 @@ static void rk808_poweroff(struct poweroff_handler *handler)
 		reg = RK808_DEVCTRL_REG,
 		bit = DEV_OFF_RST;
 		break;
+	case RK809_ID:
 	case RK817_ID:
 		reg = RK817_SYS_CFG(3);
 		bit = DEV_OFF;
-- 
2.38.2




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

* Re: [PATCH RESEND] mfd: rk808: Add missing RK809 chip ID to poweroff handler
  2023-08-03 13:39 [PATCH RESEND] mfd: rk808: Add missing RK809 chip ID to poweroff handler Alexander Shiyan
@ 2023-08-04  8:33 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-08-04  8:33 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Thu, Aug 03, 2023 at 04:39:35PM +0300, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
> ---
>  drivers/mfd/rk808.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
> index 738ba305ac..1361bb7101 100644
> --- a/drivers/mfd/rk808.c
> +++ b/drivers/mfd/rk808.c
> @@ -224,6 +224,7 @@ static void rk808_poweroff(struct poweroff_handler *handler)
>  		reg = RK808_DEVCTRL_REG,
>  		bit = DEV_OFF_RST;
>  		break;
> +	case RK809_ID:
>  	case RK817_ID:
>  		reg = RK817_SYS_CFG(3);
>  		bit = DEV_OFF;
> -- 
> 2.38.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-08-04  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03 13:39 [PATCH RESEND] mfd: rk808: Add missing RK809 chip ID to poweroff handler Alexander Shiyan
2023-08-04  8:33 ` Sascha Hauer

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