Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CC3FC64ED8 for ; Thu, 23 Feb 2023 18:59:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjBWS7g (ORCPT ); Thu, 23 Feb 2023 13:59:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjBWS7e (ORCPT ); Thu, 23 Feb 2023 13:59:34 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0FEE23667 for ; Thu, 23 Feb 2023 10:59:33 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id j17so11991841ljq.11 for ; Thu, 23 Feb 2023 10:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TrKZBYzgrUY+yT1Sm6r8rYhRImsEiv0nymsNFzBZTig=; b=mLOlHmCobTk7ODTXZj4kvMvZSq3dbf7CN8kW6AwzeqG8wy7pXxYJEj9jX8JcE44NQf rbIr7lgWnloXvvyqdvgAO2hpJ7WVAIsNa2IKrPaltX+Ik3W+Nj91Q/WsXD5RTD0L3HJf pPWAo41bCftknxF7z7ARoIKS3sPuxz2Pb2PjA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=TrKZBYzgrUY+yT1Sm6r8rYhRImsEiv0nymsNFzBZTig=; b=tAeQ43042YRdxaveAHQyJC4pXX1H/4SGTZTwvuTLRGcVrWbCItDn+Yn4tHqwqn8Wmu rqtOIiuGtX+iXnyldHREJDDztP/Au1I73X0gdjZV3hFBhCaZKsDYXnwfHYr/9Qb/BVmn YHU5a9MJMTm2NGzB659h/6Ky0NDqrmaVW8itlPqn5lYE8zmGexQhk77VqfK3L/lca/ir nvAyXi2s8m1uBEX0d2WlVGneE1+sLwWkTYnV2OTMuAzYgnN71tUMQBtCfvZnVu22mk8M BSaPaNzTpK39EoB1+ITKxfdnwddyZCEniBRgNMbuo8unVGPvbrA4GtXTeHHcu3P315rX HGkg== X-Gm-Message-State: AO0yUKXEsvFRYlTgHcp4xtUCfGeoJx/sf2S/Upg1Uu9qqlJWU7T3vzc7 0ymCYh9BnyuQgBRghcLIZ+dCjdJXHBvp8w31fBmanw== X-Google-Smtp-Source: AK7set/l8Tuw2PrNZ5eEO0k2aNueP3SGyCL0EtuYv8nYx+cObISGq/vMLL/Udukub6jGMnM8zbbG6oae6gK4zdLkyFc= X-Received: by 2002:a05:651c:336:b0:294:764a:3318 with SMTP id b22-20020a05651c033600b00294764a3318mr4022405ljp.0.1677178772084; Thu, 23 Feb 2023 10:59:32 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 23 Feb 2023 13:59:31 -0500 MIME-Version: 1.0 In-Reply-To: References: <20230215151330.539885-1-quic_mohs@quicinc.com> <20230215151330.539885-5-quic_mohs@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Thu, 23 Feb 2023 13:59:31 -0500 Message-ID: Subject: Re: [RESEND v8 4/5] clk: qcom: lpassaudiocc-sc7280: Merge AHB clocks into lpass_aon To: Mohammad Rafi Shaik , agross@kernel.org, andersson@kernel.org, broonie@kernel.org, konrad.dybcio@somainline.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, mturquette@baylibre.com, quic_plai@quicinc.com, quic_rohkumar@quicinc.com, quic_visr@quicinc.com, robh+dt@kernel.org Cc: Srinivasa Rao Mandadapu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Mohammad Rafi Shaik (2023-02-23 02:19:30) > > On 2/16/2023 11:01 AM, Stephen Boyd wrote: > > Quoting Mohammad Rafi Shaik (2023-02-15 07:13:29) > >> @@ -828,8 +830,9 @@ static int lpass_aon_cc_sc7280_probe(struct platfo= rm_device *pdev) > >> if (of_property_read_bool(pdev->dev.of_node, "qcom,adsp-pil-m= ode")) { > >> lpass_audio_cc_sc7280_regmap_config.name =3D "cc"; > >> desc =3D &lpass_cc_sc7280_desc; > >> - ret =3D qcom_cc_probe(pdev, desc); > >> - goto exit; > >> + ret =3D qcom_cc_probe_by_index(pdev, 1, desc); > > Where is the patch to the binding yaml file? > Thanks for comment. > > The dtbinding=C2=A0 yaml file for this is already present in existing yam= l. > > Below is the snippet for the same: > > compatible =3D "qcom,sc7280-lpassaoncc"; > reg =3D <0x3380000 0x30000>; > > Actually what ever the=C2=A0 CC register region 0x24> which we are accessing is already present in the above reg map > range of dtsi, so we have not updated the > /devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml file. > The usage of '1' in qcom_cc_probe_by_index() means that the reg property should have at least two addresses. The example you pasted above shows only one reg address. The binding needs an update for two registers, where is that?