From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/1] arm/ls102xa:add hwconfig setting to support disable unused devices.
Date: Fri, 14 Aug 2015 09:06:45 -0700 [thread overview]
Message-ID: <55CE1215.1000606@freescale.com> (raw)
In-Reply-To: <1439546016-6361-1-git-send-email-Zhuoyu.Zhang@freescale.com>
On 08/14/2015 02:53 AM, Zhuoyu Zhang wrote:
> 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>
> ---
> arch/arm/include/asm/arch-ls102xa/ls102xa_devdis.h | 52 ++++++++++++++++++++++
> board/freescale/ls1021aqds/ls1021aqds.c | 5 +++
> board/freescale/ls1021atwr/ls1021atwr.c | 5 +++
> drivers/misc/Makefile | 1 +
> drivers/misc/fsl_devdis.c | 29 ++++++++++++
> include/configs/ls1021aqds.h | 4 +-
> include/configs/ls1021atwr.h | 4 +-
> include/fsl_devdis.h | 18 ++++++++
> 8 files changed, 116 insertions(+), 2 deletions(-)
> create mode 100644 arch/arm/include/asm/arch-ls102xa/ls102xa_devdis.h
> create mode 100644 drivers/misc/fsl_devdis.c
> create mode 100644 include/fsl_devdis.h
>
What's the change since v1? You missed change log.
York
next prev parent reply other threads:[~2015-08-14 16:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-14 9:53 [U-Boot] [PATCH v2 1/1] arm/ls102xa:add hwconfig setting to support disable unused devices Zhuoyu Zhang
2015-08-14 16:06 ` York Sun [this message]
2015-08-17 3:16 ` Zhang Z.Y.
-- strict thread matches above, loose matches on Subject: below --
2015-08-17 10:55 Zhuoyu Zhang
2015-09-02 2:52 ` York Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55CE1215.1000606@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox