RE: [PATCH 42/81] mmc: Remove and add needed includes

2024-05-02 Thread Jaehoon Chung
> -Original Message- > From: Tom Rini > Sent: Thursday, May 2, 2024 10:31 AM > To: u-boot@lists.denx.de > Cc: Peng Fan ; Jaehoon Chung ; Ryan > Chen > ; Chia-Wei Wang ; > Aspeed BMC SW team s...@aspeedtech.com>; Joel Stanley ; Matthias Brugger &g

RE: [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig

2024-05-02 Thread Jaehoon Chung
> -Original Message- > From: Tom Rini > Sent: Thursday, May 2, 2024 10:30 AM > To: u-boot@lists.denx.de > Cc: Weijie Gao ; GSS_MTK_Uboot_upstream > ; > Peng Fan ; Jaehoon Chung > Subject: [PATCH 01/81] mmc: Migrate MMC_SUPPORTS_TUNING to Kco

RE: [PATCH v4] mmc: Poll CD in case cyclic framework is enabled

2024-04-29 Thread Jaehoon Chung
> -Original Message- > From: Marek Vasut > Sent: Friday, April 26, 2024 8:41 PM > To: Jaehoon Chung ; u-boot@lists.denx.de > Cc: 'Peng Fan' ; 'Simon Glass' > Subject: Re: [PATCH v4] mmc: Poll CD in case cyclic framework is enabled > > On 4/26/24 8:27 AM, Jaeho

RE: [GIT PULL] Please pull u-boot-mmc master

2024-04-29 Thread Jaehoon Chung
Dear Judith, > -Original Message- > From: Judith Mendez > Sent: Tuesday, April 30, 2024 5:40 AM > To: Tom Rini ; Jaehoon Chung > Cc: U-Boot Mailing List ; > maximilian.br...@9elements.com; > curtis.mach...@intel.com; Jonas Karlman ; > greg.mal...@timesys.com; &

[GIT PULL] Please pull u-boot-pmic master

2024-04-29 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-pmic master into u-boot master branch. If there is a problem, let me know, plz Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/20569 The following changes since commit 174ac987655c888017c82df1883c0c2ea0dc2495

[GIT PULL] Please pull u-boot-mmc master

2024-04-26 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/20547 The following changes since commit d097f9e1299a3bdb7de468f0d9bbc63932f461cd

RE: [PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT

2024-04-26 Thread Jaehoon Chung
4 PMIC is no longer getting probed. > > So updating compatible field to align with Linux driver and DT. > > Signed-off-by: Udit Kumar Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/power/pmic/tps65941.c | 3 +++ > 1 file changed, 3 insertions(+) >

RE: [PATCH v4 5/5] power: regulator: tps65941: Add TPS65224 PMIC regulator support

2024-04-26 Thread Jaehoon Chung
de. > > Signed-off-by: Bhargav Raviprakash Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/power/regulator/tps65941_regulator.c | 280 ++- > 1 file changed, 267 insertions(+), 13 deletions(-) > > diff --git a/drivers/power/regulator/tps659

RE: [PATCH v4] mmc: Poll CD in case cyclic framework is enabled

2024-04-26 Thread Jaehoon Chung
Dear Marek, > -Original Message- > From: Marek Vasut > Sent: Wednesday, April 24, 2024 8:18 AM > To: u-boot@lists.denx.de; Jaehoon Chung > Cc: Peng Fan ; Simon Glass > Subject: Re: [PATCH v4] mmc: Poll CD in case cyclic framework is enabled > > On 3/16/24 9:

RE: [PATCH] mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops

2024-04-18 Thread Jaehoon Chung
Hi, > -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Wednesday, April 17, 2024 9:26 AM > To: 'Greg Malysa' ; u-boot@lists.denx.de; 'Peng Fan' > > Cc: 'Ian Roberts' ; 'Nathan Barrett-Morrison' > ; > 'Jonas Karlman' ; 'Kever Yang' ;

Re: [RESEND PATCH v3 5/5] power: regulator: tps65941: Add TPS65224 PMIC regulator support

2024-04-17 Thread Jaehoon Chung
2val(idx, *uV); > if (hex < 0) > return hex; > > - ret &= 0x0; > - ret = hex; > + if (chip_id == TPS65224) { > + hex = hex << TPS65941_LDO_MODE_MASK; > + ret &= ~TPS65224_LDO_VOLT_MASK; > + ret |= hex; >

Re: [RESEND PATCH v3 3/5] power: regulator: tps65941: Added macros for BUCK ID

2024-04-17 Thread Jaehoon Chung
On 3/18/24 18:49, Bhargav Raviprakash wrote: > Adds macros for buck and ldo ids and switched to using switch > case instead of if else in probe functions. Helps in adding > support for TPS65224 PMIC. > > Signed-off-by: Bhargav Raviprakash > Reviewed-by: Dhruva Gole Reviewed

Re: [RESEND PATCH v3 4/5] power: regulator: tps65941: use function callbacks for conversion ops

2024-04-17 Thread Jaehoon Chung
On 3/18/24 18:49, Bhargav Raviprakash wrote: > Use function callbacks for volt2val, val2volt and slewrate lookups. > This makes it easier to add support for TPS65224 PMIC regulators. > > Signed-off-by: Bhargav Raviprakash Reviewed-by: Jaehoon Chung Best Regards, J

Re: [RESEND PATCH v3 2/5] power: pmic: tps65941: Add TI TPS65224 PMIC

2024-04-17 Thread Jaehoon Chung
On 3/18/24 18:49, Bhargav Raviprakash wrote: > Adds compatible and data field values of TPS65224 driver in > TPS65941 PMIC driver. > > Signed-off-by: Bhargav Raviprakash > Reviewed-by: Dhruva Gole Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/

Re: [RESEND PATCH v3 1/5] power: tps65941: Add macros of TPS65224 PMIC

2024-04-17 Thread Jaehoon Chung
On 3/18/24 18:49, Bhargav Raviprakash wrote: > Re-use the TPS65941 PMIC driver for TPS65224 PMIC. > Add additional macros of TPS65224 to aid in the driver > re-use. > > Signed-off-by: Bhargav Raviprakash > Reviewed-by: Dhruva Gole Reviewed-by: Jaehoon Chung Best Rega

RE: [PATCH] mmc: cv1800b: Add transmit tap delay config to fix write error

2024-04-17 Thread Jaehoon Chung
> -Original Message- > From: Kongyang Liu > Sent: Tuesday, April 16, 2024 4:31 PM > To: u-boot@lists.denx.de > Cc: Jaehoon Chung ; Leo Yu-Chi Liang > ; Peng Fan > ; Tom Rini > Subject: [PATCH] mmc: cv1800b: Add transmit tap delay config to fix write >

RE: [PATCH 4/5] mmc: am654_sdhci: Set ENDLL=1 for DDR52 mode

2024-04-17 Thread Jaehoon Chung
> -Original Message- > From: Judith Mendez > Sent: Tuesday, April 16, 2024 6:28 AM > To: Peng Fan ; Jaehoon Chung ; Tom > Rini > Cc: Nitin Yadav ; Simon Glass ; > u-boot@lists.denx.de > Subject: [PATCH 4/5] mmc: am654_sdhci: Set ENDLL=1 for DDR52 mode >

RE: [PATCH 3/5] mmc: am654_sdhci: Add itap_del_ena[] to store itapdlyena bit

2024-04-17 Thread Jaehoon Chung
Hi, > -Original Message- > From: Judith Mendez > Sent: Tuesday, April 16, 2024 6:28 AM > To: Peng Fan ; Jaehoon Chung ; Tom > Rini > Cc: Nitin Yadav ; Simon Glass ; > u-boot@lists.denx.de > Subject: [PATCH 3/5] mmc: am654_sdhci: Add itap_del_ena[] to store it

RE: [PATCH 2/5] mmc: am654_sdhci: Fix OTAP/ITAP delay values

2024-04-17 Thread Jaehoon Chung
Hi Judith, > -Original Message- > From: Judith Mendez > Sent: Tuesday, April 16, 2024 6:28 AM > To: Peng Fan ; Jaehoon Chung ; Tom > Rini > Cc: Nitin Yadav ; Simon Glass ; > u-boot@lists.denx.de > Subject: [PATCH 2/5] mmc: am654_sdhci: Fix OTAP/ITAP delay value

RE: [PATCH 1/5] mmc: am654_sdhci: Add tuning algorithm for delay chain

2024-04-17 Thread Jaehoon Chung
> -Original Message- > From: Judith Mendez > Sent: Tuesday, April 16, 2024 6:28 AM > To: Peng Fan ; Jaehoon Chung ; Tom > Rini > Cc: Nitin Yadav ; Simon Glass ; > u-boot@lists.denx.de > Subject: [PATCH 1/5] mmc: am654_sdhci: Add tuning algorithm for de

RE: [PATCH 2/2] mmc: stm32_sdmmc2: Fix AARCH64 compilation warnings

2024-04-17 Thread Jaehoon Chung
> -Original Message- > From: Patrick DELAUNAY > Sent: Wednesday, April 17, 2024 6:02 PM > To: Patrice Chotard ; u-boot@lists.denx.de > Cc: U-Boot STM32 ; Jaehoon Chung > ; > Peng Fan ; Sean Anderson ; Simon Glass > ; Tom > Rini > Subject: Re: [PAT

RE: [PATCH 1/2] mmc: stm32_sdmmc2: Add "st,stm32mp25-sdmmc2" compatible

2024-04-17 Thread Jaehoon Chung
Hi > -Original Message- > From: Patrick DELAUNAY > Sent: Wednesday, April 17, 2024 6:02 PM > To: Patrice Chotard ; u-boot@lists.denx.de > Cc: U-Boot STM32 ; Jaehoon Chung > ; > Peng Fan ; Sean Anderson ; Simon Glass > ; Tom > Rini > Subject: Re: [PATCH 1

RE: [RFC PATCH v1 1/1] mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC

2024-04-17 Thread Jaehoon Chung
Hi, > -Original Message- > From: Maxim Kiselev > Sent: Wednesday, April 3, 2024 3:57 AM > To: Sean Anderson > Cc: Tom Rini ; Peng Fan ; Jaehoon Chung > ; > Marek Vasut ; Paul Barker > ; Kever Yang > ; Peter Geis ; Oleksandr > Suvorov > ; Stefa

RE: [PATCH] mmc: Support 32-bit only ADMA on 64-bit platforms

2024-04-16 Thread Jaehoon Chung
> -Original Message- > From: Greg Malysa > Sent: Tuesday, March 26, 2024 11:28 AM > To: u-boot@lists.denx.de; Peng Fan ; Jaehoon Chung > > Cc: Greg Malysa ; Nathan Barrett-Morrison > ; Ian > Roberts ; Jonas Karlman ; Kever > Yang chips.com>; M

RE: [PATCH] mmc: sdhci: Fix potential ADMA descriptor table overflow

2024-04-16 Thread Jaehoon Chung
> -Original Message- > From: Greg Malysa > Sent: Tuesday, March 26, 2024 11:23 AM > To: u-boot@lists.denx.de; Peng Fan ; Jaehoon Chung > > Cc: Ian Roberts ; Nathan Barrett-Morrison > ; Greg > Malysa ; Sean Anderson ; Tom > Rini > > Subject: [PATC

RE: [PATCH] mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops

2024-04-16 Thread Jaehoon Chung
> -Original Message- > From: Greg Malysa > Sent: Tuesday, March 26, 2024 11:18 AM > To: u-boot@lists.denx.de; Peng Fan ; Jaehoon Chung > > Cc: Ian Roberts ; Nathan Barrett-Morrison > ; Greg > Malysa ; Jonas Karlman ; Kever Yang > chips.com>; Peter G

RE: [PATCH] mmc: cv1800b: Add transmit tap delay config to fix write error

2024-04-16 Thread Jaehoon Chung
Hi, > -Original Message- > From: Kongyang Liu > Sent: Tuesday, April 16, 2024 4:31 PM > To: u-boot@lists.denx.de > Cc: Jaehoon Chung ; Leo Yu-Chi Liang > ; Peng Fan > ; Tom Rini > Subject: [PATCH] mmc: cv1800b: Add transmit tap delay config to fix write >

RE: [PATCH 2/2] mmc: Add support for the no-mmc-hs400 prop

2024-04-16 Thread Jaehoon Chung
Hi > -Original Message- > From: Jonas Karlman > Sent: Tuesday, April 9, 2024 6:06 AM > To: Peng Fan ; Jaehoon Chung ; Tom > Rini > Cc: Jonas Karlman ; u-boot@lists.denx.de > Subject: [PATCH 2/2] mmc: Add support for the no-mmc-hs400 prop > > The linux comm

RE: [PATCH 1/2] mmc: Imply HS200 cap with mmc-hs400 prop to match linux

2024-04-16 Thread Jaehoon Chung
Hi, > -Original Message- > From: Quentin Schulz > Sent: Wednesday, April 10, 2024 5:57 PM > To: Dragan Simic > Cc: Jonas Karlman ; Peng Fan ; Jaehoon > Chung > ; Tom Rini ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] mmc: Imply HS200 cap with mmc-hs40

RE: [PATCH 1/2] mmc: Imply HS200 cap with mmc-hs400 prop to match linux

2024-04-16 Thread Jaehoon Chung
Hi, > -Original Message- > From: Quentin Schulz > Sent: Wednesday, April 10, 2024 12:27 AM > To: Jonas Karlman ; Peng Fan ; Jaehoon > Chung > ; Tom Rini > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] mmc: Imply HS200 cap with mmc-hs400 prop to matc

RE: [PATCH v2] mmc: arm_pl180: Limit data transfer to U16_MAX

2024-04-15 Thread Jaehoon Chung
> -Original Message- > From: c...@mailbox.org > Sent: Monday, April 15, 2024 6:53 PM > To: u-boot@lists.denx.de > Cc: Maximilian Brune ; Peng Fan > ; Jaehoon Chung > > Subject: [PATCH v2] mmc: arm_pl180: Limit data transfer to U16_MAX > > From: Ma

RE: [PATCH] mmc: sdhci: programmable clock calculation needs multiplier +1

2024-04-15 Thread Jaehoon Chung
> -Original Message- > From: curtis.mach...@intel.com > Sent: Saturday, April 13, 2024 4:27 AM > To: u-boot@lists.denx.de; Peng Fan ; Jaehoon Chung > > Cc: cmachida ; Jonas Karlman ; > Kever Yang chips.com>; Peter Geis ; Sean Anderson > ; Simon Gl

[GIT PULL] Please pull u-boot-mmc master

2024-04-15 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz. BTW, I'm checking other pending patches in more detail. After checking, I will apply them into u-boot-mmc. Sorry for too late. Best Regards, Jaehoon Chung CI: https://source.denx.de/u

RE: [PATCH] mmc: cv1800b_sdhci: Remove the unused argument

2024-04-15 Thread Jaehoon Chung
Hi, > -Original Message- > From: Jaehoon Chung > Sent: Monday, April 15, 2024 4:57 PM > To: u-boot@lists.denx.de > Cc: tr...@konsulko.com; ycli...@andestech.com; Jaehoon Chung > > Subject: [PATCH] mmc: cv1800b_sdhci: Remove the unused argument > > Remov

[PATCH] mmc: cv1800b_sdhci: Remove the unused argument

2024-04-15 Thread Jaehoon Chung
Remove the unused argument about cmd_error. Fixes: a3b2786651c7 ("mmc: Drop unused mmc_send_tuning() cmd_error parameter") Signed-off-by: Jaehoon Chung 1 --- drivers/mmc/cv1800b_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/cv1800b_sdhci.c

RE: [PATCH v2] mmc: arm_pl180: Limit data transfer to U16_MAX

2024-04-15 Thread Jaehoon Chung
Hi, > -Original Message- > From: c...@mailbox.org > Sent: Thursday, April 4, 2024 3:58 PM > To: u-boot@lists.denx.de > Cc: Maximilian Brune ; Peng Fan > ; Jaehoon Chung > > Subject: [PATCH v2] mmc: arm_pl180: Limit data transfer to U16_MAX > > From: Ma

RE: [PATCH v2 3/3] mmc: hi6220_dw_mmc: add fifoth_val to private data and set it in .probe

2024-04-15 Thread Jaehoon Chung
Hi, > -Original Message- > From: Yang Xiwen > Sent: Wednesday, April 3, 2024 10:22 AM > To: Jaehoon Chung ; Peng Fan > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v2 3/3] mmc: hi6220_dw_mmc: add fifoth_val to private > data and set it in .probe > > O

RE: [PATCH v2 2/3] mmc: dw_mmc: Don't return error if data busy timeout

2024-04-15 Thread Jaehoon Chung
Hi, > -Original Message- > From: Yang Xiwen > Sent: Wednesday, April 3, 2024 10:20 AM > To: Jaehoon Chung ; Peng Fan > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v2 2/3] mmc: dw_mmc: Don't return error if data busy > timeout > > On 4/3/2024 8:41 AM,

RE: [PATCH v2 1/3] mmc: hi6220-dwmmc: handle clocks and resets if CONFIG_CLK and CONFIG_DM_RESET enabled

2024-04-15 Thread Jaehoon Chung
Hi, > -Original Message- > From: Yang Xiwen > Sent: Wednesday, April 3, 2024 10:16 AM > To: Jaehoon Chung ; Peng Fan > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v2 1/3] mmc: hi6220-dwmmc: handle clocks and resets if > CONFIG_CLK and > CONFIG_DM_RESET enabl

Re: [PATCH] mmc: arm_pl180: Limit data transfer to U16_MAX

2024-04-02 Thread Jaehoon Chung
-by: max Could you add your full name as Signed-off's tag? > Cc: Peng Fan > Cc: Jaehoon Chung > --- > drivers/mmc/arm_pl180_mmci.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci

Re: [PATCH v2 3/3] mmc: renesas-sdhi: Do not access SCC during tuning in send_cmd callback

2024-04-02 Thread Jaehoon Chung
hi_check_scc_error() call in case the > MMC subsystem is in tuning state. This way, the SCC settings are left > unmodified by command transfer during tuning operation. > > Reviewed-by: Paul Barker > Tested-by: Paul Barker > Signed-off-by: Marek Vasut Reviewed-by: Jaehoon Chun

Re: [PATCH v2 2/3] mmc: Add generic tuning flag

2024-04-02 Thread Jaehoon Chung
On 2/25/24 07:32, Marek Vasut wrote: > Set generic mmc->tuning flag when performing tuning to indicate > this condition to drivers. Drivers may use this to bypass various > checks during tuning. > > Signed-off-by: Marek Vasut Reviewed-by: Jaehoon Chung Best Regards, Jaehoon

Re: [PATCH v2 1/3] mmc: Convert hs400_tuning flag from u8 to bool

2024-04-02 Thread Jaehoon Chung
> > Signed-off-by: Marek Vasut Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > Cc: Hai Pham > Cc: Jaehoon Chung > Cc: Nobuhiro Iwamatsu > Cc: Paul Barker > Cc: Peng Fan > Cc: Sean Anderson > Cc: Tom Rini > Cc: Yoshihiro Shimoda > ---

Re: [PATCH] mmc: renesas-sdhi: Stop transmission in case tuning block transfer fails

2024-04-02 Thread Jaehoon Chung
return value from transmission stop command. > > Signed-off-by: Marek Vasut > Reviewed-by: Paul Barker > Tested-by: Paul Barker > --- > Cc: Hai Pham > Cc: Jaehoon Chung > Cc: Nobuhiro Iwamatsu > Cc: Paul Barker > Cc: Peng Fan > Cc: Sean Anderson >

Re: [PATCH] mmc: tmio: Check INFO1 for completion during DMA transfer

2024-04-02 Thread Jaehoon Chung
l Barker > Tested-by: Paul Barker Reviewed-by: Jaehoon Chung Sorry for late. Will apply to u-boot-mmc/master, Thanks! Best Regards, Jaehoon Chung > --- > Cc: Hai Pham > Cc: Jaehoon Chung > Cc: Nobuhiro Iwamatsu > Cc: Paul Barker > Cc: Peng Fan > Cc: Sean Anderso

Re: [PATCH] mmc: arm_pl180_mmci: Rely on DM

2024-04-02 Thread Jaehoon Chung
!CONFIG_DM code and depend on DM_MMC. > > Tested on the Versatile Express CA9x4 board. > > Signed-off-by: Linus Walleij Reviewed-by: Jaehoon Chung Sorry for late. I will apply this patch to u-boot-mmc/master. Thanks. Best Regards, Jaehoon Chung > --- > drivers/mmc/Kconfi

Re: [PATCH v2 3/3] mmc: hi6220_dw_mmc: add fifoth_val to private data and set it in .probe

2024-04-02 Thread Jaehoon Chung
_val; > host->mmc->priv = >host; > upriv->mmc = host->mmc; > host->mmc->dev = dev; > @@ -154,13 +156,20 @@ static const struct hisi_mmc_data hi6220_mmc_data = { > .use_fifo = false, > }; > > +static const struct hisi_mmc_dat

Re: [PATCH v2 2/3] mmc: dw_mmc: Don't return error if data busy timeout

2024-04-02 Thread Jaehoon Chung
eems to be same with previous patch, right? Best Regards, Jaehoon Chung > > [1]: > https://patchwork.kernel.org/project/linux-mmc/patch/1424458179-5456-1-git-send-email-diand...@chromium.org/ > > Signed-off-by: Yang Xiwen > --- > drivers/mmc/dw_mmc.c | 4 ++-- > 1 fil

Re: [PATCH v2 1/3] mmc: hi6220-dwmmc: handle clocks and resets if CONFIG_CLK and CONFIG_DM_RESET enabled

2024-04-02 Thread Jaehoon Chung
} > + } > host->name = dev->name; > host->ioaddr = dev_read_addr_ptr(dev); > host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), > @@ -56,11 +89,37 @@ static int hi6220_dwmmc_probe(struct udevice *dev)

Re: [PATCH v2] mmc: Add SPL_MMC_PWRSEQ to fix link issue when building SPL

2024-04-02 Thread Jaehoon Chung
ed reference > to `dm_gpio_set_value' > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang > Reviewed-by: Neil Armstrong > Acked-by: Ferass El Hafidi Reviewed-by: Jaehoon Chung Applied to u-boot-mmc/master, thanks! Sorry for late. Best Regards, Jaehoon Chung > --- >

Re: [PATCH v2] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2024-04-02 Thread Jaehoon Chung
ith other compiler. After that, I will inform again about this patch. Best Regards, Jaehoon Chung > > Code from the call site: > > cmd.cmdidx = SD_CMD_APP_SEND_SCR; // 51 > ... > data.blocksize = 8; > ... > err = mmc_send_cmd_retry(mmc, , , 3); > > Runn

Re: [PATCH] mmc: dw_mmc: Don't return error if data busy timeout

2024-04-02 Thread Jaehoon Chung
. Did you check all cases? Best Regards, Jaehoon Chung > > [1]: > https://patchwork.kernel.org/project/linux-mmc/patch/1424458179-5456-1-git-send-email-diand...@chromium.org/ > > Signed-off-by: Yang Xiwen > --- > drivers/mmc/dw_mmc.c | 4 ++-- > 1 file chan

Re: [PATCH 1/1] mmc: Don't suggest to build modules in Kconfig.

2024-04-02 Thread Jaehoon Chung
; Fixes: dadd43c14368 ("mmc: synquacer: Add SynQuacer F_SDH30 SDHCI driver") > Fixes: b312c590bcd8 ("mmc: Add MMC support for stm32h7 Socs") > Fixes: d24b69395949 ("mmc: mtk-sd: add SD/MMC host controller driver for > MT7623 SoC") > Signed-off-by: Heinrich S

Re: [PATCH 1/1] mmc: Avoid buffer overrun in mmc_startup()

2024-04-02 Thread Jaehoon Chung
-ero...@de.adit-jv.com/ > reserved values have been observed resulting in a buffer overrun. > > Reported-by: Eugeniu Rosca > Fixes: 272cc70b211e ("Add MMC Framework") > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Jaehoon Chung Applied to u-boo

Re: [PATCH 1/1] mmc: Avoid buffer overrun in mmc_startup()

2024-01-17 Thread Jaehoon Chung
-ero...@de.adit-jv.com/ > reserved values have been observed resulting in a buffer overrun. > > Reported-by: Eugeniu Rosca > Fixes: 272cc70b211e ("Add MMC Framework") > Signed-off-by: Heinrich Schuchardt Reviewed-by: Jaehoon Chung Best Regards, Jaehoo

Re: [PATCH] mmc: Unconditionally call mmc_deinit()

2024-01-17 Thread Jaehoon Chung
On 12/3/23 08:39, Marek Vasut wrote: > Place the SDR104/HS200/HS400 checks into the mmc_deinit() and always > call it. This simplifies the code and removes ifdeffery. No functional > change is expected. > > Signed-off-by: Marek Vasut Reviewed-by: Jaehoon Chung Best Regards

Re: [PATCH v2] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2024-01-17 Thread Jaehoon Chung
On 11/28/23 15:38, Kuan Lim Lee wrote: > Cadence SDMMC v6 controller has a lot of changes on initialize > compared to v4 controller. PHY is needed by v6 controller. > > Signed-off-by: Kuan Lim Lee > Co-developed-by: Alex Soo > Signed-off-by: Wei Liang Lim Reviewed-by: Ja

Re: [PATCH v2 RESEND] mmc: dw_mmc: reset controller after data error

2024-01-17 Thread Jaehoon Chung
t; Signed-off-by: Jason Zhu > [eugen.hris...@collabora.com: modified a bit the variables initialization] > Signed-off-by: Eugen Hristev > Reviewed-by: Kever Yang Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/mmc/dw_mmc.c | 20 +++- >

Re: [PATCH v3 2/5] gpio: qcom_pmic: rework pwrkey driver into a button driver

2023-11-15 Thread Jaehoon Chung
he "qcom,pm8998-pwrkey" compatible with > "qcom,pm8941-pwrkey" to match upstream (Linux). > > The dragonboard410c and 820c boards are adjusted to benefit from this > change too, simplify their custom board init code. I think that this patch can be splited. How about

Re: [PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-11-15 Thread Jaehoon Chung
On 11/15/23 12:36, KuanLim.Lee wrote: > Hi Jaehoon, > If there are no more feedback, I will send out version2 patch soon. > > On 11/7/23 14:24, Kuan Lim Lee wrote: >> >> Hi Jaehoon, >> >> On 11/1/23 08:20, Jaehoon Chung wrote: >>> From: Jaehoon Chu

Re: [PATCH 2/3] sunxi: H616: remove default AXP305 selection

2023-11-14 Thread Jaehoon Chung
default AXP305 selection for the H616 SoC from the Kconfig, > and move the PMIC selection into the board defconfig files instead. > > Signed-off-by: Andre Przywara Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > configs/orangepi_zero2_defconfig | 1 + > con

RE: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, November 7, 2023 3:42 PM > To: 'Bhargav Raviprakash' ; u-boot@lists.denx.de > Subject: RE: [PATCH v2 1/2] driver: power: add support for TPS65224 > > Hi Bhargav, > > > -

RE: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Jaehoon Chung
Hi Bhargav, > -Original Message- > From: Bhargav Raviprakash > Sent: Monday, November 6, 2023 11:07 PM > To: u-boot@lists.denx.de > Cc: jh80.ch...@samsung.com; Bhargav Raviprakash > Subject: [PATCH v2 1/2] driver: power: add support for TPS65224 > > Added support for PMIC TPS65224.

RE: [PATCH] mmc: renesas-sdhi: Disable clock after tuning reset when possible

2023-11-06 Thread Jaehoon Chung
> -Original Message- > From: Marek Vasut > Sent: Monday, November 6, 2023 7:43 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Jaehoon Chung > ; Nobuhiro > Iwamatsu ; Paul Barker ; > Peng Fan > > Subject: [PATCH] mmc: renesas-sdhi: Disable clock after

RE: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration

2023-11-02 Thread Jaehoon Chung
Hi, > -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Friday, November 3, 2023 10:07 AM > To: 'Mattijs Korpershoek' > Cc: lu...@denx.de; u-boot@lists.denx.de > Subject: RE: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuratio

RE: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration

2023-11-02 Thread Jaehoon Chung
Hi Mathtjjs, > -Original Message- > From: Mattijs Korpershoek > Sent: Thursday, November 2, 2023 6:15 PM > To: Jaehoon Chung > Cc: lu...@denx.de; u-boot@lists.denx.de > Subject: Re: [PATCH] dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration > > Hi Jaehoon, >

Re: [PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-11-02 Thread Jaehoon Chung
; + > + /* Switch Off the DLL Reset */ > + ret = sdhci_cdns6_reset_phy_dll(plat, 0); > + if (ret) { > + printf("sdhci_cdns6_reset_phy is not completed\n"); > + return ret; > + } > + > + /* Set PHY DQ TIMING control register

Re: [PATCH 5/8] mmc: renesas-sdhi: Drop

2023-11-01 Thread Jaehoon Chung
On 11/2/23 05:05, Paul Barker wrote: > In line with changes elsewhere, drop inclusion of the common header. > > Signed-off-by: Paul Barker Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/mmc/renesas-sdhi.c | 1 - > 1 file changed, 1 deletion(

[PATCH] usb: dwc3-meson-g12a: Use regulator_set_enable_if_allowed

2023-11-01 Thread Jaehoon Chung
;) Signed-off-by: Jaehoon Chung --- drivers/usb/dwc3/dwc3-meson-g12a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c index e0356e653fcc..59276483c19d 100644 --- a/drivers/usb/dwc3/dwc3-meson-g1

RE: [PATCH] power: regulator: Fix an handling error about EALREADY

2023-11-01 Thread Jaehoon Chung
Hi, > -Original Message- > From: Jonas Karlman > Sent: Wednesday, November 1, 2023 6:33 PM > To: Jaehoon Chung > Cc: s...@chromium.org; patrice.chot...@foss.st.com; > eugen.hris...@collabora.com; tr...@konsulko.com; u- > b...@lists.denx.de > Subject: Re: [PATC

RE: [PATCH] power: regulator: Fix an handling error about EALREADY

2023-11-01 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Wednesday, November 1, 2023 5:11 PM > To: 'Jonas Karlman' > Cc: s...@chromium.org; patrice.chot...@foss.st.com; > eugen.hris...@collabora.com; tr...@konsulko.com; u- > b...@lists.denx.de

RE: [PATCH] power: regulator: Fix an handling error about EALREADY

2023-11-01 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Wednesday, November 1, 2023 5:07 PM > To: 'Jonas Karlman' > Cc: s...@chromium.org; patrice.chot...@foss.st.com; > eugen.hris...@collabora.com; tr...@konsulko.com; u- > b...@lists.denx.de

RE: [PATCH] power: regulator: Fix an handling error about EALREADY

2023-11-01 Thread Jaehoon Chung
> -Original Message- > From: Jonas Karlman > Sent: Wednesday, November 1, 2023 4:47 PM > To: Jaehoon Chung > Cc: s...@chromium.org; patrice.chot...@foss.st.com; > eugen.hris...@collabora.com; tr...@konsulko.com; u- > b...@lists.denx.de > Subject: Re: [PATC

[GIT PULL] Please pull u-boot-mmc master

2023-11-01 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz. Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/18386 The following changes since commit 62fc66b6d228d628c3f672c736aa57e4174ac783

[PATCH] power: regulator: Fix an handling error about EALREADY

2023-11-01 Thread Jaehoon Chung
If reegulator is already enabled, it will be return to EALREADY. But driver that its function is called can notice as error, even though it's working fine. Fixes: 4fcba5d556b ("regulator: implement basic reference counter") Signed-off-by: Jaehoon Chung --- drivers/power/regulator

RE: [PATCH v4] cmd: mmc: Add mmc reg read command for reading card registers

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: Fabio Estevam > Sent: Wednesday, November 1, 2023 1:09 AM > To: Marek Vasut > Cc: u-boot@lists.denx.de; Jaehoon Chung ; Abdellatif > El Khlifi > ; Heinrich Schuchardt ; > Ilias Apalodimas > ; Ramon Fried ; Roger > Knecht

RE: [PATCH] mmc: sdhci: Rework SDHCI_QUIRK_BROKEN_R1B

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Wednesday, November 1, 2023 10:09 AM > To: 'Henrik Grimler' ; 'Sean Anderson' > > Cc: u-boot@lists.denx.de; 'Rayagonda Kokatanur' > ; 'Bharat Kumar > Reddy Gooty' > Subject: RE:

RE: [PATCH] mmc: pci: Drop the superfluous cast

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, October 31, 2023 3:09 PM > To: Bin Meng ; Peng Fan > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] mmc: pci: Drop the superfluous cast > > On 10/11/23 20:00, Bin Meng wrote: >

RE: [PATCH] mmc: spl: select SPL_BLK for SPL_DM_MMC

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, October 31, 2023 2:04 PM > To: Oleksandr Suvorov ; u-boot@lists.denx.de > Cc: Peng Fan > Subject: Re: [PATCH] mmc: spl: select SPL_BLK for SPL_DM_MMC > > On 8/24/23 00:45,

RE: [PATCH] mmc: sdhci: Rework SDHCI_QUIRK_BROKEN_R1B

2023-10-31 Thread Jaehoon Chung
Hi, > -Original Message- > From: Henrik Grimler > Sent: Sunday, October 29, 2023 5:31 AM > To: Sean Anderson > Cc: u-boot@lists.denx.de; Jaehoon Chung ; Rayagonda > Kokatanur > ; Bharat Kumar Reddy Gooty > > Subject: Re: [PATCH] mmc: sdhci: Rework SDHCI_QU

RE: [PATCH v2 3/5] rng: Add StarFive JH7110 RNG driver

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Chanho Park > Sent: Wednesday, November 1, 2023 8:55 AM > To: Sughosh Ganu ; Heinrich Schuchardt > ; Rick Chen > ; Leo ; u-boot@lists.denx.de > Cc: Chanho Park > Subject: [PATCH v2 3/5] rng: Add StarFive JH7110 RNG driver > > Adds to

RE: [PATCH 1/2] riscv: dts: jh7110: Add a gpio-restart node

2023-10-31 Thread Jaehoon Chung
Hi, > -Original Message- > From: Tom Rini > Sent: Tuesday, October 31, 2023 10:01 PM > To: Jaehoon Chung > Cc: u-boot@lists.denx.de; ycli...@andestech.com; > yanhong.w...@starfivetech.com; > minda.c...@starfivetech.com; xingyu...@starfivetech.com > Subject: Re

RE: [PATCH v9 4/8] power: regulator: max77663: add regulator support

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: Svyatoslav Ryhel > Sent: Friday, October 27, 2023 5:26 PM > To: Tom Rini ; Jaehoon Chung ; > Simon Glass > ; Svyatoslav Ryhel > Cc: u-boot@lists.denx.de > Subject: [PATCH v9 4/8] power: regulator: max77663: add regulator support

RE: [PATCH v9 3/8] power: pmic: add the base MAX77663 PMIC support

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: Svyatoslav Ryhel > Sent: Friday, October 27, 2023 5:26 PM > To: Tom Rini ; Jaehoon Chung ; > Simon Glass > ; Svyatoslav Ryhel > Cc: u-boot@lists.denx.de > Subject: [PATCH v9 3/8] power: pmic: add the base MAX77663 PMIC support

[PATCH 2/2] configs: starfive2: Enable CONFIG_SYSRET config

2023-10-31 Thread Jaehoon Chung
Enable CONFIG_SYSREST config to do reset. Signed-off-by: Jaehoon Chung --- configs/starfive_visionfive2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig index b21754feafce..afa74e17ebd5 100644

[PATCH 1/2] riscv: dts: jh7110: Add a gpio-restart node

2023-10-31 Thread Jaehoon Chung
sbi_console_putchar ...[snip]... IPI Extension RFENCE Extension Hart State Management Extension System Reset Extension Performance Monitoring Unit Extension Signed-off-by: Jaehoon Chung --- arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 + 1 file changed, 5 insertions(+) diff

RE: [PATCH v9 1/8] power: pmic: palmas: support TI TPS65913 PMIC

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: Svyatoslav Ryhel > Sent: Friday, October 27, 2023 5:26 PM > To: Tom Rini ; Jaehoon Chung ; > Simon Glass > ; Svyatoslav Ryhel > Cc: u-boot@lists.denx.de > Subject: [PATCH v9 1/8] power: pmic: palmas: support TI TPS65913 PMIC &

RE: [PATCH 1/3] sunxi: board: simplify early PMIC setup conditions

2023-10-31 Thread Jaehoon Chung
Hi, > -Original Message- > From: Andre Przywara > Sent: Sunday, October 22, 2023 6:19 AM > To: Jernej Škrabec > Cc: Jagan Teki ; Jaehoon Chung > ; Samuel Holland > ; SASANO Takayoshi ; Mikhail > Kalashnikov ; > Piotr Oniszczuk ; u-boot@lists.denx.de; &g

RE: [PATCH 2/2] sunxi: mmc: Move header to the driver directory

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: Samuel Holland > Sent: Tuesday, October 31, 2023 2:23 PM > To: u-boot@lists.denx.de; Jagan Teki ; Andre > Przywara > > Cc: Samuel Holland ; Jaehoon Chung > ; Peng Fan > > Subject: [PATCH 2/2] sunxi: mmc: Move header to the

RE: [PATCH 1/2] sunxi: mmc: Sort compatible strings numerically

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: Samuel Holland > Sent: Tuesday, October 31, 2023 2:23 PM > To: u-boot@lists.denx.de; Jagan Teki ; Andre > Przywara > > Cc: Samuel Holland ; Jaehoon Chung > ; Peng Fan > > Subject: [PATCH 1/2] sunxi: mmc: Sort compatible s

RE: [PATCH v2] cmd: mmc: Add mmc reg read command for reading card registers

2023-10-31 Thread Jaehoon Chung
Hi, > -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, October 31, 2023 3:08 PM > To: Marek Vasut ; u-boot@lists.denx.de > Cc: Abdellatif El Khlifi ; Heinrich Schuchardt > ; > Ilias Apalodimas ; Ramon Fried > ; Roger Knecht >

Re: [PATCH 3/3] power: regulator: add AXP313 support

2023-10-31 Thread Jaehoon Chung
adjust voltages. > > Signed-off-by: Andre Przywara Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/power/pmic/axp.c| 1 + > drivers/power/regulator/axp_regulator.c | 17 + > include/axp_pmic.h | 1 +

Re: [PATCH] mmc: pci: Drop the superfluous cast

2023-10-31 Thread Jaehoon Chung
On 10/11/23 20:00, Bin Meng wrote: > dm_pci_map_bar() return a value of (void *) already, hence no need > to cast it again before assigning to host->ioaddr. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung >

Re: [PATCH v2] cmd: mmc: Add mmc reg read command for reading card registers

2023-10-31 Thread Jaehoon Chung
; > Signed-off-by: Marek Vasut > --- > Cc: Abdellatif El Khlifi > Cc: Heinrich Schuchardt > Cc: Ilias Apalodimas > Cc: Jaehoon Chung > Cc: Ramon Fried > Cc: Roger Knecht > Cc: Sean Edmond > Cc: Simon Glass > Cc: Tobias Waldekranz Looks good to me. I have te

RE: [PATCH v2 2/2] power: pmic: fix regulators behaviour

2023-10-30 Thread Jaehoon Chung
Hi, If will resend this patch according Simon's comment, I will check again. Best Regards, Jaehoon Chung > -Original Message- > From: Simon Glass > Sent: Wednesday, July 19, 2023 10:08 AM > To: Svyatoslav Ryhel > Cc: Jaehoon Chung ; Patrick Delaunay > ; u- &g

Re: [PATCH] spl: mmc: Resolve emmc not load image after switched hw partition

2023-10-30 Thread Jaehoon Chung
On 10/3/23 13:16, Kuan Lim Lee wrote: > When selecting MMCSD_MODE_EMMCBOOT as boot_mode, emmc do not load U-boot > proper image after switched hardware partition. > > Signed-off-by: Kuan Lim Lee > Reviewed-by: Chee Hong Ang > Reviewed-by: Wei Liang Lim Reviewed-by: Ja

Re: [PATCH] power: mp5416: Fix LDO SVAL for MP5416 PMIC

2023-10-30 Thread Jaehoon Chung
On 9/25/23 07:30, Sidharth Prabukumar wrote: > The MP5416 PMIC's LDO set-value formula is incorrect. This patch fixes > it by using the correct formula. > > Signed-off-by: Sidharth Prabukumar > Cc: Jaehoon Chung Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --

Re: [PATCH] mmc: spl: select SPL_BLK for SPL_DM_MMC

2023-10-30 Thread Jaehoon Chung
om Rini Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > > drivers/mmc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig > index de01b9687ba..d24677de076 100644 > --- a/drivers/mmc/Kconfig > +++ b/d

Re: [PATCH v2 2/2] power: pmic: fix regulators behaviour

2023-10-30 Thread Jaehoon Chung
which > use them without issues. > > Signed-off-by: Svyatoslav Ryhel Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/power/pmic/pmic-uclass.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/drivers/power/pmic/pmic-uclass.c &g

Re: [PATCH v2 1/2] power: pmic: support TI TPS65913 PMIC

2023-10-30 Thread Jaehoon Chung
ted-by: Svyatoslav Ryhel # NVIDIA Tegratab > Signed-off-by: Svyatoslav Ryhel Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/power/pmic/palmas.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/power/pmic/palmas.c b/drivers/power/pmic/pal

  1   2   3   4   5   6   7   8   9   10   >