From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx
Date: Wed, 25 Nov 2015 11:40:20 +0100 [thread overview]
Message-ID: <56559014.6000405@denx.de> (raw)
In-Reply-To: <8624FC902C662B4D9D77440AF5EA66252C5AF26C@temmail01.mytem.ch>
Hi Peter,
On 24/11/2015 15:38, B?rtsch Peter wrote:
> Hello Stefano,
>
>
>
> I have seen , that my patch already exist :o but not active in master
> branch.
>
> Follow patch is the original from Ye.Le
If you take a patch from someone else, you cannot change author.
Patch was ok, but it was part of a series where some changes were
requested. Anyway, patch is orthogonal to the other ones. I pick it up,
of course the one from Ye.
Best regards,
Stefano Babic
>
>
>
> Kind regards
>
> Peter B?rtsch
>
>
>
>
>
> On mx6sx, the CCM register bits for GPMI are different as other
>
> mx6 platforms. Modify the GPMI clock function to support mx6sx.
>
>
>
>
>
> Signed-off-by: Ye.Li <b37...@freescale.com>
>
> ---
>
> arch/arm/cpu/armv7/mx6/clock.c | 12 ++++++++++++
>
> 1 files changed, 12 insertions(+), 0 deletions(-)
>
>
>
> diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
>
> index fd57f22..ce7f0f7 100644
>
> --- a/arch/arm/cpu/armv7/mx6/clock.c
>
> +++ b/arch/arm/cpu/armv7/mx6/clock.c
>
> @@ -47,6 +47,17 @@ void setup_gpmi_io_clk(u32 cfg)
>
> MXC_CCM_CCGR4_RAWNAND_U_GPMI_INPUT_APB_MASK |
>
> MXC_CCM_CCGR4_PL301_MX6QPER1_BCH_MASK);
>
> +#if defined(CONFIG_MX6SX)
>
> + clrbits_le32(&imx_ccm->CCGR4, MXC_CCM_CCGR4_QSPI2_ENFC_MASK);
>
> +
>
> + clrsetbits_le32(&imx_ccm->cs2cdr,
>
> + MXC_CCM_CS2CDR_QSPI2_CLK_PODF_MASK |
>
> + MXC_CCM_CS2CDR_QSPI2_CLK_PRED_MASK |
>
> + MXC_CCM_CS2CDR_QSPI2_CLK_SEL_MASK,
>
> + cfg);
>
> +
>
> + setbits_le32(&imx_ccm->CCGR4, MXC_CCM_CCGR4_QSPI2_ENFC_MASK);
>
> +#else
>
> clrbits_le32(&imx_ccm->CCGR2, MXC_CCM_CCGR2_IOMUX_IPT_CLK_IO_MASK);
>
> clrsetbits_le32(&imx_ccm->cs2cdr,
>
> @@ -56,6 +67,7 @@ void setup_gpmi_io_clk(u32 cfg)
>
> cfg);
>
> setbits_le32(&imx_ccm->CCGR2, MXC_CCM_CCGR2_IOMUX_IPT_CLK_IO_MASK);
>
> +#endif
>
> setbits_le32(&imx_ccm->CCGR4,
>
> MXC_CCM_CCGR4_RAWNAND_U_BCH_INPUT_APB_MASK |
>
> MXC_CCM_CCGR4_RAWNAND_U_GPMI_BCH_INPUT_BCH_MASK |
>
> --
>
>
>
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2015-11-25 10:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 14:38 [U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx Bärtsch Peter
2015-11-25 10:40 ` Stefano Babic [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-01-12 8:46 [U-Boot] [PATCH 1/4] mx6sx: pins: Enable SION for I2C3 iomux setting Ye.Li
2015-01-12 8:46 ` [U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx Ye.Li
2015-02-10 10:26 ` Stefano Babic
2015-02-11 3:14 ` Li Ye-B37916
2015-02-11 12:48 ` Stefano Babic
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=56559014.6000405@denx.de \
--to=sbabic@denx.de \
--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