Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp19601rdh; Wed, 25 Oct 2023 14:47:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpftrFlFg4Lf+yLrgZV256paut9RbnuS0ShNPA1QoCN9i7WgpbFXP3ZXLSp/fWp6cOT9tm X-Received: by 2002:a54:400c:0:b0:3ad:f6ad:b9d2 with SMTP id x12-20020a54400c000000b003adf6adb9d2mr17499378oie.16.1698270450039; Wed, 25 Oct 2023 14:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698270450; cv=none; d=google.com; s=arc-20160816; b=qL6lplq1bZFpORs/MfIj2rBhZl4Lxpk8cSJTOq1gWmbWxLCt2FhecsTL+YbfxtKrVi 2yREOHdHiqVpvDDyJSeDxOevxY/2TR3/eMcHCij93uUb3Aazt28HL4sIiImb6zzMfKPb USFMwRgSUnyMSY4VNiE4bsF2rCI7BCs4rfMYBoUaWwTkJMjJMj3Y7D3zQi9GDNlIcC8n UWQeeueQBW++1HZDQXpF6w8ZUpNxeHrlfzmce8xN0YicFZrxEDQ5+2KpRi7FSQqGI2Lf hKXQtpgtWv82f7e19Fa5Wnpm8oeu1t6If4W2ccdx8nyxcVi9JWJVFg/inBOV8C/YNnRu q20g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=/ssGNvI3QO9S6JDuh+JSb/c1bKl9Xnjh7wD3tiPxIfs=; fh=F63esHJk7DCn8Hd6WjMZai9Lvmd8YFqDS8y6G9Fz+B4=; b=0TvZtwdQOkwjfHW6qxZpR68gZp+xZOcKk3T30FlieoDuwi26LFcogB2lG3RejaUFUO wOazOfX2W2yGKm7uHQk540L3Zjtd4QV15hCmH+qUB6NOkhPCf0FzzhYY0mHSOSu4Hy2T No66jnUMrAJGYyOhyV8CNa2sQ7ijDLKzf4YRUMq6WiNPH02vTWmXE7ssuumilLKvU9Du P6691v1b2GyB+HdonSGmegevgQcKmBnIOVdq/sYWmUTjrN1Pt2JFZnFnR1is4Fk4CrDx FKAjCD8wfJL8u5gIddVj1nsqEPXHH78wG3eQtO0fuZvnpMdAN+wcdtc3BPz2TGyP+eJC 5bzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MlhcRMmb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id t189-20020a2546c6000000b00d851099a291si11294160yba.197.2023.10.25.14.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 14:47:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MlhcRMmb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 999C281CCBD8; Wed, 25 Oct 2023 14:47:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjJYVrT (ORCPT + 99 others); Wed, 25 Oct 2023 17:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbjJYVrS (ORCPT ); Wed, 25 Oct 2023 17:47:18 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2E10A3; Wed, 25 Oct 2023 14:47:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46A7DC433C7; Wed, 25 Oct 2023 21:47:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698270436; bh=/ssGNvI3QO9S6JDuh+JSb/c1bKl9Xnjh7wD3tiPxIfs=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=MlhcRMmbtykHIDQi0aDqUZsjwUdqTZfyA9ISZJMLgAjAFFiV/KZNZAGeQLZhvvCiM 5dZgdIODPZ26Ct7w60rz1jJyacL4bVvvqZdKTMIJbj7tduWs6w1tuyjwtvvajKK0Y8 4F2uFM+lRl0ldY52WP50hWJqRH3w2eCEpTizz2n86fhsG8uviKm4HNN3U1eyX/X8Oo LMXXmgUIM7Swia5UNLBd4/tn/S0lY07822+mzQPOHh3hEWdkJXC/pr2lW+11QADQO6 Wv/ofMhpqip+QOSD3zo6PmwyGtxXgewic8gxrkhfmDI3Hze8FDLCmhRY9DOPK/+Yfu NQDpZEsHQnHMA== Message-ID: <5f157c65b07eee357f7682be0945d638.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20231025-topic-sm8650-upstream-clocks-v1-0-c89b59594caf@linaro.org> <20231025-topic-sm8650-upstream-clocks-v1-10-c89b59594caf@linaro.org> <467bc514-1cff-4bc5-a553-fd1ef0886ee5@linaro.org> Subject: Re: [PATCH 10/10] clk: qcom: rpmh: add clocks for SM8650 From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org To: Andy Gross , Bjorn Andersson , Conor Dooley , Konrad Dybcio , Krzysztof Kozlowski , Michael Turquette , Neil Armstrong , Philipp Zabel , Rob Herring , Taniya Das Date: Wed, 25 Oct 2023 14:47:13 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 25 Oct 2023 14:47:27 -0700 (PDT) Quoting Neil Armstrong (2023-10-25 05:00:54) > On 25/10/2023 10:47, Konrad Dybcio wrote: > >=20 > >=20 > > On 10/25/23 09:32, Neil Armstrong wrote: > >> Add RPMH Clocks for the SM8650 platform. > >> > >> Signed-off-by: Neil Armstrong > >> --- > > [...] > >=20 > >> +static struct clk_hw *sm8650_rpmh_clocks[] =3D { > >> +=C2=A0=C2=A0=C2=A0 [RPMH_CXO_CLK]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 =3D &clk_rpmh_bi_tcxo_div2.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_CXO_CLK_A]=C2=A0=C2=A0=C2=A0 =3D &clk_rpmh_b= i_tcxo_div2_ao.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_LN_BB_CLK1]=C2=A0=C2=A0=C2=A0 =3D &clk_rpmh_= clk6_a2.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_LN_BB_CLK1_A]=C2=A0=C2=A0=C2=A0 =3D &clk_rpm= h_clk6_a2_ao.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_LN_BB_CLK2]=C2=A0=C2=A0=C2=A0 =3D &clk_rpmh_= clk7_a2.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_LN_BB_CLK2_A]=C2=A0=C2=A0=C2=A0 =3D &clk_rpm= h_clk7_a2_ao.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_LN_BB_CLK3]=C2=A0=C2=A0=C2=A0 =3D &clk_rpmh_= clk8_a2.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_LN_BB_CLK3_A]=C2=A0=C2=A0=C2=A0 =3D &clk_rpm= h_clk8_a2_ao.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_RF_CLK1]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 =3D &clk_rpmh_clk1_a1.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_RF_CLK1_A]=C2=A0=C2=A0=C2=A0 =3D &clk_rpmh_c= lk1_a1_ao.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_RF_CLK2]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 =3D &clk_rpmh_clk2_a1.hw, > >> +=C2=A0=C2=A0=C2=A0 [RPMH_RF_CLK2_A]=C2=A0=C2=A0=C2=A0 =3D &clk_rpmh_c= lk2_a1_ao.hw, > >> +=C2=A0=C2=A0=C2=A0 /* missing RPMh resource address for clka3 */ > > So, the downstream driver suggested it's there but CMD-DB disagrees? > >=20 > > Can we get a confirmation whether it should be there? >=20 > There's a clka3 on the PMK8550, but it's undeclared in CMD-DB since > unused/unconnected on the MTP & QRD platforms. Can you add that comment here so we know why the resource is missing and not just that it is missing?