[PATCH] board: ti: j721e: Return if there is an error while configuring SerDes

2022-06-10 Thread Aswath Govindraju
While configuring SerDes, errors could be encountered, in these cases, return instead of going ahead. This is will help in booting even if configuration of SerDes fails. Signed-off-by: Aswath Govindraju --- board/ti/j721e/evm.c | 32 ++-- 1 file changed, 22

Re: [PATCH] fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ

2022-05-19 Thread Aswath Govindraju
Hi Rasmus, On 19/05/22 16:58, Rasmus Villemoes wrote: > On 19/05/2022 12.41, Aswath Govindraju wrote: >> Hi Rasmus, >> >> On 19/05/22 14:40, Rasmus Villemoes wrote: >>> Asking if the alias we found actually points at the device tree node >>> we passed in (in

Re: [PATCH] fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ

2022-05-19 Thread Aswath Govindraju
Hi Rasmus, On 19/05/22 14:40, Rasmus Villemoes wrote: > Asking if the alias we found actually points at the device tree node > we passed in (in the guise of its offset from blob) can be done simply > by asking if the fdt_path_offset() of the alias' path is identical to > offset. > > In fact, the

[PATCH 2/3] arm: mach-k3: am6_init: Fix the path and value's length in the fixup performed for usb boot

2022-05-18 Thread Aswath Govindraju
The node name of the bus in the device tree has changed. Also, the length argument to be passed should be the length of new value. Therefore, fix the path to usb device tree node as well as the length argument passed. Signed-off-by: Aswath Govindraju --- arch/arm/mach-k3/am6_init.c | 4 ++-- 1

[PATCH 3/3] configs: am65_evm_r5_usb*_defconfig: Sync the checks for size of image and stack from generic r5 defconfig

2022-05-18 Thread Aswath Govindraju
Sync the configs required for enabling checks for size of image and stack from generic r5 defconfig file. Signed-off-by: Aswath Govindraju --- configs/am65x_evm_r5_usbdfu_defconfig | 5 + configs/am65x_evm_r5_usbmsc_defconfig | 5 + 2 files changed, 10 insertions(+) diff --git

[PATCH 0/3] AM65: Fix USB boot modes

2022-05-18 Thread Aswath Govindraju
The following series of patches along with [1], fix usb boot modes on AM654 IDK board. [1] - https://patchwork.ozlabs.org/project/uboot/list/?series=300845 Aswath Govindraju (3): arm: dts: k3-am654-r5-base-board: Fix the dt properties in usb0 instance arm: mach-k3: am6_init: Fix the path

[PATCH 1/3] arm: dts: k3-am654-r5-base-board: Fix the dt properties in usb0 instance

2022-05-18 Thread Aswath Govindraju
For dfu boot mode, the clocks property needs to be deleted and dr_mode needs to be set to peripheral. Therefore, add the required fixes for the same. Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi | 2 +- arch/arm/dts/k3-am654-r5-base-board.dts | 1

[PATCH] usb: dwc3: Fix the error paths in usb3-phy PHY configuration

2022-05-18 Thread Aswath Govindraju
nal checks added for these in the dwc3_glue_probe(). Fixes: 142d50fbce7c ("usb: dwc3: Add support for usb3-phy PHY configuration") Signed-off-by: Aswath Govindraju --- drivers/usb/dwc3/dwc3-generic.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff

[PATCH] include: configs: am**x/j721e/j721s2_evm.h: Move the stack pointer init address in arm64

2022-04-19 Thread Aswath Govindraju
│ ├┤ │▲ │ ││ │ │ STACK │ ├┤0x8048 │ Memory for Load│ │ Buffer Allocation │ ├┤0x8080 ││ │U-Boot Image│ ││ └┘ Signed-off-by: Aswath Govindraju

[PATCH] drivers: usb: dwc3: Add support for AM62 USB wrapper driver

2022-04-07 Thread Aswath Govindraju
Add support for AM62 USB wrapper for DWC3 Controller in AM62 SoC. Signed-off-by: Aswath Govindraju --- Link to corresponding kernel dt-bindings and driver patches, - https://patchwork.kernel.org/project/linux-usb/list/?series=629613 drivers/usb/dwc3/Kconfig | 7 + drivers/usb/dwc3

Re: [PATCH] doc: mmc dev

2022-03-29 Thread Aswath Govindraju
t; Signed-off-by: Patrick Delaunay Reviewed-by: Aswath Govindraju Thanks, Aswath > --- > > doc/usage/mmc.rst | 36 > 1 file changed, 20 insertions(+), 16 deletions(-) > > diff --git a/doc/usage/mmc.rst b/doc/usage/mmc.rst > index 02b5d7b1c

[PATCH 2/2] board: ti: j721e: evm.c: Fix the probing of in Sierra SerDes0

2022-03-04 Thread Aswath Govindraju
Initialization and power on operations of links have been moved under the link device in the Sierra SerDes driver. Also, the UCLASS of sierra_phy_provider has been changed to UCLASS_MISC. Therefore, fix the probing of SerDes0 instance accordingly. Signed-off-by: Aswath Govindraju Reviewed

[PATCH 1/2] phy: cadence: Sierra: Move the link operations from serdes phy to link device

2022-03-04 Thread Aswath Govindraju
no longer the phy device. Fixes: 6f46c7441a9f ("phy: cadence: Sierra: Add a UCLASS_PHY device for links") Signed-off-by: Aswath Govindraju Reviewed-by: Georgi Vlaev --- drivers/phy/cadence/phy-cadence-sierra.c | 59 1 file changed, 20 insertions(+), 39 dele

[PATCH 0/2] J721E: Fix DFU in U-Boot

2022-03-04 Thread Aswath Govindraju
The following series of patches fix USB DFU in U-Boot for J721e. Aswath Govindraju (2): phy: cadence: Sierra: Move the link operations from serdes phy to link device board: ti: j721e: evm.c: Fix the probing of in Sierra SerDes0 board/ti/j721e/evm.c | 28

[PATCH v2 3/3] configs: j721e_hs_evm_a72_defconfig: Add command for initializing QSGMII PHY

2022-02-21 Thread Aswath Govindraju
QSGMII PHY present on the j721e common processor board requires to be initialized before the core boots up. Therefore, run the corresponding command during boot to do the same. Signed-off-by: Aswath Govindraju --- configs/j721e_hs_evm_a72_defconfig | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 2/3] configs: j721e_evm_a72_defconfig: Fix the bootcmd

2022-02-21 Thread Aswath Govindraju
Add the command "boot_rprocs" that is required for booting remote processors in U-Boot. Fixes: 5980925e2a5a ("include: configs: j721e_evm: Add support to boot ethfw core in j721e") Reported-by: Jesse Villarreal Signed-off-by: Aswath Govindraju --- configs/j721e_evm_a72

[PATCH v2 1/3] include: configs: j721e_evm.h: Fix the env variable corresponding to QSGMII PHY init

2022-02-21 Thread Aswath Govindraju
, remove dorprocboot that is being set by default. Fixes: 5980925e2a5a ("include: configs: j721e_evm: Add support to boot ethfw core in j721e") Reported-by: Suman Anna Signed-off-by: Aswath Govindraju --- include/configs/j721e_evm.h | 19 +-- 1 file changed, 17 insert

[PATCH v2 0/3] J721E: Fix initialization of QSGMII PHY

2022-02-21 Thread Aswath Govindraju
such that the QSGMII PHY initialization is only applicable for J721E EVM - Rearranged the order of PHY initialization and boot_rpocs in the bootcmd - Added reported-bys - Split the fix into two patches. Aswath Govindraju (3): include: configs: j721e_evm.h: Fix the env variable corresponding to QSGMII

Re: [PATCH 0/2] J721E: Fix bootcmd

2022-02-21 Thread Aswath Govindraju
Hi, On 18/02/22 6:59 pm, Aswath Govindraju wrote: > The following series of patches fix the bootcmd for J721e, > - adds the command 'run boot_rpocs' for booting remote processors > from U-Boot (As it was earlier) > - removes setting of dorprocboot to 1. Since this should be >

[PATCH 2/2] configs: j721e_hs_evm_a72_defconfig: Sync up the bootcmd with GP configs

2022-02-18 Thread Aswath Govindraju
Sync up the bootcmd with GP configs, to initialize the QSGMII phy required for ethfw. Signed-off-by: Aswath Govindraju --- configs/j721e_hs_evm_a72_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/j721e_hs_evm_a72_defconfig b/configs

[PATCH 1/2] configs: j721e_evm_a72_defconfig: Fix the bootcmd

2022-02-18 Thread Aswath Govindraju
. Therefore, fix the bootcmd to reflect the same. Fixes: 5980925e2a5a ("include: configs: j721e_evm: Add support to boot ethfw core in j721e") Signed-off-by: Aswath Govindraju --- configs/j721e_evm_a72_defconfig | 2 +- include/configs/j721e_evm.h | 1 - 2 files changed, 1 insertion(+), 2

[PATCH 0/2] J721E: Fix bootcmd

2022-02-18 Thread Aswath Govindraju
with GP. Aswath Govindraju (2): configs: j721e_evm_a72_defconfig: Fix the bootcmd configs: j721e_hs_evm_a72_defconfig: Sync up the bootcmd with GP configs configs/j721e_evm_a72_defconfig| 2 +- configs/j721e_hs_evm_a72_defconfig | 2 +- include/configs/j721e_evm.h| 1 - 3 files

[PATCH] configs: j721e_*_evm_a72_defconfig: Enable config for setting mmc speed mode

2022-02-15 Thread Aswath Govindraju
Enable config for setting mmc speed mode from U-Boot command line. Signed-off-by: Aswath Govindraju --- configs/j721e_evm_a72_defconfig| 1 + configs/j721e_hs_evm_a72_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs

Re: [PATCH 00/25] SIERRA: Add support for MultiLink

2022-01-28 Thread Aswath Govindraju
Hi All, On 27/01/22 2:42 pm, Aswath Govindraju wrote: > The following series of patches, > - add support for MultiLink on Sierra SerDes > - Also adds the required to configs, dt node changes > to enable this on J721e common processor board. > > Notes: > - Patches 1, 2, 3,

[PATCH v2 25/25] include: configs: j721e_evm: Add support to boot ethfw core in j721e

2022-01-28 Thread Aswath Govindraju
Add configs to enable booting ethfw core in j721e Signed-off-by: Aswath Govindraju --- configs/j721e_evm_a72_defconfig | 2 +- include/configs/j721e_evm.h | 19 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/configs/j721e_evm_a72_defconfig b/configs

[PATCH v2 24/25] arm: dts: k3-j721e: Add support for multilink PCIe + QSGMII

2022-01-28 Thread Aswath Govindraju
Add support for QSGMII multilink configuration. Signed-off-by: Aswath Govindraju --- .../arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 5 + arch/arm/dts/k3-j721e-common-proc-board.dts| 14 +++--- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 12 ++-- 3

[PATCH v2 23/25] phy: cadence: Sierra: Add support for skipping configuration

2022-01-28 Thread Aswath Govindraju
-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 58 +--- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index 95cdd39cb367..d95d4b432a98 100644 --- a/drivers

[PATCH v2 22/25] phy: cadence: Sierra: Add PCIe + QSGMII PHY multilink configuration

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Add register sequences for PCIe + QSGMII PHY multilink configuration. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 378 ++- 1 file changed, 377 insertions(+), 1 deletion(-) diff --git

[PATCH v2 21/25] phy: cadence: Sierra: Add support for PHY multilink configurations

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Add support for multilink configuration of Sierra PHY. Currently, maximum two links are supported. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 153 +-- 1 file changed, 145 insertions

[PATCH v2 20/25] phy: cadence: Sierra: Update single link PCIe register configuration

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Add single link PCIe register configurations for no SSC and internal SSC. Also, add missing PMA lane registers for external SSC. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 218 ++- 1

[PATCH v2 18/25] phy: cadence: Sierra: Check cmn_ready assertion during PHY power on

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Check if PMA cmn_ready is set indicating the startup process is complete. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers

[PATCH v2 19/25] phy: cadence: Sierra: Check PIPE mode PHY status to be ready for operation

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade PIPE phy status is used to communicate the completion of several PHY functions. Check if PHY is ready for operation while configured for PIPE mode during startup. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence

[PATCH v2 17/25] phy: cadence: Sierra: Add PHY PCS common register configurations

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Add PHY PCS common register configuration sequences for single link. Update single link PCIe register sequence accordingly. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 38 1 file

[PATCH v2 16/25] phy: cadence: Sierra: Rename some regmap variables to be in sync with Sierra documentation

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade No functional change. Rename some regmap variables as mentioned in Sierra register description documentation. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 12 ++-- 1 file changed, 6 insertions

[PATCH v2 15/25] phy: cadence: Sierra: Add support to get SSC type from device tree.

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Add support to get SSC type from DT. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers

[PATCH v2 13/25] phy: cadence: Sierra: Prepare driver to add support for multilink configurations

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Sierra driver currently supports single link configurations only. Prepare driver to support multilink multiprotocol configurations along with different SSC modes. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence

[PATCH v2 14/25] dt-bindings: phy: cadence-sierra: Add binding to specify SSC mode

2022-01-28 Thread Aswath Govindraju
From: Swapnil Jakhade Add binding to specify Spread Spectrum Clocking mode used Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- include/dt-bindings/phy/phy-cadence.h | 4 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/phy/phy-cadence.h b/include

[PATCH v2 12/25] arm: dts: k3-j721e: Add support for PLL_CMNLC clocks in SerDes0

2022-01-28 Thread Aswath Govindraju
to the link nodes in U-Boot device tree file. Signed-off-by: Aswath Govindraju --- .../k3-j721e-common-proc-board-u-boot.dtsi| 10 .../arm/dts/k3-j721e-r5-common-proc-board.dts | 24 +++ 2 files changed, 34 insertions(+) diff --git a/arch/arm/dts/k3-j721e-common

[PATCH v2 11/25] board: ti: j721e: evm.c: Add support for probing SerDes0

2022-01-28 Thread Aswath Govindraju
Add support for probing, initializing and powering, SerDes0 instance. Signed-off-by: Aswath Govindraju --- board/ti/j721e/evm.c | 37 + 1 file changed, 37 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 077d83420c9c..ad85b9d50115

[PATCH v2 10/25] phy: ti: phy-j721e-wiz.c: Fix the condition for setting P_ENABLE_FORCE

2022-01-28 Thread Aswath Govindraju
Fix the condition for setting P_ENABLE_FORCE bit, by syncing with the driver in kernel. Signed-off-by: Aswath Govindraju --- drivers/phy/ti/phy-j721e-wiz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index

[PATCH v2 09/25] phy: cadence: Sierra: Model PLL_CMNLC and PLL_CMNLC1 as a clock

2022-01-28 Thread Aswath Govindraju
Sierra has two PLLs, PLL_CMNLC and PLL_CMNLC1 and each of these PLLs has two inputs, plllc_refclk (input from pll0_refclk) and refrcv (input from pll1_refclk). Model PLL_CMNLC and PLL_CMNLC1 as a clock so that it's possible to select one of these two inputs from device tree. Signed-off-by: Aswath

[PATCH v2 08/25] phy: cadence: Sierra: Add a UCLASS_PHY device for links

2022-01-28 Thread Aswath Govindraju
Add a driver of type UCLASS_PHY for each of the link nodes in the serdes instance. Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 116 +++ 1 file changed, 75 insertions(+), 41 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence

[PATCH v2 07/25] phy: cadence: Sierra: Add missing clk_disable_unprepare() in .remove callback

2022-01-28 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Add missing clk_disable_unprepare() in cdns_sierra_phy_remove(). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/phy/cadence/phy

[PATCH v2 06/25] phy: cadence: Sierra: Add array of input clocks in "struct cdns_sierra_phy"

2022-01-28 Thread Aswath Govindraju
by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 25 ++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index ea

[PATCH v2 05/25] phy: cadence: Sierra: Move all reset_control_get*() to a separate function

2022-01-28 Thread Aswath Govindraju
From: Kishon Vijay Abraham I No functional change. Group devm_reset_control_get() and devm_reset_control_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 19 +++ 1 file

[PATCH v2 02/25] phy: cadence: Sierra: Fix PHY power_on sequence

2022-01-28 Thread Aswath Govindraju
-asserting in probe. Fix it here. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadenc

[PATCH v2 04/25] phy: cadence: Sierra: Move all clk_get_*() to a separate function

2022-01-28 Thread Aswath Govindraju
From: Kishon Vijay Abraham I No functional change. Group all devm_clk_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 57 +++- 1 file changed, 35 insertions(+), 22

[PATCH v2 03/25] phy: cadence: Sierra: Create PHY only for "phy" or "link" sub-nodes

2022-01-28 Thread Aswath Govindraju
t;phy" (or "link" for old device tree) which represent the actual PHY. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/dri

[PATCH v2 01/25] phy: cadence: sierra: Fix for USB3 U1/U2 state

2022-01-28 Thread Aswath Govindraju
From: Sanket Parmar Updated values of USB3 related Sierra PHY registers. This change fixes USB3 device disconnect issue observed while enternig U1/U2 state. Signed-off-by: Sanket Parmar Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 27

[PATCH v2 00/25] SIERRA: Add support for Mulitlink Configuration

2022-01-28 Thread Aswath Govindraju
and SIERRA_PHY_PMA_LANE_CDB_OFFSET in patches 18 and 21. Aswath Govindraju (8): phy: cadence: Sierra: Add a UCLASS_PHY device for links phy: cadence: Sierra: Model PLL_CMNLC and PLL_CMNLC1 as a clock phy: ti: phy-j721e-wiz.c: Fix the condition for setting P_ENABLE_FORCE board: ti: j721e: evm.c

[PATCH 02/25] phy: cadence: Sierra: Fix PHY power_on sequence

2022-01-27 Thread Aswath Govindraju
-asserting in probe. Fix it here. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadenc

[PATCH 06/25] phy: cadence: Sierra: Add array of input clocks in "struct cdns_sierra_phy"

2022-01-27 Thread Aswath Govindraju
by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 25 ++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index ea

[PATCH 03/25] phy: cadence: Sierra: Create PHY only for "phy" or "link" sub-nodes

2022-01-27 Thread Aswath Govindraju
t;phy" (or "link" for old device tree) which represent the actual PHY. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/dri

[PATCH 23/25] phy: cadence: Sierra: Add support for skipping configuration

2022-01-27 Thread Aswath Govindraju
Skip the phy configuration if the required configurations were done in an earlier boot stage. Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 55 +--- 1 file changed, 40 insertions(+), 15 deletions(-) diff --git a/drivers/phy/cadence/phy

[PATCH 25/25] include: configs: j721e_evm: Add support to boot ethfw core in j721e

2022-01-27 Thread Aswath Govindraju
Add configs to enable booting ethfw core in j721e Signed-off-by: Aswath Govindraju --- configs/j721e_evm_a72_defconfig | 2 +- include/configs/j721e_evm.h | 19 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/configs/j721e_evm_a72_defconfig b/configs

[PATCH 24/25] arm: dts: k3-j721e: Add support for multilink PCIe + QSGMII

2022-01-27 Thread Aswath Govindraju
Add support for QSGMII multilink configuration. Signed-off-by: Aswath Govindraju --- .../arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 5 + arch/arm/dts/k3-j721e-common-proc-board.dts| 14 +++--- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 12 ++-- 3

[PATCH 22/25] phy: cadence: Sierra: Add PCIe + QSGMII PHY multilink configuration

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Add register sequences for PCIe + QSGMII PHY multilink configuration. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 378 ++- 1 file changed, 377 insertions(+), 1 deletion(-) diff --git

[PATCH 21/25] phy: cadence: Sierra: Add support for PHY multilink configurations

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Add support for multilink configuration of Sierra PHY. Currently, maximum two links are supported. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 153 +-- 1 file changed, 145 insertions

[PATCH 20/25] phy: cadence: Sierra: Update single link PCIe register configuration

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Add single link PCIe register configurations for no SSC and internal SSC. Also, add missing PMA lane registers for external SSC. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 218 ++- 1

[PATCH 19/25] phy: cadence: Sierra: Check PIPE mode PHY status to be ready for operation

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade PIPE phy status is used to communicate the completion of several PHY functions. Check if PHY is ready for operation while configured for PIPE mode during startup. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence

[PATCH 18/25] phy: cadence: Sierra: Check cmn_ready assertion during PHY power on

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Check if PMA cmn_ready is set indicating the startup process is complete. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers

[PATCH 17/25] phy: cadence: Sierra: Add PHY PCS common register configurations

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Add PHY PCS common register configuration sequences for single link. Update single link PCIe register sequence accordingly. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 38 1 file

[PATCH 16/25] phy: cadence: Sierra: Rename some regmap variables to be in sync with Sierra documentation

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade No functional change. Rename some regmap variables as mentioned in Sierra register description documentation. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 12 ++-- 1 file changed, 6 insertions

[PATCH 13/25] phy: cadence: Sierra: Prepare driver to add support for multilink configurations

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Sierra driver currently supports single link configurations only. Prepare driver to support multilink multiprotocol configurations along with different SSC modes. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence

[PATCH 15/25] phy: cadence: Sierra: Add support to get SSC type from device tree.

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Add support to get SSC type from DT. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers

[PATCH 14/25] dt-bindings: phy: cadence-sierra: Add binding to specify SSC mode

2022-01-27 Thread Aswath Govindraju
From: Swapnil Jakhade Add binding to specify Spread Spectrum Clocking mode used Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- include/dt-bindings/phy/phy-cadence.h | 4 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/phy/phy-cadence.h b/include

[PATCH 12/25] arm: dts: k3-j721e: Add support for PLL_CMNLC clocks in SerDes0

2022-01-27 Thread Aswath Govindraju
to the link nodes in U-Boot device tree file. Signed-off-by: Aswath Govindraju --- .../k3-j721e-common-proc-board-u-boot.dtsi| 10 .../arm/dts/k3-j721e-r5-common-proc-board.dts | 24 +++ 2 files changed, 34 insertions(+) diff --git a/arch/arm/dts/k3-j721e-common

[PATCH 11/25] board: ti: j721e: evm.c: Add support for probing SerDes0

2022-01-27 Thread Aswath Govindraju
Add support for probing, initializing and powering, SerDes0 instance. Signed-off-by: Aswath Govindraju --- board/ti/j721e/evm.c | 37 + 1 file changed, 37 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 077d83420c9c..ad85b9d50115

[PATCH 09/25] phy: cadence: Sierra: Model PLL_CMNLC and PLL_CMNLC1 as a clock

2022-01-27 Thread Aswath Govindraju
Sierra has two PLLs, PLL_CMNLC and PLL_CMNLC1 and each of these PLLs has two inputs, plllc_refclk (input from pll0_refclk) and refrcv (input from pll1_refclk). Model PLL_CMNLC and PLL_CMNLC1 as a clock so that it's possible to select one of these two inputs from device tree. Signed-off-by: Aswath

[PATCH 08/25] phy: cadence: Sierra: Add a UCLASS_PHY device for links

2022-01-27 Thread Aswath Govindraju
Add a driver of type UCLASS_PHY for each of the link nodes in the serdes instance. Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 116 +++ 1 file changed, 75 insertions(+), 41 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence

[PATCH 10/25] phy: ti: phy-j721e-wiz.c: Fix the condition for setting P_ENABLE_FORCE

2022-01-27 Thread Aswath Govindraju
Fix the condition for setting P_ENABLE_FORCE bit, by syncing with the driver in kernel. Signed-off-by: Aswath Govindraju --- drivers/phy/ti/phy-j721e-wiz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index

[PATCH 07/25] phy: cadence: Sierra: Add missing clk_disable_unprepare() in .remove callback

2022-01-27 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Add missing clk_disable_unprepare() in cdns_sierra_phy_remove(). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/phy/cadence/phy

[PATCH 05/25] phy: cadence: Sierra: Move all reset_control_get*() to a separate function

2022-01-27 Thread Aswath Govindraju
From: Kishon Vijay Abraham I No functional change. Group devm_reset_control_get() and devm_reset_control_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 19 +++ 1 file

[PATCH 04/25] phy: cadence: Sierra: Move all clk_get_*() to a separate function

2022-01-27 Thread Aswath Govindraju
From: Kishon Vijay Abraham I No functional change. Group all devm_clk_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 57 +++- 1 file changed, 35 insertions(+), 22

[PATCH 00/25] SIERRA: Add support for MultiLink

2022-01-27 Thread Aswath Govindraju
v5.17-rc1 - Patch 24, syncs with linux kernel dt, with the following patch https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=608996 Aswath Govindraju (8): phy: cadence: Sierra: Add a UCLASS_PHY device for links phy: cadence: Sierra: Model PLL_CMNLC and PLL_CMNLC1

[PATCH 01/25] phy: cadence: sierra: Fix for USB3 U1/U2 state

2022-01-27 Thread Aswath Govindraju
From: Sanket Parmar Updated values of USB3 related Sierra PHY registers. This change fixes USB3 device disconnect issue observed while enternig U1/U2 state. Signed-off-by: Sanket Parmar Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-sierra.c | 27

Re: [PATCH v3 00/20] J721S2: Add initial support

2022-01-25 Thread Aswath Govindraju
Hi All, On 18/01/22 12:57 pm, Aswath Govindraju wrote: > The J721S2 SoC belongs to the K3 Multicore SoC architecture platform, > providing advanced system integration in automotive ADAS applications and > industrial applications requiring AI at the network edge. This SoC extends > t

[PATCH v4 20/20] configs: j721s2_evm_a72_defconfig: Add A72 specific defconfig

2022-01-25 Thread Aswath Govindraju
From: David Huang Enable A72 specific configs for J721S2 Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_a72_defconfig | 207 +++ 1 file changed, 207 insertions

[PATCH v4 19/20] configs: j721s2_evm_r5_defconfig: Add R5 SPL specific defconfig

2022-01-25 Thread Aswath Govindraju
From: David Huang Enable R5 SPL specific configs for J721S2. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_r5_defconfig | 171 1 file changed, 171 insertions

[PATCH v4 17/20] arm: dts: k3-j721s2: Add r5 specific dt support

2022-01-25 Thread Aswath Govindraju
Add initial support for device tree that runs on R5. Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 3 +- .../dts/k3-j721s2-r5-common-proc-board.dts| 196 ++ 2 files changed, 198 insertions(+), 1 deletion(-) create mode 100644 arch

[PATCH v4 16/20] arm: dts: Add support for A72 specific J721S2 Common Processor Board

2022-01-25 Thread Aswath Govindraju
out in the common processor board. Link to Common Processor Board: https://www.ti.com/lit/zip/sprr439 Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 1 + .../k3-j721s2-common-proc-board-u-boot.dtsi | 149 ++ arch/arm/dts/k3-j721s2-common-proc-board.dts |

[PATCH v4 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-25 Thread Aswath Govindraju
Technical Reference Manual (SPRUJ28 – NOVEMBER 2021) for further details: http://www.ti.com/lit/pdf/spruj28 Introduce basic support for the J721S2 SoC. Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721s2-main.dtsi

[PATCH v4 15/20] arm: dts: Add initial support for J721S2 System on Module

2022-01-25 Thread Aswath Govindraju
A System on Module (SoM) contains the SoC, PMIC, DDR and basic high speed components necessary for functionality. Therefore, add support for the components present on the SoM. Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-j721s2-som-p0.dtsi | 173 + 1 file

[PATCH v4 13/20] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721S2

2022-01-25 Thread Aswath Govindraju
do not need parentheses enclosing the values for this macro as we do intend it to generate two separate values as has been done for other similar platforms. Signed-off-by: Aswath Govindraju --- include/dt-bindings/pinctrl/k3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt

[PATCH v4 12/20] dt-bindings: ti-serdes-mux: Add defines for J721S2 SoC

2022-01-25 Thread Aswath Govindraju
There are 4 lanes in the single instance of J721S2 SERDES. Each SERDES lane mux can select upto 4 different IPs. Define all the possible functions. Signed-off-by: Aswath Govindraju --- include/dt-bindings/mux/ti-serdes.h | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH v4 11/20] board: ti: j721s2: Add board support for J721S2

2022-01-25 Thread Aswath Govindraju
From: David Huang Add board support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- board/ti/j721s2/Kconfig | 63 + board/ti/j721s2/MAINTAINERS | 16 board/ti/j721s2/Makefile| 8 ++ board/ti/j721s2/evm.c | 180

[PATCH v4 10/20] soc: ti: k3-socinfo: Add entry for J721S2 SoC

2022-01-25 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC identification. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/soc/soc_ti_k3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 9abed7d490a2..c8f7a5768775

[PATCH v4 09/20] ram: k3-ddrss: Add support for J721S2 SoC

2022-01-25 Thread Aswath Govindraju
From: David Huang Add support for DDR subsystem in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index a79594d35198..709c916a2a11

[PATCH v4 08/20] power: domain: ti: Add support for J721S2 SoC

2022-01-25 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/power/domain/ti-power-domain.c | 5 + include/k3-dev.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/power/domain/ti-power-domain.c

[PATCH v4 07/20] clk: clk-k3: Add support for J721S2 SoC

2022-01-25 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/clk/ti/clk-k3.c | 5 + include/k3-clk.h| 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c index e04c57eff252

[PATCH v4 06/20] drivers: dma: Add support for J721S2

2022-01-25 Thread Aswath Govindraju
From: David Huang Add support for DMA in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j721s2.c | 167 ++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers

[PATCH v4 05/20] arm: K3: Add basic support for J721S2 SoC definition

2022-01-25 Thread Aswath Govindraju
From: David Huang Add basic support for J721S2 SoC definition Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Dave Gerlach Signed-off-by: Nishanth Menon Signed-off-by: Hari Nagalla --- arch/arm/mach-k3/Kconfig | 15 +- arch/arm/mach-k3

[PATCH v4 04/20] ram: k3-ddrss: Add support for configuring MSMC subsystem in case of Multiple DDR subsystems

2022-01-25 Thread Aswath Govindraju
for a different EMIF port, by default set to 3 Add support for configuring all the above by using a MSMC device Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 158 1 file changed, 158 insertions(+) diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b

[PATCH v4 03/20] ram: k3-ddrss: Add support for multiple instances of DDR subsystems

2022-01-25 Thread Aswath Govindraju
The current driver only supports single instance of DRR subsystem. Add support for probing multiple instances of DDR subsystem. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 138 1 file changed, 87 insertions(+), 51 deletions(-) diff

[PATCH v4 00/20] J721S2: Add initial support

2022-01-25 Thread Aswath Govindraju
in the MAINTAINERS baord folder Changes since v1: - Removed unused serial aliases - Assigned serial2 alias for main uart8 instance - Moved aliases to respective board files Aswath Govindraju (10): ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance ram: k3-ddrss: Add support

[PATCH v4 02/20] ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance

2022-01-25 Thread Aswath Govindraju
Add a pointer to ddr instance int the lpddr4_privatedata_s structure for supporting mutliple instances of DDR in the drivers. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/lpddr4_structs_if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/k3-ddrss

[PATCH v4 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-25 Thread Aswath Govindraju
From: Nishanth Menon If there is an optional boot notification channel that an SoC uses separate from the rx path, use the same. Signed-off-by: Nishanth Menon --- .../remoteproc/k3-system-controller.txt | 3 +++ drivers/remoteproc/k3_system_controller.c | 20 ++- 2

Re: [PATCH v2 00/20] J721S2: Add initial support

2022-01-17 Thread Aswath Govindraju
Hi all, On 11/01/22 1:25 pm, Aswath Govindraju wrote: > The J721S2 SoC belongs to the K3 Multicore SoC architecture platform, > providing advanced system integration in automotive ADAS applications and > industrial applications requiring AI at the network edge. This SoC extends > t

[PATCH v3 20/20] configs: j721s2_evm_a72_defconfig: Add A72 specific defconfig

2022-01-17 Thread Aswath Govindraju
From: David Huang Enable A72 specific configs for J721S2 Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_a72_defconfig | 207 +++ 1 file changed, 207 insertions

[PATCH v3 19/20] configs: j721s2_evm_r5_defconfig: Add R5 SPL specific defconfig

2022-01-17 Thread Aswath Govindraju
From: David Huang Enable R5 SPL specific configs for J721S2. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_r5_defconfig | 171 1 file changed, 171 insertions

  1   2   3   4   >