-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 45 +++
1 file changed, 45 insertions(+)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index e86ef1a8b218..9549420c6582 100644
From: Faiz Abbas
Add support for writing new clock buffer select property for both
the am654x and j721e 4 bit IPs
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 11 +++
1 file changed, 11 insertions(+)
diff
it for the
appropriate speed mode.
Therefore, move all dll configurations to their own functions and gate it
with 50 MHz speed and a minimum mode. If both these conditions are not
satisfied then configure delay chain modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon
From: Faiz Abbas
Add Support for AM65x PG2.0. Use the SoC bus framework to fixup
the platform data and do DLL calibration if the revision is 1.0
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 30
From: Faiz Abbas
Not all controllers need calibration for the PHY DLL. Add a DLL_CALIB
flag to indicate the same.
Also move the write of trm_icp and driver strength to the set_clock()
function to match the kernel configuration flow.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
From: Faiz Abbas
Convert the flags field defines to use the BIT() macro.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c
is no
longer required.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index baa935e0d5b0
From: Faiz Abbas
Add a set_voltage() function which handles the switch from 3.3V to 1.8V
for SD card UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/sdhci.c | 95 +
include/sdhci.h
The following patches add support for higher speeds in the SD card and
eMMC for TI's am65x, j721e, j7200 platforms.
With these patches, the following max speeds are supported:
j721e: DDR50, HS200
j7200: SDR104, HS200
am65x: SDR104*, HS200
changes since v5:
1. In patch 1 moved the 5ms delay after
Hi Jaehoon,
On 04/02/21 4:23 am, Jaehoon Chung wrote:
> Hi Aswath,
>
> On 2/3/21 3:06 PM, Aswath Govindraju wrote:
>> Hi Jaehoon,
>>
>> On 02/02/21 3:40 am, Jaehoon Chung wrote:
>>> Hi Aswath,
>>>
>>> On 1/29/21 11:47 PM, Aswath
Hi Jaehoon,
On 02/02/21 3:40 am, Jaehoon Chung wrote:
> Hi Aswath,
>
> On 1/29/21 11:47 PM, Aswath Govindraju wrote:
>> From: Faiz Abbas
>>
>> Add a set_voltage() function which handles the switch from 3.3V to 1.8V
>> for SD card UHS modes.
>>
>
On 03/02/21 11:36 am, Aswath Govindraju wrote:
> Hi Jaehoon,
>
> On 02/02/21 3:40 am, Jaehoon Chung wrote:
>> Hi Aswath,
>>
>> On 1/29/21 11:47 PM, Aswath Govindraju wrote:
>>> From: Faiz Abbas
>>>
>>> Add a set_voltage() function which ha
Hi,
On 28/01/21 3:13 pm, Aswath Govindraju wrote:
> The following patches add support for higher speeds in the SD card and
> eMMC for TI's am65x, j721e, j7200 platforms.
>
> With these patches, the following max speeds are supported:
> j721e: DDR50, HS200
> j7200: SDR104, HS4
From: Faiz Abbas
Add configs for voltage switching and UHS modes for the SD card
and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/am65x_evm_a53_defconfig | 8
configs/am65x_evm_r5_defconfig | 2 ++
2 files changed, 10 insertions
-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am654-base-board.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/k3-am654-base-board.dts
b/arch/arm/dts/k3-am654-base-board.dts
index 33a1b9fdc4b7..830526a1e473 100644
--- a/arch/arm/dts/k3-am654-base
From: Faiz Abbas
Add the appropriate itapdly and clkbuf-sel values required for
some lower speed modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am65-main.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b
From: Faiz Abbas
Add configs to support UHS modes for the SD card and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/j7200_evm_a72_defconfig | 8
configs/j7200_evm_r5_defconfig | 1 +
2 files changed, 9 insertions(+)
diff --git a/configs
From: Faiz Abbas
Add configs to support UHS modes for the SD card and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/j721e_evm_a72_defconfig | 8
configs/j721e_evm_r5_defconfig | 1 +
2 files changed, 9 insertions(+)
diff --git a/configs
From: Faiz Abbas
Add support for UHS modes by adding the regulators to power cycle
and voltage switch the card. Also add pinmuxes required for each
node
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-common-proc-board.dts | 49 ++-
arch
From: Faiz Abbas
Add support for the main_gpio0 node
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-main.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-main.dtsi b/arch/arm/dts/k3-j7200-main.dtsi
From: Faiz Abbas
Add support for regulators to power cycle and switch IO voltage to the
SD card. This enables support for UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j721e-common-proc-board.dts | 32 +
1 file changed, 32
From: Faiz Abbas
Update otap delay values to match with the latest Data Manual[1].
[1] https://www.ti.com/lit/gpn/dra829v
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j721e-main.dtsi | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
-board.dts
instead of the u-boot.dtsi
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am65-main.dtsi | 22 +++
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 67 +++-
arch/arm/dts/k3-am654-base-board.dts | 25
arch/arm
From: Faiz Abbas
Use the generic sdhci_set_control_reg() instead of duplicating
in platform driver.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions
and SDR25
speed modes.
Use the sdhci writeb callback to implement this condition.
[1] http://www.ti.com/lit/gpn/am6546 Section 5.10.5.16.1
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/Kconfig | 1 +
drivers/mmc/am654_sdhci.c | 25
-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 45 +++
1 file changed, 45 insertions(+)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index e86ef1a8b218..9549420c6582 100644
it for the
appropriate speed mode.
Therefore, move all dll configurations to their own functions and gate it
with 50 MHz speed and a minimum mode. If both these conditions are not
satisfied then configure delay chain modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon
From: Faiz Abbas
Add support for writing new clock buffer select property for both
the am654x and j721e 4 bit IPs
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 11 +++
1 file changed, 11 insertions(+)
diff
From: Faiz Abbas
Add Support for AM65x PG2.0. Use the SoC bus framework to fixup
the platform data and do DLL calibration if the revision is 1.0
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 30
From: Faiz Abbas
Not all controllers need calibration for the PHY DLL. Add a DLL_CALIB
flag to indicate the same.
Also move the write of trm_icp and driver strength to the set_clock()
function to match the kernel configuration flow.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
From: Faiz Abbas
Convert the flags field defines to use the BIT() macro.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c
is no
longer required.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index baa935e0d5b0
From: Faiz Abbas
Add a set_voltage() function which handles the switch from 3.3V to 1.8V
for SD card UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/sdhci.c | 73 +
include/sdhci.h | 10 +++
2 files
The following patches add support for higher speeds in the SD card and
eMMC for TI's am65x, j721e, j7200 platforms.
With these patches, the following max speeds are supported:
j721e: DDR50, HS200
j7200: SDR104, HS200
am65x: SDR104*, HS200
changes since v4:
1. removed patch(15 in v4) that adds
From: Faiz Abbas
Add configs for voltage switching and UHS modes for the SD card
and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/am65x_evm_a53_defconfig | 8
configs/am65x_evm_r5_defconfig | 2 ++
2 files changed, 10 insertions
-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am654-base-board.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/k3-am654-base-board.dts
b/arch/arm/dts/k3-am654-base-board.dts
index 33a1b9fdc4b7..830526a1e473 100644
--- a/arch/arm/dts/k3-am654-base
From: Faiz Abbas
Add configs to support UHS modes for the SD card and HS400 for the eMMC[1].
[1] - section 12.3.6.1.1 MMCSD Features, in
https://www.ti.com/lit/ug/spruiu1a/spruiu1a.pdf
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/j7200_evm_a72_defconfig | 8
From: Faiz Abbas
Add configs to support UHS modes for the SD card and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/j721e_evm_a72_defconfig | 8
configs/j721e_evm_r5_defconfig | 1 +
2 files changed, 9 insertions(+)
diff --git a/configs
From: Faiz Abbas
Add support for UHS modes by adding the regulators to power cycle
and voltage switch the card. Also add pinmuxes required for each
node
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-common-proc-board.dts | 49 ++-
arch
From: Faiz Abbas
Add the appropriate itapdly and clkbuf-sel values required for
some lower speed modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am65-main.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b
HS400 mode at 1.8 V card voltage, is now supported in MMCSD0 subsystem of
J7200 SoC[1].
Set the respective tag to indicate it.
[1] - section 12.3.6.1.1 MMCSD Features, in
https://www.ti.com/lit/ug/spruiu1a/spruiu1a.pdf
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-main.dtsi
From: Faiz Abbas
Add support for the main_gpio0 node
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-main.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-main.dtsi b/arch/arm/dts/k3-j7200-main.dtsi
From: Faiz Abbas
Add support for regulators to power cycle and switch IO voltage to the
SD card. This enables support for UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j721e-common-proc-board.dts | 32 +
1 file changed, 32
From: Faiz Abbas
Update otap delay values to match with the latest Data Manual[1].
[1] https://www.ti.com/lit/gpn/dra829v
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j721e-main.dtsi | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
it for the
appropriate speed mode.
Therefore, move all dll configurations to their own functions and gate it
with 50 MHz speed and a minimum mode. If both these conditions are not
satisfied then configure delay chain modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon
-board.dts
instead of the u-boot.dtsi
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am65-main.dtsi | 22 +++
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 67 +++-
arch/arm/dts/k3-am654-base-board.dts | 25
arch/arm
From: Faiz Abbas
Use the generic sdhci_set_control_reg() instead of duplicating
in platform driver.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions
and SDR25
speed modes.
Use the sdhci writeb callback to implement this condition.
[1] http://www.ti.com/lit/gpn/am6546 Section 5.10.5.16.1
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/Kconfig | 1 +
drivers/mmc/am654_sdhci.c | 25
-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 45 +++
1 file changed, 45 insertions(+)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index e86ef1a8b218..9549420c6582 100644
From: Faiz Abbas
Add support for writing new clock buffer select property for both
the am654x and j721e 4 bit IPs
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 11 +++
1 file changed, 11 insertions(+)
diff
From: Faiz Abbas
Add Support for AM65x PG2.0. Use the SoC bus framework to fixup
the platform data and do DLL calibration if the revision is 1.0
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 30
From: Faiz Abbas
Not all controllers need calibration for the PHY DLL. Add a DLL_CALIB
flag to indicate the same.
Also move the write of trm_icp and driver strength to the set_clock()
function to match the kernel configuration flow.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
From: Faiz Abbas
Convert the flags field defines to use the BIT() macro.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c
is no
longer required.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Reviewed-by: Jaehoon Chung
---
drivers/mmc/am654_sdhci.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index baa935e0d5b0
From: Faiz Abbas
Add a set_voltage() function which handles the switch from 3.3V to 1.8V
for SD card UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/sdhci.c | 73 +
include/sdhci.h | 10 +++
2 files
67507e4aab5b ("sandbox: Fix up building for of-platdata")
Link to v1:
https://patchwork.ozlabs.org/project/uboot/list/?series=206622
Aswath Govindraju (1):
arm: dts: k3-j7200-main: Add support for HS400 mode in MMCSD0
subsystem
Faiz Abbas (20):
mmc: sdhci: Add helper functions for
Hi Jaehoon,
On 26/01/21 3:48 am, Jaehoon Chung wrote:
> On 1/21/21 9:40 PM, Aswath Govindraju wrote:
>> From: Faiz Abbas
>>
>> Add a set_voltage() function which handles the switch from 3.3V to 1.8V
>> for SD card UHS modes.
>>
>> Signed-off-by: Faiz Abb
Hi Jaehoon,
On 26/01/21 3:49 am, Jaehoon Chung wrote:
> On 1/21/21 9:40 PM, Aswath Govindraju wrote:
>> From: Faiz Abbas
>>
>> Add Support for AM65x PG2.0. Use the SoC bus framework to fixup
>> the platform data and do DLL calibration if the revision is 1.0
>
Hi Simon,
On 24/01/21 7:33 am, Simon Glass wrote:
> Hi Aswath,
>
> On Thu, 21 Jan 2021 at 05:41, Aswath Govindraju wrote:
>>
>> From: Faiz Abbas
>>
>> Add a set_voltage() function which handles the switch from 3.3V to 1.8V
>> for SD card UHS modes.
>
Hi Jaehoon,
On 21/01/21 10:40 am, Jaehoon Chung wrote:
> Hi Aswath,
>
> On 1/21/21 1:13 PM, Aswath Govindraju wrote:
>> Hi Jaehoon,
>>
>> On 21/01/21 4:26 am, Jaehoon Chung wrote:
>>> Hi Aswath,
>>>
>>> On 1/19/21 9:35 PM, Aswath Govindraju
From: Faiz Abbas
Add configs for voltage switching and UHS modes for the SD card
and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/am65x_evm_a53_defconfig | 8
configs/am65x_evm_r5_defconfig | 2 ++
2 files changed, 10 insertions
-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am654-base-board.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/k3-am654-base-board.dts
b/arch/arm/dts/k3-am654-base-board.dts
index 33a1b9fdc4b7..830526a1e473 100644
--- a/arch/arm/dts/k3-am654-base
From: Faiz Abbas
Add the appropriate itapdly and clkbuf-sel values required for
some lower speed modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am65-main.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b
From: Faiz Abbas
Add configs to support UHS modes for the SD card and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/j7200_evm_a72_defconfig | 8
configs/j7200_evm_r5_defconfig | 1 +
2 files changed, 9 insertions(+)
diff --git a/configs
From: Faiz Abbas
Add configs to support UHS modes for the SD card and HS200 for the eMMC.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
configs/j721e_evm_a72_defconfig | 8
configs/j721e_evm_r5_defconfig | 1 +
2 files changed, 9 insertions(+)
diff --git a/configs
From: Faiz Abbas
Add support for UHS modes by adding the regulators to power cycle
and voltage switch the card. Also add pinmuxes required for each
node
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-common-proc-board.dts | 49 ++-
arch
From: Faiz Abbas
Add support for the main_gpio0 node
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j7200-main.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-main.dtsi b/arch/arm/dts/k3-j7200-main.dtsi
From: Faiz Abbas
Add support for regulators to power cycle and switch IO voltage to the
SD card. This enables support for UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j721e-common-proc-board.dts | 32 +
1 file changed, 32
From: Faiz Abbas
Update otap delay values to match with the latest Data Manual[1].
[1] https://www.ti.com/lit/gpn/dra829v
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-j721e-main.dtsi | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
-board.dts
instead of the u-boot.dtsi
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am65-main.dtsi | 22 +++
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 67 +++-
arch/arm/dts/k3-am654-base-board.dts | 25
arch/arm
From: Faiz Abbas
Use the generic sdhci_set_control_reg() instead of duplicating
in platform driver.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/am654_sdhci.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/drivers/mmc
and SDR25
speed modes.
Use the sdhci writeb callback to implement this condition.
[1] http://www.ti.com/lit/gpn/am6546 Section 5.10.5.16.1
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/Kconfig | 1 +
drivers/mmc/am654_sdhci.c | 25 +++--
2
-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/am654_sdhci.c | 45 +++
1 file changed, 45 insertions(+)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index e86ef1a8b218..9549420c6582 100644
--- a/drivers/mmc/am654_sdhci.c
it for the
appropriate speed mode.
Therefore, move all dll configurations to their own functions and gate it
with 50 MHz speed and a minimum mode. If both these conditions are not
satisfied then configure delay chain modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc
From: Faiz Abbas
Add support for writing new clock buffer select property for both
the am654x and j721e 4 bit IPs
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/am654_sdhci.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/mmc
From: Faiz Abbas
Add Support for AM65x PG2.0. Use the SoC bus framework to fixup
the platform data and do DLL calibration if the revision is 1.0
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/am654_sdhci.c | 30 ++
1 file changed, 30
From: Faiz Abbas
Not all controllers need calibration for the PHY DLL. Add a DLL_CALIB
flag to indicate the same.
Also move the write of trm_icp and driver strength to the set_clock()
function to match the kernel configuration flow.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
From: Faiz Abbas
Convert the flags field defines to use the BIT() macro.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/am654_sdhci.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
is no
longer required.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/am654_sdhci.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index baa935e0d5b0..33f658fba719 100644
--- a/drivers
From: Faiz Abbas
Add a set_voltage() function which handles the switch from 3.3V to 1.8V
for SD card UHS modes.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/mmc/sdhci.c | 80 +
include/sdhci.h | 1 +
2 files changed
The following patches add support for higher speeds in the SD card and
eMMC for TI's am65x, j721e, j7200 platforms.
With these patches, the following max speeds are supported:
j721e: DDR50, HS200
j7200: SDR104, HS200
am65x: SDR104*, HS200
changes since v2:
1. Added print statements in case of
Hi Jaehoon,
On 21/01/21 4:26 am, Jaehoon Chung wrote:
> Hi Aswath,
>
> On 1/19/21 9:35 PM, Aswath Govindraju wrote:
>> Hi Jaehoon,
>>
>> On 05/11/20 4:03 am, Jaehoon Chung wrote:
>>> On 11/5/20 4:05 AM, Faiz Abbas wrote:
>>>> Jaehoon,
>>>
Hi Jaehoon,
On 05/11/20 4:03 am, Jaehoon Chung wrote:
> On 11/5/20 4:05 AM, Faiz Abbas wrote:
>> Jaehoon,
>>
>> On 21/10/20 5:08 pm, Jaehoon Chung wrote:
>>> Hi Faiz,
>>>
>>> On 10/16/20 8:08 PM, Faiz Abbas wrote:
Add a set_voltage() function which handles the switch from 3.3V to 1.8V
to
distinguish the USB device tree nodes.
Signed-off-by: Aswath Govindraju
---
configs/am65x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 941073ce7f19..444730a3944e 100644
--- a/configs
On 21/12/20 8:42 pm, Lokesh Vutla wrote:
>
>
> On 20/11/20 9:18 pm, Aswath Govindraju wrote:
>> USB3SS0 controller is to be used as a host in U-boot. Fix it by changing
>> the dr_mode to host.
>>
>> Signed-off-by: Aswath Govindraju
>
> Won't it break
Hi Simon,
On 03/12/20 3:51 am, Simon Glass wrote:
> Hi Aswath,
>
> On Wed, 2 Dec 2020 at 08:42, Aswath Govindraju wrote:
>>
>> While assigning the sequence number to subsystem instances by reading the
>> aliases property, only DT nodes names are compared a
penalty on all boards, apply this extra check
only when required by using a config option.
Fix it by comparing the phandles of DT nodes after the node names match,
under a config option.
Signed-off-by: Aswath Govindraju
---
Changes since v2:
- changed #ifdef to if(IS_ENABLED())
- corrected errors
penalty on all boards, apply this extra check only when
required by using a config option.
Fix it by comparing the phandles of DT nodes after the node names match,
under a config option.
Signed-off-by: Aswath Govindraju
---
Changes since v1:
- Added a config option as fdt_path_offset() slows down
On 22/11/20 4:37 am, Simon Glass wrote:
> Hi,
>
> On Wed, 18 Nov 2020 at 10:55, Vignesh Raghavendra wrote:
>>
>>
>>
>> On 11/18/20 8:44 PM, Aswath Govindraju wrote:
>>> Hi Simon,
>>>
>>> On 18/11/20 8:07 pm, Simon Glass wrote:
&g
as there is not enough
heap memory to be allocated for the buffer in case of R5 spl.
Fix this by defining CONFIG_SYS_DFU_MAX_FILE_SIZE as the default
CONFIG_SYS_DFU_DATA_BUF_SIZE value.
Signed-off-by: Aswath Govindraju
---
include/configs/am65x_evm.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include
number. This makes the sequence number of USB3SS1 controller
independent of USB3SS0 controller's dr_mode.
Therefore, add aliases to fix the sequence number assigned to the USB
subsystems.
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 ++
1 file changed, 2
USB3SS0 controller is to be used as a host in U-boot. Fix it by changing
the dr_mode to host.
Signed-off-by: Aswath Govindraju
---
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
b
to LANE_FUNC_SEL field in
CTRLMMR_SERDES0_CTRL register.
Signed-off-by: Aswath Govindraju
---
board/ti/am65x/evm.c | 16
1 file changed, 16 insertions(+)
diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c
index 36063b11383d..4438f14e4ff1 100644
--- a/board/ti/am65x/evm.c
+++ b
The following series of patches
- adds support for host mode to USB3SS0 controller
- adds aliases for USB subsystems
- adds a workaround to use USB0 in USB 2.0 only mode
Aswath Govindraju (3):
board: ti: am65x: Set SERDES0 mux to PCIe to use USB 2.0 interface
dts: am654-base-board-uboot
Hi Simon,
On 18/11/20 8:07 pm, Simon Glass wrote:
> Hi Aswath,
>
> On Mon, 16 Nov 2020 at 07:29, Aswath Govindraju wrote:
>>
>> While assigning the sequence number to subsystem instances by reading the
>> aliases property, only DT nodes names are compared a
the node names match.
Signed-off-by: Aswath Govindraju
---
lib/fdtdec.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 2015907dee7d..9e1bfe0b519e 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -478,6 +478,11 @@ int fdtdec_get_alias_seq(const void *blob
301 - 396 of 396 matches
Mail list logo