]> git.dujemihanovic.xyz Git - u-boot.git/commit
mxs: Fix VDDx brownout interrupt disable/enable
authorCody Green <cody@londelec.com>
Mon, 3 Jul 2023 20:57:00 +0000 (21:57 +0100)
committerFabio Estevam <festevam@denx.de>
Wed, 20 Dec 2023 18:00:47 +0000 (15:00 -0300)
commit2264bfba19349a5f07b587c857f45123d8f4c286
tree76cbc57dc6ef3340b47f9e67acc81065940116d1
parentf7655af980dc376783bbdac833e450a86e3255f4
mxs: Fix VDDx brownout interrupt disable/enable

Incorrect registers HW_POWER_VDDIOCTRL, HW_POWER_VDDACTRL
and HW_POWER_VDDDCTRL are used in the current code to disable/enable
brownout interrupts in 'mxs_power_set_vddx()'.
Change register to HW_POWER_CTRL which contains brownout interrupt
enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and ENIRQ_VDDD_BO.

Signed-off-by: Cody Green <cody@londelec.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c