[PATCH v1 1/3] configs: Enable RTC pcf2131 support

2023-05-29 Thread Joy Zou
Enable CONFIG_RTC_PCF2131 configs to support pcf2131. Disable CONFIG_RTC_EMULATION configs. The default rtc0 change into pcf2131. Signed-off-by: Joy Zou --- configs/imx93_11x11_evk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/imx93_11x11_evk_defconfig

[PATCH v1 0/3] Add pcf2131 rtc support

2023-05-29 Thread Joy Zou
The patchset supports pcf2131 rtc. For the details, please check the patch commit log. Joy Zou (3): configs: Enable RTC pcf2131 support imx: imx93_evk: add rtc pcf2131 drivers: rtc: add pcf2131 rtc driver arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 + arch/arm/dts/imx93-11x11-evk.dts

[PATCH v1 2/3] imx: imx93_evk: add rtc pcf2131

2023-05-29 Thread Joy Zou
support rtc pcf2131 for imx93. Signed-off-by: Joy Zou --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 arch/arm/dts/imx93-11x11-evk.dts | 25 arch/arm/dts/imx93.dtsi | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) diff

[PATCH v1 3/3] drivers: rtc: add pcf2131 rtc driver

2023-05-29 Thread Joy Zou
Adding support for pcf2131 RTC chip. The pcf2131 is similar to the pcf2127. The driver support rtc register read/write by using rtc cmd and rtc date set/get by using date cmd. Signed-off-by: Joy Zou --- drivers/rtc/Kconfig | 10 +++ drivers/rtc/Makefile | 1 + drivers/rtc/pcf2131.c | 189

RE: [PATCH v1 2/3] imx: imx93_evk: add rtc pcf2131

2023-06-02 Thread Joy Zou
> -Original Message- > From: Peng Fan (OSS) > Sent: 2023年5月31日 9:37 > To: Joy Zou ; Peng Fan ; Ye Li > ; sba...@denx.de; feste...@gmail.com; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject

RE: [PATCH v1 0/3] Add pcf2131 rtc support

2023-06-02 Thread Joy Zou
> -Original Message- > From: Peng Fan (OSS) > Sent: 2023年5月31日 9:38 > To: Joy Zou ; Peng Fan ; Ye Li > ; sba...@denx.de; feste...@gmail.com; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject: Re: [P

[PATCH v2 3/3] configs: Enable RTC pcf2131 support

2023-06-02 Thread Joy Zou
Enable CONFIG_RTC_PCF2131 configs to support pcf2131. Disable CONFIG_RTC_EMULATION configs. The default rtc0 change into pcf2131. Signed-off-by: Joy Zou --- configs/imx93_11x11_evk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/imx93_11x11_evk_defconfig

RE: [PATCH v1 3/3] drivers: rtc: add pcf2131 rtc driver

2023-06-02 Thread Joy Zou
> -Original Message- > From: Peng Fan (OSS) > Sent: 2023年5月31日 9:35 > To: Joy Zou ; Peng Fan ; Ye Li > ; sba...@denx.de; feste...@gmail.com; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject: Re: [PA

[PATCH v2 1/3] drivers: rtc: add pcf2131 rtc driver

2023-06-02 Thread Joy Zou
Adding support for pcf2131 RTC chip. The pcf2131 is similar to the pcf2127. The driver support rtc register read/write by using rtc cmd and rtc date set/get by using date cmd. Signed-off-by: Joy Zou --- Changes in v1: 1. delete the unnecessary initialization in v2. 2. retrun directly function

[PATCH v2 2/3] imx: imx93_evk: add rtc pcf2131

2023-06-02 Thread Joy Zou
support rtc pcf2131 for imx93. Signed-off-by: Joy Zou --- Changes in v1: 1. use the flag bootph-pre-ram instead of uboot,dm-spl. --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 arch/arm/dts/imx93-11x11-evk.dts | 25 arch/arm/dts/imx93.dtsi

[PATCH v2 0/3] Add pcf2131 rtc support

2023-06-02 Thread Joy Zou
The patchset supports pcf2131 rtc. For the details, please check the patch commit log. Joy Zou (3): drivers: rtc: add pcf2131 rtc driver imx: imx93_evk: add rtc pcf2131 configs: Enable RTC pcf2131 support arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 + arch/arm/dts/imx93-11x11-evk.dts

[PATCH v1 4/4] configs: enable pmic regulator pca9450

2023-06-05 Thread Joy Zou
support pmci regulator pca9450. Signed-off-by: Joy Zou --- configs/imx93_11x11_evk_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/imx93_11x11_evk_defconfig b/configs/imx93_11x11_evk_defconfig index 4f8777161e..985b4d8638 100644 --- a/configs/imx93_11x11_evk_defconfig

[PATCH v1 1/4] power: pmic: Modify the BUCK1 voltage range

2023-06-05 Thread Joy Zou
The new pmic trimed BUCK1. So need to modify the range. The default value of Toff_Deb is used to distinguish the old and new pmic. Signed-off-by: Joy Zou --- drivers/power/regulator/pca9450.c | 29 - include/power/pca9450.h | 2 ++ 2 files changed, 30

[PATCH v1 2/4] imx: imx93_evk: change VDD_SOC for new pmic trimed

2023-06-05 Thread Joy Zou
Change VDD_SOC into 0.9v for over drive mode for new pmic. Signed-off-by: Joy Zou --- board/freescale/imx93_evk/spl.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/board/freescale/imx93_evk/spl.c b/board/freescale/imx93_evk/spl.c index 1aa2977b40

[PATCH v1 3/4] DTS: imx93: modify the BUCK1 voltage range

2023-06-05 Thread Joy Zou
The new pmic trimed BUCK1. So need to modify the range. There is no LDO2 and LDO3, So need to delete the property. Signed-off-by: Joy Zou --- arch/arm/dts/imx93-11x11-evk.dts | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/arch/arm/dts/imx93-11x11

[PATCH v1 0/4] support trimed pca9450 new pmic

2023-06-05 Thread Joy Zou
The patchset supports trim pmic pca9451a. For the details, please check the patch commit log Joy Zou (4): power: pmic: Modify the BUCK1 voltage range imx: imx93_evk: change VDD_SOC for new pmic trimed DTS: imx93: modify the BUCK1 voltage range configs: enable pmic regulator pca9450 arch

RE: [EXT] Re: [PATCH v1 3/4] DTS: imx93: modify the BUCK1 voltage range

2023-06-05 Thread Joy Zou
> -Original Message- > From: Marek Vasut > Sent: 2023年6月5日 18:05 > To: Joy Zou ; jh80.ch...@samsung.com; Peng Fan > ; Ye Li ; Jacky Bai ; > feste...@denx.de; sba...@denx.de; heiko.thi...@gmail.com > Cc: u-boot@lists.denx.de; dl-uboot-imx > Subject: [EXT] Re: [

RE: [EXT] Re: [PATCH v1 1/4] power: pmic: Modify the BUCK1 voltage range

2023-06-05 Thread Joy Zou
> -Original Message- > From: Marek Vasut > Sent: 2023年6月5日 18:07 > To: Joy Zou ; jh80.ch...@samsung.com; Peng Fan > ; Ye Li ; Jacky Bai ; > feste...@denx.de; sba...@denx.de; heiko.thi...@gmail.com > Cc: u-boot@lists.denx.de; dl-uboot-imx > Subject: [EXT] Re: [P

RE: [EXT] Re: [PATCH v1 4/4] configs: enable pmic regulator pca9450

2023-06-05 Thread Joy Zou
> -Original Message- > From: Marek Vasut > Sent: 2023年6月5日 18:04 > To: Joy Zou ; jh80.ch...@samsung.com; Peng Fan > ; Ye Li ; Jacky Bai ; > feste...@denx.de; sba...@denx.de; heiko.thi...@gmail.com > Cc: u-boot@lists.denx.de; dl-uboot-imx > Subject: [EXT] Re

RE: [EXT] Re: [PATCH v1 2/4] imx: imx93_evk: change VDD_SOC for new pmic trimed

2023-06-05 Thread Joy Zou
> -Original Message- > From: Marek Vasut > Sent: 2023年6月5日 18:06 > To: Joy Zou ; jh80.ch...@samsung.com; Peng Fan > ; Ye Li ; Jacky Bai ; > feste...@denx.de; sba...@denx.de; heiko.thi...@gmail.com > Cc: u-boot@lists.denx.de; dl-uboot-imx > Subject: [EXT

RE: [EXT] Re: [PATCH v1 3/4] DTS: imx93: modify the BUCK1 voltage range

2023-06-06 Thread Joy Zou
> -Original Message- > From: Marek Vasut > Sent: 2023年6月6日 17:28 > To: Joy Zou ; jh80.ch...@samsung.com; Peng Fan > ; Ye Li ; Jacky Bai ; > feste...@denx.de; sba...@denx.de; heiko.thi...@gmail.com > Cc: u-boot@lists.denx.de; dl-uboot-imx > Subject: Re: [EXT

RE: [EXT] Re: [PATCH v1 3/4] DTS: imx93: modify the BUCK1 voltage range

2023-06-06 Thread Joy Zou
> -Original Message- > From: Joy Zou > Sent: 2023年6月5日 18:24 > To: Marek Vasut ; jh80.ch...@samsung.com; Peng Fan > ; Ye Li ; Jacky Bai ; > feste...@denx.de; sba...@denx.de; heiko.thi...@gmail.com > Cc: u-boot@lists.denx.de; dl-uboot-imx > Subject: RE: [EXT] Re: [

RE: [EXT] Re: [PATCH v2 1/3] drivers: rtc: add pcf2131 rtc driver

2023-12-13 Thread Joy Zou
Okay,Thanks your kind reminder! BR Joy Zou > -Original Message- > From: Fabio Estevam > Sent: 2023年12月14日 4:07 > To: Joy Zou > Cc: Fabio Estevam ; Chris Packham > ; Peng Fan ; > sap...@gmail.com; Stefano Babic ; Simon Glass > ; U-Boot-Denx ; dl-uboot-imx > ;

RE: [EXT] Re: [PATCH v3 2/3] imx: imx93_evk: add rtc pcf2131

2024-03-26 Thread Joy Zou
> -Original Message- > From: Fabio Estevam > Sent: 2024年3月27日 6:14 > To: Joy Zou > Cc: Peng Fan ; Ye Li ; Jacky Bai > ; sba...@denx.de; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com; dl-uboot-imx > ; u-boot@lists.denx.de > Subject: [

RE: [EXT] Re: [PATCH v3 1/3] drivers: rtc: add pcf2131 rtc driver

2024-03-26 Thread Joy Zou
> -Original Message- > From: Fabio Estevam > Sent: 2024年3月27日 6:10 > To: Joy Zou > Cc: Peng Fan ; Ye Li ; Jacky Bai > ; sba...@denx.de; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com; dl-uboot-imx > ; u-boot@lists.denx.de > Subject: [EXT] Re:

RE: [EXT] Re: [PATCH v3 3/3] configs: Enable RTC pcf2131 support

2024-03-26 Thread Joy Zou
> -Original Message- > From: Fabio Estevam > Sent: 2024年3月27日 6:12 > To: Joy Zou > Cc: Peng Fan ; Ye Li ; Jacky Bai > ; sba...@denx.de; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com; dl-uboot-imx > ; u-boot@lists.denx.de > Subject: [EXT]

[PATCH v4 1/3] drivers: rtc: add pcf2131 rtc driver

2024-04-07 Thread Joy Zou
to be cleared after time registers are updated. Signed-off-by: Joy Zou --- Changes in v4: 1. Add static keyword for the is_pcf2131_type function. 2. remove unnecessary ret initialization. Changes in v3: 1.merge pcf2131 into pcf2127 in order to keep same with kernel. Changes in v2: 1. delete

[PATCH v4 2/3] imx: imx93_evk: add rtc PCF2131

2024-04-07 Thread Joy Zou
support rtc PCF2131 for imx93. Signed-off-by: Joy Zou --- Changes in v4: 1. remove arch/arm/dts/imx93_11x11_evk.dts change because it can sync from kernel dts. 2. add the RTC support to the -u-boot.dtsi. 3. assign the rtc0 to rtc@53 in order to avoid date reset fail. Changes in v3: 1. remove

[PATCH v4 3/3] imx93_11x11_evk: Add PCF2131 RTC support

2024-04-07 Thread Joy Zou
Enable CONFIG_RTC_PCF2127 configs to support pcf2131. Signed-off-by: Joy Zou --- Changes in v3: 1. Change CONFIG_RTC_PCF2131 into CONFIG_RTC_PCF2127 because the pcf2131 driver have been merged into the pcf2127. --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v4 0/3] Add pcf2131 rtc support

2024-04-07 Thread Joy Zou
The patchset supports pcf2131 rtc. For the details, please check the patch commit log. Joy Zou (3): drivers: rtc: add pcf2131 rtc driver imx: imx93_evk: add rtc PCF2131 imx93_11x11_evk: Add PCF2131 RTC support arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 34 ++ configs

[PATCH v3 1/3] drivers: rtc: add pcf2131 rtc driver

2024-03-26 Thread Joy Zou
to be cleared after time registers are updated. Signed-off-by: Joy Zou --- Changes in v3: 1.merge pcf2131 into pcf2127 in order to keep same with kernel. Changes in v2: 1. delete the unnecessary initialization. 2. retrun directly function insteand of redundancy return ret. 3. delete the unnecessary

[PATCH v3 0/3] Add pcf2131 rtc support

2024-03-26 Thread Joy Zou
The patchset supports pcf2131 rtc. For the details, please check the patch commit log. Joy Zou (3): drivers: rtc: add pcf2131 rtc driver imx: imx93_evk: add rtc pcf2131 configs: Enable RTC pcf2131 support arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 ++ arch/arm/dts/imx93-11x11-evk.dts

[PATCH v3 2/3] imx: imx93_evk: add rtc pcf2131

2024-03-26 Thread Joy Zou
support rtc pcf2131 for imx93. Signed-off-by: Joy Zou --- Changes in v3: 1. remove arch/arm/dts/imx93.dtsi modification because this change have existed. Changes in v2: 1. use the flag bootph-pre-ram instead of uboot,dm-spl. --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 arch/arm

[PATCH v3 3/3] configs: Enable RTC pcf2131 support

2024-03-26 Thread Joy Zou
Enable CONFIG_RTC_PCF2127 configs to support pcf2131. Signed-off-by: Joy Zou --- Changes in v3: 1. Change CONFIG_RTC_PCF2131 into CONFIG_RTC_PCF2127 because the pcf2131 driver have been merged into the pcf2127. --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff