From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764273AbcLUXfB (ORCPT ); Wed, 21 Dec 2016 18:35:01 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:48672 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752830AbcLUXfA (ORCPT ); Wed, 21 Dec 2016 18:35:00 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org E87B461678 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 21 Dec 2016 15:34:57 -0800 From: Stephen Boyd To: gabriel.fernandez@st.com Cc: Rob Herring , Mark Rutland , Russell King , Maxime Coquelin , Alexandre Torgue , Michael Turquette , Nicolas Pitre , Arnd Bergmann , daniel.thompson@linaro.org, andrea.merello@gmail.com, radoslaw.pietrzyk@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, kernel@stlinux.com, ludovic.barre@st.com, olivier.bideau@st.com, amelie.delaunay@st.com Subject: Re: [PATCH] clk: stm32f4: Use CLK_OF_DECLARE_DRIVER initialization method Message-ID: <20161221233457.GG8288@codeaurora.org> References: <1481725348-860-1-git-send-email-gabriel.fernandez@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481725348-860-1-git-send-email-gabriel.fernandez@st.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/14, gabriel.fernandez@st.com wrote: > From: Gabriel Fernandez > > Clock and reset controller use same compatible strings (same IP). > > Since commit 989eafd0b609 ("clk: core: Avoid double initialization of > clocks") the OF core flags clock controllers registered with the > CLK_OF_DECLARE() macro as OF_POPULATED, so platform devices with the same > compatible string will not be registered. > > Signed-off-by: Gabriel Fernandez > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Wed, 21 Dec 2016 15:34:57 -0800 Subject: [PATCH] clk: stm32f4: Use CLK_OF_DECLARE_DRIVER initialization method In-Reply-To: <1481725348-860-1-git-send-email-gabriel.fernandez@st.com> References: <1481725348-860-1-git-send-email-gabriel.fernandez@st.com> Message-ID: <20161221233457.GG8288@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 12/14, gabriel.fernandez at st.com wrote: > From: Gabriel Fernandez > > Clock and reset controller use same compatible strings (same IP). > > Since commit 989eafd0b609 ("clk: core: Avoid double initialization of > clocks") the OF core flags clock controllers registered with the > CLK_OF_DECLARE() macro as OF_POPULATED, so platform devices with the same > compatible string will not be registered. > > Signed-off-by: Gabriel Fernandez > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project