Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1021971rdg; Wed, 11 Oct 2023 11:56:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgHi5LNkfpaVoRFzMMXPUr6YfAL8jA/JkVIXWREH8nnUwCGWGOXCJrX7at1nAoreQX0g8M X-Received: by 2002:a17:902:dacd:b0:1bb:2020:be0d with SMTP id q13-20020a170902dacd00b001bb2020be0dmr28175173plx.14.1697050619629; Wed, 11 Oct 2023 11:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697050619; cv=none; d=google.com; s=arc-20160816; b=BXMTzmA9dr0Ol+9XTgSiG2SRsCmTpc4CXWe33ntgc1eelQ7ICRxQ8Bepnl0l+/Kmw8 hc4dLEtak3qALC8lY8AtsGyceOeoqE5gvJE6dSNhuLoNPCBYuFVbYQTgTOYLawDKe4qn 57SXY0OkJkpT2err/Tc17CZ7+txVURUiCXWQDlzIYBdBE935DOLOUYLo47IyJ52IsfNr DAhUBFKnVsJ5BCAOArENKsBFFEVsnKClYcHYj5v5yOSBwm4wdj1qtgHw2uT0pXLX4MHO gf/rw5hR149y4XHfp5RSZPCNeOH166cOeqxdb/j4KmFYYCi8X5NuqUt33JkA0j791Isr JZcQ== 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=82Kqf0UBYM8c+UzHOY9T7/SD0aaAr6GxwSoS4++hAHg=; fh=HqXb5pKQmiRoUvTzW6ObiiLCOTom46cMUEwDs3yZjT8=; b=iP5L+VKcTABfc9AhGRfTDoozYYGB/SqxdlmcK7XBwkpGHKDqmyz7IZNSWPHJlMIHEw N9oQoEXML1NxY6QQ4wxWDV0MY76qS69GMv7GfXke0S9WRGpb9tupUTy4wdCpoCmao+GH lYwWY64vnLdCdApTxFgR8vdS1oISLi3ie9O/rlNEGzC+EY0c7amU+dEl6V0omBG4OW5K v00NJcPSGrn61UwcQnbAzv32+w5JfyciIVs+e4/ZjcWpBBehwPNM1zRTdceK66nT5K3k ZP/0i/0vctwCiEHkRwtmjLcYTXPra3aPQ57AdUjtSZ9ezw6MOYGZJ+WddknbhTCaawLy +UNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hQP+TLVu; 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 l20-20020a170903005400b001b845157b69si271522pla.414.2023.10.11.11.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:56:59 -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=hQP+TLVu; 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 4F9C6803E7B8; Wed, 11 Oct 2023 11:56:07 -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 S1346907AbjJKSzz (ORCPT + 99 others); Wed, 11 Oct 2023 14:55:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233290AbjJKSzt (ORCPT ); Wed, 11 Oct 2023 14:55:49 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1BF9B0 for ; Wed, 11 Oct 2023 11:55:46 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-406609df1a6so2322785e9.3 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=ElYBVA1eNKPBf4m9Jl5F+i6wwH67nPGMeIG6SX8tziQJwDsdxnO2woZD6do977Yudm +6fVz25XQocAYgKkewADhuBbFRCtciffB6f9PsRYHyeBjrqv+ic+9dDgulzQGQeLazen 78179sAHdwaLy8bfPdtC8ACfpkcqsNL1VVYpuLny5VjfVv6idBYAufTnnBXXNB2vM3uY PbXr8YpmRgGBCsjqz7Nzs6eVGh2chgqPDMp05uu3/lrZBW/OCzhSZO+NY9/dGf/+xUMM aMW/4eH2NE/f0Vxu/FlZZccHtbqZh67o89/HaL2aVe7casVT6q6NV+2K/E6b0VGIq5Qs AH4w== X-Gm-Message-State: AOJu0YzyaledB2FJm0nLMCzx2Xd1qqBrRhWgKgGL+3WAssK7/lohsC7+ Q+rYuVoShgyEVGlQcn+jsKKw8A== 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 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=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 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 11:56: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 --- 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