[U-Boot] [PATCH v2 0/2] Support for TI bandgap temperature sensor

2017-10-09 Thread Faiz Abbas
Adding support for TI bandgap temperature sensor. Also add dt support for bandgap sensor in spl. Faiz Abbas (2): thermal: ti-bandgap: Add support for temperature sensor ARM: dts: OMAP5+: Add support for bandgap sensor in SPL arch/arm/dts/omap5-u-boot.dtsi | 4 + common

[U-Boot] [PATCH v2 1/2] thermal: ti-bandgap: Add support for temperature sensor

2017-10-09 Thread Faiz Abbas
The dra7xx series of SOCs contain a temperature sensor and an associated analog-to-digital converter (ADC) which produces an output which is proportional to the SOC temperature. Add support for this temperature sensor. Signed-off-by: Faiz Abbas --- v2: 1. Removed extra elements from ti_bandgap

[U-Boot] [PATCH v2 2/2] ARM: dts: OMAP5+: Add support for bandgap sensor in SPL

2017-10-09 Thread Faiz Abbas
Mark bandgap node as uboot,dm-spl so that it can be accessed in spl Signed-off-by: Faiz Abbas --- arch/arm/dts/omap5-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index fdaa692..bf2684c 100644 --- a/arch/arm

Re: [U-Boot] [PATCH] dwc: ep0: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-09 Thread Faiz Abbas
+Kishon On Friday 06 October 2017 05:03 PM, Faiz Abbas wrote: > Hi, > > On Thursday 05 October 2017 04:57 PM, Marek Vasut wrote: >> On 10/04/2017 03:11 PM, Faiz Abbas wrote: >>> Hi, >>> >>> On Wednesday 04 October 2017 06:01 PM, Marek Vasut wrote: >

Re: [U-Boot] [PATCH] dwc: ep0: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-10 Thread Faiz Abbas
Hi Marek, On Tuesday 10 October 2017 01:30 PM, Marek Vasut wrote: > On 10/10/2017 07:48 AM, Kishon Vijay Abraham I wrote: >> Hi, > > Hi, > > [...] > - dwc3_flush_cache((uintptr_t)trb, sizeof(*trb)); + dwc3_flush_cache((uintptr_t)dwc->ep0_trb_addr, sizeof(*trb) * >>>

Re: [U-Boot] [PATCH] dwc: ep0: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-11 Thread Faiz Abbas
Hi, On Tuesday 10 October 2017 07:19 PM, Marek Vasut wrote: > On 10/10/2017 12:45 PM, Faiz Abbas wrote: >> Hi Marek, >> >> On Tuesday 10 October 2017 01:30 PM, Marek Vasut wrote: >>> On 10/10/2017 07:48 AM, Kishon Vijay Abraha

Re: [U-Boot] [PATCH] dwc: ep0: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-11 Thread Faiz Abbas
On Wednesday 11 October 2017 02:28 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 11 October 2017 01:53 PM, Faiz Abbas wrote: >> Hi, >> >> On Tuesday 10 October 2017 07:19 PM, Marek Vasut wrote: >>> On 10/10/2017 12:45 PM, Faiz Abbas wrote: &g

Re: [U-Boot] [PATCH v2 0/2] Support for TI bandgap temperature sensor

2017-10-13 Thread Faiz Abbas
Hi, On Monday 09 October 2017 05:47 PM, Faiz Abbas wrote: > Adding support for TI bandgap temperature sensor. > Also add dt support for bandgap sensor in spl. > > Faiz Abbas (2): > thermal: ti-bandgap: Add support for temperature sensor > ARM: dts: OMAP5+: Add support for

[U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-15 Thread Faiz Abbas
line size. Also, when local variable trb is assigned to dwc->ep0_trb[1] and used to flush cache, it leads to cache misaligned messages as only the base address dwc->ep0_trb is cache aligned. Therefore, flush cache using ep0_trb_addr which is always cache aligned. Signed-off-by: Faiz Abbas -

Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-16 Thread Faiz Abbas
Hi Felipe, On Monday 16 October 2017 07:25 PM, Felipe Balbi wrote: > > Hi, > > Marek Vasut writes: >> On 10/16/2017 07:21 AM, Faiz Abbas wrote: >>> A flush of the cache is required before any outbound DMA access can >>> take place. The minimum size that can

Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-16 Thread Faiz Abbas
Hi, On Monday 16 October 2017 07:50 PM, Felipe Balbi wrote: > > Hi, > > Faiz Abbas writes: >> Hi Felipe, >> >> On Monday 16 October 2017 07:25 PM, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Marek Vasut writes: >>>> On

Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-16 Thread Faiz Abbas
On Monday 16 October 2017 08:52 PM, Marek Vasut wrote: > On 10/16/2017 04:51 PM, Felipe Balbi wrote: >> >> Hi, >> >> Faiz Abbas writes: >>>>>> Marek Vasut writes: >>>>>>> On 10/16/2017 07:21 AM, Faiz Abbas wrote: >>&g

Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-17 Thread Faiz Abbas
Hey, On Tuesday 17 October 2017 03:31 PM, Marek Vasut wrote: > On 10/17/2017 07:25 AM, Faiz Abbas wrote: >> >> >> On Monday 16 October 2017 08:52 PM, Marek Vasut wrote: >>> On 10/16/2017 04:51 PM, Felipe Balbi wrote: >>>> >>>> Hi, >

[U-Boot] [PATCH v3 0/2] Support for TI bandgap temperature sensor

2017-10-18 Thread Faiz Abbas
Adding support for TI bandgap temperature sensor. Also add dt support for bandgap sensor in spl. v3: Missed adding Reviewed-by in v2. Faiz Abbas (2): thermal: ti-bandgap: Add support for temperature sensor ARM: dts: OMAP5+: Add support for bandgap sensor in SPL arch/arm/dts/omap5-u

[U-Boot] [PATCH v3 1/2] thermal: ti-bandgap: Add support for temperature sensor

2017-10-18 Thread Faiz Abbas
The dra7xx series of SOCs contain a temperature sensor and an associated analog-to-digital converter (ADC) which produces an output which is proportional to the SOC temperature. Add support for this temperature sensor. Signed-off-by: Faiz Abbas Reviewed-by: Simon Glass --- v3: Added Reviewed-by

[U-Boot] [PATCH v3 2/2] ARM: dts: OMAP5+: Add support for bandgap sensor in SPL

2017-10-18 Thread Faiz Abbas
Mark bandgap node as uboot,dm-spl so that it can be accessed in spl Signed-off-by: Faiz Abbas Reviewed-by: Simon Glass --- v3: Added Reviewed-by comment. arch/arm/dts/omap5-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5

Re: [U-Boot] [PATCH v3 1/2] thermal: ti-bandgap: Add support for temperature sensor

2017-10-22 Thread Faiz Abbas
Hi Tom, On Monday 23 October 2017 08:30 AM, Tom Rini wrote: > On Mon, Oct 23, 2017 at 08:07:09AM +0530, Lokesh Vutla wrote: >> On Wednesday 18 October 2017 05:11 PM, Faiz Abbas wrote: >>> The dra7xx series of SOCs contain a temperature sensor and an >>> associated analo

[U-Boot] [PATCH v4 1/3] thermal: ti-bandgap: Add support for temperature sensor

2017-10-23 Thread Faiz Abbas
The dra7xx series of SOCs contain a temperature sensor and an associated analog-to-digital converter (ADC) which produces an output which is proportional to the SOC temperature. Add support for this temperature sensor. Signed-off-by: Faiz Abbas Reviewed-by: Simon Glass --- v3: Added Reviewed

[U-Boot] [PATCH v4 0/3] Support for TI bandgap temperature sensor

2017-10-23 Thread Faiz Abbas
Adding support for TI bandgap temperature sensor. Also add dt support for bandgap sensor in spl. v4: 1. Added configs enabled by default in dra7xx and am57xx SOCs 2. Split config enabling in a separate commit v3: Missed adding Reviewed-by in v2. Faiz Abbas (3): thermal: ti-bandgap: Add

[U-Boot] [PATCH v4 3/3] ARM: dra7: Kconfig: Add thermal configs for dra7xx and am57xx

2017-10-23 Thread Faiz Abbas
Configure thermal configs to remain set by default for dra7xx and am57xx targets. Signed-off-by: Faiz Abbas --- arch/arm/mach-omap2/omap5/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap2/omap5/Kconfig b/arch/arm/mach-omap2/omap5/Kconfig index 8f58235

[U-Boot] [PATCH v4 2/3] ARM: dts: OMAP5+: Add support for bandgap sensor in SPL

2017-10-23 Thread Faiz Abbas
Mark bandgap node as uboot,dm-spl so that it can be accessed in spl Signed-off-by: Faiz Abbas Reviewed-by: Simon Glass --- v3: Added Reviewed-by comment. arch/arm/dts/omap5-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5

Re: [U-Boot] [PATCH v3 1/2] thermal: ti-bandgap: Add support for temperature sensor

2017-10-23 Thread Faiz Abbas
On Monday 23 October 2017 04:54 PM, Tom Rini wrote: > On Mon, Oct 23, 2017 at 10:50:15AM +0530, Faiz Abbas wrote: >> Hi Tom, >> >> On Monday 23 October 2017 08:30 AM, Tom Rini wrote: >>> On Mon, Oct 23, 2017 at 08:07:09AM +0530, Lokesh Vutla wrote: >>>

[U-Boot] [PATCH] board: ti: dra7xx: Select MCAN instead of DCAN on DRA76 EVM

2017-12-12 Thread Faiz Abbas
by default via the DCAN1 pins. Signed-off-by: Vignesh R [fcoo...@ti.com: Update commit message and use DCAN1 not DCAN2 for MCAN] Signed-off-by: Franklin S Cooper Jr Signed-off-by: Faiz Abbas --- arch/arm/include/asm/arch-omap5/mux_dra7xx.h | 3 +++ board/ti/dra7xx/evm.c

[U-Boot] [PATCH v2] board: ti: dra7xx: Select MCAN instead of DCAN on DRA76 EVM

2017-12-12 Thread Faiz Abbas
by default via the DCAN1 pins. Signed-off-by: Vignesh R [fcoo...@ti.com: Update commit message and use DCAN1 not DCAN2 for MCAN] Signed-off-by: Franklin S Cooper Jr Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/include/asm/arch-omap5/mux_dra7xx.h | 3 +++ board/ti/dra7xx

Re: [U-Boot] [PATCH v2] board: ti: dra7xx: Select MCAN instead of DCAN on DRA76 EVM

2018-01-01 Thread Faiz Abbas
Hi, On Tuesday 12 December 2017 05:14 PM, Faiz Abbas wrote: > From: Vignesh R > > MCAN can be accessed via DCAN1 or DCAN2. Determining which DCAN instance > to use if any at all is done through > CTRL_CORE_CONTROL_SPARE_RW.SEL_ALT_MCAN. Since general pinmuxing is > handled

Re: [U-Boot] Beaglebone Black U-boot won't buid - THUMB instruction issue

2018-05-11 Thread Faiz Abbas
Hi John, On Friday 11 May 2018 07:10 AM, John Babrick wrote: > Hello - I am trying to work through the book "Mastering Embedded Linux > Programming" by Chris Simmonds, and trying to work through building u-boot > after having built the cross toolchain. I am running into an error when I > try to bu

Re: [U-Boot] [PATCH 0/5] Add KConfig option for cache maintenance availability

2018-05-21 Thread Faiz Abbas
Hi, On Monday 30 April 2018 02:03 PM, Emmanuel Vadot wrote: > Hi, > > In order to correctly exectute some binaries on some arch we need to flush > the data cache or instructions cache. Some arch offer helper functions for > this while others don't (or don't have the ability to do this in hardware

Re: [U-Boot] [BUG] SPI NOR for SST25V hangs for TI AM335x.

2018-05-22 Thread Faiz Abbas
Hi, Adding Vignesh. He should be able to help. On Monday 21 May 2018 11:53 PM, Gautam Bhat wrote: > Hi, > > There is a bug in the SST25V SPI NOR for the TI AM335x. On a write the > SPI NOR hangs. This is because of the spi_release_bus(..) in the > spi_flash_read_common call done by spi_flash_sr_

[U-Boot] [PATCH] configs: keystone2: env: Fix burn_uboot_spi command

2018-01-16 Thread Faiz Abbas
Now the u-boot spi image is greater than 0x9, increase the same in env during spi erase. Signed-off-by: Faiz Abbas --- include/configs/ti_armv7_keystone2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs

Re: [U-Boot] [PATCH] configs: keystone2: env: Fix burn_uboot_spi command

2018-01-16 Thread Faiz Abbas
Hi, +Vignesh On Tuesday 16 January 2018 08:55 PM, Tom Rini wrote: > On Tue, Jan 16, 2018 at 01:43:40PM +0530, Faiz Abbas wrote: >> Now the u-boot spi image is greater than 0x9, increase the same in >> env during spi erase. >> >> Signed-off-by: Faiz Abbas

[U-Boot] [PATCH 0/2] Fix QSPI boot on am43xx_idk

2018-01-19 Thread Faiz Abbas
This series fixes bugs which were causing failures in am43xx_idk when booting from QSPI Faiz Abbas (2): configs: Replace CONFIG_ISW_ENTRY_ADDR with CONFIG_SYS_TEXT_BASE ARM: AM43XX: Call hw_data_init() again to update *ctrl board/ti/am43xx/board.c | 6 ++ configs

[U-Boot] [PATCH 1/2] configs: Replace CONFIG_ISW_ENTRY_ADDR with CONFIG_SYS_TEXT_BASE

2018-01-19 Thread Faiz Abbas
Signed-off-by: Faiz Abbas --- configs/am43xx_evm_qspiboot_defconfig | 2 +- include/configs/am43xx_evm.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/am43xx_evm_qspiboot_defconfig b/configs/am43xx_evm_qspiboot_defconfig index d6a5263..0e6833e 10064

[U-Boot] [PATCH 2/2] ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl

2018-01-19 Thread Faiz Abbas
relocation to reinitialize *ctrl. Signed-off-by: Faiz Abbas --- board/ti/am43xx/board.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 2c417e7..16fa818 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -580,6

[U-Boot] [PATCH] am33xx: board: Call spl_early_init() to support sdram_init()

2018-01-24 Thread Faiz Abbas
With driver model enabled in SPL, sdram_init() requires device tree and malloc to be initialized. Therefore call spl_early_init() in early_system_init(). Signed-off-by: Faiz Abbas --- arch/arm/mach-omap2/am33xx/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2

[U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-02 Thread Faiz Abbas
When booting from a non-MMC device, the MMC sub-system may not be initialized when the environment is first accessed. We need to make sure that the MMC sub-system is ready in even a non-MMC boot case. Therefore, initialize mmc during .init() of environment. Signed-off-by: Faiz Abbas --- env

[U-Boot] [PATCH] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-02 Thread Faiz Abbas
ISO and EFI partition configs in SPL are selected by default. However, they are not being used. Therefore, remove ISO and EFI partition support in SPL. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_evm_defconfig

Re: [U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-05 Thread Faiz Abbas
Hi, On Monday 05 February 2018 02:59 AM, Alex Kiernan wrote: > On Fri, Feb 2, 2018 at 9:47 AM, Faiz Abbas wrote: >> When booting from a non-MMC device, the MMC sub-system may not be >> initialized when the environment is first accessed. >> We need to make sure that the MMC s

[U-Boot] [PATCH v2] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-05 Thread Faiz Abbas
ISO and EFI partition configs in SPL are selected by default. However, they are not being used. Therefore, remove ISO and EFI partition support in SPL. Signed-off-by: Faiz Abbas --- changes in v2: did savedefconfig to appropriate the position of configs configs/am335x_evm_defconfig | 2 ++ 1

[U-Boot] [PATCH 1/2] lib: Kconfig: Move DYNAMIC_CRC_TABLE to Kconfig

2018-02-06 Thread Faiz Abbas
Add CONFIG prefix to DYNAMIC_CRC_TABLE and implement it in Kconfig. Signed-off-by: Faiz Abbas --- lib/Kconfig | 6 ++ lib/crc32.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index 710deb7..f76656b 100644 --- a/lib/Kconfig +++ b/lib

[U-Boot] [PATCH 0/2] Add DYNAMIC_CRC_TABLE to am335x_evm

2018-02-06 Thread Faiz Abbas
The spl image when built for am335x_evm_defconfig exceeds the maximum sram size when new functionality is added. The following patches are part of an effort to reduce the size. Faiz Abbas (2): lib: Kconfig: Move DYNAMIC_CRC_TABLE to Kconfig configs: am335x_evm: Add DYNAMIC_CRC_TABLE configs

[U-Boot] [PATCH 2/2] configs: am335x_evm: Add DYNAMIC_CRC_TABLE

2018-02-06 Thread Faiz Abbas
Add CONFIG_DYNAMIC_CRC_TABLE to am335x_evm_defconfig to reduce the size of the image. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index 8f33c8e..10b66e9 100644 --- a

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-04 Thread Faiz Abbas
Hi Marek, Peng, On 03/06/19 12:04 PM, Peng Fan wrote: > >> Subject: [PATCH] mmc: Avoid HS400 mode when accessing boot partitions >> >> According to JEDEC JESD84-B51.pdf section 6.3.3 Boot operation , >> HS200 & HS400 mode is not supported during boot operation. The U-Boot >> code currently only a

Re: [U-Boot] [PATCH v5 01/15] arm64: dts: k3: Sync sdhci0 node from kernel and change driver name

2019-06-04 Thread Faiz Abbas
Hi Lokesh, On 04/06/19 10:58 AM, Lokesh Vutla wrote: > > > On 29/05/19 3:15 PM, Faiz Abbas wrote: >> Sync the sdhci0 node from kernel. This changes the compatible that is >> required to be there in the driver. Change the same for the SD card node >> which is not ye

[U-Boot] [PATCH v6 00/15] Add Support for eMMC in Am65x-evm

2019-06-04 Thread Faiz Abbas
ded extra patches to support GPT partitions in user partition 5. Added Support for environment in eMMC by default Changes in v3: Patch 9: Got rid of variable ret Changes in v2: Patch 9: Fixed return value Patch 12: Fixed spacing [1] https://www.mail-archive.com/u-boot@lists.denx.de/msg325811.

[U-Boot] [PATCH v6 01/15] arm64: dts: k3: Sync sdhci0 node from kernel and change driver name

2019-06-04 Thread Faiz Abbas
kernel. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- arch/arm/dts/k3-am65-main.dtsi| 22 +++ arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 27 ++ arch/arm/dts/k3-am654-base-board.dts | 28 ++ arch/arm/dts/k3-am654-r5-base-board.dts

[U-Boot] [PATCH v6 04/15] mmc: sdhci: Add support for sdhci-caps-mask

2019-06-04 Thread Faiz Abbas
Add Support for masking some bits in the capabilities register of a host controller. Also remove the redundant readl() into caps1. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/sdhci.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a

[U-Boot] [PATCH v6 07/15] mmc: sdhci: Make set_ios_post() return int

2019-06-04 Thread Faiz Abbas
Make set_ios_post() return int to faciliate error handling in platform drivers. Signed-off-by: Faiz Abbas --- drivers/mmc/sdhci.c | 2 +- drivers/mmc/xenon_sdhci.c | 4 +++- include/sdhci.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mmc

[U-Boot] [PATCH v6 02/15] mmc: am654_sdhci: Remove quirks

2019-06-04 Thread Faiz Abbas
The host controller works perfectly well without having to add any quirks. Remove them. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/am654_sdhci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index 2d08fe3347

[U-Boot] [PATCH v6 03/15] regmap: Add API regmap_init_mem_index()

2019-06-04 Thread Faiz Abbas
In device nodes with more than one entry in the reg property, it is sometimes useful to regmap only of the entries. Add an API regmap_init_mem_index() to facilitate this. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/core/regmap.c | 42

[U-Boot] [PATCH v6 10/15] mmc: am654_sdhci: Use f_max in mmc_config

2019-06-04 Thread Faiz Abbas
Use f_max provided in mmc_config and remove it from the platform specific data. Signed-off-by: Faiz Abbas --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index cd7ad03479..b9a7924d4e 100644

[U-Boot] [PATCH v6 14/15] am65x_evm: Add Support for creating a filesystem GPT partition in eMMC

2019-06-04 Thread Faiz Abbas
Add Support for creating a GPT partition for the filesystem in eMMC. The filesystem is created in the user partition (partition 0). Signed-off-by: Faiz Abbas --- include/configs/am65x_evm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/am65x_evm.h

[U-Boot] [PATCH v6 05/15] mmc: sdhci: Make sdhci_set_clock() non static

2019-06-04 Thread Faiz Abbas
The am654_sdhci driver needs to switch the clock off before disabling its phy dll and needs to re-enable the clock before enabling the phy again. Therefore, make the sdhci_set_clock() function accessible in the am654_sdhci driver. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers

[U-Boot] [PATCH v6 13/15] configs: am65x: Add configs to support environment in eMMC

2019-06-04 Thread Faiz Abbas
Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas --- configs/am65x_evm_a53_defconfig | 5 ++--- include/configs/am65x_evm.h | 10 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v6 09/15] configs: am65x_evm: Enable CONFIG_REGMAP

2019-06-04 Thread Faiz Abbas
Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 2 ++ configs/am65x_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index ff41d66e4d

[U-Boot] [PATCH v6 12/15] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-06-04 Thread Faiz Abbas
Add a platform specific set_control_reg() callback to help switch to UHS speed modes. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/am654_sdhci.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc

[U-Boot] [PATCH v6 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-04 Thread Faiz Abbas
The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific to arasan/zynq controllers. Add the same to sdhci.h. Also create a common API to set UHS timings in HOST_CONTROL2. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/sdhci.c | 28

[U-Boot] [PATCH v6 08/15] mmc: am654_sdhci: Add Support for PHY

2019-06-04 Thread Faiz Abbas
Add support in the driver for handling phy specific registers. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/Kconfig | 1 + drivers/mmc/am654_sdhci.c | 223 +- 2 files changed, 218 insertions(+), 6 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v6 15/15] configs: am65x_evm_a53: Add Support for creating GPT partitions

2019-06-04 Thread Faiz Abbas
Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 5fd9aacd68..43d2ccc5ed 100644 --- a

[U-Boot] [PATCH v6 06/15] arm: dts: k3: Add phy specific properties to SD card node

2019-06-04 Thread Faiz Abbas
With changes in the driver requiring phy related properties, add the same for the SD card node to prevent breaking boot with the driver update. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 +++ arch/arm/dts/k3-am654-r5-base-board.dts

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-04 Thread Faiz Abbas
Hi Marek, On 04/06/19 6:56 PM, Marek Vasut wrote: > On 6/4/19 1:22 PM, Faiz Abbas wrote: >> Hi Marek, Peng, > > Hi, > >> On 03/06/19 12:04 PM, Peng Fan wrote: >>> >>>> Subject: [PATCH] mmc: Avoid HS400 mode when accessing boot partitions >>>

Re: [U-Boot] [PATCH v6 00/15] Add Support for eMMC in Am65x-evm

2019-06-06 Thread Faiz Abbas
Hi, On 05/06/19 9:16 AM, Lokesh Vutla wrote: > > > On 04/06/19 11:57 PM, Andreas Dannenberg wrote: >> On Tue, Jun 04, 2019 at 09:32:21PM +0530, Lokesh Vutla wrote: >>> >>> >>> On 04/06/19 6:46 PM, Faiz Abbas wrote: >>>> Add Support for eMM

[U-Boot] [PATCH v7 00/15] Add Support for eMMC in Am65x-evm

2019-06-06 Thread Faiz Abbas
ort for environment in eMMC by default Changes in v3: Patch 9: Got rid of variable ret Changes in v2: Patch 9: Fixed return value Patch 12: Fixed spacing [1] https://patchwork.ozlabs.org/project/uboot/list/?series=111844 Faiz Abbas (15): arm64: dts: k3: Sync sdhci0 node from kernel and change

[U-Boot] [PATCH v7 01/15] arm64: dts: k3: Sync sdhci0 node from kernel and change driver name

2019-06-06 Thread Faiz Abbas
kernel. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- arch/arm/dts/k3-am65-main.dtsi| 22 +++ arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 27 ++--- arch/arm/dts/k3-am654-base-board.dts | 28 ++ arch/arm/dts/k3

[U-Boot] [PATCH v7 02/15] mmc: am654_sdhci: Remove quirks

2019-06-06 Thread Faiz Abbas
The host controller works perfectly well without having to add any quirks. Remove them. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc

[U-Boot] [PATCH v7 05/15] mmc: sdhci: Make sdhci_set_clock() non static

2019-06-06 Thread Faiz Abbas
The am654_sdhci driver needs to switch the clock off before disabling its phy dll and needs to re-enable the clock before enabling the phy again. Therefore, make the sdhci_set_clock() function accessible in the am654_sdhci driver. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by

[U-Boot] [PATCH v7 03/15] regmap: Add API regmap_init_mem_index()

2019-06-06 Thread Faiz Abbas
In device nodes with more than one entry in the reg property, it is sometimes useful to regmap only of the entries. Add an API regmap_init_mem_index() to facilitate this. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/core/regmap.c | 42

[U-Boot] [PATCH v7 14/15] am65x_evm: Add Support for creating a filesystem GPT partition in eMMC

2019-06-06 Thread Faiz Abbas
Add Support for creating a GPT partition for the filesystem in eMMC. The filesystem is created in the user partition (partition 0). Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- include/configs/am65x_evm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a

[U-Boot] [PATCH v7 04/15] mmc: sdhci: Add support for sdhci-caps-mask

2019-06-06 Thread Faiz Abbas
Add Support for masking some bits in the capabilities register of a host controller. Also remove the redundant readl() into caps1. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/sdhci.c | 15 ++- 1 file changed, 10 insertions(+), 5

[U-Boot] [PATCH v7 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-06 Thread Faiz Abbas
The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific to arasan/zynq controllers. Add the same to sdhci.h. Also create a common API to set UHS timings in HOST_CONTROL2. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/sdhci.c

[U-Boot] [PATCH v7 13/15] configs: am65x: Add configs to support environment in eMMC

2019-06-06 Thread Faiz Abbas
Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 5 ++--- include/configs/am65x_evm.h | 10 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configs

[U-Boot] [PATCH v7 10/15] mmc: am654_sdhci: Use f_max in mmc_config

2019-06-06 Thread Faiz Abbas
Use f_max provided in mmc_config and remove it from the platform specific data. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index

[U-Boot] [PATCH v7 08/15] mmc: am654_sdhci: Add Support for PHY

2019-06-06 Thread Faiz Abbas
Add support in the driver for handling phy specific registers. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/Kconfig | 1 + drivers/mmc/am654_sdhci.c | 223 +- 2 files changed, 218 insertions(+), 6 deletions

[U-Boot] [PATCH v7 09/15] configs: am65x_evm: Enable CONFIG_REGMAP

2019-06-06 Thread Faiz Abbas
Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 ++ configs/am65x_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v7 12/15] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-06-06 Thread Faiz Abbas
Add a platform specific set_control_reg() callback to help switch to UHS speed modes. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/mmc

[U-Boot] [PATCH v7 15/15] configs: am65x_evm_a53: Add Support for creating GPT partitions

2019-06-06 Thread Faiz Abbas
Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 5fd9aacd68

[U-Boot] [PATCH v7 07/15] mmc: sdhci: Make set_ios_post() return int

2019-06-06 Thread Faiz Abbas
Make set_ios_post() return int to faciliate error handling in platform drivers. Signed-off-by: Faiz Abbas Tested-by: Lokesh Vutla --- drivers/mmc/sdhci.c | 2 +- drivers/mmc/xenon_sdhci.c | 4 +++- include/sdhci.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH v7 06/15] arm: dts: k3: Add phy specific properties to SD card node

2019-06-06 Thread Faiz Abbas
With changes in the driver requiring phy related properties, add the same for the SD card node to prevent breaking boot with the driver update. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini Tested-by: Lokesh Vutla --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 +++ arch/arm/dts/k3

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-07 Thread Faiz Abbas
Hi, + Kernel MMC maintainer On 04/06/19 7:08 PM, Marek Vasut wrote: > On 6/4/19 3:34 PM, Faiz Abbas wrote: >> Hi Marek, >> >> On 04/06/19 6:56 PM, Marek Vasut wrote: >>> On 6/4/19 1:22 PM, Faiz Abbas wrote: >>>> Hi Marek, Peng, >>> &g

Re: [U-Boot] [PATCH v7 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-10 Thread Faiz Abbas
Hi Andreas, On 10/06/19 8:44 PM, Andreas Dannenberg wrote: > Hi Faiz, > > On Fri, Jun 07, 2019 at 09:07:32AM +0530, Lokesh Vutla wrote: >> >> >> On 06/06/19 7:24 PM, Faiz Abbas wrote: >>> The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific

[U-Boot] [PATCH v8 00/14] Add Support for eMMC in AM65x-evm

2019-06-10 Thread Faiz Abbas
.ozlabs.org/project/uboot/list/?series=111844 Faiz Abbas (14): arm64: dts: k3: Sync sdhci0 node from kernel and change driver name mmc: am654_sdhci: Remove quirks regmap: Add API regmap_init_mem_index() mmc: sdhci: Add support for sdhci-caps-mask mmc: sdhci: Make sdhci_set_clock() non

[U-Boot] [PATCH v8 03/14] regmap: Add API regmap_init_mem_index()

2019-06-10 Thread Faiz Abbas
In device nodes with more than one entry in the reg property, it is sometimes useful to regmap only of the entries. Add an API regmap_init_mem_index() to facilitate this. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/core/regmap.c | 42

[U-Boot] [PATCH v8 02/14] mmc: am654_sdhci: Remove quirks

2019-06-10 Thread Faiz Abbas
The host controller works perfectly well without having to add any quirks. Remove them. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/am654_sdhci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index 2d08fe3347

[U-Boot] [PATCH v8 01/14] arm64: dts: k3: Sync sdhci0 node from kernel and change driver name

2019-06-10 Thread Faiz Abbas
kernel. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- arch/arm/dts/k3-am65-main.dtsi| 22 +++ arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 27 ++--- arch/arm/dts/k3-am654-base-board.dts | 28 ++ arch/arm/dts/k3-am654-r5-base-board.dts

[U-Boot] [PATCH v8 05/14] mmc: sdhci: Make sdhci_set_clock() non static

2019-06-10 Thread Faiz Abbas
The am654_sdhci driver needs to switch the clock off before disabling its phy dll and needs to re-enable the clock before enabling the phy again. Therefore, make the sdhci_set_clock() function accessible in the am654_sdhci driver. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers

[U-Boot] [PATCH v8 06/14] arm: dts: k3: Add phy specific properties to SD card node

2019-06-10 Thread Faiz Abbas
With changes in the driver requiring phy related properties, add the same for the SD card node to prevent breaking boot with the driver update. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 +++ arch/arm/dts/k3-am654-r5-base-board.dts

[U-Boot] [PATCH v8 09/14] configs: am65x_evm: Enable CONFIG_REGMAP

2019-06-10 Thread Faiz Abbas
Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 2 ++ configs/am65x_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index ff41d66e4d

[U-Boot] [PATCH v8 07/14] mmc: sdhci: Make set_ios_post() return int

2019-06-10 Thread Faiz Abbas
Make set_ios_post() return int to faciliate error handling in platform drivers. Signed-off-by: Faiz Abbas --- drivers/mmc/sdhci.c | 2 +- drivers/mmc/xenon_sdhci.c | 4 +++- include/sdhci.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mmc

[U-Boot] [PATCH v8 10/14] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-06-10 Thread Faiz Abbas
The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific to arasan/zynq controllers. Add the same to sdhci.h. Also create a common API to set UHS timings in HOST_CONTROL2. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/sdhci.c | 28

[U-Boot] [PATCH v8 14/14] configs: am65x_evm_a53: Add Support for creating GPT partitions

2019-06-10 Thread Faiz Abbas
Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 5fd9aacd68..43d2ccc5ed 100644 --- a

[U-Boot] [PATCH v8 13/14] am65x_evm: Add Support for creating a filesystem GPT partition in eMMC

2019-06-10 Thread Faiz Abbas
Add Support for creating a GPT partition for the filesystem in eMMC. The filesystem is created in the user partition (partition 0). Signed-off-by: Faiz Abbas --- include/configs/am65x_evm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/am65x_evm.h

[U-Boot] [PATCH v8 11/14] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-06-10 Thread Faiz Abbas
Add a platform specific set_control_reg() callback to help switch to UHS speed modes. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/am654_sdhci.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc

[U-Boot] [PATCH v8 12/14] configs: am65x: Add configs to support environment in eMMC

2019-06-10 Thread Faiz Abbas
Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas --- configs/am65x_evm_a53_defconfig | 5 ++--- include/configs/am65x_evm.h | 10 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v8 08/14] mmc: am654_sdhci: Add Support for PHY

2019-06-10 Thread Faiz Abbas
Add support in the driver for handling phy specific registers. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/Kconfig | 1 + drivers/mmc/am654_sdhci.c | 225 -- 2 files changed, 219 insertions(+), 7 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v8 04/14] mmc: sdhci: Add support for sdhci-caps-mask

2019-06-10 Thread Faiz Abbas
Add Support for masking some bits in the capabilities register of a host controller. Also remove the redundant readl() into caps1. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/sdhci.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-11 Thread Faiz Abbas
Peng, Marek, On 11/06/19 6:47 AM, Peng Fan wrote: >> partitions >> >> On 6/10/19 7:59 AM, Peng Fan wrote: Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions Hi Marek, Peng, On 03/06/19 12:04 PM, Peng Fan wrote: > >> Subject: [PA

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-11 Thread Faiz Abbas
Hi Marek, On 11/06/19 3:34 PM, Marek Vasut wrote: > On 6/11/19 10:12 AM, Faiz Abbas wrote: >> Peng, Marek, >> >> On 11/06/19 6:47 AM, Peng Fan wrote: >>>> partitions >>>> >>>> On 6/10/19 7:59 AM, Peng Fan wrote: >>>>>> Sub

Re: [U-Boot] [PATCH v1 1/2] mmc: sdhci: Implement SDHCI card detect

2019-06-14 Thread Faiz Abbas
Hi Michal, On 07/06/19 2:05 PM, Michal Simek wrote: > From: T Karthik Reddy > > Card detect function implemented for SDHCI framework. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > drivers/mmc/sdhci.c | 32 > include/sdhci.h |

Re: [U-Boot] [PATCH v1 2/2] mmc: sdhci: Read sdhci card detect properties from DT

2019-06-14 Thread Faiz Abbas
Hi, On 07/06/19 2:05 PM, Michal Simek wrote: > From: T Karthik Reddy > > This patch reads card detect properties from device tree. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > drivers/mmc/sdhci.c | 15 +++ > 1 file changed, 15 insertions(+) > > dif

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-17 Thread Faiz Abbas
gt;> On 6/17/19 11:09 AM, Jean-Jacques Hiblot wrote: >>>>> On 15/06/2019 17:15, Marek Vasut wrote: >>>>>> On 6/14/19 5:27 PM, Jean-Jacques Hiblot wrote: >>>>>>> Marek, Faiz, >>>>>>> >>>>>>> On 11/06/2019

[U-Boot] [PATCH 1/4] ARM: dts: dra7-mmc-iodelay: Add a new pinctrl group for clk line without pullup

2019-06-20 Thread Faiz Abbas
be used in boards where mmc1_clk line is not connected to an external pullup. Signed-off-by: Faiz Abbas --- arch/arm/dts/am571x-idk.dts| 3 ++- arch/arm/dts/am572x-idk.dts| 3 ++- arch/arm/dts/dra7-mmc-iodelay.dtsi | 19 +++ 3 files changed, 23 insertions(+), 2

<    1   2   3   4   5   6   >