From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Xu Subject: Re: [PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX Date: Fri, 11 May 2018 15:05:28 +0100 Message-ID: <5AF5A328.7080001@hisilicon.com> References: <1522811675-12741-1-git-send-email-leo.yan@linaro.org> <1522811675-12741-6-git-send-email-leo.yan@linaro.org> <20180509040255.GF23540@leoy-ThinkPad-X240s> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180509040255.GF23540@leoy-ThinkPad-X240s> Sender: linux-kernel-owner@vger.kernel.org To: Leo Yan , Jassi Brar Cc: Arnd Bergmann , Stephen Boyd , Kaihua Zhong , Tao Wang , Daniel Lezcano , ", linux-arm-kernel"@lists.infradead.org, linux-mediatek@lists.infradead.org, srv_heupstream , Devicetree List , Linux Kernel Mailing List , Guodong Xu , Haojian Zhuang , xuwei5@hisilicon.com List-Id: devicetree@vger.kernel.org Hi Leo, On 2018/5/9 5:02, Leo Yan wrote: > On Wed, May 09, 2018 at 09:19:13AM +0530, Jassi Brar wrote: >> On Wed, Apr 4, 2018 at 8:44 AM, Leo Yan wrote: >>> From: Daniel Lezcano >>> >>> The current defconfig is inconsistent as it selects the mailbox and >>> the clock for the hi6220 and the hi3660 without having their Kconfigs >>> making sure the dependencies are correct. It ends up when selecting >>> different versions for the kernel (for example when git bisecting) >>> those options disappear and they don't get back, leading to unexpected >>> behaviors. In our case, the cpufreq driver does no longer work because >>> the clock fails to initialize due to the clock stub and the mailbox >>> missing. >>> >>> In order to have the dependencies correctly set when defaulting, let's >>> do the same as commit 3a49afb84ca074e ("clk: enable hi655x common clk >>> automatically") where we select automatically the driver when the >>> parent driver is selected. With sensible defaults in place, we can leave >>> other choices for EXPERT. >>> >> Acked-by: Jassi Brar > > Thanks Jassi & Stephen. > > Wei, could you pick this patch? Thanks! Series applied into the hisilicon tree. BR, Wei > > Thanks, > Leo Yan > > . >