Skip to content
Snippets Groups Projects
Commit 03c22449 authored by Zhuoyu Zhang's avatar Zhuoyu Zhang Committed by York Sun
Browse files

arm/ls102xa:add hwconfig setting to support disable unused devices


DEVDISRn registers provides a mechanism for gating clocks of IP blocks
that are not used. Here we implement hwconfig option to allow users
to disable unused peripherals on the board.

For ex. If eSDHC/qDMA/eDMA are unused and with disabled status in dts,
User can enable CONFIG_FSL_DEVICE_DISABLE and set "devdis:esdhc,qdma,edma"
in hwconfig, thus ESDHC controller & eDMA/qDMA will be clock gated to
save more power.

Signed-off-by: default avatarZhuoyu Zhang <Zhuoyu.Zhang@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent ec93af0d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment