Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1306876rda; Mon, 23 Oct 2023 08:39:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0xFyk40l3KlzptVt19SSG29l1gp1SpHMNFmuZy/oeiIpQ8ALF5a4SoYchsIrbPFDZiSyP X-Received: by 2002:a05:6a00:2347:b0:693:42d2:cde0 with SMTP id j7-20020a056a00234700b0069342d2cde0mr7790170pfj.22.1698075550162; Mon, 23 Oct 2023 08:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698075550; cv=none; d=google.com; s=arc-20160816; b=YEWkQNhML7S+0VcgHKDWNvxinVDilTdpwwjscctibXdBJ7m/m5vNs0Y5pxFw/awtTj AXZsFZwkhPayq3MJEDGnbK+NKxm/NNbe31f8Uqmn73abg+tMdmhaKICqWcW4Maaij31K z2Gkavortxk+ho5W5kBs9cpJAiJcUbnXJm8sz6FlALZ9iT9CKEFm8FpIqtgdGosudtou rxPiCU+pHLhjrMlAKYYodZdCKDPkh6Etx7A3O0tRa0qGVKH8FmbLE5v6qp8dk3LEpEoH vr/Jc0/+tygAehEVYKdKOim+pu7b+hLnHNH4TGsV0ugVvICrgCuwBJIWWyVMeLFZ3JRX UCoQ== 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=axRmTjGGSRIsqAA0ls0ucZqOoLEyG0ABdoRt8jOYBDWxvpoJrcgnmj0gR5r5Q/Ph1c +l9iBziqFUCOFg2682FWFS+k1qPz/L6Cjra8OcSPscmndXhy8jVzfG9Gx1HokqGhAV6H Drt7MI3CZyUI9wMPyPCzKImJQa/D2R7Q0a0blzFh0xxR6oBGE9MuleeqK3thBqoZpii4 t7z9wYrhWwyXKR5JmSGF1j8l1ZrN6p0t6xMq6II3dmtZ0LkCz1CTzaO6n0Yzp9VFewke 8wT26tnq6Lw+WD5uRi+p+PqxiJaGiToSdTnbtwIopG4dTcIytlQSbW06kS5PMc8ea6lh mUyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWTNjPXB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id f2-20020a056a00238200b006b1fb740866si6880361pfc.189.2023.10.23.08.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 08:39:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWTNjPXB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 3F3988060C84; Mon, 23 Oct 2023 08:39:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233188AbjJWPip (ORCPT + 99 others); Mon, 23 Oct 2023 11:38:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbjJWPig (ORCPT ); Mon, 23 Oct 2023 11:38:36 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44B8E10E for ; Mon, 23 Oct 2023 08:38:33 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c523ac38fbso50442881fa.0 for ; Mon, 23 Oct 2023 08:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698075511; x=1698680311; 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=qWTNjPXBXo02bg2JHbXcWVUvQi6uUlqULZ4dp/6ehrzn3gZJ44BxqzyYbkjS9lZd4m eqJbN3ArmiAJhidSJuggjX7OrQmw9udwlQdfXwmXBN8SzDp5dDGT8abNR+5SYQVxnzAZ oqUThjzYBHxpMftXe04NAbtK5LYRTuIvixecYgfP/FMA1HnZ+ot4WOyBspMQgkXQeMLh PL/lg07mLYfiYU2yXIthAKnICyUXPJ2GXE51iG2Z5rwrt45Wi0u3MkSH51gMoXDPBsfj W6Ql6WuIamK8yeG9fNeLsOgifZuWHl6ORLZwUTNveXbfMYmAe9Z6Yw1xPdGKMuJHob+G mv0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698075511; x=1698680311; 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=kc2YVoyxiCW28KkRLS/7lY3qtdu8ScmLraR5i/adij7s6a2ny6VxrmmzZ0Sv1pZ8dv UUvSmYUgWfLReBVJvCl4XN3Xc/N6SynEn4VuXo33clUifpcOvygN3UTW3EakNyF7Rzf+ QQIztrtXfjYhMJKE8N/Yshuqu4NN0aoD4plTlQWwIsK56Qt1C4Ubel6/ItZIS27kleCy 7dScJBbftoVbfsg86IfZap/ax8tuP8skFqVk/CrGnxBJ5l/v/j/Y//3m8SkGejjc5pYx YbCyo7Tt3XJ0AawnjUqjJBGlpBX+jFlhJ02g2ZxXzgHSIr1KpcIVOOiWe9IwqxXPw9tL 0cdw== X-Gm-Message-State: AOJu0YyGvCJBY4W3QR3PRuED6vhOzdPuIi6M70MaL0rW/DpIr70yflgZ XryyAAWj5cQGlm9p2TLK/nz2/g== X-Received: by 2002:a2e:8619:0:b0:2c5:1989:ce1c with SMTP id a25-20020a2e8619000000b002c51989ce1cmr5983085lji.26.1698075511078; Mon, 23 Oct 2023 08:38:31 -0700 (PDT) Received: from x13s-linux.nxsw.local ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id f4-20020a5d50c4000000b0032da319a27asm8096929wrt.9.2023.10.23.08.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 08:38:30 -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 v3.1 4/4] arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Mon, 23 Oct 2023 16:38:21 +0100 Message-Id: <20231023153821.189331-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231023153821.189331-1-bryan.odonoghue@linaro.org> References: <20231023153821.189331-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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 23 Oct 2023 08:39:06 -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