Update driver to use static PSIL endpoint Data instead of DT. This will
allow DT bindings to be in sync with kernel's DT.
Signed-off-by: Vignesh Raghavendra
---
drivers/dma/ti/Kconfig | 1 +
drivers/dma/ti/k3-udma.c | 145 +++
2 files changed
On 15/06/20 11:49 am, Tero Kristo wrote:
> On 14/06/2020 16:49, Lokesh Vutla wrote:
>> Hi Tero,
>>
>> On 02/06/20 4:49 pm, Tero Kristo wrote:
>>> Hi,
>>>
>>> As there is looming death to OMAP4 Panda board u-boot support, I decided
>>> to take a shot and convert it to device model myself. With th
On 16/05/20 9:05 pm, Faiz Abbas wrote:
> From: Andreas Dannenberg
>
> When the boot of J721E devices using the primary bootmode (configured
> via device pins) fails a boot using the configured backup bootmode is
> attempted. To take advantage of the backup boot mode feature go ahead
> and add
It is possible that users of generic_phy_*() APIs may pass a valid
struct phy pointer but phy->dev can be NULL, leading to NULL pointer
deference in phy_dev_ops().
So call generic_phy_valid() to verify that phy and phy->dev are both
valid.
Signed-off-by: Vignesh Raghavendra
---
drivers/p
On 11/05/20 11:53 pm, Tom Rini wrote:
> On Mon, May 11, 2020 at 06:12:59PM +0530, Lokesh Vutla wrote:
>
>> Hi Tom,
>> Please find the pull request for v2020.07-rc2 containing TI specific
>> changes.
>>
>> Travis-CI build:
>> https://travis-ci.org/github/lokeshvutla/u-boot/builds/68550239
On 06/05/20 8:17 pm, Simon Glass wrote:
> Hi Pratyush,
>
> On Tue, 5 May 2020 at 13:47, Pratyush Yadav wrote:
>>
>> Hi Simon,
>>
>> I would be taking up this series and address the comments.
>>
>> On 10/12/19 03:18PM, Simon Glass wrote:
>>> Hi Jean-Jacques,
>>>
>>> On Tue, 5 Nov 2019 at 04:47,
; - Use op->data.nbytes as a measure of whether the data phase exists or
>> not. This fixes data buswidth not being updadted for SR and FSR reads
>> because they keep data buffer as NULL when calling spi_nor_setup_op().
>> - Add support for Micron mt35xu512aba to run in Octal DTR mode.
>
> Any comments on the series? If not, please pull it in.
>
Reviewed-by: Vignesh Raghavendra
Hi Jagan,
On 20/04/20 5:39 pm, Jagan Teki wrote:
> Some of the SPI controllers have a special set of format
> registers that defines how the transfer initiated to the
> FIFO by means of I/O protocol lines.
>
> Each mode of transfer from slave would be required to configure
> the I/O protocol li
On 07/04/20 1:02 pm, Lokesh Vutla wrote:
>
>
> On 02/04/20 6:59 PM, Vignesh Raghavendra wrote:
>> In 1 bit mode OSPI can work at upto 50MHz, this provides before write
>> performance. Therefore increase frequency from 40MHz to 50MHz
>>
>> Signed-off-by: Vi
In 1 bit mode OSPI can work at upto 50MHz, this provides before write
performance. Therefore increase frequency from 40MHz to 50MHz
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 +-
arch/arm/dts/k3-j721e-som-p0.dtsi | 2 +-
2 files
In 1 bit mode OSPI can work at upto 50MHz, this provides before write
performance. Therefore increase frequency from 40MHz to 50MHz
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-am654-base-board.dts| 2 +-
arch/arm/dts/k3-am654-r5-base-board.dts | 2 +-
2 files changed, 2
On 31/03/20 5:21 am, Alex Nemirovsky wrote:
> Add SPI NAND and NOR support for Cortina Access
> Presidio Engineering Board
>
> Signed-off-by: Alex Nemirovsky
> CC: Jagan Teki
> CC: Vignesh R
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/dts/ca-pres
On 24/03/20 8:11 pm, Wolfgang Denk wrote:
> Dear Vignesh,
>
> In message <05694b0e-50a1-de5d-25d8-0444a2cae...@ti.com> you wrote:
>>
>> Aim of spi-nor-tiny.c is to have a tiny stack that can be used in
>> SPL/TPL or on resource constraint boards to only support _reading_ from
>> the flash. So t
Dear Wolfgang,
On 20/03/20 4:48 pm, Wolfgang Denk wrote:
> Dear Vignesh,
>
> In message <20200320101448.10714-1-rasmus.villem...@prevas.dk> Rasmus
> Villemoes wrote:
>> I have a board for which doing "sf erase 0x10 0x8"
>> consistently causes the external watchdog circuit to reset the
>>
On 19/03/20 7:20 pm, Rasmus Villemoes wrote:
> On 19/03/2020 14.23, Vignesh Raghavendra wrote:
>>
>
>>> For the read side, it seems that just replacing the UINT_MAX in the two
>>> copies of spi_nor_read_data with some smaller constant should suffice.
>>>
On 19/03/20 6:14 pm, Rasmus Villemoes wrote:
>> Hmm, Watchdog seems to be set to trigger after ~2s of inactivity. Isn't
>> that too small? WATCHDOG_RESET() resets only once per second, so 2
>> second timeout is too close IMO.
>>
>> Typical watchdog timeouts are usually in tens of seconds
> Nope,
On 19/03/20 5:09 pm, Rasmus Villemoes wrote:
> On 19/03/2020 12.25, Vignesh Raghavendra wrote:
>> Hi,
[...]
>>> @@ -399,6 +400,7 @@ static int spi_nor_ready(struct spi_nor *nor)
>>> {
>>> int sr, fsr;
>>>
>>> + WATCHDOG_RESET();
&g
Hi,
On 17/03/20 1:48 am, Rasmus Villemoes wrote:
> I have a board for which doing "sf erase 0x10 0x8"
> consistently causes the external watchdog circuit to reset the
> board. Make sure to pet the watchdog during slow operations such as
> erasing or writing large areas of a spi nor flash.
On 16/03/20 12:19 pm, Lokesh Vutla wrote:
> Add all TI specific drivers, include, arch files under ARM TI entry.
> Driver files are added only if there is no entry for the specific
> subsystem in MAINTAINERS file.
>
> Signed-off-by: Lokesh Vutla
> ---
> MAINTAINERS | 24 ++
96 (-96)
> Function old new delta
> spi_nor_write388 292 -96
>
> Signed-off-by: Rasmus Villemoes
Acked-by: Vignesh Raghavendra
> ---
> drivers/mtd/spi/spi-nor-core.c | 5 +
> 1 file changed, 1 insertion(+), 4 de
On 26/02/20 6:25 pm, Pratyush Yadav wrote:
> diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
> index 1ed4f0907b..94e99eb99f 100644
> --- a/drivers/mtd/spi/spi-nor-core.c
> +++ b/drivers/mtd/spi/spi-nor-core.c
> @@ -148,6 +148,32 @@ struct sfdp_header {
> struct sfdp
Hi,
On 3/3/2020 4:04 PM, Keerthy wrote:
> Enable the ospi1/qspi module while at it move the corresponding
> pins to common u-boot.dtsi file.
>
> Signed-off-by: Keerthy
> ---
> .../k3-j721e-common-proc-board-u-boot.dtsi| 23 +++
> arch/arm/dts/k3-j721e-common-proc-board.dts
herefore clk get rate() would return a wrong value
> in ofdata_to_platdata() when compared with probe. Hence it needs to be
> moved to probe.
>
> Tested on u-boot-ti/next.
>
Acked-by: Vignesh Raghavendra
Regards
Vignesh
> Signed-off-by: Pratyush
On 17/02/20 9:16 am, Lokesh Vutla wrote:
>
>
> On 13/02/20 7:04 PM, moseschristoph...@gmail.com wrote:
>> From: Moses Christopher Bollavarapu
>>
>> - As tiny printf lib is further optimized, the ability to deal with
>> ethaddr is lost. Hence, in order to handle usb-eth boot from SPL
>>
Add DT nodes for main domain I2Cs and its slave devices
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-am654-base-board.dts | 48
1 file changed, 48 insertions(+)
diff --git a/arch/arm/dts/k3-am654-base-board.dts
b/arch/arm/dts/k3-am654-base-board.dts
AD flag for these flashes.
>
> Signed-off-by: Kuldeep Singh
Reviewed-by: Vignesh Raghavendra
> ---
> v2: Reword commit message
>
> drivers/mtd/spi/spi-nor-ids.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/dr
On 15/02/20 12:03 am, Marek Vasut wrote:
> On 2/14/20 1:23 PM, Vignesh Raghavendra wrote:
>> From: Jean-Jacques Hiblot
>>
>> This fixes potential issues reported by klokworks:
>> Pointer 'req' returned from call to function 'next_request'
From: Jean-Jacques Hiblot
This fixes potential issues reported by klokworks:
Pointer 'req' returned from call to function 'next_request' at line 531 and
538 may be NULL and will be dereferenced in dwc3_gadget_giveback()
Signed-off-by: Jean-Jacques Hiblot
Signed-off-by:
Its possible that k3_avs_priv is NULL because the driver may not have
been probed yet. Therefore check if pointer is valid before
dereferencing it.
Signed-off-by: Vignesh Raghavendra
---
drivers/misc/k3_avs.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/misc/k3_avs.c b
Faiz,
On 31/01/20 11:44 pm, Simon Glass wrote:
> Hi Vignesh,
>
> On Thu, 30 Jan 2020 at 22:12, Vignesh Raghavendra wrote:
>>
>> Hi Simon,
>>
>> On 31/01/20 7:57 am, Simon Glass wrote:
>>> Hi Faiz,
>>>
>>> On Thu, 30 Jan 2020 at 08:22,
Enable OSPI related configs for J721e HS variant.
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_hs_evm_a72_defconfig | 8 +++-
configs/j721e_hs_evm_r5_defconfig | 7 +++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/configs/j721e_hs_evm_a72_defconfig
b/configs
Enable OSPI related defconfigs for AM65x HS variant.
Signed-off-by: Vignesh Raghavendra
---
configs/am65x_hs_evm_a53_defconfig | 26 ++
configs/am65x_hs_evm_r5_defconfig | 19 +++
2 files changed, 45 insertions(+)
diff --git a/configs
Enable OSPI related defconfigs. Also enable SPL_DMA so that DMA is used
during OSPI boot
Signed-off-by: Vignesh Raghavendra
---
configs/am65x_evm_a53_defconfig | 25 +
configs/am65x_evm_r5_defconfig | 17 +
2 files changed, 42 insertions(+)
diff --git a
Set up mtdparts cmdline argument to be passed to kernel
Signed-off-by: Vignesh Raghavendra
---
include/configs/j721e_evm.h | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 4371c471e5a9
Enable OSPI related defconfigs. Also enable SPL_DMA so that DMA is used
during OSPI boot
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_evm_a72_defconfig | 9 -
configs/j721e_evm_r5_defconfig | 7 +++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/configs
Update AM65x and J721e README files with instructions for flashing OSPI
images.
Signed-off-by: Vignesh Raghavendra
---
board/ti/am65x/README | 55 +++
board/ti/j721e/README | 47
2 files changed, 102 insertions
Add OSPI DT nodes to enable OSPI at U-Boot prompt and also to support
OSPI boot.
Signed-off-by: Vignesh Raghavendra
---
.../k3-j721e-common-proc-board-u-boot.dtsi| 16
arch/arm/dts/k3-j721e-common-proc-board.dts | 33
arch/arm/dts/k3-j721e-mcu-wakeup.dtsi
Set up mtdparts cmdline argument to be passed to kernel
Signed-off-by: Vignesh Raghavendra
---
include/configs/am65x_evm.h | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
index 7d7f86a0598a
ading SYSFW
Vignesh Raghavendra (11):
drivers: Descend to drivers/soc unconditionally
ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU
ARM: dts: k3-am65: Add OSPI DT nodes
ARM: dts: k3-j721e: Add OSPI DT nodes
configs: am65x_evm: Setup mtdparts for OSPI
configs: j721e_evm:
Add OSPI DT nodes to enable OSPI at U-Boot prompt and also to support
OSPI boot.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-am65-mcu.dtsi| 38 +++
arch/arm/dts/k3-am65.dtsi| 13 ++-
arch/arm/dts/k3-am654-base-board-u-boot.dtsi
Populate address mapping entries in A53 MMU for 4 GB of MMIO space
reserved for providing MMIO access to multiple flash devices through
OSPI/HBMC IPs within FSS.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/mach-k3/arm64-mmu.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch
From: Lokesh Vutla
Since ROM configures OSPI controller to be in memory mapped mode in OSPI
boot, R5 SPL can directly pass the memory mapped pointer to ROM. With
this ROM can directly pull the SYSFW image from OSPI.
Signed-off-by: Lokesh Vutla
Signed-off-by: Vignesh Raghavendra
---
arch/arm
: Vignesh Raghavendra
Reviewed-by: Tom Rini
---
drivers/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/Makefile b/drivers/Makefile
index 23501fd74388..420875042896 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -107,7 +107,6 @@ obj-y += reset/
obj-y
Hi Simon,
On 31/01/20 7:57 am, Simon Glass wrote:
> Hi Faiz,
>
> On Thu, 30 Jan 2020 at 08:22, Faiz Abbas wrote:
>>
>> Hi Simon,
>>
>> On 22/10/19 4:56 am, Simon Glass wrote:
>>> With a bit of code reordering we can support %p using the existing code
>>> for ulong.
>>>
>>> Move the %p code up an
Hi Andreas,
On 29/01/20 10:01 pm, Andreas Dannenberg wrote:
> Hi Vignesh,
>
> On Wed, Jan 29, 2020 at 05:48:46PM +0530, Vignesh Raghavendra wrote:
>> This series adds support to boot from OSPI on TI's AM654 and J721e SoCs.
>> These EVMs have Micron MT35x flash and wo
Enable OSPI related defconfigs. Also enable SPL_DMA so that DMA is used
during OSPI boot
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_evm_a72_defconfig | 9 -
configs/j721e_evm_r5_defconfig | 7 +++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/configs
Enable OSPI related defconfigs. Also enable SPL_DMA so that DMA is used
during OSPI boot
Signed-off-by: Vignesh Raghavendra
---
configs/am65x_evm_a53_defconfig | 25 +
configs/am65x_evm_r5_defconfig | 17 +
2 files changed, 42 insertions(+)
diff --git a
Set up mtdparts cmdline argument to be passed to kernel
Signed-off-by: Vignesh Raghavendra
---
include/configs/j721e_evm.h | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index 4371c471e5a9
Set up mtdparts cmdline argument to be passed to kernel
Signed-off-by: Vignesh Raghavendra
---
include/configs/am65x_evm.h | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
index 7d7f86a0598a
Add OSPI DT nodes to enable OSPI at U-Boot prompt and also to support
OSPI boot.
Signed-off-by: Vignesh Raghavendra
---
.../k3-j721e-common-proc-board-u-boot.dtsi| 16
arch/arm/dts/k3-j721e-common-proc-board.dts | 33
arch/arm/dts/k3-j721e-mcu-wakeup.dtsi
Add OSPI DT nodes to enable OSPI at U-Boot prompt and also to support
OSPI boot.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-am65-mcu.dtsi| 38 +++
arch/arm/dts/k3-am65.dtsi| 13 ++-
arch/arm/dts/k3-am654-base-board-u-boot.dtsi
From: Lokesh Vutla
Since ROM configures OSPI controller to be in memory mapped mode in OSPI
boot, R5 SPL can directly pass the memory mapped pointer to ROM. With
this ROM can directly pull the SYSFW image from OSPI.
Signed-off-by: Lokesh Vutla
Signed-off-by: Vignesh Raghavendra
---
arch/arm
Populate address mapping entries in A53 MMU for 4 GB of MMIO space
reserved for providing MMIO access to multiple flash devices through
OSPI/HBMC IPs within FSS.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/mach-k3/arm64-mmu.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch
: Vignesh Raghavendra
---
drivers/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/Makefile b/drivers/Makefile
index 23501fd74388..420875042896 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -107,7 +107,6 @@ obj-y += reset/
obj-y += input/
# SOC specific
This series adds support to boot from OSPI on TI's AM654 and J721e SoCs.
These EVMs have Micron MT35x flash and works in 1-1-8 mode.
Lokesh Vutla (1):
ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFW
Vignesh Raghavendra (8):
drivers: Descend to driver
IO expanders are required to power cycle SD card. So enable the same
Signed-off-by: Vignesh Raghavendra
---
.../k3-j721e-common-proc-board-u-boot.dtsi| 12 +
.../arm/dts/k3-j721e-r5-common-proc-board.dts | 27 +++
2 files changed, 39 insertions(+)
diff --git a/arch
J721e SoC has 2 I2C instances in MCU domain and 7 I2C instances in main
domain. Add DT nodes for the same
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-j721e-main.dtsi | 77 +++
arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 22
arch/arm/dts/k3
Add I2C GPIO expander required to power cycle MMC/SD
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-j721e-common-proc-board.dts | 27 +
1 file changed, 27 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-common-proc-board.dts
b/arch/arm/dts/k3-j721e-common-proc
Enable PCA953x IO expander to control MMC/SD power lines.
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_evm_a72_defconfig | 4
configs/j721e_evm_r5_defconfig | 1 +
2 files changed, 5 insertions(+)
diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
Add I2C and I2C IO expander nodes
Vignesh Raghavendra (4):
arm: dts: k3-j721e: Add I2C nodes
arm: dts: k3-j721e-common-proc-board: Add I2C GPIO expander
arm: dts: k3-j721e-common-proc-board: Enable I2C expander for SPL
configs: j721e_evm_defconfig: Enable PCA953x IO expander
.../k3
J721e EVM has a TCA6424 IO expander that has 24 GPIOs. Add support for
the same
Signed-off-by: Vignesh Raghavendra
---
drivers/gpio/pca953x_gpio.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c
index
Enable DFU, Fastboot and USB mass storage gadget related configs
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_evm_a72_defconfig | 4
configs/j721e_evm_r5_defconfig | 3 +++
2 files changed, 7 insertions(+)
diff --git a/configs/j721e_evm_a72_defconfig b/configs
Enable USB Gadget for R5 SPL, A72 SPL and A72 U-Boot to support DFU boot
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_evm_a72_defconfig | 2 ++
configs/j721e_evm_r5_defconfig | 12
2 files changed, 14 insertions(+)
diff --git a/configs/j721e_evm_a72_defconfig b/configs
Add configs to download varies stages of bootloader images to RAM during
DFU boot.
Signed-off-by: Vignesh Raghavendra
---
include/configs/j721e_evm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index eaed520e6be0
J721e does not support USB Host MSC boot, but only supports DFU boot.
Since BOOT_DEVICE_USB is often used for host boot mode and
BOOT_DEVICE_DFU is used for DFU boot, rename BOOT_DEVICE_USB macro to
BOOT_DEVICE_DFU
Signed-off-by: Vignesh Raghavendra
---
arch/arm/mach-k3/include/mach/j721e_spl.h
Enable USB0 in peripheral mode so that it be used for DFU
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts
b/arch/arm/dts/k3-j721e-r5
Add support to download SYSFW into internal RAM via DFU in DFU boot
mode. Prepare a DFU config entity entry dynamically using buffer address
allocated for SYSFW and start DFU gadget to get SYSFW.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/mach-k3/sysfw-loader.c | 30
Increase R5 SPL early malloc memory pool by ~7K to accommodate SPL USB
DFU boot requirements
Signed-off-by: Vignesh Raghavendra
---
configs/j721e_evm_r5_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig
This series adds support to boot via USB DFU mode.
Vignesh Raghavendra (7):
arm: mach-k3: j721e: Rename BOOT_DEVICE_USB to BOOT_DEVICE_DFU
arm: mach-k3: sysfw-loader: Add support to download SYSFW via DFU
arm: dts: k3-j721e-common-proc-board: Enable USB0 in peripheral mode
configs
Invalidate dcache line before accessing Setup Packet contents. Otherwise
driver will see stale content on non coherent architecture.
Signed-off-by: Vignesh Raghavendra
---
drivers/usb/cdns3/ep0.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3
h Kumar
> Signed-off-by: Kuldeep Singh
> Reviewed-by: Stefan Roese
> Tested-by: Stefan Roese
> ---
Jagan,
Changes looks fine to me, feel free to apply:
Acked-by: Vignesh Raghavendra
Regards
Vignesh
> Depends on https://patchwork.ozlabs.org/patch/1219462/
> Depends on https
On 24/01/20 11:58 am, Sagar Kadam wrote:
> Hello Vignesh,
>
>> -Original Message-----
>> From: Vignesh Raghavendra
>> Sent: Friday, January 24, 2020 10:24 AM
>> To: Sagar Kadam ; u-boot@lists.denx.de
>> Cc: Paul Walmsley ( Sifive) ;
>> anup.p
Hi Jagan,
On 26/01/20 10:13 pm, Jagan Teki wrote:
> On Fri, Jan 17, 2020 at 9:23 PM Simon Goldschmidt
> wrote:
>>
>> On Fri, Jan 17, 2020 at 2:20 PM Simon Goldschmidt
>> wrote:
>>>
>>> On Fri, Jan 17, 2020 at 2:01 PM Vignesh Raghavendra wrote:
[...
On 26/01/20 10:12 pm, Jagan Teki wrote:
> On Sun, Jan 26, 2020 at 7:21 PM Jagan Teki wrote:
>>
>> On Thu, Dec 5, 2019 at 3:45 PM Vignesh Raghavendra wrote:
>>>
>>> This series adds Octal mode support for Micron's mt35x flash.
>>> Also adds Octa
that provide memory mapped access to flash.
This greatly increases the read throughput.
Tested with mt25qu512 flash and s25fl512 flash
Resend v2:
Rebase onto the latest master (no functional change)
Vignesh Raghavendra (2):
spi: cadence_qspi: Move to spi-mem framework
spi: cadence-qspi: Add
: Vignesh Raghavendra
Tested-by: Simon Goldschmidt
---
drivers/spi/cadence_qspi.c | 136 +
drivers/spi/cadence_qspi.h | 9 +--
drivers/spi/cadence_qspi_apb.c | 124 --
3 files changed, 91 insertions(+), 178 deletions(-)
diff --git a
in future.
For better performance, driver uses DMA to copy data from flash in
direct mode using dma_memcpy().
Signed-off-by: Vignesh Raghavendra
Tested-by: Simon Goldschmidt
---
drivers/spi/cadence_qspi.c | 40 -
drivers/spi/cadence_qspi.h | 19 +-
drivers
Hi Tom,
On 16/01/20 2:23 pm, Vignesh Raghavendra wrote:
> Drivers (especially frameworks ported from Linux such as USB) expect
> dma_{un}map_single() APIs to take care of cache maintenance. But this is
> not the case in U-Boot and few drivers take care of flushing caches
> locally.
On 24/01/20 1:46 am, Sagar Shrikant Kadam wrote:
> This patch adds a workaround to change the read/write opcodes
> from QUAD to single bit mode. Idea here is to enable usage of
> spi-flash on the board.
>
> TODO:
> -Enable QUAD mode for spi-flash on HiFive Unleashed A00 board.
>
> Signed-off-b
Hi,
On 24/01/20 1:46 am, Sagar Shrikant Kadam wrote:
> Update vendor id for ISSI flash, enable SFDP as ISSI flash
> supports it and add support for spi_nor_fixups similar to
> that done in linux. Flash vendor specific fixups can be
> registered in spi_nor_ids, and will be called after BFPT
> parsi
Hi Jagan,
On 19/11/19 3:43 pm, Vignesh Raghavendra wrote:
> First patch moves driver over to spi-mem framework and implement
> spi_mem_ops. This is require to support more SPI Flash opcodes like SFDP
> parsing etc. Series is in prepartion to add Octal mode for support for
> the sa
On 17/01/20 6:21 pm, Simon Goldschmidt wrote:
> On Tue, Nov 19, 2019 at 11:12 AM Vignesh Raghavendra wrote:
>>
>> Add support for Direct Access Controller mode of Cadence QSPI. This
>> allows MMIO access to SPI NOR flash providing better read performance.
>> Direc
On 16/01/20 2:17 am, Tom Rini wrote:
> On Fri, Nov 15, 2019 at 05:25:02PM +0530, Vignesh Raghavendra wrote:
>
>> Subsystems such as USB expect dma_map_single() and dma_unmap_single() to
>> do dcache flush/invalidate operations as required. For example, see
>> drivers/u
Now that arch specific dma mapping APIs take care of cache
flush/invalidate, drop local cache flush operation.
While at that fix dma_unmap_single() call to match new prototype
Signed-off-by: Vignesh Raghavendra
---
drivers/net/macb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions
Drop local dma_map_single() and dma_unmap_single() and use arch specific
common implementation
Signed-off-by: Vignesh Raghavendra
Acked-by: Masahiro Yamada
---
drivers/mmc/tmio-common.c | 25 +++--
1 file changed, 3 insertions(+), 22 deletions(-)
diff --git a/drivers/mmc
Drop local dma_map_single() and dma_unmap_single() and use arch specific
common implementation
Signed-off-by: Vignesh Raghavendra
Acked-by: Masahiro Yamada
---
drivers/mtd/nand/raw/denali.c | 35 +++
1 file changed, 3 insertions(+), 32 deletions(-)
diff --git a
file so that per driver implementation of these APIs can
be avoided.
travis-ci is green: https://travis-ci.org/r-vignesh/u-boot/builds/637784160
v2:
Fix compilation failure on AM335x etc due to recent U-Boot changes
Collect R-bys
Vignesh Raghavendra (4):
asm: dma-mapping.h: Fix dma mapping
/denali.c etc..)
Update arch specific dma_map_single() and dma_unmap_single() APIs to do
cache flush/invalidate operations, so that drivers need not implement
them locally.
Signed-off-by: Vignesh Raghavendra
Reviewed-by: Masahiro Yamada
Reviewed-by: Rick Chen
---
arch/arm/include/asm/dma-mapping.h
Hi,
On 11/19/2019 3:43 PM, Vignesh Raghavendra wrote:
> First patch moves driver over to spi-mem framework and implement
> spi_mem_ops. This is require to support more SPI Flash opcodes like SFDP
> parsing etc. Series is in prepartion to add Octal mode for support for
> the same drive
On 14/11/19 5:31 am, Peter Robinson wrote:
> Add gd25q128 128Mbit chip to spi-nor id table.
>
> Tested on Pinebook Pro
>
> Signed-off-by: Peter Robinson
> ---
Acked-by: Vignesh Raghavendra
> drivers/mtd/spi/spi-nor-ids.c | 5 +
> 1 file changed, 5 inserti
Make sure corresponding setup registers are updated depending on CS.
This ensures that driver can support QSPI flashes on ChipSelects other
than on CS0
Reported-by: Andreas Dannenberg
Signed-off-by: Vignesh Raghavendra
---
drivers/spi/ti_qspi.c | 21 +
1 file changed, 13
Enable configs related to USB Host mode, Peripheral mode and DFU.
Signed-off-by: Vignesh Raghavendra
---
configs/am65x_evm_a53_defconfig | 19 +++
1 file changed, 19 insertions(+)
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index cec99ee1e298
Enable USB keyboard to be used as input device at U-Boot prompt. Both
serial and USB keyboard will be active inputs simultaneously.
Signed-off-by: Vignesh Raghavendra
---
configs/am65x_evm_a53_defconfig | 3 +++
include/configs/am65x_evm.h | 1 +
2 files changed, 4 insertions(+)
diff --git
ase = (void *)base;
^
Fix this by using dev_read_addr_ptr() instead of dev_read_addr().
Signed-off-by: Vignesh Raghavendra
Reviewed-by: Marek Vasut
---
drivers/phy/omap-usb2-phy.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/phy/omap-usb2-phy.
Add env variables that set up dfu_alt_info for MMC/EMMC/OSPI. This
is required to allow update of firmware on these media.
Signed-off-by: Vignesh Raghavendra
---
include/configs/am65x_evm.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/include/configs/am65x_evm.h
AM654 SoC has USB2 PHY which is similar to existing USB2 PHYs on OMAP
SoCs. Add support for the same.
Signed-off-by: Vignesh Raghavendra
Reviewed-by: Marek Vasut
---
drivers/phy/omap-usb2-phy.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/phy/omap-usb2-phy.c b
Add support for USB0 and USB1 instances on the AM6 SoC.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-am65-main.dtsi | 78 ++
1 file changed, 78 insertions(+)
diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi
index
Vignesh Raghavendra (8):
dwc3-generic: Add support for AM654 USB controller
phy: omap-usb2-phy: Fix warnings when built for ARM64
phy: omap-usb2-phy: Add support for AM654 USB2 PHY
arm: dts: k3-am65-main: add USB support
arm: dts: k3-am654-base-board: enable USB1
configs: am65x_evm
AM654 has DWC3 USB controller that is very similar to other TI SoCs. Add
a new compatible to enable the same.
Signed-off-by: Vignesh Raghavendra
Reviewed-by: Marek Vasut
---
drivers/usb/dwc3/dwc3-generic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b
Add pinmux for USB1 and enable it as a peripheral port in U-Boot
specific dtsi since U-Boot does not support OTG.
Disable USB0 as its not available on the baseboard.
Signed-off-by: Vignesh Raghavendra
---
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++
arch/arm/dts/k3-am654-base
201 - 300 of 538 matches
Mail list logo