Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2717312rdb; Wed, 4 Oct 2023 09:19:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0eJZxKzNVTDs6vEvziXMQxvCswmc+ImtLVqh+gd/DJSu/88Y3fHpRiC0C1DQNHEIE4U1w X-Received: by 2002:a05:6a00:f8e:b0:68f:b5a3:5ec6 with SMTP id ct14-20020a056a000f8e00b0068fb5a35ec6mr182261pfb.0.1696436358408; Wed, 04 Oct 2023 09:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696436358; cv=none; d=google.com; s=arc-20160816; b=xoI/zhiZaejhVIhh1CkOyBlAyoG2zLenoKMQlxHqsXoXDU3iikYLvLrAErEwGjSx6W DwclMsDJbKkeJuMS1r1NdfcZt6FviR4/kAfUqbKLWya52edNRexg4X1skGGkogQka6H+ 5asuUzA+6kJPsztd96+f57r0FXLSlk/uwhskwtHjN9tIcnpftcQ9OLLOR7TmCbQRzxQN Rojd+7WyPFAZ+jR5wwvBPM4trZDDY7Ijhpqm5T5zsfqG7pAvoWXlVCEPmDd7LYuHo3CD 0NHDaXahI6f69Yhr1Vwzyh05ym//vYbTlliUV9qLNaIGlNyX74SK2Ulru7//a6gJ7KRV 0/Rw== 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=UjeKQJmgIlbMP/dNNwH5t2KgftzU9p2Ko1JZkEhtKFyb/P/lxfnq1WNIwR9esRXfzt ZWpaySLa5ygLFQHZ4HozoYau+Y6yFURY9UGb1rbWmM6/G+RxEI5sqgZLjPprwETOsxmQ NipSs84EfyLVZ9tzL2YDsNSofjUcCk1Rx1sdBA+r7LDgUSUXHO3zD9lWuH9vtRz8PFWP Dc+KwmvCGMKiMXlLtRMaXRN2JnXvjV4xSpFn5726JSDVQIt2JyzKuguxjRn0nYvit+T+ c5fYmsYPrhLbgG1c2ZVKEBw5CBIjbF8rzzKMpqGpyY18WikZMWbz4to+2pMw+wmhMFRV VgSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QYDaGEd3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o127-20020a634185000000b00578b40703bcsi3648261pga.885.2023.10.04.09.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 09:19:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QYDaGEd3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 52244837139A; Wed, 4 Oct 2023 09:19:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243325AbjJDQTL (ORCPT + 99 others); Wed, 4 Oct 2023 12:19:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243320AbjJDQTJ (ORCPT ); Wed, 4 Oct 2023 12:19:09 -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 9DE7AD8 for ; Wed, 4 Oct 2023 09:19:05 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3231d67aff2so49964f8f.0 for ; Wed, 04 Oct 2023 09:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696436344; x=1697041144; 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=QYDaGEd3WfsgX7TJQl50NXCLncJBjlKKTJ+ujjmdK2IfG/T/DPKjiIT29icMI2JyRY i5I2q2iZfPwiHZM98pgrOPJurlKni2Pd7SW6BryuiEFpUfV7ivre+tgYbnHr+/XPkB5C NMtgLAX+3KXBqh/bQO7E9P3CA7AyPMDMFJv68tgqGEN9mEy/LyUMt4sjIr7djxDO63Xl reOwG8hKZV+gSpzYTQd4xAL6lWSEg2wM0/JhgLJCIkwICghPjzvRbTAgfnmt3tTfsrhL wGEJn8Vsnjd5LiE1uD61WvAd24j97qPO9/AYpZigPxuKcQB9P7l4PiLjyK7yE5Yu8xYi npdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696436344; x=1697041144; 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=KCJkp4R1FK4HGIdtBaaBYQJY3pHwG3sSXUX6p+2++DxudKDIXL5GR7mulDwqY4DgeT nraLOSEy8kPMFEV9UNvKLN8WjNuC4rM4H8pN69xtcmqAWmwXeA5S9Ku9rQySdAUTi9RJ y+AOEtEeUOsg/Vz+S50LTmXuhrwf9k/sMc0RbPb+gUDXcLBS2V8TGvdBQiIZzMYkQpB5 9aS1kjDWKAGihH1cL1t2EndqnQLmmhKh7nll+dmTB2mXzeCQIG4EK2zqKmG6KB5jEhxd +Dx+q93rFiqgyZYhxA/7IWMgYWjOiMXONh2svOmbJ4SNMDCmhC7SNYS88zEjYXEmV+Fc cBHQ== X-Gm-Message-State: AOJu0YzlTufwhWlMVbgs+cSmeXClkCXu3UxLh0rSm2M++k5V4PytQ82d INn+ikbz8zql8epbRKfrm6vhwQ== X-Received: by 2002:adf:f48e:0:b0:324:8239:2873 with SMTP id l14-20020adff48e000000b0032482392873mr2587437wro.37.1696436344039; Wed, 04 Oct 2023 09:19:04 -0700 (PDT) Received: from x13s-linux.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id r5-20020adfe685000000b003177074f830sm4366940wrm.59.2023.10.04.09.19.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 09:19:03 -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 4/4] arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp Date: Wed, 4 Oct 2023 17:18:53 +0100 Message-Id: <20231004161853.86382-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231004161853.86382-1-bryan.odonoghue@linaro.org> References: <20231004161853.86382-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 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 09:19:16 -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