From mboxrd@z Thu Jan 1 00:00:00 1970 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 9F00FE748F4 for ; Sat, 30 Sep 2023 23:02:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233972AbjI3XBT (ORCPT ); Sat, 30 Sep 2023 19:01:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234037AbjI3XBS (ORCPT ); Sat, 30 Sep 2023 19:01:18 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC367E3 for ; Sat, 30 Sep 2023 16:01:14 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3247d69ed2cso4687457f8f.0 for ; Sat, 30 Sep 2023 16:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696114873; x=1696719673; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=k7J57l7/zqdeGA0GlKWE9U/nzxhEBk4B9Yh6/PcmQ+Y=; b=nNd8YT1F25Wle1EvHD+YeW78L2qz3rNY/By+WVlVXeq/ioiQ9TvJtxH8b/fCPGD6lL C4JjBgi+4D4PDxtQ5ByKN8QNans61uANMfEU+bsqMblL6ORnN+DWBvSNkz6iuee1sE7D 0Wi9qY8hRlKsPgVQVRZfb7tO4T77rrrpZwXbmOXM1MMd5FK3xR44Ex5NJDFn8E2RC3Zi eDrMncdAe5qQ2kFV436w3/Ccig8FsEVqjC6utzqKYB0cxXM5hWdNYzyUY71LjeGrQ98I re+QBzjm9MDz4jm26ghuXfKJP4OGZGfzYA5JwFE6M/7INCeoFe8d6zAVAVpAuPARaR0C fdyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696114873; x=1696719673; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k7J57l7/zqdeGA0GlKWE9U/nzxhEBk4B9Yh6/PcmQ+Y=; b=GlEoZLP+gRyZ3oXifu+Hq9Y6M93pa6uoJEd0NDXsTTjlynQjf+JXpTipiAduatWMap kc+j/dxJENNcU2rG7p0VySTsm2Qd7V9pBtQdJryWiron34X4BF8yL2h5gJzbCaYSkhp4 0ajMXF4eq+L2A8QcxP4oeyISq2WWSBl/EgQCNNZZGxZfWEfPvwFnqBA5OLxqT+JcZinw ZiNWmNTWuMHt06tfPkJerxqZarGRcrf/ObtdRJ1XysMu7puirBvILF83fyrulcOUYVU8 OFwsfNmlhayxC5acD0fgizWfu5x2v+oSoyVucEihY8DXtIsfDQhfeE4uvW5ukA3mzZ67 oc3Q== X-Gm-Message-State: AOJu0YxsHrMe+R+XNE8cVO19F0JAhmCsn+QV8IlKPeOZssaMl4u62tkb ScUHr/mWwTdBY3OEahHpj0dsGg== X-Google-Smtp-Source: AGHT+IFi/TLo16IHjm3Kw76Bp+GiKKw2JyFRtplFnfLdEE4SikJbt1pucx26C+8iV0F8WoKT+wTXdw== X-Received: by 2002:a5d:5902:0:b0:324:7a6b:d503 with SMTP id v2-20020a5d5902000000b003247a6bd503mr7083067wrd.11.1696114873130; Sat, 30 Sep 2023 16:01:13 -0700 (PDT) Received: from [192.168.0.162] (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id w11-20020adff9cb000000b00326c952716esm2411004wrr.61.2023.09.30.16.01.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Sep 2023 16:01:12 -0700 (PDT) Message-ID: Date: Sun, 1 Oct 2023 00:01:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/5] arm64: boot: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Content-Language: en-US To: Konrad Dybcio , Bryan O'Donoghue , andersson@kernel.org, agross@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jonathan@marek.ca, quic_tdas@quicinc.com, vladimir.zapolskiy@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230930134114.1816590-1-bryan.odonoghue@linaro.org> <20230930134114.1816590-6-bryan.odonoghue@linaro.org> <449cd202-a7d8-4d20-3a41-17a3ba1355cb@linaro.org> From: Bryan O'Donoghue In-Reply-To: <449cd202-a7d8-4d20-3a41-17a3ba1355cb@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 30/09/2023 17:41, Konrad Dybcio wrote: > > > On 9/30/23 15:41, Bryan O'Donoghue wrote: >> Add in CAMCC for sc8280xp. The sc8280xp Camera Clock Controller looks >> similar to most of the sdmX, smX and now scX controllers. >> >> Signed-off-by: Bryan O'Donoghue >> --- >>   arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 16 ++++++++++++++++ >>   1 file changed, 16 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >> b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >> index cad59af7ccef..ca43d038578b 100644 >> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >> @@ -8,6 +8,7 @@ >>   #include >>   #include >>   #include >> +#include >>   #include >>   #include >>   #include >> @@ -3450,6 +3451,21 @@ usb_1_role_switch: endpoint { >>               }; >>           }; >> +        camcc: clock-controller@ad00000 { >> +            compatible = "qcom,sc8280xp-camcc"; >> +            reg = <0 0x0ad00000 0 0x20000>; >> +            clocks = <&gcc GCC_CAMERA_AHB_CLK>, >> +                 <&rpmhcc RPMH_CXO_CLK>, >> +                 <&rpmhcc RPMH_CXO_CLK_A>, >> +                 <&sleep_clk>; >> +            clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; > clock-names is now redundant :) > > Reviewed-by: Konrad Dybcio > > Konrad BTW. Looking at the block diagram for the Camera, I see why Cam_CC_AHB is included in this list. Its not called out as a dependency in the clock tree but when you look at the block diagram you can see it gates the AHB bus to the CAM_CC block. anyway --- bod