[PATCH] spi: cadence_qspi: Add missing prototype for cadence_qspi_flash_reset

2025-01-22 Thread Venkatesh Yadav Abbarapu
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

[PATCH] arm64: versal2: Enable the OPTEE command

2025-01-16 Thread Venkatesh Yadav Abbarapu
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

[PATCH] xilinx: Enable support for Infineon Octal flashes

2025-01-15 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] board: xilinx: Add missing prototype for set_dfu_alt_info

2025-01-06 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] config: xilinx: Enable the SPI_STACKED_PARALLEL config option

2025-01-02 Thread Venkatesh Yadav Abbarapu
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

[PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info

2025-01-01 Thread Venkatesh Yadav Abbarapu
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

[PATCH v6] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-29 Thread Venkatesh Yadav Abbarapu
: 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

[PATCH v5] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-26 Thread Venkatesh Yadav Abbarapu
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

[PATCH v4] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-24 Thread Venkatesh Yadav Abbarapu
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

[PATCH v3] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-20 Thread Venkatesh Yadav Abbarapu
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

[PATCH] config: xilinx: Enable the SPI_STACKED_PARALLEL config option

2024-12-20 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] common: memtop: Fix the return type for find_ram_top

2024-12-19 Thread Venkatesh Yadav Abbarapu
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

[PATCH] common: memtop: Fix the return type for find_ram_top

2024-12-19 Thread Venkatesh Yadav Abbarapu
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

[PATCH v6 2/2] doc: man-page for optee commands

2024-12-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v6 1/2] cmd: Add support for optee commands

2024-12-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v6 0/2] cmd: Add support for optee commands.

2024-12-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v5 1/2] cmd: Add support for optee commands

2024-12-17 Thread Venkatesh Yadav Abbarapu
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

[PATCH v5 2/2] doc: man-page for optee commands

2024-12-17 Thread Venkatesh Yadav Abbarapu
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

[PATCH v5 0/2] cmd: Add support for optee commands.

2024-12-17 Thread Venkatesh Yadav Abbarapu
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

[PATCH v4 2/2] doc: man-page for optee commands

2024-12-16 Thread Venkatesh Yadav Abbarapu
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

[PATCH v4 1/2] cmd: Add support for optee commands

2024-12-16 Thread Venkatesh Yadav Abbarapu
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

[PATCH v4 0/2] cmd: Add support for optee commands.

2024-12-16 Thread Venkatesh Yadav Abbarapu
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 ++

[PATCH v3 2/2] doc: man-page for optee commands

2024-12-16 Thread Venkatesh Yadav Abbarapu
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

[PATCH v3 0/2] cmd: Add support for optee commands.

2024-12-16 Thread Venkatesh Yadav Abbarapu
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)

[PATCH v3 1/2] cmd: Add support for optee commands

2024-12-16 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2 2/2] doc: man-page for optee commands

2024-12-13 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2 1/2] cmd: Add support for optee hello world ta command

2024-12-13 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2 0/2] cmd: Add support for optee hello world ta command

2024-12-13 Thread Venkatesh Yadav Abbarapu
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

[PATCH] cmd: Add support for optee hello world ta command

2024-12-12 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-11 Thread Venkatesh Yadav Abbarapu
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

[PATCH v3 2/2] mtd: spi-nor: Enable mt35xu512aba_fixups for all mt35xx flashes

2024-12-09 Thread Venkatesh Yadav Abbarapu
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

[PATCH v3 1/2] mtd: spi-nor-ids: Enable DTR for micron flashes

2024-12-09 Thread Venkatesh Yadav Abbarapu
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

[PATCH v3 0/2] Enable mt35xu512aba_fixups for all mt35xx flashes

2024-12-09 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] mtd: spi-nor: Enable mt35xu512aba_fixups for all mt35xx flashes

2024-12-04 Thread Venkatesh Yadav Abbarapu
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

[PATCH v3] usb: onboard-hub: Update the bind function based on peer-hub property

2024-12-03 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] usb: onboard-hub: Update the bind function based on peer-hub property

2024-12-03 Thread Venkatesh Yadav Abbarapu
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

[PATCH] usb: onboard-hub: Update the bind function based on "peer_hub" property

2024-12-02 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-29 Thread Venkatesh Yadav Abbarapu
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

[PATCH v2] mtd: spi-nor: Enable mt35xu512aba_fixups for all mt35xx flashes

2024-11-29 Thread Venkatesh Yadav Abbarapu
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/

[PATCH] configs: versal2: Enable OPTEE support

2024-11-26 Thread Venkatesh Yadav Abbarapu
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

[PATCH] configs: zynqmp_kria: Enable the USB onboard hub

2024-11-25 Thread Venkatesh Yadav Abbarapu
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

[PATCH] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-25 Thread Venkatesh Yadav Abbarapu
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

[PATCH v14 2/5] usb: onboard-hub: Fix the return values of regulator APIs

2024-11-24 Thread Venkatesh Yadav Abbarapu
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

[PATCH v14 1/5] usb: onboard-hub: Add reset-gpio support

2024-11-24 Thread Venkatesh Yadav Abbarapu
: 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

[PATCH v14 0/5] Add the USB5744 hub driver as per new DT binding

2024-11-24 Thread Venkatesh Yadav Abbarapu
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

[PATCH v14 5/5] usb: onboard-hub: Bail out if peer hub is already probed

2024-11-24 Thread Venkatesh Yadav Abbarapu
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 +

[PATCH v14 4/5] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-11-24 Thread Venkatesh Yadav Abbarapu
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

[PATCH v14 3/5] usb: onboard-hub: add support for Microchip USB5744

2024-11-24 Thread Venkatesh Yadav Abbarapu
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

[PATCH] mtd: spi-nor: Enable mt35xu512aba_fixups for all mt35xx flashes

2024-11-22 Thread Venkatesh Yadav Abbarapu
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

[PATCH] mtd: spi-nor: Add support for Macronix flash part

2024-11-22 Thread Venkatesh Yadav Abbarapu
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

[PATCH] mtd: spi-nor-ids: Add support for W25Q02NW

2024-11-22 Thread Venkatesh Yadav Abbarapu
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

[PATCH] mtd: spi-nor: Send write disable cmd after every write enable

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v13 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v13 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v13 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v13 1/7] usb: onboard-hub: Add reset-gpio support

2024-11-18 Thread Venkatesh Yadav Abbarapu
: 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

[PATCH v13 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-11-18 Thread Venkatesh Yadav Abbarapu
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 +

[PATCH v13 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v13 0/7] Add the USB5744 hub driver as per new DT binding

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH v13 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH] mtd: spi-nor: Fix the read issue when addr_width is 4byte

2024-11-18 Thread Venkatesh Yadav Abbarapu
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

[PATCH] mtd: spi-nor: Address the Macronix flash probe failure

2024-11-14 Thread Venkatesh Yadav Abbarapu
, 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

[PATCH] spi: cadence_qspi: Fix OSPI boot issue

2024-11-13 Thread Venkatesh Yadav Abbarapu
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_

[PATCH] cadence_qspi: Update the delays for flash reset

2024-11-13 Thread Venkatesh Yadav Abbarapu
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

[PATCH] arm64: versal: Enable defconfig for Micron octal flashes

2024-11-13 Thread Venkatesh Yadav Abbarapu
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

[PATCH] arm64: versal: Enable soft reset support for xspi flashes

2024-11-13 Thread Venkatesh Yadav Abbarapu
Activate the xSPI Software Reset support, which will be utilized to transition from octal DTR mode to legacy mode during shutdown and boot (if enabled). Signed-off-by: T Karthik Reddy Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_versal_virt_defconfig | 2 ++ 1 file changed, 2

[PATCH v2] mtd: spi-nor: Add support for flash reset

2024-11-13 Thread Venkatesh Yadav Abbarapu
Add support for spi-nor flash reset via GPIO controller by reading the reset-gpios property. [Ported from Linux kernel commit 8f1ee9ef71d0 ("mtd: spi-nor: Add support for flash reset") ] Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Removed the code from spi_nor_remove

[PATCH v12 1/7] usb: onboard-hub: Add reset-gpio support

2024-11-12 Thread Venkatesh Yadav Abbarapu
: 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..cc0501832e 100644 --- a/common

[PATCH v12 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-11-12 Thread Venkatesh Yadav Abbarapu
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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v12 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-11-12 Thread Venkatesh Yadav Abbarapu
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

[PATCH v12 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-11-12 Thread Venkatesh Yadav Abbarapu
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

[PATCH v12 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-12 Thread Venkatesh Yadav Abbarapu
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

[PATCH v12 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-11-12 Thread Venkatesh Yadav Abbarapu
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

[PATCH v12 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-11-12 Thread Venkatesh Yadav Abbarapu
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 +

[PATCH v12 0/7] Add the USB5744 hub driver as per new DT binding

2024-11-12 Thread Venkatesh Yadav Abbarapu
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. Venkatesh Yadav Abbarapu (7): usb: onboard-hub: Add reset-gpio support usb: onboard-hub: Fix the return values of regulator APIs usb: onboard-hub: add s

[PATCH v11 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-11 Thread Venkatesh Yadav Abbarapu
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

[PATCH v11 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-11-11 Thread Venkatesh Yadav Abbarapu
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

[PATCH v11 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-11-11 Thread Venkatesh Yadav Abbarapu
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 +

[PATCH v11 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-11-11 Thread Venkatesh Yadav Abbarapu
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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v11 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-11-11 Thread Venkatesh Yadav Abbarapu
Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 827ecf9b02..1d146eccee 100644 --- a/common/usb_onboard_hub.c +++ b/common

[PATCH v11 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-11-11 Thread Venkatesh Yadav Abbarapu
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

[PATCH v11 1/7] usb: onboard-hub: Add reset-gpio support

2024-11-11 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c

[PATCH v11 0/7] Add the USB5744 hub driver as per new DT binding

2024-11-11 Thread Venkatesh Yadav Abbarapu
pdated the reset_us to 1. Venkatesh Yadav Abbarapu (7): usb: onboard-hub: Add reset-gpio support usb: onboard-hub: Fix the return values of regulator APIs usb: onboard-hub: add support for Microchip USB5744 usb: onboard-hub: Add i2c initialization for usb5744 hub usb: onboard-hub: Bail out i

[PATCH v2] cadence_qspi: Refactor the flash reset functionality

2024-11-07 Thread Venkatesh Yadav Abbarapu
neric name "cadence_qspi_flash_reset" as this can be used by other platforms as well. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Rename the cadence_qspi_versal_flash_reset to cadence_qspi_flash_reset. - Add the DM_GPIO flag in the paltform specific file. --- drivers/spi/cadenc

[PATCH v10 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-11-07 Thread Venkatesh Yadav Abbarapu
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

[PATCH v10 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-11-07 Thread Venkatesh Yadav Abbarapu
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

[PATCH v10 1/7] usb: onboard-hub: Add reset-gpio support

2024-11-07 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c

[PATCH v10 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-11-07 Thread Venkatesh Yadav Abbarapu
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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v10 0/7] Add the USB5744 hub driver as per new DT binding

2024-11-07 Thread Venkatesh Yadav Abbarapu
gpio_desc * for dm_gpio_free(). Changes in v8: - Sort the list for usb5744_data. Changes in v9: - Added the Reviewer tag for patches 1/4, which got missed in v8. Changes in v10: - Removed the GPIOD_ACTIVE_LOW flag in the devm_gpiod_get_optional. Venkatesh Yadav Abbarapu (7): usb: onboard-hub: Add

[PATCH v10 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-11-07 Thread Venkatesh Yadav Abbarapu
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

[PATCH v10 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-11-07 Thread Venkatesh Yadav Abbarapu
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

[PATCH v10 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-11-07 Thread Venkatesh Yadav Abbarapu
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 +

[PATCH v9 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-10-30 Thread Venkatesh Yadav Abbarapu
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

[PATCH v9 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-10-29 Thread Venkatesh Yadav Abbarapu
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

[PATCH v9 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-10-29 Thread Venkatesh Yadav Abbarapu
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 | 11 ++- 1 file changed, 6 insertions(+), 5 deletions

[PATCH v9 0/7] Add the USB5744 hub driver as per new DT binding

2024-10-29 Thread Venkatesh Yadav Abbarapu
gpio_desc * for dm_gpio_free(). Changes in v8: - Sort the list for usb5744_data. Changes in v9: - Added the Reviewer tag for patches 1/4, which got missed in v8. Venkatesh Yadav Abbarapu (7): usb: onboard-hub: Add reset-gpio support usb: onboard-hub: Fix the return values of regulator APIs us

[PATCH v9 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-10-29 Thread Venkatesh Yadav Abbarapu
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

[PATCH v9 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-10-29 Thread Venkatesh Yadav Abbarapu
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 +

[PATCH v9 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-10-29 Thread Venkatesh Yadav Abbarapu
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

[PATCH v9 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-29 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c

  1   2   3   4   5   >