Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp320425rdh; Thu, 26 Oct 2023 03:16:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG14Lya8trTd8/GxIqDtNP7vJsiY+sSOQf04Q01wKeR3xCGm2DWhIpHQmX1NngwIwfqXqh5 X-Received: by 2002:a05:6902:1083:b0:d9a:d270:d86b with SMTP id v3-20020a056902108300b00d9ad270d86bmr21446379ybu.29.1698315387406; Thu, 26 Oct 2023 03:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698315387; cv=none; d=google.com; s=arc-20160816; b=lkQC3/6wTb6wqlV1I5TLi0sgfklQcFPejReN8x7y2q9+wmzOe7I+ixlolvVo3Z59qs RPRpXOYQHOWSa+rGwlHFTyP+hoTjZTAj3cricXmywR0YzV4VyFp+twXMjY88BjumQUTC 40AEbbQ5j6yeHim6SAROaGZnEhNvsFCqJXVUzLxr+35HM0MnbiafzbTm2SyFui1qkWXe RLK/AZO79efTFQE2+7YYdW518AzGBI3dvqv/4toT5pFtta1tqbxdYLPWjPxbLJSWluCo fsfgBURatr/d9qIG9hC30UgQOSJsSLG0j3EPB7u/VI088sSUSXr8sCYLgndhcMEs4fF7 +NEQ== 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=i/dkqG7TFqhS22WCtOJCYFAnzbujpg+JGXvYF9Z8Jtw=; fh=4V92UWfk1Uw7dsRTl6Gc4Lku52aRNrkO97+i+IvJYHo=; b=thbwctZQzlLhkKwowaa/wxPVOFai/Cq9yiL4CRpprL6Vq0XaodgLEjvMUwINzGkAj7 CX7oUjSn1nBpOwfQZTybO7qpOa8mDCToKlz4bp0bvyM96OIL1qfqd5cWleNVNACBWXaL LFaNG53cD5bztYB3hvVyehRYKQJDwcSzjOVtU7eTk55+EwtWO0ClIYWjXWmIJUjaDJJB kdUoNofEcU1jLM4680QlG5SeBCtGX5IizumSu2BIf8h8smTF0CqoXkN1keg8trdGRNRd A9w22JP6CgOeNiSqA8OKwlquHkx+fb0EOsb0ytmJDqxdCJdztsy4ULduKfiyRjwwf4R+ t81g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wxo3Nz9q; 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 c184-20020a254ec1000000b00d9cd69c8323si13896451ybb.59.2023.10.26.03.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 03:16:27 -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=wxo3Nz9q; 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 BDCD280EE7DC; Thu, 26 Oct 2023 03:15:06 -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 S234911AbjJZKOI (ORCPT + 99 others); Thu, 26 Oct 2023 06:14:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbjJZKOD (ORCPT ); Thu, 26 Oct 2023 06:14:03 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC158DC for ; Thu, 26 Oct 2023 03:13:57 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-32003aae100so1133063f8f.0 for ; Thu, 26 Oct 2023 03:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698315236; x=1698920036; 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=i/dkqG7TFqhS22WCtOJCYFAnzbujpg+JGXvYF9Z8Jtw=; b=wxo3Nz9qGHFv2wfl3bZHnL2oQUbsRc0bL9RBbjsMPdAz/V2Zc+q+rEqsPB1a0bwUnD ac9XQ6wAX+v2yolYmlxfqcwtKSxJ4QKUYXsGU6GnBitUsYYM8c5kam6qpmnXsSK6j8PY Jn1KfbLfXiUvGw69CIUv/B6mJuAfHw+eY5PuDEJBLMjueB8jl1ycS0m4qZM1tcRR0LKF DJfvtmoFnx7V7FwQ6jgXSwEI9PnBIjf/YiBdaLxub+g3mwNli3SzsSaCckUNf2eyh3US uuA6vn2G337Mn1+8wKyiDfYwDRlYoMmHkPjpZmon/E50rrT5gh9bdaQsYw1ADEGBD0bY hf7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698315236; x=1698920036; 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=i/dkqG7TFqhS22WCtOJCYFAnzbujpg+JGXvYF9Z8Jtw=; b=DiPUuBIvXG+kpBXJJqKuneFF9hJo2eLPV4Ktv99Yx35CaXj1bCtxzzYK0woNYl3bxs IHcRwCp1qPiAVbZcSrZ/SO/Y4BYT1SegrHckeV9zIGDKzw+Xq27rzH6BZpN+3tEscvgT v5pYZLjkRiuW0dqdYcGmsqHf/RmzsWxXDc7A0qfuipsgDVBkVu4u8o4fpnudE46mZzQk 8YC5Bbaq2MG9GMsnpc+Q5f2RkusVkS/b85TZI2gKNjxzzPX9g1QYhwmPP+e0Ylvx6dMd iTS5jRVj2z+g3Ycefs2/9Y959uqqUQlg5XaHvXcfCEcvMICPNRaJQwaevYxJ635V5JEK tSyA== X-Gm-Message-State: AOJu0YxxovvTJOfB1zeu275uleQUfXpWyePjrvBt7SygSGaPHtcg/Y1x kVN8TpBYFKwa6cae8JeLb4ONng== X-Received: by 2002:a05:6000:118b:b0:32d:a431:9045 with SMTP id g11-20020a056000118b00b0032da4319045mr1983752wrx.30.1698315236442; Thu, 26 Oct 2023 03:13:56 -0700 (PDT) Received: from x13s-linux.nxsw.local ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id m21-20020a056000181500b003271be8440csm13913103wrh.101.2023.10.26.03.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 03:13:55 -0700 (PDT) From: Bryan O'Donoghue To: andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, dmitry.baryshkov@linaro.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, Krzysztof Kozlowski Subject: [PATCH v4 4/4] arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Thu, 26 Oct 2023 11:13:43 +0100 Message-Id: <20231026101343.3300-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231026101343.3300-1-bryan.odonoghue@linaro.org> References: <20231026101343.3300-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 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]); Thu, 26 Oct 2023 03:15:07 -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 Suggested-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index cad59af7ccef..fafea0f34fd9 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,20 @@ 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>; + 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