Hello,
We will design a new TDA4VM board and we will use some new PMICs.Then:
(1)what should I do to make the board running well?
(2)Do we need to modify the program in PDK to get a new sysfw.itb?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
We will design a new TDA4VM board and we will use some new PMICs.Then:
(1)what should I do to make the board running well?
(2)Do we need to modify the program in PDK to get a new sysfw.itb?
Hi Haijun
My sincere apologies to get back late on this.
You would not need to update the SYSFW when you change the board to use new PMICs. You would however need to make sure if you are performing AVS in the code (Note SBL and SPL do this). If for example you are using SBL and PDK for the boot, you would need to update the following files:
SBL_SocLateInit in the file: pdk\packages\ti\boot\sbl\soc\k3\sbl_soc.c
This function calls : J721E_SetupLeoPmicAvs (this function should be updated to use the PMIC you have populated on the board.)
Regards
Piyali
If I boot Linux+RTOS,I should modify the SPL.Then where are the SPL codes?Thank you!
Hi,
You will have to have a new driver for the avs in the u-boot directory & corresponding DT nodes.
For TDA4VM:
u-boot dts: "arch/arm/dts/k3-j721e-r5-common-proc-board.dts"
u-boot,dm-spl; tps659413a: tps659413a@48 { reg = <0x48>; compatible = "ti,tps659413"; u-boot,dm-spl; pinctrl-names = "default"; pinctrl-0 = <&wkup_i2c0_pins_default>; clock-frequency = <400000>; regulators: regulators { u-boot,dm-spl; buck12_reg: buck12 { /*VDD_MPU*/ regulator-name = "buck12"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1250000>; regulator-always-on; regulator-boot-on; u-boot,dm-spl; }; }; };
wkup_vtm0: wkup_vtm@42040000 { compatible = "ti,am654-vtm", "ti,j721e-avs"; reg = <0x0 0x42040000 0x0 0x330>; power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; #thermal-sensor-cells = <1>; };
driver: drivers/power/pmic/tps65941.c
drivers/misc/k3_avs.c
Best Regards,
Keerthy