]> Git Repo - J-u-boot.git/commit
misc: k3_avs: Add OPP_LOW voltage and frequency to vd_data
authorReid Tonking <[email protected]>
Tue, 19 Nov 2024 00:32:56 +0000 (06:02 +0530)
committerTom Rini <[email protected]>
Wed, 4 Dec 2024 20:30:18 +0000 (14:30 -0600)
commit287a3b25bde4a340f81b0c85ca32860b6a39c1a0
treebbc3b5759896ecb82b67bdb1fd983fcdfed39c82
parentc9fff93cbe9ded56a7c865ed8ca1456d43357761
misc: k3_avs: Add OPP_LOW voltage and frequency to vd_data

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).

Add OPP_LOW frequency->voltage entry to vd_data.

The actual OPP voltage for the device is read from the efuse and
updated in k3_avs_probe().
OPP_NOM corresponds to OPP_1 and OPP_LOW to OPP_0 efuse register
fields, as described in the Datasheet [0]
The register offsets and fields are described in the TRM (5.2.6.1.5
WKUP_VTM_VD_OPPVID_j Register) [1].

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

Signed-off-by: Reid Tonking <[email protected]>
Signed-off-by: Aniket Limaye <[email protected]>
drivers/misc/k3_avs.c
include/k3-avs.h
This page took 0.035179 seconds and 4 git commands to generate.