Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1477416rwi; Thu, 27 Oct 2022 16:42:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VSCyGdjfZQLksp+LCvW6CijZLbmv9ofqc3+kWfV4aPri7oy5dvl2x6/0Mkt0MSUUbyTwA X-Received: by 2002:a05:6402:f8e:b0:461:8b1c:eb0c with SMTP id eh14-20020a0564020f8e00b004618b1ceb0cmr27919900edb.20.1666914172969; Thu, 27 Oct 2022 16:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666914172; cv=none; d=google.com; s=arc-20160816; b=EA5unMlQttYQXcMCSYJC4WjGMd4jDixC1ie8h1ttKpNlAp9A/rC4TAjz0CA061zFmx 7C7moFMv7uzj9P1dHw9w3wT3FEBlb5q0BfMaxCFZtuxCxq/WkZb9PDuhp+hXUGFMvbZZ JukiL5LnB1XUApMp/k5JoWBj+zvf1L63FSGBtlNDo7WtRaz5BnOmYhT/uk2kARY3j8Aq OSlk6KHePMgFN8qZ/FTUmqa9M2lNTdPpiGPYbm0DBYAuITri4zabT8bNMCZvXE930kwg SEnpqRhwVyjExLaTJ/8zQHx1DrUs8vppnU2G1husjm0goORXw/CXcRfJwIFPQa2RA2ux Obzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/xHQTI8QJNRbEthoCuBC6KXDqaaOg1Lmx0RUoGFdJo4=; b=iHmuTOyNPcTNbQcLqZohdW82o2eKi40h5zmXQRGe1iLMJc/A+0wLKrabbF8DwihvKg RO8pi1KwABz03d8EqUjQV05V6YYJkUiKDZAdtcSVlmPfR7Bj8OSCChMarrYd6n4qwAkc Sf6xSwZEmUcUJNKQ9XtwSzTh6AZqfFZUY4AQT2k9MDhJQFi+YKSzXB9HIMEeCjmouQRH 0WhypM0ioW5m08QRkSp5JcxM89VIqVc2xxusQ0dATWNtaJVlQsCLyCXfJ/nl3w3vx9JJ 3fNAgfTWpvJcXVK+RNOreSouS3PfGgqhqsvajvFTTi9v4vhqiQu9t2hQsQN7o0XpkRMi BywA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb39-20020a170907162700b0078d1e610b3esi2054332ejc.26.2022.10.27.16.42.27; Thu, 27 Oct 2022 16:42:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235476AbiJ0XZK (ORCPT + 99 others); Thu, 27 Oct 2022 19:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235438AbiJ0XZF (ORCPT ); Thu, 27 Oct 2022 19:25:05 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA823FF24; Thu, 27 Oct 2022 16:24:53 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1ooCEq-0006Aq-KP; Fri, 28 Oct 2022 01:24:40 +0200 Date: Fri, 28 Oct 2022 00:24:35 +0100 From: Daniel Golle To: 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 Subject: Re: [PATCH v2] clk: mediatek: fix dependency of MT7986 ADC clocks Message-ID: References: <9bde77be-f4ec-11e7-e645-7c4465bcf6db@collabora.com> <5e55012567da74870e1fb2edc2dc513b5821e523.1666801017.git.daniel@makrotopia.org> <20221027214151.7F112C433D6@smtp.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221027214151.7F112C433D6@smtp.kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 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. > > 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? 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.