From patchwork Wed Oct 11 18:55:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13417835 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB5CACDB47C for ; Wed, 11 Oct 2023 18:55:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233219AbjJKSzt (ORCPT ); Wed, 11 Oct 2023 14:55:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233287AbjJKSzs (ORCPT ); Wed, 11 Oct 2023 14:55:48 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B09AF for ; Wed, 11 Oct 2023 11:55:46 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40572aeb673so2533885e9.0 for ; Wed, 11 Oct 2023 11:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697050545; x=1697655345; 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=82Kqf0UBYM8c+UzHOY9T7/SD0aaAr6GxwSoS4++hAHg=; b=hQP+TLVuikwIdHYhkqGAk92054ldijooPV0JtzUH11yod67JrP92oiQm73KaJjUA7k Jui/n/dkvUC+DNNmTVABIpOnGOdctiD5PrE228h44WcDQ7fO4tjlbtryF4LOO2DpBigM kZ/kQbMXQghYp89pKwBL9TJJE1LCrrD6CjJ8FG+WmofSeTqLrf6O9CF8OdVba/nsCrZJ n/APHvt2tW3arPFyR23qLQyOP4Xd31qXPXi6l8FJbe7LLSwl3dxY1mMhZMh6TfwfcWLk DaRIeSSV5j0Kj6XOaQ8KAe4w8RuUowwKik2qCM5z6zMp3jezv3g22ejUXzt495rcvLOK gCWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697050545; x=1697655345; 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=82Kqf0UBYM8c+UzHOY9T7/SD0aaAr6GxwSoS4++hAHg=; b=u9yXUy93WqsP636tj2KDthaX2TmLi9liQj46TBnm8UUvbBeDYBxSRsWDi5Lm1cOtJR FlObZmdTrH8UBB+JXqaTNyjU+rEN8FjLlknvsuMicuRVqpJfpXr/7jjRZMMqbFU5YBvn hYleyrxKM2tcCrDkzsfdsOQoS0IyPHRd5JyfBbSrM3IV1mCzHYdbyRK9VmqPBlM2n/GP S9/7O9KGILo7Ra/PgLfDkjd9X4DN39229AXveEmZGvmUcC7TlUqfYzDV9itJxaBPfKHU CD8kd/JSFQwoIgWqnxZM+vKmjQgTJsqaLrba/b8Pqn9Ao+5XPJYhG4Sysk40hJmf5lyM iVBA== X-Gm-Message-State: AOJu0Yx7+HGKJv3nVwV3jOSxME0d4APfYT6BmZh/df0IxeMvU/s2r5x1 TD08KnIiGVBuWyqEub2yGtsQgQ== X-Google-Smtp-Source: AGHT+IG7mwdySNgdPY5aORKiVHGGeWPjL5iVkku1uuWMYD0j1q5Xe4+r5a9UjJqfCoxYF8OZBAb2Zw== X-Received: by 2002:a7b:cbd5:0:b0:403:9b7:a720 with SMTP id n21-20020a7bcbd5000000b0040309b7a720mr20161241wmi.1.1697050545181; Wed, 11 Oct 2023 11:55:45 -0700 (PDT) Received: from x13s-linux.nxsw.local ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id n22-20020a7bcbd6000000b004060f0a0fdbsm19928294wmi.41.2023.10.11.11.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:55:44 -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 Subject: [PATCH v3 1/4] arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Wed, 11 Oct 2023 19:55:37 +0100 Message-Id: <20231011185540.2282975-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231011185540.2282975-1-bryan.odonoghue@linaro.org> References: <20231011185540.2282975-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org 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 --- 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>;