Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp588162rdb; Sat, 30 Sep 2023 18:16:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYWgnTAzcUrTEfqqS1t7IWDSzgrCiCImoVMLx9Ak3GY7pLGg5ZqIazHFCwC2mrs3QzWuAi X-Received: by 2002:a05:6a00:2d1b:b0:690:41a1:9b67 with SMTP id fa27-20020a056a002d1b00b0069041a19b67mr7983300pfb.9.1696122985715; Sat, 30 Sep 2023 18:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696122985; cv=none; d=google.com; s=arc-20160816; b=X6CSccYSwYjSEUZ5DQvQtLJ7yHSac5cCvbODBQ96nUFWmsGq+zuoINZBkwQBvUKqVa XPhPepszJNrqRbXoDT4xswDdrC3XPNAh2JJFDVsL4Bl2pw53VQ2flNzDDT2Fi1ASD4GL J2AlGVWa2jfgmHrcH+Dp/nPukEWPc7E+AIU1biaT++nxD4E19UjQMlJgq0Yl31fTuTTm vH5Omt7zIqHjURbNajjqAipctoVBpu2rxqh++nFZBhhUqxI8ZzR6BKbkk68J0hHhrqTl uUN8Xgn8l0i3rkZiljfe4hTwwvmyS5QEayhR7X79LSfRTxwgLeJqGP+MowB17HWQT1JU /AOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=k7J57l7/zqdeGA0GlKWE9U/nzxhEBk4B9Yh6/PcmQ+Y=; fh=jWkPgk7yH7Di9iPl3pEPdAF1AoQUhBt1SMkxMnRyE7Y=; b=KWbrv1AuoxfsoFO5zPJmX80OY9+WTgJNGy/b3/Yj5TnILAHGweacJEA3EUmbIfgzl6 EO6+XSvubeE8TqLm3u9ECPe/QWpIIbLpqHJUXdLUvrmUKdt3KIoq34pZohcSibA7dzdB SKwF1B48edNm5GGcwCoiFB7Q+oKZXhOFASIc45hdA3T8VvoWoslzZwF+9vwZsvA11o0E 5pqCD6LajUg1L7YuJAz3WLCITGPjNa+tBfyUpj5NEwEZryeLspavgMIIUrAdYcuRY9sJ d/CPi9duwYJ2D2unAzLKoipZtlTi4M6Xqww+jt5gISrW9Pe5XpDrj39YAbS2IbU3tcCZ Bm/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nNd8YT1F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id g5-20020a056a0023c500b00690d9cd7b62si25034150pfc.123.2023.09.30.18.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 18:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nNd8YT1F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B00738028FE9; Sat, 30 Sep 2023 16:01:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234010AbjI3XBS (ORCPT + 99 others); Sat, 30 Sep 2023 19:01:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbjI3XBR (ORCPT ); Sat, 30 Sep 2023 19:01:17 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCDAADA for ; Sat, 30 Sep 2023 16:01:14 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3214cdb4b27so14280464f8f.1 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=STTqBMqLbeS62Frq5JIpy8fCIB+UYUTWH6rLec+I8oNO65YHbHyx75RxsbDIJxKdhP rcmtLMCO5HhAlh/azRkCKrSSKpCdL2ZnsnlCtXWh4JMaCdorrTkSeODqk0CTSuHxk+96 XO4pWFtxA1O7mkPYrwGHJR2nmcWk3OWNZz/8azo2k6beWHVilEu6kjNKg6o7ht5Beax0 Elv+FqzxPhYacZ4gZkP5lOblzDNgffoEE58Z4AOUKKRDCyMCVtKi9QGSHpqOMQhmHBSi fSa0FDmh9MYOoG397d6F4XHmIHu/n7z8tZOPvEZxeTUtgEG8KLL3eP8mtM0souDelaGw +EGg== X-Gm-Message-State: AOJu0YxtX8Fm8lQFGu2SN6Rnf2d/66U1ZmOvVduipQiQqsMAcLwudCiP VBvav/Nfz/MkBKlyu+XLXlb9Yw== 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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 groat.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 (groat.vger.email [0.0.0.0]); Sat, 30 Sep 2023 16:01:44 -0700 (PDT) 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