he LS PMC.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/ufs/ufs-amd-versal2.c | 112 ++
drivers/ufs/ufs.c | 15 +
drivers/ufs/ufs.h | 3 +
drivers/ufs/ufshcd-dwc.h | 3 +
4 files changed, 133 insertions(+)
diff --
'axi_mrmac_recv'
drivers/net/xilinx_axi_mrmac.c:411:
warning: Function parameter or member 'length' not described
in 'axi_mrmac_free_pkt'
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/net/xilinx_axi_mrmac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletion
iption for the 'dev' parameter to satisfy the documentation
requirements and improve code clarity for this function.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/gpio/zynq_gpio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio
Remove the config ZYNQMP_FIRMWARE and also update the initial
stack address.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Remove the config FIRMWARE as well.
---
configs/amd_versal2_mini_ospi_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs
CONFIG_SPI_FLASH_BAR is disabled, the device will use a
4-byte addressing mode.
Signed-off-by: Prasad Kummari
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/xilinx_zynqmp_virt_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/xilinx_zynqmp_virt_defconfig
b/configs
Enable the SPI_STACKED_PARALLEL config option for
AMD versal2 platform, as this is required for parallel and
stacked memories.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/amd_versal2_virt_defconfig
b
Remove the config ZYNQMP_FIRMWARE and also update the initial
stack address.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_mini_ospi_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/amd_versal2_mini_ospi_defconfig
b/configs
If sysreset is enabled reset_cpu is defined in sysreset uclass
that's why it can't be in platform/board code.
Signed-off-by: Venkatesh Yadav Abbarapu
---
board/amd/versal2/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/amd/versal2/board.c b/board/amd/versal2/boa
reset and poweroff are called via hooks in psci driver which is going
around sysreset framework that's why enable sysreset drivers and do
reset and poweroff via this framework.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 3 +++
1 file changed, 3 inser
Enable reset and poweroff via sysreset framework.
Venkatesh Yadav Abbarapu (2):
arm64: versal2: Enable reset and poweroff via sysreset framework
arm64: versal2: Do not define do_reset() if sysreset is enabled
board/amd/versal2/board.c | 2 ++
configs/amd_versal2_virt_defconfig | 3
U-Boot timer clock is not updated when it is migrated from
emulator to silicon. Update CONFIG_COUNTER_FREQUENCY to 100Mhz.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs
Crashes are occurring due to the number of reserved memory regions
exceeding the current maximum limit of 16. It is recommended to
increase the supported number of memory regions to 64, as newer
platforms may utilize more reserved regions.
Signed-off-by: Venkatesh Yadav Abbarapu
---
common
umkar
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
-Modified the logic from using modulus and changed to use "logical and"
operator to check the odd bytes.
---
drivers/spi/cadence_qspi_apb.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/spi/cadence_qs
period.
That is why tshsl_ns delay should be at least one sclk_ns value. If it is
less than sclk_ns, set it equal to sclk_ns.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_qspi_apb.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_ospi_versal.c | 12 +++-
drivers/spi/cadence_qspi.h| 4 +++-
drivers/spi/cadence_qspi_apb.c| 6 +++---
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/cadence_ospi_versal.c
b/drivers/spi
umkar
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_qspi_apb.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c
index b579699d2eb..c38bb523806 100644
--- a/drivers/spi/cadence_qspi_apb.c
+++ b/drivers/spi/cade
Add support for emmc hardware reset for the emmc card, trigger this
hardware reset at the end of arasan_sdhci_probe() function.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mmc/zynq_sdhci.c | 25 -
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a
Reset the host controller at the early stage of probe so that the
configuration will be done properly for reboot cases.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Reset is optional, so don't return if reset property is not found from
the device tree.
---
driver
Reset the host controller at the early stage of probe so that the
configuration will be done properly for reboot cases.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mmc/zynq_sdhci.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/mmc/zynq_sdhci.c b
y exists then read the "reg" and update the channel.
https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-arb.txt
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Return immediately if "reg" property is missing for arbitrator case.
---
drivers/i2c/
y exists then read the "reg" and update the channel.
https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-arb.txt
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/i2c/muxes/i2c-mux-uclass.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git
The pcireg base is not assigned to any address, reading the
pcireg base with PS_LINKUP_OFFSET which is incorrect and
giving random values. So update the pcireg base from
devicetree so that we can read the valid PCIE link status
and PHY ready status.
Signed-off-by: Venkatesh Yadav Abbarapu
Hang has been observed on QEMU, as it starts with indac
read and fills sram, but after dma is triggered, it tries
dac read instead (based on priority) which gets blocked.
Disable the DAC mode in indirect DMA read and enable back
for writes as DAC mode is used.
Signed-off-by: Venkatesh Yadav
Enable saving variables to MMC(FAT) and SPI based on primary
bootmode. If bootmode is JTAG, dont save env anywhere(NOWHERE).
Enable ENV_FAT_DEVICE_AND_PART="0:auto" for Versal Gen2 platform.
Signed-off-by: Venkatesh Yadav Abbarapu
---
board/amd/versal2/board.c
CONFIG_NR_DRAM_BANKS to 36.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/amd_versal2_virt_defconfig
b/configs/amd_versal2_virt_defconfig
index 9911caa0e46..59a817a2a85 100644
--- a/configs
Since the opcode SPINOR_OP_CHIP_ERASE (0xc7) is not supported
for the mt35xu01g/2g flashes, the NO_CHIP_ERASE flag has been added
to enable sector erase functionality instead.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-ids.c | 9 ++---
1 file changed, 6 insertions
Add support for flash device reset via OSPI controller
instead of using GPIO, as OSPI IP has device reset
feature on Versal Gen2 platform. Also add compatible
string for Versal Gen2 platform.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Fixed the compilation issue for
ff-by: Venkatesh Yadav Abbarapu
---
drivers/ufs/ufs.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/ufs/ufs.c b/drivers/ufs/ufs.c
index f7d8c40c448..c3acbd709e7 100644
--- a/drivers/ufs/ufs.c
+++ b/drivers/ufs/ufs.c
@@ -858,7 +858,6 @@ static int ufshcd_comp_devman_upiu(struct ufs_hba
Add the UFS boot mode support and update the boot_targets with
ufs mode. If the UFS device is not accessible from APU and
running this is detected as a warning, as the device is not
accessible.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Use uclass_get_device() with index 0, as
Add the UFS boot mode support and update the boot_targets with
ufs mode. If the UFS device is not accessible from APU and
running this is detected as a warning, as the device is not
accessible.
Signed-off-by: Venkatesh Yadav Abbarapu
---
arch/arm/mach-versal2/include/mach/hardware.h | 1
on has been added to
check the return value of reg. If it is nonzero, the function prints
an error message and returns. Otherwise, it proceeds to read the
spi-max-frequency property from the device tree.
Signed-off-by: Prasad Kummari
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/spi-uc
Kummari
Signed-off-by: Venkatesh Yadav Abbarapu
---
board/xilinx/versal-net/board.c| 7 ++-
board/xilinx/versal/board.c| 7 ++-
drivers/firmware/firmware-zynqmp.c | 23 +++
include/zynqmp_firmware.h | 4
4 files changed, 39 insertions(+), 2
Add support for flash device reset via OSPI controller
instead of using GPIO, as OSPI IP has device reset
feature on Versal Gen2 platform. Also add compatible
string for Versal Gen2 platform.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_ospi_versal.c | 19
Enable power domain driver to request node for all the IP's that are
enabled in DT. Add CONFIG_RESET_ZYNQMP config in versal2 default
configuration to enable support for reset driver for versal2
platform.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 2
As per the bindings the reference clocks naming has changed
from "pl_alt_ref_clk" to "pl_alt_ref" and "ref_clk" to "ref".
Update the same in the clock driver. Also add the fallback option
for older DT bindings.
Signed-off-by: Venkatesh Yadav Abba
Add missing prototype to fix the sparse warning,
warning: no previous prototype for 'cadence_qspi_flash_reset'
[-Wmissing-prototypes].
Fixes: 6d234a79e9 ("cadence_qspi: Refactor the flash reset functionality")
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_q
Enable the command OPTEE which runs the basic 'hello world ta'.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/amd_versal2_virt_defconfig
b/configs/amd_versal2_virt_defconfig
index b
Added support for Infineon Octal flash components on the
Versal and Versal Net platforms.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/xilinx_versal_net_virt_defconfig | 1 +
configs/xilinx_versal_virt_defconfig | 1 +
2 files changed, 2 insertions
Add missing prototype to fix the sparse warning,
warning: no previous prototype for 'set_dfu_alt_info'
[-Wmissing-prototypes].
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Include dfu.h and remove the set_dfu_alt_info declaration from board.h.
---
board/xilinx/versal/b
Enable the SPI_STACKED_PARALLEL config option for
all AMD/xilinx platforms, as this is required for parallel and
stacked memories.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Updated the SPI_STACKED_PARALLEL config for zynq.
---
configs/amd_versal2_mini_qspi_defconfig | 1
Add missing prototype to fix the sparse warning,
warning: no previous prototype for 'set_dfu_alt_info'
[-Wmissing-prototypes].
Signed-off-by: Venkatesh Yadav Abbarapu
---
board/xilinx/common/board.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/xilinx/common/board.h b/bo
: 5d40b3d384 ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Update the nor read for parallel configuration and for other case
keep the code as is.
- Fixed the commit description.
- Tested the changes with s25fl128s f
the size when the configuration
is stacked.
Fixes: 5d40b3d384 ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Update the nor read for parallel configuration and for other case
keep the code as is.
- Fixed
the size when the configuration
is stacked.
Fixes: 5d40b3d384 ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Update the nor read for parallel configuration and for other case
keep the code as is.
- Fixed
banks only when the
address width is 3byte. Also update the size when the
configuration is stacked.
Fixes: 5d40b3d384 ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Venkatesh Yadav Abbarapu
Tested-by: Jonathan Humphreys
---
Changes in v2:
- Update the no
Enable the SPI_STACKED_PARALLEL config option for
all AMD/xilinx platforms, as this is required for parallel and
stacked memories.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_mini_qspi_defconfig | 1 +
configs/xilinx_versal_mini_qspi_defconfig | 1 +
configs
As the return type is "int" for find_ram_top() function and
returning the "base" which is of phys_addr_t is breaking when the
"base" address is 64-bit. So fix this by updating the return type as
phys_addr_t.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: M
As the return type is "int" for find_ram_top() function and
returning the "base" which is of phys_addr_t is breaking when the
"base" address is 64-bit. So fix this by updating the return type as
phys_addr_t.
Signed-off-by: Venkatesh Yadav Abbarapu
---
common/memt
Provide a man-page for the optee command.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Heinrich Schuchardt
Reviewed-by: Jerome Forissier
---
doc/usage/cmd/optee.rst | 70 +
doc/usage/index.rst | 1 +
2 files changed, 71 insertions
mented.
optee hello ; value to increment via OP-TEE HELLO
WORLD TA.
To enable the OP-TEE side HELLO WORLD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Jerome Forissier
---
cmd/Kconfig
he hello_world_ta_open_session() and included in
the hello_world_ta() itself.
Changes in v5:
- Updated the printf statements.
- Fixed the description for doc usage.
Changes in v6:
- Updated the command help.
- Fixed the typo in the optee doc.
Venkatesh Yadav Abbarapu (2):
cmd: Add support for opte
mented.
optee hello ; value to increment via OP-TEE HELLO
WORLD TA.
To enable the OP-TEE side HELLO WORLD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu
---
cmd/Kconfig | 6 +
cmd/Make
Provide a man-page for the optee command.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Heinrich Schuchardt
---
doc/usage/cmd/optee.rst | 70 +
doc/usage/index.rst | 1 +
2 files changed, 71 insertions(+)
create mode 100644 doc/usage/cmd
he hello_world_ta_open_session() and included in
the hello_world_ta() itself.
Changes in v5:
- Updated the printf statements.
- Fixed the description for doc usage.
Venkatesh Yadav Abbarapu (2):
cmd: Add support for optee commands
doc: man-page for optee commands
cmd/Kconfig | 6
Provide a man-page for the optee command.
Signed-off-by: Venkatesh Yadav Abbarapu
---
doc/usage/cmd/optee.rst | 66 +
doc/usage/index.rst | 1 +
2 files changed, 67 insertions(+)
create mode 100644 doc/usage/cmd/optee.rst
diff --git a/doc/usage/cmd
mented.
optee hello ; value to increment via OP-TEE HELLO
WORLD TA.
To enable the OP-TEE side HELLO WORLD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu
---
cmd/Kconfig | 6
cmd/Make
he hello_world_ta_open_session() and included in
the hello_world_ta() itself.
Venkatesh Yadav Abbarapu (2):
cmd: Add support for optee commands
doc: man-page for optee commands
cmd/Kconfig | 6
cmd/Makefile| 1 +
cmd/optee.c | 77 ++
Provide a man-page for the optee command.
Signed-off-by: Venkatesh Yadav Abbarapu
---
doc/usage/cmd/optee.rst | 66 +
doc/usage/index.rst | 1 +
2 files changed, 67 insertions(+)
create mode 100644 doc/usage/cmd/optee.rst
diff --git a/doc/usage/cmd
and "optee" and subdommand "hello".
- Update the man-page in doc/usage/cmd/optee.rst
Changes in v3:
- Rename the config from OPTEE_HELLO_WORLD_TA to CMD_OPTEE.
- Rename the file from optee_hello_world_ta.c to optee.c
- Add the hextoul from dectoul.
Venkatesh Yadav Abbarapu (2)
mented.
optee hello ; value to increment via OP-TEE HELLO
WORLD TA.
To enable the OP-TEE side HELLO WORLD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu
---
cmd/Kconfig | 6
cmd/Make
Provide a man-page for the optee command.
Signed-off-by: Venkatesh Yadav Abbarapu
---
doc/usage/cmd/optee.rst | 75 +
doc/usage/index.rst | 1 +
2 files changed, 76 insertions(+)
create mode 100644 doc/usage/cmd/optee.rst
diff --git a/doc/usage/cmd
LD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu
---
cmd/Kconfig| 8 +++
cmd/Makefile | 1 +
cmd/optee_hello_world_ta.c | 104
quot;optee" and subdommand "hello".
- Update the man-page in doc/usage/cmd/optee.rst
Venkatesh Yadav Abbarapu (2):
cmd: Add support for optee hello world ta command
doc: man-page for optee commands
cmd/Kconfig| 8 +++
cmd/Makefile | 1 +
cm
ELLO WORLD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu
---
cmd/Kconfig| 8
cmd/Makefile | 1 +
cmd/optee_hello_world
banks only when the
address width is 3byte. Also update the size when the
configuration is stacked.
Fixes: 5d40b3d384 ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Update the nor read for parallel configuration and
Enable mt35xu512aba_fixups for all mt35 series flashes.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor
Add SPI_NOR_OCTAL_DTR_READ flags to micron flashes
mt35xu01g and mt35xu02g. Also move them under
CONFIG_SPI_FLASH_MT35XU config, so that in driver
mt35xu512aba_fixups will be applied.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-ids.c | 6
Add SPI_NOR_OCTAL_DTR_READ flags to micron flashes
mt35xu01g and mt35xu02g.
Changes in v3:
- Seperated into two patches, one for nor-ids
and other for mt35 fixups.
Venkatesh Yadav Abbarapu (2):
mtd: spi-nor-ids: Enable DTR for micron flashes
mtd: spi-nor: Enable mt35xu512aba_fixups for all
Add SPI_NOR_OCTAL_DTR_READ flags to micron flashes
mt35xu01g and mt35xu02g. Also move them under
CONFIG_SPI_FLASH_MT35XU config, so that in driver
mt35xu512aba_fixups will be applied.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Add the OCTAL_DTR_READ flags for mt35xu01g and
As the "peer-hub" property is optional, don't error out just
skip the bind function.
Fixes: 57e30b09fc ("usb: onboard-hub: Bail out if peer hub is already probed")
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Removed the peer_hub variable and used the re
As the "peer-hub" property is optional, don't error out just
skip the bind function.
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Removed the peer_hub variable and used the return value.
---
common/usb_onboard_hub.c | 6 +-
1 file changed, 5 insertions
lready probed")
Signed-off-by: Venkatesh Yadav Abbarapu
---
common/usb_onboard_hub.c | 8
1 file changed, 8 insertions(+)
diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c
index 6f28036e09..0a8fac38ee 100644
--- a/common/usb_onboard_hub.c
+++ b/common/usb_onboa
Updating the usb5744 hub node as per the latest upstream DT binding
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
tree/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml?h=v6.8.8
Signed-off-by: Venkatesh Yadav Abbarapu
Acked-by: Michal Simek
---
Changes in v2
id table.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
Changes in v2:
- Removed the SPI_XFER_SET_DDR flag.
---
drivers/mtd/spi/spi-nor-core.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/
Add OPTEE support for versal2 platform.
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs/amd_versal2_virt_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/amd_versal2_virt_defconfig
b/configs/amd_versal2_virt_defconfig
index 08e607700c..b4aebf3e9f 100644
--- a
USB host support on ZYNQMP KRIA SOM needs onboard USB
hub driver for handling reset GPIO and for i2c initialization
sequence.
Signed-off-by: Venkatesh Yadav Abbarapu
Acked-by: Michal Simek
---
NOTE: The usb hub patches are merged.
https://lore.kernel.org/u-boot/20241125041202.980-2
Updating the usb5744 hub node as per the latest upstream DT binding
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
tree/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml?h=v6.8.8
Signed-off-by: Venkatesh Yadav Abbarapu
Acked-by: Michal Simek
---
arch/arm/dts
Don't error out if there is no vdd regulator supply, as these are
optional properties.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onboard_hub.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/common/usb_onboard_hu
: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onboard_hub.c | 51 +---
1 file changed, 48 insertions(+), 3 deletions(-)
diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c
index 68a04ac041..e4d1f12cb4 100644
--- a/common
pdated the reset_us to 1.
Changes in v12:
- Updated the power on delay for usb2514_hub.
- Updated the usb2514_hub_data in the patch 1/7.
Changes in v13:
- Updated the reset and power on delay as per the
USB5744 specification.
Changes in v14:
- Remove the 6/7 patches from this series.
Venka
The .bind function is implemented to bind the correct
"half" of the hub that the driver wants to bind,
and returning -ENODEV for the other "half".
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onboard_hub.c | 21 +
the USB attach command is issued.
The byte sequence is as follows:
Slave addr: 0x2d 00 00 05 00 01 41 1D 08
Slave addr: 0x2d 99 37 00
Slave addr: 0x2d AA 56 00
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onbo
Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub.
The usb5744 driver trigger hub reset signal after soft reset.
The usb5744 hub need to reset after the phy initialization,
which toggles the gpio.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common
id table.
Additionally, a new flag, "SPI_XFER_SET_DDR", has been introduced
to instruct the OSPI controller driver to switch to DDR mode.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 8 +++-
include/spi.h
Added support for Macronix OSPI flash parts MX25UM51345G
and MX66UM2G45G, with initial testing conducted on the
Tenzing-se1 board using STR mode for basic erase, write,
and readback operations.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Dragan Simic
Add support for Winbond 256MB flash W25Q02NW which supports 4byte
opcodes and also dual and quad read.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-ids.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi/spi
driver, add it to clear write enable latch.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 23 ---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor
USB host support on ZYNQMP KRIA SOM needs onboard USB
hub driver for handling reset GPIO and for i2c initialization
sequence.
Signed-off-by: Venkatesh Yadav Abbarapu
Acked-by: Michal Simek
---
configs/xilinx_zynqmp_kria_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
the USB attach command is issued.
The byte sequence is as follows:
Slave addr: 0x2d 00 00 05 00 01 41 1D 08
Slave addr: 0x2d 99 37 00
Slave addr: 0x2d AA 56 00
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onbo
Updating the usb5744 hub node as per the latest upstream DT binding
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
tree/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml?h=v6.8.8
Signed-off-by: Venkatesh Yadav Abbarapu
Acked-by: Michal Simek
---
arch/arm/dts
: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onboard_hub.c | 51 +---
1 file changed, 48 insertions(+), 3 deletions(-)
diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c
index 68a04ac041..e4d1f12cb4 100644
--- a/common
The .bind function is implemented to bind the correct
"half" of the hub that the driver wants to bind,
and returning -ENODEV for the other "half".
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onboard_hub.c | 21 +
Don't error out if there is no vdd regulator supply, as these are
optional properties.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common/usb_onboard_hub.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/common/usb_onboard_hu
pdated the reset_us to 1.
Changes in v12:
- Updated the power on delay for usb2514_hub.
- Updated the usb2514_hub_data in the patch 1/7.
Changes in v13:
- Updated the reset and power on delay as per the
USB5744 specification.
Venkatesh Yadav Abbarapu (7):
usb: onboard-hub: Add reset-gpio sup
Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub.
The usb5744 driver trigger hub reset signal after soft reset.
The usb5744 hub need to reset after the phy initialization,
which toggles the gpio.
Signed-off-by: Venkatesh Yadav Abbarapu
Reviewed-by: Marek Vasut
---
common
ories support")
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index ec841fb13b..c37a9bce74 100644
--- a/drive
, then
update the command type to SPI_NOR_EXT_INVERT.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index
es stored during SPI calibration.
Instead, they are now read during the spi_nor_read_id call in the
NOR framework.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_qspi.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/spi/cadence_
Updating the delays for flash reset in the mini u-boot case.
These experimental delay values by looking at different flash device
vendors datasheets.
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/cadence_ospi_versal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
The Micron MT35 series octal flashes can be activated
through the configuration option CONFIG_SPI_FLASH_MT35XU.
To ensure their detection, enable this option in the
default defconfig for octal flashes.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Venkatesh Yadav Abbarapu
---
configs
1 - 100 of 472 matches
Mail list logo