pmu:starfive:jh7110: Fix some errors and standardize variable naming
authorsamin <samin.guo@starfivetech.com>
Fri, 29 Apr 2022 07:29:14 +0000 (15:29 +0800)
committersamin <samin.guo@starfivetech.com>
Fri, 29 Apr 2022 12:05:23 +0000 (20:05 +0800)
commitc9508746d004a34e7423c144b8cab14a3fd87d65
treeb3bb403eae066438bfe49aed9cb4eecb97f9a752
parentff419b7fb4075fe8e99ab5e0027ec687f14af196
pmu:starfive:jh7110: Fix some errors and standardize variable naming

Fixed interrupt enabler logic error, fixed PMU_HARD_EVENT definition
error, changed some variable names, for better code style.

Note:
This is an interim version of the pmu driver that provides the
power_domian switch function.
It can be used in modules such as VPU/JPU/GPU/ISP/VOUT.
/* do not upstram */

Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/soc/starfive/jh7110_pmu.c
include/soc/starfive/jh7110_pmu.h