[PATCH 0/2] Move pca9450 RESET_CTRL configuration to driver

Rouven Czerwinski r.czerwinski at pengutronix.de
Tue Mar 11 04:05:22 PDT 2025


Hi,

On Tue, 2025-03-11 at 11:50 +0100, Jonas Rebmann wrote:
> Configure the RESET_CTRL register of the pca9450 pmic in the driver,
> like u-boot and kernel do. Subsequently, remove the setup of this
> register from the pca9450_register_init_callback of the two imx93 boards
> we currently have.

Does it make sense to select the pcs9450 in the board kconfig symbols?
This way users retain the behaviour after an update even if the pca9450
driver was not selected before.

> Configuration of this register in lowlevel.c of the imx8 boards remains
> untouched for now as they use a larger array of pmic register setups
> which I haven't given a closer look as to which is actually needed given
> the defaults and what's done in the driver already.
> 
> Signed-off-by: Jonas Rebmann <jre at pengutronix.de>
> ---
> Jonas Rebmann (2):
>       mfd: pca9450: configure pmic reset behavior
>       ARM: boards: remove obsolete PCA9450_RESET_CTRL setup
> 
>  arch/arm/boards/phytec-phycore-imx93/board.c |  9 ---------
>  arch/arm/boards/tqma93xx/board.c             |  3 ---
>  drivers/mfd/pca9450.c                        | 11 +++++++++++
>  include/mfd/pca9450.h                        |  4 ++++
>  4 files changed, 15 insertions(+), 12 deletions(-)
> ---
> base-commit: d004da6e3710cc01b645a57c8dd1a986eced1c80
> change-id: 20250311-pca9450-wdog-b9458f1a26ff
> 
> Best regards,

Best regards,
Rouven



More information about the barebox mailing list