All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick DELAUNAY <patrick.delaunay@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] stm32mp1: clk: use the correct identifier for ethck
Date: Fri, 19 Apr 2019 15:05:12 +0000	[thread overview]
Message-ID: <aa5708b8edf84126a79863add004e894@SFHDAG6NODE3.st.com> (raw)
In-Reply-To: <1551780552-23339-2-git-send-email-christophe.roullier@st.com>

Hi Christophe,

> 
> From: Patrick Delaunay <patrick.delaunay@st.com>
> 
> ETHCK_K is the identifier the kernel clock for ETH in kernel binding, selected by
> ETHKSELR / gated by ETHCKEN = BIT(7).
> U-Boot driver need to use the same identifier, so change ETHCK to ETHCK_K.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
> ---
> 
>  drivers/clk/clk_stm32mp1.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c index
> aebc6f0..d70e039 100644
> --- a/drivers/clk/clk_stm32mp1.c
> +++ b/drivers/clk/clk_stm32mp1.c
> @@ -553,7 +553,7 @@ static const struct stm32mp1_clk_gate
> stm32mp1_clk_gate[] = {
> 
>  	STM32MP1_CLK_SET_CLR(RCC_MP_AHB5ENSETR, 0, GPIOZ,
> _UNKNOWN_SEL),
> 
> -	STM32MP1_CLK_SET_CLR(RCC_MP_AHB6ENSETR, 7, ETHCK,
> _ETH_SEL),
> +	STM32MP1_CLK_SET_CLR(RCC_MP_AHB6ENSETR, 7, ETHCK_K,
> _ETH_SEL),
>  	STM32MP1_CLK_SET_CLR(RCC_MP_AHB6ENSETR, 8, ETHTX,
> _UNKNOWN_SEL),
>  	STM32MP1_CLK_SET_CLR(RCC_MP_AHB6ENSETR, 9, ETHRX,
> _UNKNOWN_SEL),
>  	STM32MP1_CLK_SET_CLR_F(RCC_MP_AHB6ENSETR, 10, ETHMAC,
> _ACLK),
> --
> 2.7.4

For stm32mp1 boards EV1 and DK2
Test done with master (SHA1 = 75ce8c938d39bd22460be66e6bf318bd2410c17b)

Tested-by: Patrick Delaunay <patrick.delaunay@st.com>

Regards
Patrick

  reply	other threads:[~2019-04-19 15:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-05 10:09 [U-Boot] [PATCH 0/6] - Add Ethernet support for stm32mpu Christophe Roullier
2019-03-05 10:09 ` [U-Boot] [PATCH 1/6] stm32mp1: clk: use the correct identifier for ethck Christophe Roullier
2019-04-19 15:05   ` Patrick DELAUNAY [this message]
2019-03-05 10:09 ` [U-Boot] [PATCH 2/6] board: stm32mp1: Add board_interface_eth_init Christophe Roullier
2019-04-19 15:06   ` Patrick DELAUNAY
2019-03-05 10:09 ` [U-Boot] [PATCH 3/6] net: dwc_eth_qos: add Ethernet stm32mp1 support Christophe Roullier
2019-03-05 10:09 ` [U-Boot] [PATCH 4/6] ARM: dts: stm32: Add Ethernet support on stm32mp1 Christophe Roullier
2019-04-19 15:08   ` Patrick DELAUNAY
2019-03-05 10:09 ` [U-Boot] [PATCH 5/6] stm32mp1: Add Ethernet support for stm32mp1 board Christophe Roullier
2019-04-19 15:16   ` Patrick DELAUNAY
2019-03-05 10:09 ` [U-Boot] [PATCH 6/6] configs: stm32mp15: Enable Ethernet feature Christophe Roullier
2019-04-19 15:17   ` Patrick DELAUNAY

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=aa5708b8edf84126a79863add004e894@SFHDAG6NODE3.st.com \
    --to=patrick.delaunay@st.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.