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