Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1505520rwi; Thu, 27 Oct 2022 17:09:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5svu4Ip3pmYRjSLwpv7AjqttkEDv+1ZvudCofg/GhsLo8yvOM1nlNDehCn4QpDktrYZMEe X-Received: by 2002:a17:907:2cf5:b0:78d:f9cc:794a with SMTP id hz21-20020a1709072cf500b0078df9cc794amr42684188ejc.577.1666915782837; Thu, 27 Oct 2022 17:09:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666915782; cv=none; d=google.com; s=arc-20160816; b=C39L5VY4J+3ouVspT0PCW84KBmuqIotlz8R9aJ4dq/CsJOv4IPvtBA9NMSy9vTlwLB pkCFDvArrxixnxhdsW4H1labX03o/KD+K1etyAFo8a3Dg5kGlWNBF25I7K0Fw6LnBEOX m4PvNieRgE4fkiwARzcKQEx5m8/8j5p3QZ6VFXYBf+9w9bSB/OZ6lDicGjpNyEWK2us6 t4Y5+uu0h4CD4MrTl9cDo3hMhRQ9wbiXNJgPeU9ItPyqGyT/whUr87qipUTsjm03RrRc +FRH8xfL9uP1Rkn9F74J2X5jaIozVUkewaJUcrvbA267X6OFGYMYDyF6O/d/+uZ0VV0J wGIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=N3/tiBBM65lbA3Kx0jToCOjz1sXOtHVXWYvgKgpiDFc=; b=h8x1E7A8NbWrnjfYl/1cmLu5VWRkv8Pwe7G7bIqkUGo9GpRoA7IpE2h43sd5n6UUAL /rfwCyIuQCGB7AwWAZ+lgqd88z5KBX20cpvzQsx63PbHEQS053Hlmt05Mljp3mdOR6OS DjCsGsAi2ZOLjQKGzwibZ/hS4L3Z+tzbGwRUlMRwl0jxlrl2v1pQ37/tbG7QNA+B0TFe mHCwnJAWJSZT9ewMv8ljV/3L9a/IlXdH8jpaHCh28Sk8aybMemDIbp9rxNdknew9tMwD 0bowG3H1Om8NwJS6dVf6HXxj+0RCPO8PyNE5ZW4yGhTMdTb2rhRw228keRzmHHT1v6wP Qakg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iu6ONbFO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x7-20020a056402414700b004622e051634si2838506eda.232.2022.10.27.17.09.16; Thu, 27 Oct 2022 17:09:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iu6ONbFO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235277AbiJ0Xag (ORCPT + 99 others); Thu, 27 Oct 2022 19:30:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233687AbiJ0Xad (ORCPT ); Thu, 27 Oct 2022 19:30:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FE563F1C5; Thu, 27 Oct 2022 16:30:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B059762573; Thu, 27 Oct 2022 23:30:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F3FAC433D6; Thu, 27 Oct 2022 23:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666913430; bh=N3/tiBBM65lbA3Kx0jToCOjz1sXOtHVXWYvgKgpiDFc=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=iu6ONbFOuNtcJM4mQaxWpdNWxM/V/eSzUpZ73hpm3Qffo2BJqyPDWAqe0OR9TbNOh B6erzkAR+KYefBQnqAlUM8ofjzhedfcAsQ1QXRNpCxC8iBexmKJt0eFujzgcVORvLO ptEYjNYbC7CBC3v/yVO/a47eUK/wU08m8G/rEi0Jru8z4X302KFe3HCx/B/E2EksS1 nQm7pGTZlJCCceE2Ma/wWzDQpD5elcc16qEbDL5rxpmLWCohB4x1y9LSIGmLkgnF2M gsUfd5eWBCbTN3nxWBKyNUR8izsE3bNEJuJ0hIeYOeIqBFjs7u0ncaNsawDK/qgOYz EQRxkyggrj46w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <9bde77be-f4ec-11e7-e645-7c4465bcf6db@collabora.com> <5e55012567da74870e1fb2edc2dc513b5821e523.1666801017.git.daniel@makrotopia.org> <20221027214151.7F112C433D6@smtp.kernel.org> Subject: Re: [PATCH v2] clk: mediatek: fix dependency of MT7986 ADC clocks From: Stephen Boyd Cc: Matthias Brugger , Michael Turquette , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Sam Shih , Miles Chen , AngeloGioacchino Del Regno , Chen-Yu Tsai To: Daniel Golle Date: Thu, 27 Oct 2022 16:30:27 -0700 User-Agent: alot/0.10 Message-Id: <20221027233030.0F3FAC433D6@smtp.kernel.org> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Daniel Golle (2022-10-27 16:24:35) > On Thu, Oct 27, 2022 at 02:41:49PM -0700, Stephen Boyd wrote: > > Quoting Daniel Golle (2022-10-26 09:18:07) > > > It seems like CLK_INFRA_ADC_FRC_CK always need to be enabled for > > > CLK_INFRA_ADC_26M_CK to work. Instead of adding this dependency to the > > > mtk-thermal and mt6577_auxadc drivers, add dependency to the clock > > > driver clk-mt7986-infracfg.c. > >=20 > > Is this a cleanup patch? Or a pre-requisite for thermal and auxadc > > drivers? I don't understand the priority of this patch. Should I apply > > it to fix a regression? >=20 > I'd say 'no', as AUXADC and thermal has not yet been added to > mt7986a.dtsi, also the corresponding clocks are currently still unused. > So while this commit does fix a previous commit, it doesn't have a direct > impact and will only matter once thermal and auxadc units are added to > mt7986.dtsi. Thanks! Please include these details next time.