summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-11-26 11:35:32 +0300
committerStefano Babic <sbabic@denx.de>2019-12-06 15:57:42 +0300
commitdf1b721f60027705ff0fb804c1da472ba31f978b (patch)
tree8fdac1e64c7e6354638c1bdf6874a518aae650fd /arch/arm/include/asm/arch-mx6
parentc671d8af0bb07b028d808b994b83b2ec25578a44 (diff)
downloadu-boot-df1b721f60027705ff0fb804c1da472ba31f978b.tar.xz
ARM: mx6: pmu: Expose PMU LDO configuration interface
Make the PMU LDO configuration interface available to board code, so that board code can reconfigure the internal LDOs of the SoC. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Eric Nelson <eric@nelint.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Eric Nelson <eric@nelint.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r--arch/arm/include/asm/arch-mx6/sys_proto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 4bf7dff8b4..1e5fa1a75e 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -20,6 +20,14 @@
int imx6_pcie_toggle_power(void);
int imx6_pcie_toggle_reset(void);
+enum ldo_reg {
+ LDO_ARM,
+ LDO_SOC,
+ LDO_PU,
+};
+
+int set_ldo_voltage(enum ldo_reg ldo, u32 mv);
+
/**
* iomuxc_set_rgmii_io_voltage - set voltage level of RGMII/USB pins
*