Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp339010rdh; Thu, 26 Oct 2023 03:54:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGA6uMnrQbmzB1Eeyi9zAUlUR1X7+feVEK6fNrXo9o/UfJHYcRjggoOEqMCqgHdothRv+pz X-Received: by 2002:a81:5713:0:b0:5a7:f61f:7000 with SMTP id l19-20020a815713000000b005a7f61f7000mr3304814ywb.1.1698317670331; Thu, 26 Oct 2023 03:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698317670; cv=none; d=google.com; s=arc-20160816; b=EN9PsSrYehFxogX+v/po+RE1D0cCOeDYB9fysvNx0oJcHMi5M0aHC+KQLvcTEA8Emm K2IicqfHj062w1M1M5E/p3JGgCOrixkKy1wjH1AxjDnxWHiAKNLKartM8Zo4b71QggIm ToiobET5AESRC1QHRte4y+jQ17CEBWqc42/rz9AHT3+pzwEJbSgQhr0iObQqjIkwf3nL IvvEaGb/GeMVZMHKSRtowxGVGoJX44oou3IQBEqQyipXZjQ1+8uDb0C4E5xh/X2wAypa Uljax+HRQoeCRX+TBPl67I5hWed3daO9vYbOvbmvs0dwLiwt8pIV4e99zuLuC8yZz75L 23nA== 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=SGRWRltZ6W3hDAYFP2sUzjc3/7d+DktjS1U+1Rptx6HnbY5zl/5JHUOaS46lLeCsVM 1ZHt6Yumvov/DC2mlRDqcY2SsuPP+APiwBZbdfN7xTH0b+6yYtdha8cm93yQj/N98HUX BaoiyP71rYK7lY4fRUSZ4LTxp+sRI6Q1STB6hhmQkeeexkTwXjm9i//B6b/+DVe6C/Ez Yt3z1IDcKsrmokizr96wJ8ZONKK64Z8YTuRhVkuJThGQF4By21ouNAd6gsCe+TK5p2jW PrrOzrL8kHHghKCHzhcbWQ9wuwNOvucDMddTkPJdikoCOsJaUC0yEqw53vKyNz/fQHVf qvHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="suyFaL/x"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i128-20020a0dc686000000b0059f50159dbbsi14571717ywd.574.2023.10.26.03.54.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 03:54:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="suyFaL/x"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 8BDC4821691F; Thu, 26 Oct 2023 03:54:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344759AbjJZKyJ (ORCPT + 99 others); Thu, 26 Oct 2023 06:54:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344687AbjJZKx7 (ORCPT ); Thu, 26 Oct 2023 06:53:59 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F121AB for ; Thu, 26 Oct 2023 03:53:55 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4084b0223ccso5916895e9.2 for ; Thu, 26 Oct 2023 03:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698317634; x=1698922434; 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=suyFaL/xKzuUOBIRlxos6yDaCHsSgyEnja4hnRO7Wb0YByWcKsYFqTEIWP1FbpZORr nO7I5pI53f2ggjNXiztGWzyZVbsii5/dooQ6VNRWxU9wf5NJ8x9yJYozT+w53f2kpvJk ffhwOChxBiuAF10H+DuVbuGxWHC8d2YFLDi1vSZxMC2RzvWrrppi0F25sN/tuXcYJpKQ bI1YPMKtSnd1fQqAs2JNEBuDr9EV3xRrk3bDsJj9PW5vewP87iKV72x2OsA7JY6tuFHQ v0ybsjCIaWuxeNSnq1OGw3a6g0TnKnOlJyzL9DG2Jh9BeVp+26ZXj537eL/PygbpzF7j 1aMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698317634; x=1698922434; 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=u3fDlvemvVL+a6eaUmVnG+YSGKef2+102L8NuOsNlgSIW9I7V9Wj2d5S9Mrt6JU08N dyIXwTe2sPm79vCpnmzGGo/mFrwbCxt630b0Y9KGzMHi1+xgGBWM0rX4aTw7YAHeSDae vdlo9Ch7UtC/ChlYYu3YEBQuBNvIWPWgdhJWYMzYGAY5Arqvre+b6im0SLJ1BH3HtweE QWDJgbqL3FIYx0fM5Hwq7mYyX1ZwqqW2rx/nnZ/y2NfYqGNO6/N8aW6IQidNgdeBRPM1 +73LKWRwOEdwkqBy2AjcmgQAEOf56uBupu2RoTJzc5VL+FH6i/YszOCydFPh6zpcmLV3 gF5A== X-Gm-Message-State: AOJu0YwMOnciAq0cttxy529x1ZRA90Zcrle4CzdjhxAx8tYBXHMFvRET /TKbgA4zNmwtsGMsnjjxF/mIKg== X-Received: by 2002:a05:600c:468d:b0:409:ca6:d79d with SMTP id p13-20020a05600c468d00b004090ca6d79dmr6542090wmo.18.1698317633936; Thu, 26 Oct 2023 03:53:53 -0700 (PDT) Received: from x13s-linux.nxsw.local ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id y9-20020a7bcd89000000b00407efbc4361sm2239465wmj.9.2023.10.26.03.53.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 03:53:53 -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: [RESEND PATCH v4 4/4] arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Thu, 26 Oct 2023 11:53:45 +0100 Message-Id: <20231026105345.3376-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231026105345.3376-1-bryan.odonoghue@linaro.org> References: <20231026105345.3376-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,URIBL_BLOCKED autolearn=ham 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 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 03:54:28 -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