Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp422148rdb; Sat, 30 Sep 2023 09:31:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBb9UZtx2ARfuSoJ9VVZmzjdWQjPuQzM3VHHA9WYZ8rTmAC42dBW9ueT5wAM7K5GVPxK4I X-Received: by 2002:a17:902:e809:b0:1c0:6e92:8cc5 with SMTP id u9-20020a170902e80900b001c06e928cc5mr7234402plg.17.1696091512907; Sat, 30 Sep 2023 09:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696091512; cv=none; d=google.com; s=arc-20160816; b=DTpOpYWFfgymiDVT29a4ufJdRIci8A+ioXeDkrSI1f/VGmbe81ecTtfpCyhMK8IchR g/yT2/PBKpl+WUI9rhKYWg/mYP7X7TX81gssphc29jyhr3oyGBTIMp/JLIh5Z/BvFTTM kPKn1w3+gxBBfo/ytMhvVqZdfsQ3jElN9ue8oOhvkRLZi5slj3mu73veMu0ovafSQkJt 9GPIVIRyZyGRhx7Ya1VYLmpvqWI9O1yZeytmHcEbXoyAGSHOvMfXIaLZjr0pK6aX7PGC x3dxDq2dsioDNi2s85Eu1e3ggysGWtaU8bGnL5fArPl1YUnIobvrfNNoKXibxvqfAu5w LYcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ob3ZO09IJVP3lc8Sqc/svAT3F+GaUvuno74Y0tUjZPs=; fh=40yTnNNJjw++5kqOuHy2UWqasy520pH+N66rmfLYczs=; b=W/QghAv5XUaf6Ee5cBSaQ5XvVCIDM/JoE6Na+ulHkIIenaHOmMJjZ9xx3XAtSqLyJt npucSAfctlvV0WTCGh38+E1eI188n+UkGU7XiS0F/nXhwk6Rl2lWpP4hKgXqnYCMswNK +Gx6pj1rkS32LHpM2u3Hk7Vt1mUr6SS3BD/KOvuz6z0bCfUAF4rcQ1v8KSZySFgaCNkf 4FWOKlEngv3AH1fI1/iBo2ekjz08OOi9u7CCn0g672HIp8N6KsxfVDR8FfZfbtHK5Lkj IpbGCj/o9jXjKHfAIOshH81jVUx4ek7/hRdZX2TQ+9JvbwW1W52x/FKmQEYOL/qFBIkr uyUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRL47zh4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id kr6-20020a170903080600b001bbb39c68b2si21732335plb.178.2023.09.30.09.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 09:31:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRL47zh4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 8A64382CFA4D; Sat, 30 Sep 2023 06:41:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234231AbjI3Nlf (ORCPT + 99 others); Sat, 30 Sep 2023 09:41:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234171AbjI3Nla (ORCPT ); Sat, 30 Sep 2023 09:41:30 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A66CCC1 for ; Sat, 30 Sep 2023 06:41:26 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4064867903cso48702775e9.2 for ; Sat, 30 Sep 2023 06:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696081284; x=1696686084; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ob3ZO09IJVP3lc8Sqc/svAT3F+GaUvuno74Y0tUjZPs=; b=uRL47zh4ltsZTD2/mLBEkpEuh9RE2+QuTvNKyXXS1QeLkBBcwgByJgtQQtm2ClO3fP 9HgNVqkWr/Qn24qUewYG16m+61qnaMjM19+Rm/Jv17R1ni5E/S+7TNB85JyEwRRVirYm jLDuJUZQ4bhpTYEyzs+zvMhiZCqdoMaB+VTlfgvEansvCfH2puh0Gm2TYlLLgTq6r7bB gwOFdcsAF8EH+xfcaSCmH43pkyc5SSNBWQfIdpwZ+nkbRiZcyh8P2v1+drlwIDcvgeTF NjnHvB9O20BoD1kSpg+QmCUOJj4g6AVQ1a0iPuDo1Mwhw5gPqqBvVFKmuIetvHGmmVaI WtMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696081284; x=1696686084; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ob3ZO09IJVP3lc8Sqc/svAT3F+GaUvuno74Y0tUjZPs=; b=rVW55PrKZli45x6W5PQRKMaEpssmG8OKf1fnaImrZZ0j28npTLo2d1I/vzxU/EuPB0 ijnju15mkhlLTR27AgDj0/XNqXh9ixEICRKMymNrAt1AgJPbGGXzw+XJYIRsXLQGcoNy CHjHiGlA3XBCbBf9lm2ydRpSssOJKg6AiwTb4H/+JY0QO/UoPSrSaZtZVeIQjuPbksmw 8SLFQzza3UV4Gew/g9TCyVmzo8qnYGr8xRdKjXnm5p1s+msotntAAB0DG3U0g5R++4MM qSqBsw2nEd8O7rrJQLFH8II+BD33rxIvlx5rdy2ziKz+rF6asdX17SXYa6DVCMGq5FM/ Wwtg== X-Gm-Message-State: AOJu0YwKAZHAEP0U5XcuXZyL2uVJoRumU19Yf1A67kWDz0yOJnUOkge7 yzLwUrff3F0ltGUtrfWyQi5iGQ== X-Received: by 2002:a05:600c:acd:b0:405:37bb:d940 with SMTP id c13-20020a05600c0acd00b0040537bbd940mr6377448wmr.0.1696081284776; Sat, 30 Sep 2023 06:41:24 -0700 (PDT) Received: from x13s-linux.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 11-20020a05600c020b00b003fe2b081661sm3408261wmi.30.2023.09.30.06.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 06:41:24 -0700 (PDT) From: Bryan O'Donoghue To: andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.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, bryan.odonoghue@linaro.org Subject: [PATCH v2 5/5] arm64: boot: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Sat, 30 Sep 2023 14:41:14 +0100 Message-Id: <20230930134114.1816590-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230930134114.1816590-1-bryan.odonoghue@linaro.org> References: <20230930134114.1816590-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Sat, 30 Sep 2023 06:41:54 -0700 (PDT) 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"; + power-domains = <&rpmhpd SC8280XP_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + mdss0: display-subsystem@ae00000 { compatible = "qcom,sc8280xp-mdss"; reg = <0 0x0ae00000 0 0x1000>; -- 2.40.1