From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755120AbeARQhn (ORCPT ); Thu, 18 Jan 2018 11:37:43 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46389 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754789AbeARQhl (ORCPT ); Thu, 18 Jan 2018 11:37:41 -0500 From: Philippe CORNU To: Gabriel FERNANDEZ , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre TORGUE , Michael Turquette , Stephen Boyd , Nicolas Pitre , "daniel.thompson@linaro.org" CC: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , "gabriel.fernandez.st@gmail.com" Subject: Re: [PATCH 1/2] clk: stm32: END_PRIMARY_CLK should be declare after CLK_SYSCLK Thread-Topic: [PATCH 1/2] clk: stm32: END_PRIMARY_CLK should be declare after CLK_SYSCLK Thread-Index: AQHTkGuZjO+jRBkiWUy2kKFG7c5rwaN5w5UA Date: Thu, 18 Jan 2018 16:37:15 +0000 Message-ID: <1dd9d895-016f-f74b-ec9d-8e02959a561d@st.com> References: <1516286980-8603-1-git-send-email-gabriel.fernandez@st.com> <1516286980-8603-2-git-send-email-gabriel.fernandez@st.com> In-Reply-To: <1516286980-8603-2-git-send-email-gabriel.fernandez@st.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.44] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-18_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id w0IGbkOT019833 Hi Gabriel, Tested successfully on f469 disco board. Tested-by: Philippe Cornu Many thanks, Philippe :-) On 01/18/2018 03:49 PM, gabriel.fernandez@st.com wrote: > From: Gabriel Fernandez > > Update of END_PRIMARY_CLK was missed, it should be after CLK_SYSCLK > hsi and sysclk are overwritten by gpioa and gpiob. > > Signed-off-by: Gabriel Fernandez > --- > include/dt-bindings/clock/stm32fx-clock.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/dt-bindings/clock/stm32fx-clock.h b/include/dt-bindings/clock/stm32fx-clock.h > index 49bb3c2..4d523b0 100644 > --- a/include/dt-bindings/clock/stm32fx-clock.h > +++ b/include/dt-bindings/clock/stm32fx-clock.h > @@ -33,11 +33,11 @@ > #define CLK_SAI2 11 > #define CLK_I2SQ_PDIV 12 > #define CLK_SAIQ_PDIV 13 > - > -#define END_PRIMARY_CLK 14 > - > #define CLK_HSI 14 > #define CLK_SYSCLK 15 > + > +#define END_PRIMARY_CLK 16 > + > #define CLK_HDMI_CEC 16 > #define CLK_SPDIF 17 > #define CLK_USART1 18 >