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
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
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
: 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
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
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
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
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
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
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 +
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
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
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
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 +
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +
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
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
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
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
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
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
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 - 100 of 437 matches
Mail list logo