[PATCH 0/2] arm64: ti: k3-j7: Add the ESM nodes

2023-09-25 Thread Keerthy
Hi Tom, https://lore.kernel.org/linux-arm-kernel/5187c590-ee9a-4c46-b326-655f4c371...@linaro.org/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c I have posted the ESM patches to the linux kernel device tree mailing list. These are neeeded in R5 SPL to enable watchdog support. Keerthy (2): arm64

[PATCH 1/2] arm64: dts: ti: k3-j721s2: Add ESM instances

2023-09-25 Thread Keerthy
Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721s2-main.dtsi | 7 +++ arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++ 2 files changed, 21 insertions

[PATCH 2/2] arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

2023-09-25 Thread Keerthy
Patch adds the ESM instance for MCU domian of j7200. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi index 1044ec6c4b..2b185fa350 100644

[PATCH RFC 00/10] arm: dts: j7200/j721s2: Enable the ESM and PMIC ESM

2023-10-03 Thread Keerthy
This patch series is RFC. This is enabling ESM/PMIC_ESM modules needed for watchdog functionality. Keerthy (10): arm64: dts: ti: k3-j721s2: Add ESM instances arm64: dts: ti: k3-j7200: Add MCU domain ESM instance arm: dts: k3-j721s2-r5-common-proc-board: Add ESM PMIC and dependent nodes

[PATCH RFC 01/10] arm64: dts: ti: k3-j721s2: Add ESM instances

2023-10-03 Thread Keerthy
Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721s2-main.dtsi | 7 +++ arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++ 2 files changed, 21 insertions

[PATCH RFC 02/10] arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

2023-10-03 Thread Keerthy
Patch adds the ESM instance for MCU domian of j7200. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi index 1044ec6c4b..2b185fa350 100644

[PATCH RFC 03/10] arm: dts: k3-j721s2-r5-common-proc-board: Add ESM PMIC and dependent nodes

2023-10-03 Thread Keerthy
PMIC ESM is part of tps6594x PMIC and connected to WKUP_I2C instance. Signed-off-by: Keerthy --- .../dts/k3-j721s2-r5-common-proc-board.dts| 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts b/arch/arm/dts/k3-j721s2-r5

[PATCH RFC 04/10] arm64: dts: ti: k3-j721e: Add MCU domain ESM instance

2023-10-03 Thread Keerthy
Patch adds the ESM instance for MCU domian of j721e. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j721e-mcu-wakeup.dtsi b/arch/arm/dts/k3-j721e-mcu-wakeup.dtsi index 22166c7942..66fdd6443f 100644

[PATCH RFC 05/10] board: ti: j721e: Initialize MCU ESM

2023-10-03 Thread Keerthy
Initialize MCU ESM. This is needed to propagate MAIN domain events to the PMIC. Signed-off-by: Keerthy --- board/ti/j721e/evm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 38fe447d8f..42fa94b7a5 100644 --- a/board/ti/j721e/evm.c

[PATCH RFC 06/10] board: ti: j721s2: Initialize the ESM & PMIC ESM

2023-10-03 Thread Keerthy
Initialize the ESM & PMIC ESM Signed-off-by: Keerthy --- board/ti/j721s2/evm.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c index 7795300abc..effa52ff5a 100644 --- a/board/ti/j721s2/evm.c +++ b/board/ti/j7

[PATCH RFC 07/10] configs: j721s2_evm_r5_defconfig: Enable ESM & PMIC ESM configs

2023-10-03 Thread Keerthy
Enable ESM & PMIC ESM configs Signed-off-by: Keerthy --- configs/j721s2_evm_r5_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig index 1e66ac23d0..b9ac56f34d 100644 --- a/configs/j721s2_evm_r5_defconfig +

[PATCH RFC 08/10] arm: dts: k3-j7200-r5-common-proc-board: Add PMIC ESM node

2023-10-03 Thread Keerthy
Enable the TPS659413 has the ESM PMIC. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts index e62f9218e8

[PATCH RFC 09/10] configs: j7200_evm_r5_defconfig: Enable the ESM configs

2023-10-03 Thread Keerthy
Enable the ESM configs. Signed-off-by: Keerthy --- configs/j7200_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j7200_evm_r5_defconfig b/configs/j7200_evm_r5_defconfig index c4dd33627b..7adc230fc1 100644 --- a/configs/j7200_evm_r5_defconfig +++ b/configs

[PATCH RFC 10/10] board: ti: j721e: Enable ESM initialization for J7200

2023-10-03 Thread Keerthy
Enable ESM initialization for J7200 Signed-off-by: Keerthy --- board/ti/j721e/evm.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 42fa94b7a5..070b28326f 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c

[PATCH] power: regulator: tps6287x: Add driver for TPS6287x step down convertors

2024-05-30 Thread Keerthy
Add driver for TPS6287x step down convertors Data sheet: https://www.ti.com/lit/ds/slvsgc5a/slvsgc5a.pdf Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig | 18 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/tps6287x_regulator.c | 172

Re: [PATCH] misc: k3_avs: Fix possible NULL pointer deference

2020-02-16 Thread Keerthy
On 14/02/20 5:52 pm, Vignesh Raghavendra wrote: Its possible that k3_avs_priv is NULL because the driver may not have been probed yet. Therefore check if pointer is valid before dereferencing it. Reviewed-by: Keerthy Signed-off-by: Vignesh Raghavendra --- drivers/misc/k3_avs.c | 4

[PATCH v2 03/10] remoteproc: pruss: add PRU remoteproc driver

2020-02-17 Thread Keerthy
Signed-off-by: Keerthy --- drivers/remoteproc/Kconfig | 11 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/pru_rproc.c | 405 + 3 files changed, 417 insertions(+) create mode 100644 drivers/remoteproc/pru_rproc.c diff --git a/drivers/remoteproc

[PATCH v2 00/10] net: ti: icssg: Add prueth support

2020-02-17 Thread Keerthy
of misc_init_by_ofnode instead used uclass_get_device_by_ofnode. * Introduced started variable to keep track of the status of the prueth device. * Build Tested on Travis: https://travis-ci.org/Keerthyj/u-boot/builds/651449684 Keerthy (10): net: eth-uclass: eth_get_dev based on

[PATCH v2 02/10] soc: ti: pruss: add a misc driver for PRUSS in TI SoCs

2020-02-17 Thread Keerthy
support for pruss driver. Currently am654x family is supported. Signed-off-by: Keerthy --- Changes in v2: * Fixed multiple comments from Andreas w.r.t header file define guards and Kconfig help typos. drivers/soc/ti/Kconfig | 12 drivers/soc/ti/Makefile | 1 + drivers/soc/ti

[PATCH v2 01/10] net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order

2020-02-17 Thread Keerthy
In case of multiple eth interfaces currently eth_get_dev fetches the device based on the probe order which can be random hence try with the alias. Signed-off-by: Keerthy --- Changes in v2: * Fixed comments from Tom & Lokesh as per: https://patchwork.ozlabs.org/patch/1142697/ net

[PATCH v2 08/10] arm: dts: k3-am65-main: Add pruss nodes for ICSSG2

2020-02-17 Thread Keerthy
Add pruss nodes. This is based 4.19 DT with interrupt properties removed from pur/rtu nodes. Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-main.dtsi | 162 + 1 file changed, 162 insertions(+) diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65

[PATCH v2 06/10] arm: dts: k3-am654-base-board-u-boot: Add icssg specific msmc_ram carveout nodes

2020-02-17 Thread Keerthy
Add icssg specific msmc_ram carveout nodes Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi index a349edcfa5

[PATCH v2 05/10] arm: dts: k3-am65-main: Add msmc_ram node

2020-02-17 Thread Keerthy
Add msmc_ram node needed for prueth Signed-off-by: Keerthy --- Changes in v2: * Aligned trailing 0s for consistency. arch/arm/dts/k3-am65-main.dtsi | 21 + arch/arm/dts/k3-am65.dtsi | 4 +++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH v2 07/10] arm: dts: k3-am65-main: Add scm_conf node

2020-02-17 Thread Keerthy
Add scm_conf node needed for prueth. Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-main.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi index 631134cd65..71a540376f 100644 --- a/arch/arm/dts/k3-am65-main.dtsi

[PATCH v2 10/10] configs: am65x_evm_a53_defconfig: Enable CONFIG_TI_AM64_ICSSG_PRUETH

2020-02-17 Thread Keerthy
Enable ICSSG_PRUETH & related configs. This enables ethernet functionality on PRU. Signed-off-by: Keerthy --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 079cd912ba..1b0bfe

[PATCH v2 04/10] net: ti: icssg-prueth: Add ICSSG ethernet driver

2020-02-17 Thread Keerthy
rtu0 of slice0 am65x-pru1-prueth-fw.elf for pru1 of slice1 am65x-rtu1-prueth-fw.elf for rtu1 of slice1 One and exactly one of the slices is supported as the u-boot ethernet supports probing one interface at a time. Signed-off-by: Keerthy --- Changes in v2: * Added guards defines for icssg.h

[PATCH v2 09/10] arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support

2020-02-17 Thread Keerthy
: Keerthy --- Changes in v2: * Removed a bunch of inconsistent white space in pins definition. arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 117 +++ 1 file changed, 117 insertions(+) diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board

Re: [PATCH v2 00/10] net: ti: icssg: Add prueth support

2020-02-20 Thread Keerthy
On 18/02/20 10:39 am, Keerthy wrote: The series adds support for icssg_prueth functionality on u-boot. This series is based on top of master branch. rproc init needs to be done from uboot command prompt. The pru/rtu firmware loading is done by prueth driver soon after config paramters are

[PATCH 1/3] arm: dts: k3-j721e-common-proc-board-u-boot: Enable ospi1/qspi

2020-03-03 Thread Keerthy
Enable the ospi1/qspi module while at it move the corresponding pins to common u-boot.dtsi file. Signed-off-by: Keerthy --- .../k3-j721e-common-proc-board-u-boot.dtsi| 23 +++ arch/arm/dts/k3-j721e-common-proc-board.dts | 13 --- 2 files changed, 23 insertions

[PATCH 0/3] arm: dts: k3-j721e: Enable OSPI1/QSPI

2020-03-03 Thread Keerthy
The patch series enables he OSPI1 aka QSPI node. This is a precursor for enabling QSPI boot on j721e. Keerthy (3): arm: dts: k3-j721e-common-proc-board-u-boot: Enable ospi1/qspi arm: dts: k3-j721e-mcu-wakeup: Add assigned-clocks/rates properties for ospi1/qspi arm: dts: k3-j721e-r5

[PATCH 3/3] arm: dts: k3-j721e-r5-common-proc-board: Add ospi1 flash node

2020-03-03 Thread Keerthy
Add ospi1 flash node required for QSPI boot. Signed-off-by: Keerthy --- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts index

[PATCH 2/3] arm: dts: k3-j721e-mcu-wakeup: Add assigned-clocks/rates properties for ospi1/qspi

2020-03-03 Thread Keerthy
Add assigned-clocks/rates properties for ospi1/qspi. This is the expected rate as per ROM configuration. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/k3-j721e-mcu-wakeup.dtsi b/arch/arm/dts/k3-j721e-mcu

[PATCH v2 0/3] arm: dts: k3-j721e: Enable OSPI1/QSPI

2020-03-03 Thread Keerthy
The patch series enables he OSPI1 aka QSPI node. This is a precursor for enabling QSPI boot on j721e. Changes in v2: * Moved the pin definitions out of u-boot.dtsi to r5 and a72 based dts files. Keerthy (3): arm: dts: k3-j721e: Enable ospi1/qspi arm: dts: k3-j721e-mcu-wakeup: Add

[PATCH v2 3/3] arm: dts: k3-j721e-r5-common-proc-board: Add ospi1 flash node

2020-03-03 Thread Keerthy
Add ospi1 flash node required for QSPI boot. Signed-off-by: Keerthy --- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts index

[PATCH v2 1/3] arm: dts: k3-j721e: Enable ospi1/qspi

2020-03-03 Thread Keerthy
Enable the ospi1/qspi for both r5 and a72 configurations. Signed-off-by: Keerthy --- Changes in v2: * Moved the pin definitions out of u-boot.dtsi to r5 and a72 based dts files. .../arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 12 arch/arm/dts/k3-j721e-r5-common-proc

[PATCH v2 2/3] arm: dts: k3-j721e-mcu-wakeup: Add assigned-clocks/rates properties for ospi1/qspi

2020-03-03 Thread Keerthy
Add assigned-clocks/rates properties for ospi1/qspi. This is the expected rate as per ROM configuration. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/k3-j721e-mcu-wakeup.dtsi b/arch/arm/dts/k3-j721e-mcu

Re: [PATCH v2 0/3] arm: dts: k3-j721e: Enable OSPI1/QSPI

2020-03-03 Thread Keerthy
On 04/03/20 10:10 am, Lokesh Vutla wrote: On 04/03/20 10:09 AM, Keerthy wrote: The patch series enables he OSPI1 aka QSPI node. This is a precursor for enabling QSPI boot on j721e. How did you test this using R5 defconig? #define CONFIG_SF_DEFAULT_BUS 1 So as to force SPI

Re: [U-Boot] [PATCH v3 00/18] misc: Add AVS class 0 support for AM6

2019-11-04 Thread Keerthy
On 24/10/19 3:45 PM, Lokesh Vutla wrote: On 24/10/19 3:00 PM, Keerthy wrote: Adaptive Voltage Scaling is a technology used in TI SoCs to optimize the operating voltage based on characterization data written to efuse during production. Add support for Adaptive Voltage scaling class 0

[U-Boot] [PATCH 00/10] power: Add AVS class 0 support for AM6

2019-10-14 Thread Keerthy
voltage values for a particular OPP of a particular voltage domain are read from Efuse and programmed on the pmic/regulator. Tested on AM654-EVM for MPU @800 MHz. Keerthy (2): arm: mach-k3: am6_init: Initialize AVS class 0 clk: clk-ti-sci: Notify AVS driver upon setting clock rate Tero

[U-Boot] [PATCH 01/10] power: add driver for K3 Adaptive Voltage Scaling Class 0

2019-10-14 Thread Keerthy
-by: Keerthy --- drivers/Makefile | 2 +- drivers/power/Kconfig | 9 + drivers/power/mfd/Makefile | 1 + drivers/power/mfd/k3_avs.c | 371 + include/dm/uclass-id.h | 1 + include/k3-avs.h | 28 +++ 6 files changed, 411

[U-Boot] [PATCH 03/10] clk: clk-ti-sci: Notify AVS driver upon setting clock rate

2019-10-14 Thread Keerthy
Notify AVS driver upon setting clock rate so that voltage is changed accordingly. Signed-off-by: Keerthy --- drivers/clk/clk-ti-sci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/clk-ti-sci.c b/drivers/clk/clk-ti-sci.c index c25415d410..478349f22f 100644 --- a/drivers

[U-Boot] [PATCH 04/10] power: regulator: tps6236x: add support for tps6236x regulators

2019-10-14 Thread Keerthy
From: Tero Kristo TPS6236x is a family of step down DC-DC converters optimized for battery powered portable applications for a small solution size. Add a regulator driver for supporting these devices. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig

[U-Boot] [PATCH 02/10] arm: mach-k3: am6_init: Initialize AVS class 0

2019-10-14 Thread Keerthy
Initialize AVS class 0 so that mpu voltage rail is programmed to the AVS class 0 compensated value. Signed-off-by: Keerthy --- arch/arm/mach-k3/am6_init.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c index 0b564f7bd1

[U-Boot] [PATCH 07/10] arm: dts: k3-am654-r5-base-board: add supply rail for MPU

2019-10-14 Thread Keerthy
From: Tero Kristo MPU voltage on AM65x-evm is controlled via the TPS62363 chip attached to i2c0 bus. Add device node for this so that it can be controlled via a regulator driver. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 13

[U-Boot] [PATCH 05/10] arm: dts: k3-am65: Add VTM node

2019-10-14 Thread Keerthy
From: Tero Kristo Add VTM node for voltage and thermal management. For u-boot, this is needed for supporting AVS class 0, as the efuse values for the OPPs are stored under the VTM. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-wakeup.dtsi | 7 +++ 1 file

[U-Boot] [PATCH 06/10] arm: dts: k3-am654-r5-base-board: enable wkup_i2c0 driver for spl

2019-10-14 Thread Keerthy
From: Tero Kristo Enable wkup_i2c0 as this is needed for voltage control. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base

[U-Boot] [PATCH 10/10] configs: am65x_evm_r5_defconfig: Enable AVS class 0 support

2019-10-14 Thread Keerthy
From: Tero Kristo Enable AVS class 0 support for the R5 SPL bootloader. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs/am65x_evm_r5_defconfig index a721b24ba4

[U-Boot] [PATCH 08/10] arm: dts: k3-am654-r5-base-board: enable wkup_vtm0 node and link in supplies

2019-10-14 Thread Keerthy
From: Tero Kristo Link the vdd-supplies for the voltage domains under the VTM node. Also, enable the node under SPL. This will enable the AVS class 0 support on am65x-evm board. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 6 ++ 1 file

[U-Boot] [PATCH 09/10] configs: am65x_evm_r5_defconfig: Enable TPS62363 regulator support

2019-10-14 Thread Keerthy
From: Tero Kristo TPS62363 is used to control the MPU_VDD voltage, so enable the driver for this. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs

Re: [U-Boot] [PATCH 01/10] power: add driver for K3 Adaptive Voltage Scaling Class 0

2019-10-20 Thread Keerthy
UCLASS. Tero, This is not a generic UCLASS driver. This is a K3 specific driver. So should this be really introducing a new UCLASS? - Keerthy Thanks and regards, Lokesh UCLASS_AXI, /* AXI bus */ UCLASS_BLK, /* Block device */ UCLASS_BOARD

[U-Boot] [PATCH v2 01/10] misc: k3_avs: add driver for K3 Adaptive Voltage Scaling Class 0

2019-10-21 Thread Keerthy
-by: Keerthy --- Changes in v2: * Avoided creation of new UCLASS & placed the driver under misc. drivers/misc/Kconfig | 9 ++ drivers/misc/Makefile | 1 + drivers/misc/k3_avs.c | 366 ++ include/k3-avs.h | 28 4 files changed,

[U-Boot] [PATCH v2 00/10] misc: Add AVS class 0 support for AM6

2019-10-21 Thread Keerthy
voltage values for a particular OPP of a particular voltage domain are read from Efuse and programmed on the pmic/regulator. Tested on AM654-EVM for MPU @800 MHz. Changes in v2: * Avoided creation of new uclass. AVS driver is now under misc. Keerthy (2): arm: mach-k3: am6_init: Initialize

[U-Boot] [PATCH v2 03/10] clk: clk-ti-sci: Notify AVS driver upon setting clock rate

2019-10-21 Thread Keerthy
Notify AVS driver upon setting clock rate so that voltage is changed accordingly. Signed-off-by: Keerthy --- drivers/clk/clk-ti-sci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/clk-ti-sci.c b/drivers/clk/clk-ti-sci.c index c25415d410..478349f22f 100644 --- a/drivers

[U-Boot] [PATCH v2 05/10] arm: dts: k3-am65: Add VTM node

2019-10-21 Thread Keerthy
From: Tero Kristo Add VTM node for voltage and thermal management. For u-boot, this is needed for supporting AVS class 0, as the efuse values for the OPPs are stored under the VTM. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-wakeup.dtsi | 7 +++ 1 file

[U-Boot] [PATCH v2 08/10] arm: dts: k3-am654-r5-base-board: enable wkup_vtm0 node and link in supplies

2019-10-21 Thread Keerthy
From: Tero Kristo Link the vdd-supplies for the voltage domains under the VTM node. Also, enable the node under SPL. This will enable the AVS class 0 support on am65x-evm board. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 6 ++ 1 file

[U-Boot] [PATCH v2 09/10] configs: am65x_evm_r5_defconfig: Enable TPS62363 regulator support

2019-10-21 Thread Keerthy
From: Tero Kristo TPS62363 is used to control the MPU_VDD voltage, so enable the driver for this. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs

[U-Boot] [PATCH v2 02/10] arm: mach-k3: am6_init: Initialize AVS class 0

2019-10-21 Thread Keerthy
Initialize AVS class 0 so that mpu voltage rail is programmed to the AVS class 0 compensated value. Signed-off-by: Keerthy --- Changes in v2: * Now that AVS is misc device do not go by default ID 0 and rely on uclass_get_device_by_driver to get the right device. arch/arm/mach-k3

[U-Boot] [PATCH v2 04/10] power: regulator: tps6236x: add support for tps6236x regulators

2019-10-21 Thread Keerthy
From: Tero Kristo TPS6236x is a family of step down DC-DC converters optimized for battery powered portable applications for a small solution size. Add a regulator driver for supporting these devices. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig

[U-Boot] [PATCH v2 10/10] configs: am65x_evm_r5_defconfig: Enable AVS class 0 support

2019-10-21 Thread Keerthy
From: Tero Kristo Enable AVS class 0 support for the R5 SPL bootloader. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs/am65x_evm_r5_defconfig index a721b24ba4

[U-Boot] [PATCH v2 06/10] arm: dts: k3-am654-r5-base-board: enable wkup_i2c0 driver for spl

2019-10-21 Thread Keerthy
From: Tero Kristo Enable wkup_i2c0 as this is needed for voltage control. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base

[U-Boot] [PATCH v2 07/10] arm: dts: k3-am654-r5-base-board: add supply rail for MPU

2019-10-21 Thread Keerthy
From: Tero Kristo MPU voltage on AM65x-evm is controlled via the TPS62363 chip attached to i2c0 bus. Add device node for this so that it can be controlled via a regulator driver. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 13

Re: [U-Boot] [PATCH v2 05/10] arm: dts: k3-am65: Add VTM node

2019-10-23 Thread Keerthy
On 24/10/19 12:12 PM, Lokesh Vutla wrote: On 21/10/19 2:55 PM, Keerthy wrote: From: Tero Kristo Add VTM node for voltage and thermal management. For u-boot, this is needed for supporting AVS class 0, as the efuse values for the OPPs are stored under the VTM. Signed-off-by: Tero Kristo

[U-Boot] [PATCH] gpio: da8xx_gpio: Fix the _gpio_direction_output function

2019-10-24 Thread Keerthy
function instead. Reported-by: Faiz Abbas Fixes: 8e51c0f254 ("dm: gpio: Add DM compatibility to GPIO driver for Davinci") Signed-off-by: Keerthy --- drivers/gpio/da8xx_gpio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/da8xx_gpio.c b/dr

[U-Boot] [PATCH v3 01/18] misc: k3_avs: add driver for K3 Adaptive Voltage Scaling Class 0

2019-10-24 Thread Keerthy
-by: Keerthy --- Changes in v3: * No change Changes in v2: * Moved under drivers/misc. drivers/misc/Kconfig | 9 ++ drivers/misc/Makefile | 1 + drivers/misc/k3_avs.c | 366 ++ include/k3-avs.h | 28 4 files changed, 404 insertions

[U-Boot] [PATCH v3 00/18] misc: Add AVS class 0 support for AM6

2019-10-24 Thread Keerthy
-boot Changes in v3: * Extended the support for j721e-evm. * Moved vtm node under r5-board dts. Changes in v2: * Avoided creation of new uclass. AVS driver is now under misc. Keerthy (11): clk: clk-ti-sci: Notify AVS driver upon setting clock rate misc: k3_avs: Add j721e support power

[U-Boot] [PATCH v3 02/18] clk: clk-ti-sci: Notify AVS driver upon setting clock rate

2019-10-24 Thread Keerthy
Notify AVS driver upon setting clock rate so that voltage is changed accordingly. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change drivers/clk/clk-ti-sci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/clk-ti-sci.c b/drivers/clk/clk

[U-Boot] [PATCH v3 06/18] power: regulator: tps65941: add regulator support

2019-10-24 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for tps65941 family of PMICs. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1

[U-Boot] [PATCH v3 03/18] power: regulator: tps6236x: add support for tps6236x regulators

2019-10-24 Thread Keerthy
From: Tero Kristo TPS6236x is a family of step down DC-DC converters optimized for battery powered portable applications for a small solution size. Add a regulator driver for supporting these devices. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * No change

[U-Boot] [PATCH v3 05/18] power: pmic: tps65941: Add support for tps65941 family of PMICs

2019-10-24 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change drivers/power/pmic/Kconfig| 7 +++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/tps65941.c | 83

[U-Boot] [PATCH v3 04/18] misc: k3_avs: Add j721e support

2019-10-24 Thread Keerthy
j721e SoCs have different OPP tables. Add support for the same. Note: DM Still has lot of voltages TBD hence the correct values need to be programmed once they are published. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change drivers/misc/k3_avs.c | 22

[U-Boot] [PATCH v3 07/18] arm: mach-k3: am6_init: Initialize AVS class 0

2019-10-24 Thread Keerthy
Initialize AVS class 0 so that mpu voltage rail is programmed to the AVS class 0 compensated value. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * uclass_get_device_by_driver used in place getting the first uclass Instance. arch/arm/mach-k3/am6_init.c | 7

[U-Boot] [PATCH v3 15/18] arm: dts: k3-j721e-r5-common-proc-board: Hook buck12_reg to vtm supply

2019-10-24 Thread Keerthy
Hook buck12_reg to vtm avs supply Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3

[U-Boot] [PATCH v3 08/18] arm: mach-k3: j721e_init: Initialize avs class 0

2019-10-24 Thread Keerthy
Initialize avs class 0 Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change arch/arm/mach-k3/j721e_init.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c index 5e3813252b..d0bf86abeb

[U-Boot] [PATCH v3 16/18] configs: am65x_evm_r5_defconfig: Enable TPS62363 regulator support

2019-10-24 Thread Keerthy
From: Tero Kristo TPS62363 is used to control the MPU_VDD voltage, so enable the driver for this. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v3 13/18] arm: dts: k3-j721e-r5-common-proc-board: Add VTM node

2019-10-24 Thread Keerthy
Add VTM node for voltage and thermal management. For u-boot, this is needed for supporting AVS class 0, as the efuse values for the OPPs are stored under the VTM. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change arch/arm/dts/k3-j721e-r5-common-proc

[U-Boot] [PATCH v3 11/18] arm: dts: k3-am654-r5-base-board: add supply rail for MPU

2019-10-24 Thread Keerthy
From: Tero Kristo MPU voltage on AM65x-evm is controlled via the TPS62363 chip attached to i2c0 bus. Add device node for this so that it can be controlled via a regulator driver. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change

[U-Boot] [PATCH v3 14/18] arm: dts: k3-j721e-r5-common: Add tps65941 node and dependent wkup_i2c0 node

2019-10-24 Thread Keerthy
Add tps65941 node and dependent wkup_i2c0 node needed for AVS class 0 support Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 11 +++ .../arm/dts/k3-j721e-r5-common-proc-board.dts | 32

[U-Boot] [PATCH v3 12/18] arm: dts: k3-am654-r5-base-board: enable wkup_vtm0 node and link in supplies

2019-10-24 Thread Keerthy
From: Tero Kristo Link the vdd-supplies for the voltage domains under the VTM node. Also, enable the node under SPL. This will enable the AVS class 0 support on am65x-evm board. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change

[U-Boot] [PATCH v3 10/18] arm: dts: k3-am654-r5-base-board: enable wkup_i2c0 driver for spl

2019-10-24 Thread Keerthy
From: Tero Kristo Enable wkup_i2c0 as this is needed for voltage control. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change arch/arm/dts/k3-am654-r5-base-board.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[U-Boot] [PATCH v3 18/18] configs: j721e_evm_r5_defconfig: Enable AVS Class 0 & dependent configs

2019-10-24 Thread Keerthy
Enable AVS Class 0 & dependent config options. Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change configs/j721e_evm_r5_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defco

[U-Boot] [PATCH v3 17/18] configs: am65x_evm_r5_defconfig: Enable AVS class 0 support

2019-10-24 Thread Keerthy
From: Tero Kristo Enable AVS class 0 support for the R5 SPL bootloader. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * No change Changes in v2: * No change configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[U-Boot] [PATCH v3 09/18] arm: dts: k3-am654-r5-base-board: Add VTM node

2019-10-24 Thread Keerthy
Add VTM node for voltage and thermal management. For u-boot, this is needed for supporting AVS class 0, as the efuse values for the OPPs are stored under the VTM. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- Changes in v3: * Moved from generic wakeup.dtsi to r5 board file. Changes

Re: [U-Boot] [PATCH 01/14] net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order

2019-10-25 Thread keerthy
On 10/25/2019 5:35 PM, Tom Rini wrote: On Tue, Aug 06, 2019 at 04:08:31PM +0530, Keerthy wrote: In case of multiple eth interfaces currently eth_get_dev fetches the device based on the probe order which can be random hence try with the alias. Signed-off-by: Keerthy --- net/eth-uclass.c

Re: [U-Boot] [PATCH 01/14] net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order

2019-10-29 Thread keerthy
On 10/29/2019 2:33 PM, Lokesh Vutla wrote: On 25/10/19 10:23 PM, keerthy wrote: On 10/25/2019 5:35 PM, Tom Rini wrote: On Tue, Aug 06, 2019 at 04:08:31PM +0530, Keerthy wrote: In case of multiple eth interfaces currently eth_get_dev fetches the device based on the probe order which can

[PATCH v3 01/10] lib: elf: Move the generic elf loading/validating functions to lib

2020-01-21 Thread Keerthy
Move the generic elf loading/validating functions to lib/ so that they can be re-used and accessed by code existing outside cmd. Signed-off-by: Keerthy Suggested-by: Simon Goldschmidt Reviewed-by: Simon Goldschmidt --- cmd/Kconfig | 1 + cmd/elf.c | 229

[PATCH v3 04/10] armv7R: K3: Add support for jumping to firmware

2020-01-21 Thread Keerthy
MCU Domain rf50 is currently shutting down after loading the ATF. Load elf firmware and jump to firmware post loading ATF. ROM doesn't enable ATCM memory, so make sure that firmware that is being loaded doesn't use ATCM memory or override SPL. Signed-off-by: Keerthy Signed-off-by: Lo

[PATCH v3 03/10] armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCM

2020-01-21 Thread Keerthy
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump to a firmware directly from SPL. Signed-off-by: Keerthy --- arch/arm/mach-k3/r5_mpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c index

[PATCH v3 00/10] Add support for loading main_r5fss0_core0

2020-01-21 Thread Keerthy
ions under lib/elf.c Keerthy (10): lib: elf: Move the generic elf loading/validating functions to lib arm: k3: Add support for loading non linux remote cores armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCM armv7R: K3: Add support for jumping to firmware arm: dts: k3-j721e-r5:

[PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-21 Thread Keerthy
Add MAIN domain R5FSS0 remoteproc support from spl. This enables loading the elf firmware in SPL and starting the remotecore. In order to start the core, there should be a file with path "/lib/firmware/j7-main-r5f0_0-fw" under filesystem of respective boot mode. Signed-off-by: Keert

[PATCH v3 07/10] include: configs: j721e_evm: Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0

2020-01-21 Thread Keerthy
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware loadaddr and name. Signed-off-by: Keerthy --- include/configs/j721e_evm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index eaed520e6b..265239e32a 10

[PATCH v3 05/10] arm: dts: k3-j721e-r5: Add fs_loader node

2020-01-21 Thread Keerthy
Add fs_loader node which will be needed for loading firmwares from the boot media/filesystem. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc

[PATCH v3 08/10] configs: j721e_evm_r5: Enable R5F remoteproc support

2020-01-21 Thread Keerthy
Enable r5f remoteproc support in r5 defconfig so that r5s can be started in spl. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- configs/j721e_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index

[PATCH v3 09/10] configs: j721e_evm_r5_defconfig: Remove saving ENV in eMMC

2020-01-21 Thread Keerthy
Remove saving ENV in eMMC in r5 as the power domains are not setup. Environment in eMMC cannot be read if we do not boot from eMMC. Signed-off-by: Keerthy --- configs/j721e_evm_r5_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/j721e_evm_r5_defconfig b/configs

[PATCH v3 06/10] arm: dts: k3-j721e-r5: Enable r5fss0 cluster in SPL

2020-01-21 Thread Keerthy
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3

[PATCH v3 10/10] env: nowhere: set default enviroment

2020-01-21 Thread Keerthy
set default enviroment so that set_env calls succeed when ENV_IS_NOWHERE is alone set. Signed-off-by: Keerthy --- env/nowhere.c | 1 + 1 file changed, 1 insertion(+) diff --git a/env/nowhere.c b/env/nowhere.c index f5b0a17652..70c3b3e011 100644 --- a/env/nowhere.c +++ b/env/nowhere.c @@ -23,6

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-21 Thread keerthy
On 1/21/2020 6:26 PM, Andrew F. Davis wrote: On 1/21/20 6:07 AM, Keerthy wrote: Add MAIN domain R5FSS0 remoteproc support from spl. This enables loading the elf firmware in SPL and starting the remotecore. In order to start the core, there should be a file with path "/lib/firmware/j7

[PATCH v4 02/10] lib: elf: Move the generic elf loading/validating functions to lib

2020-01-21 Thread Keerthy
Move the generic elf loading/validating functions to lib/ so that they can be re-used and accessed by code existing outside cmd. Signed-off-by: Keerthy Suggested-by: Simon Goldschmidt Reviewed-by: Simon Goldschmidt --- Changes in v4: * /s/ELF/LIB_ELF config option name cmd/Kconfig

[PATCH v4 00/10] Add support for loading main_r5fss0_core0

2020-01-21 Thread Keerthy
here option is set. Changes in v2: * Factored out all the generic elf handling functions under lib/elf.c Keerthy (10): env: nowhere: set default enviroment lib: elf: Move the generic elf loading/validating functions to lib arm: k3: Add support for loading non linux remote cores armv7R

[PATCH v4 03/10] arm: k3: Add support for loading non linux remote cores

2020-01-21 Thread Keerthy
Add MAIN domain R5FSS0 remoteproc support from spl. This enables loading the elf firmware in SPL and starting the remotecore. In order to start the core, there should be a file with path "/lib/firmware/j7-main-r5f0_0-fw" under filesystem of respective boot mode. Signed-off-by: Keert

[PATCH v4 01/10] env: nowhere: set default enviroment

2020-01-21 Thread Keerthy
Set default enviroment so that set_env calls succeed when only ENV_IS_NOWHERE set. Signed-off-by: Keerthy --- Changes in v4: * Reworded commit log env/nowhere.c | 1 + 1 file changed, 1 insertion(+) diff --git a/env/nowhere.c b/env/nowhere.c index f5b0a17652..70c3b3e011 100644 --- a/env

  1   2   3   4   5   6   >