Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp239774rdg; Thu, 12 Oct 2023 04:31:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnyuG9L1ck3bcPxtUETU+W3k1FmrhspPpwNo/w7PsOoiPfh8LNDV3Qr4kzGiHjCZBkLT3q X-Received: by 2002:a17:903:2346:b0:1c6:25b2:b71a with SMTP id c6-20020a170903234600b001c625b2b71amr26050885plh.2.1697110315409; Thu, 12 Oct 2023 04:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697110315; cv=none; d=google.com; s=arc-20160816; b=mA7mLjmP0liaSFRS5S15HYCmmVwOHCIf0CSzk91NnKHd3mvPtWTB0tZJ4xPlXVNGDG nkEhe9I8scCFcl+8jWpXJpdjdITotVWdGD9QGK6kOXFjcVTWPPZ0lbJId9DZjg5IcH3l efNBZWZv3TbUotgYuYjioLQeOuV/BsYjV7+/92mRV/djXMGLT1INBCIA/c9AxU0hq3YZ bBx/R0ky/xIjTi0luIHKj83+c2QPe93ZU3LwPt89tw2MlIsFPSnXxdcr1ltRN/cCbYaE sMNJDBx6BWoZVFhjYLMHdlxhd31Pvzf++GKp0uTZtkrRGle8GKYKvY4xPaXDksVyOwOS 75cQ== 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=y/efaMuKOgnRrnAAw5+trJfteux3ExJJ25PhgVnz3/kB2d1IGUMnG8iyTggwEuA25k Dp1DPzJwVPUjgSUveGNL7Mv9yHOihpVVonJrJ3yPq6FEyoR5KalRMtxrDnZxmM31K3vv 9lHUpDOW/GLinK6twT26/cPNNJL2WdgoroLCEpZfs8ciW1mOM81HdpX0+RrIBoEJGihr 7xtk2Jc4zknzndzHI39qMSrROPbL/ownJYVuIWJ8eootusajgtIUcvOSnB8sqFl3XGsm mSzSb7sxgVDApcyYnMTgypencsdeAVIszAly0ymwGnQr7LmFcAHgAQ2EOWzZLT8eoCS9 U+0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bpG3HF7w; 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 s18-20020a170902b19200b001c6095fc6dcsi1856133plr.598.2023.10.12.04.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 04:31:55 -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=bpG3HF7w; 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 B044D812726F; Thu, 12 Oct 2023 04:31:46 -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 S1378290AbjJLLbM (ORCPT + 99 others); Thu, 12 Oct 2023 07:31:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347182AbjJLLbL (ORCPT ); Thu, 12 Oct 2023 07:31:11 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5032BB7 for ; Thu, 12 Oct 2023 04:31:07 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-32d8c2c6dfdso818378f8f.1 for ; Thu, 12 Oct 2023 04:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697110265; x=1697715065; 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=bpG3HF7wO2yeeA3xaVNNGjILmaeujbC4hpkjd/YPdboa4RnIF4zaMqDxb5nnZU0EKn BskR6tqCCizR2MWaPo6WUcohFLA3pPpdn8vxIvSDsiyiDn50iuZRyE9xMxSWPiEuGjVU /RMsK6geCnOGCE4z2jTENthhXtVirDCf28lx+HvwcZHBp67ylZMsprnQHTvatClOjiPC gCUqBooxX7XpJTfO0gj7T0CMFuHCYPgm3rqm2T6AI9yBr2PhiedB3PBD+gJcvlVzfWDL sJIkgtkzRDANvSupkxxo5egPQdv/Y+86ZZ1/06FUYcrdgKrIKKecciyMwADiiXJx0Vfj yeBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697110265; x=1697715065; 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=H3iR+05NGI0Ev2AD4c/2pjo0n2rkgHro2B/nG/36ZP8ZMfQu+7ZcrTF2UTg0fCqQ8g lkU6ce9b3Nx+kfezj5wafAnZmp0VAn7zgfrUIT/F/tNH+s2HZu433yBW0zSip8Zgddml JYIXf7osQh+FrplAvPAVDuCFIj4hQr4qg+Fy2lcFDBj2ghiDVEj6mca2x71NJFt4nBmg Qo7UVGlcwOl9JTXlUM+Ao1T02gmx/kfKQhQiW5P7ipE58icS8vMNLMZ/1h6l65ey6qGE 8dpbq2vRaSZedtLuokIFr4dGdWXl2RU41g6RhsbBh43trGzwPi3oO1+9JuyCYe1IiwO/ lAWg== X-Gm-Message-State: AOJu0Yyes+slCPMiuu1wcH5NO9Qsh2mEd3Cm6lfjkhWSkmR6ZAbNOP4p XBFbIC7qH88RB4ItIzlSBw0Wyw== X-Received: by 2002:adf:f1c6:0:b0:324:1521:3a6e with SMTP id z6-20020adff1c6000000b0032415213a6emr20587033wro.24.1697110265731; Thu, 12 Oct 2023 04:31:05 -0700 (PDT) Received: from x13s-linux.nxsw.local ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id l14-20020a5d480e000000b0031c5e9c2ed7sm18244891wrq.92.2023.10.12.04.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 04:31:04 -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 v4 1/4] arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Thu, 12 Oct 2023 12:30:57 +0100 Message-Id: <20231012113100.3656480-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231012113100.3656480-1-bryan.odonoghue@linaro.org> References: <20231012113100.3656480-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, 12 Oct 2023 04:31:47 -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