am33xx: Add a function to query MPU voltage in uV
authorFelix Brack <fb@ltec.ch>
Wed, 11 Oct 2017 16:42:23 +0000 (18:42 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Nov 2017 12:43:32 +0000 (07:43 -0500)
commitc07bf9bea7781f282944508573e38b18ec50062d
tree032bc610a8a00e6c7695e840d8d07bd4cd0263f7
parentebca2083d3689c77c7d1365f1e6862b55abef8a2
am33xx: Add a function to query MPU voltage in uV

For the DM TPS65910 driver I'm working on, querying the MPU voltage
should return a value in uV. This value can then be used by the
regulator's standard function set_value to set the MPU voltage.

Signed-off-by: Felix Brack <fb@ltec.ch>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/include/asm/arch-am33xx/sys_proto.h
arch/arm/mach-omap2/am33xx/sys_info.c