Skip to content

Instantly share code, notes, and snippets.

@ramamoorthyhs
Last active December 12, 2024 22:22
Show Gist options
  • Save ramamoorthyhs/8c81e33cf6d46c8b5fc135424a5f224b to your computer and use it in GitHub Desktop.
Save ramamoorthyhs/8c81e33cf6d46c8b5fc135424a5f224b to your computer and use it in GitHub Desktop.
TPS65219 U-Boot & Linux Cleanup Branch w/AM62B-P1 + TPS65219 EVM
root@am62xx-evm:~# i2cdetect -y -r 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: UU -- -- -- -- -- -- -- 38 -- -- -- -- -- -- UU
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@am62xx-evm:~# for i in $(ls /sys/class/regulator); do echo -n $i ": " ; cat /sys/class/regulator/$i/name; done
regulator.0 : regulator-dummy
regulator.1 : vmain_pd
regulator.10 : VDDA_1V8
regulator.11 : VDD_PHY_2V5
regulator.12 : tlv71033
regulator.13 : vdd_mmc1
regulator.2 : vcc_3v3_sys
regulator.3 : vcc_5v0
regulator.4 : vcc_1v8
regulator.5 : VDD_CORE
regulator.6 : VCC1V8_SYS
regulator.7 : VDD_LPDDR4
regulator.8 : VDDSHV_SDIO
regulator.9 : VDDAR_CORE
PMIC Bucks:
regulator.5 : VDD_CORE
regulator.6 : VCC1V8_SYS
regulator.7 : VDD_LPDDR4
PMIC LDOs:
regulator.8 : VDDSHV_SDIO
regulator.9 : VDDAR_CORE
regulator.10 : VDDA_1V8
regulator.11 : VDD_PHY_2V5
oot@am62xx-evm:~# for i in $(ls /sys/class/regulator); do echo -n $i ": " ; cat /sys/class/regulator/$i/microvolts; done
regulator.10 : 1800000
regulator.11 : 2500000
regulator.5 : 850000
regulator.6 : 1800000
regulator.7 : 1200000
regulator.8 : 3300000
regulator.9 : 1800000
root@am62xx-evm:~# for i in $(ls /sys/class/regulator); do echo -n $i ": " ; cat /sys/class/regulator/$i/min_microvolts; done
regulator.10 : 1800000
regulator.11 : 2500000
regulator.5 : 850000
regulator.6 : 1800000
regulator.7 : 1200000
regulator.8 : 3300000
regulator.9 : 1800000
root@am62xx-evm:~# for i in $(ls /sys/class/regulator); do echo -n $i ": " ; cat /sys/class/regulator/$i/max_microvolts; done
regulator.10 : 1800000
regulator.11 : 2500000
regulator.5 : 850000
regulator.6 : 1800000
regulator.7 : 1200000
regulator.8 : 3300000
regulator.9 : 1800000
root@am62xx-evm:~# for i in $(ls /sys/class/regulator); do echo -n $i ": " ; cat /sys/class/regulator/$i/state; done
regulator.10 : enabled
regulator.11 : enabled
regulator.5 : enabled
regulator.6 : enabled
regulator.7 : enabled
regulator.8 : enabled
regulator.9 : enabled
root@am62xx-evm:~# cat /sys/kernel/debug/regulator/regulator_summary
regulator use open bypass opmode voltage current min max
---------------------------------------------------------------------------------------
regulator-dummy 2 2 0 unknown 0mV 0mA 0mV 0mV
0-0051-vcc 0 0mA 0mV 0mV
1-0022-vcc 1 0mA 0mV 0mV
vmain_pd 3 2 0 unknown 5000mV 0mA 5000mV 5000mV
vcc_3v3_sys 9 11 0 unknown 3300mV 0mA 3300mV 3300mV
1-001b-DRVDD 0 0mA 0mV 0mV
1-001b-AVDD 0 0mA 0mV 0mV
1-001b-IOVDD 0 0mA 0mV 0mV
vcc_1v8 1 1 0 unknown 1800mV 0mA 1800mV 1800mV
1-001b-DVDD 0 0mA 0mV 0mV
VDD_CORE 1 0 0 standby 850mV 0mA 850mV 850mV
VCC1V8_SYS 2 1 0 standby 1800mV 0mA 1800mV 1800mV
VDDAR_CORE 1 0 0 standby 1800mV 0mA 1800mV 1800mV
VDD_LPDDR4 1 0 0 standby 1200mV 0mA 1200mV 1200mV
VDDSHV_SDIO 1 0 0 standby 3300mV 0mA 3300mV 3300mV
VDDA_1V8 1 0 0 standby 1800mV 0mA 1800mV 1800mV
VDD_PHY_2V5 1 0 0 standby 2500mV 0mA 2500mV 2500mV
vdd_mmc1 1 1 0 unknown 3300mV 0mA 3300mV 3300mV
fa00000.mmc-vmmc 1 0mA 3300mV 3400mV
vcc_5v0 2 1 0 unknown 5000mV 0mA 5000mV 5000mV
tlv71033 2 1 0 unknown 1800mV 0mA 1800mV 3300mV
fa00000.mmc-vqmmc 1 0mA 1800mV 1950mV
root@am62xx-evm:~# dmesg | grep tps65219
[ 8.630072] input: tps65219-pwrbutton as /devices/platform/bus@f0000/20000000.i2c/i2c-0/0-0030/tps65219-pwrbutton.2.auto/input/input0
root@am62xx-evm:~# dmesg | grep pmic
[ 1.358292] /bus@f0000/i2c@20000000/pmic@30: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@30/regulators/buck2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment