Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp761484iog; Fri, 24 Jun 2022 13:34:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u/pTQ1sOV6IMbzMvng3bn2t60Ol7e9ValpxFUzueOgYYSI3t48xmbANxS1YuEW8kLhXP+I X-Received: by 2002:a17:903:1209:b0:168:e42f:8709 with SMTP id l9-20020a170903120900b00168e42f8709mr941966plh.99.1656102867950; Fri, 24 Jun 2022 13:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656102867; cv=none; d=google.com; s=arc-20160816; b=SCOjBTrTV/MOnDy85UYeYUJj13xAk/W+8VeHKjlTQ00DB0gUHL2h/OYajwHNSnCrFm Egtl3EbuD22MRu2Z5TgWHxI4Ddbegli1PACyLF9NjEK1UBaEbOhIIBtpax9dY13Izk/w HLx5lycB0ipTn7JRw1uHtV9qaOQdtRFh3NGHKlohW/Yq1fsNJblnnkpwYrqUetjnZdjL XRNmyKfDQTvnwWzwLzBPhrWm+1dr9d5q6wAh477hrVNtiEfCFaNUNFm/pyh9pwJZSCpw XGvToOxVyZdL89ufMh45yLXWEMRiTyVx+JUkEJBAVO0uZP6UJVZehB4F22CjHQWrWhIu Mz8g== 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=YOIMPrU2grIm9m9RjZC6uRxSoGG8GojpUMQPbaYMqVA=; b=rN7Wz2nIGAZmx0RhJ0KAm/5T52Q5e01ywdS+xuwXlkWjbpqQVttAjpoOM29+2WBgft /wvHoRx9Qof5Q0vZiLMaCBcpzgFL7iXcZXgx+eAR/zZVLwpinfbsrXF16p9XKY4Rlsgc bOSs5pp90uevP7RIa/CtXstDd1EFK8qwTQBGmFbIu3IMkHdcGENqJady6SJUTl7icRQk Qzrk5mgid4OXRq9mHx/RGdwP4TmoX5KXEwuQZN0LoIKNsUriCPkW/HNXC+s0Bt93e6CP ZzPiewSTbNYr4ksWgshMlirxAh/Nxm62iMpVCrstavuv4ow00llVcbelAu3SdbZJmMQb Nbtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gkJ8T59v; 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 h128-20020a625386000000b004fe3a6ea856si3498662pfb.176.2022.06.24.13.33.51; Fri, 24 Jun 2022 13:34:27 -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=gkJ8T59v; 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 S229970AbiFXUQ5 (ORCPT + 99 others); Fri, 24 Jun 2022 16:16:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiFXUQz (ORCPT ); Fri, 24 Jun 2022 16:16:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7B7F7C840; Fri, 24 Jun 2022 13:16:54 -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 ams.source.kernel.org (Postfix) with ESMTPS id 5D8CAB82B97; Fri, 24 Jun 2022 20:16:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04747C34114; Fri, 24 Jun 2022 20:16:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656101812; bh=4QRUtnLSzmrMQQ9qX22jJ4l+dPRlwBTscT5+qfKgSD8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=gkJ8T59vdML4M8M5BzskJhOxZRZvGe3BrktXTIpvBQ7Gn0TGH5CjOCDF2r+5i7nF6 fU0CFPd+uWOnALRg0FQAU8P25cbkfKBSmExAzEzmo6iVp/AJSwmkyPEcc7BaOv3Dlr wrvTP0tbGsBKQ2Bjw9GdmodnnwmQaMNOnsxsUIIHKgCkd2oj6VPYGH4y58SRxjE47w T1AMJVUeBFiabLuaD0duj4yKRdghVwnfMQ/HKtpVCVCrez0ygD8Y2GLiRV5nK+Ainc pKe/ej4fi/7MaH0QOFigrLcmfzbcCaYePgQKUvLaZsXbaTa9J2X6NrsiUHWDfwlYtw paiWjDn4+V0sw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20220623142837.3140680-1-bmasney@redhat.com> <20220624002055.58BCFC341C0@smtp.kernel.org> Subject: Re: [PATCH] clk: qcom: sc8280xp: add parent to gcc_ufs_phy_axi_clk for sa8540p From: Stephen Boyd Cc: bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, ahalaney@redhat.com, echanude@redhat.com To: Brian Masney Date: Fri, 24 Jun 2022 13:16:49 -0700 User-Agent: alot/0.10 Message-Id: <20220624201652.04747C34114@smtp.kernel.org> X-Spam-Status: No, score=-7.7 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,T_SCC_BODY_TEXT_LINE 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 Brian Masney (2022-06-24 09:40:26) > On Thu, Jun 23, 2022 at 05:20:53PM -0700, Stephen Boyd wrote: > > Quoting Brian Masney (2022-06-23 07:28:37) > > > diff --git a/drivers/clk/qcom/gcc-sc8280xp.c b/drivers/clk/qcom/gcc-s= c8280xp.c > > > index 4b894442fdf5..4639b50da418 100644 > > > --- a/drivers/clk/qcom/gcc-sc8280xp.c > > > +++ b/drivers/clk/qcom/gcc-sc8280xp.c > > > @@ -5696,6 +5709,7 @@ static struct clk_branch gcc_ufs_phy_axi_clk = =3D { > > > .hw.init =3D &(const struct clk_init_data) { > > > .name =3D "gcc_ufs_phy_axi_clk", > > > .parent_hws =3D (const struct clk_hw*[]){ > > > + &gcc_ufs_ref_clkref_clk.clkr.hw, > > > &gcc_ufs_phy_axi_clk_src.clkr.hw, > > > }, > > > .num_parents =3D 1, > >=20 > > num_parents needs an update.=20 >=20 > Oops! >=20 > > But this is a branch, not a mux, so it can't have more than one > > parent. >=20 > Would a mux be represented with 'struct clk_rcg2'? >=20 Could be. An RCG is more than a mux, because it also has a divider and an m/n counter.