Logo
Explore Help
Sign In
linux-sunxi/u-boot-sunxi
1
0
Fork 0
You've already forked u-boot-sunxi
mirror of https://github.com/linux-sunxi/u-boot-sunxi.git synced 2024-02-12 11:16:03 +08:00
Code Issues Projects Releases Wiki Activity
Files
dfaec76029f27ae6831babc0cdcf2816ee491f74
u-boot-sunxi/include/fsl_devdis.h

19 lines
286 B
C
Raw Normal View History

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: Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
2015-08-17 18:55:12 +08:00
/*
* Copyright 2015 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __FSL_DEVDIS_H_
#define __FSL_DEVDIS_H_
struct devdis_table {
char name[32];
u32 offset;
u32 mask;
};
void device_disable(const struct devdis_table *tbl, uint32_t num);
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 464ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API