From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick DELAUNAY Date: Fri, 19 Apr 2019 15:05:12 +0000 Subject: [U-Boot] [PATCH 1/6] stm32mp1: clk: use the correct identifier for ethck In-Reply-To: <1551780552-23339-2-git-send-email-christophe.roullier@st.com> References: <1551780552-23339-1-git-send-email-christophe.roullier@st.com> <1551780552-23339-2-git-send-email-christophe.roullier@st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Christophe, > > From: Patrick Delaunay > > 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 > Signed-off-by: Christophe Roullier > --- > > 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 Regards Patrick