public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/6] Add OPP_LOW support for J7200
@ 2024-10-17  6:29 Aniket Limaye
  2024-10-17  6:29 ` [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node Aniket Limaye
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Aniket Limaye @ 2024-10-17  6:29 UTC (permalink / raw)
  To: u-boot, trini; +Cc: u-kumar1, reidt, m-chawdhry, nm, Aniket Limaye

This series adds OPP_LOW spec data in k3_avs driver and enables a config
option to select the OPP_LOW performance point.

AVS test logs (CONFIG_K3_OPP_LOW enabled and dummy efuse value):
https://gist.github.com/aniket-l/3bdb454d2416e1900dce795ce6090507

J7200 SOC supports OPP_LOW and OPP_NOM as two Operating Performance
Points as per (7.5 Operating Performance Points) section in the
Datasheet [0].
- A72SS/MSMC at 2 GHz/1GHz operation must use OPP_NOM.
- A72SS/MSMC at 1 GHz/500 MHz operation can use OPP_NOM or OPP_LOW
  voltage (though OPP_LOW voltage is recommended to reduce power
  consumption).

The actual OPP voltage for the device is read from the efuse and
updated in k3_avs_probe().

The default j7200 devicetree and k3_avs driver set OPP_NOM spec
frequency and voltage.

In the board init file, if K3_OPP_LOW config is enabled, Check if
OPP_LOW AVS voltage read from efuse is valid and update frequency and
voltage as per the OPP_LOW spec.

[0]: https://www.ti.com/lit/gpn/dra821u  (J7200 Datasheet)


Reid Tonking (6):
  arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node
  misc: k3_avs: Add OPP_LOW voltage and frequency to vd_data
  misc: k3_avs: Add k3_check_opp function
  arm: mach-k3: j721e-init.c: J7200: Add support for CONFIG_K3_OPP_LOW
  configs: j7200_evm_r5_defconfig: Define K3_OPP_LOW
  DONOTMERGE: For testing only

 .../arm/dts/k3-j7200-r5-common-proc-board.dts | 10 ++--
 arch/arm/mach-k3/Kconfig                      |  6 +++
 arch/arm/mach-k3/j721e/j721e_init.c           | 54 ++++++++++++++++++-
 configs/j7200_evm_r5_defconfig                |  1 +
 drivers/misc/k3_avs.c                         | 36 +++++++++++++
 include/k3-avs.h                              |  2 +
 6 files changed, 103 insertions(+), 6 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-10-23  8:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-17  6:29 [PATCH 0/6] Add OPP_LOW support for J7200 Aniket Limaye
2024-10-17  6:29 ` [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node Aniket Limaye
2024-10-17 10:30   ` Neha Malcom Francis
2024-10-23  6:12     ` Aniket Limaye
2024-10-23  6:47       ` Neha Malcom Francis
2024-10-23  7:58         ` Aniket Limaye
2024-10-23  8:51           ` Neha Malcom Francis
2024-10-17  6:29 ` [PATCH 2/6] misc: k3_avs: Add OPP_LOW voltage and frequency to vd_data Aniket Limaye
2024-10-17  6:29 ` [PATCH 3/6] misc: k3_avs: Add k3_check_opp function Aniket Limaye
2024-10-17 10:36   ` Neha Malcom Francis
2024-10-22 12:55     ` Limaye, Aniket
2024-10-17  6:29 ` [PATCH 4/6] arm: mach-k3: j721e-init.c: J7200: Add support for CONFIG_K3_OPP_LOW Aniket Limaye
2024-10-17 10:40   ` Neha Malcom Francis
2024-10-22 12:57     ` Limaye, Aniket
2024-10-17  6:29 ` [PATCH 5/6] configs: j7200_evm_r5_defconfig: Define K3_OPP_LOW Aniket Limaye
2024-10-17  6:29 ` [PATCH 6/6] DONOTMERGE: For testing only Aniket Limaye
2024-10-17  7:22   ` Lothar Waßmann
2024-10-17 17:54   ` Tom Rini
2024-10-18  4:51     ` Aniket Limaye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox