From patchwork Tue Mar 16 17:19:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 401714 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4500229jai; Tue, 16 Mar 2021 10:21:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwd4GsxmBvBpgUOiwALUV4bxKZsRDvYCI5dv30FH6PdSqkSZt9rtS4OEnI8cDcLxG2opq0o X-Received: by 2002:a17:907:162b:: with SMTP id hb43mr31640368ejc.41.1615915307340; Tue, 16 Mar 2021 10:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615915307; cv=none; d=google.com; s=arc-20160816; b=qdU4w1TXVKruQ4j4cySPmtzzg/L8ElrLfc7fIK7/MGUq9Jy87+Qor/sCrNspegg7L5 DRYcRXaxEmtCRcjpNe26yrJigcsrhAosdMKB/+i/IfHwlSQs7pPXewlhncGXGvL6E8Fj zHY6PVMrhZsx5og8gGXXo2VE6Kjqt9jmfYkao/aNqeAhBBQ1hwiqR17NK6kEIkqtnTPy XYHrTRZGCd0cdS+E9vSQNsHbuBcD0rWv9kmWYFUCemigrIf3ZSlVA4fvE6YUf8dAXsG7 RZgwe26nqdSUfcbLhRwofZ9rp4lmJ4b8CBBQwC1UPDveG4QRgQ7EBzUsrVSWYPK51u5d Mc1Q== 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=C39vPJaoWCKP7nJ06292XiFkyA03zvPZ8SuH3rYNSWU=; b=CYTXw3aVisJlaji0uwOiXW2BrqqyfCDbgxA46KU5nwGGG3wSq598HLGw1Cd6dialVk 3BGAFaAxcUG6c1v6A/RxZlHy2oJXifTw/rhAxXYN7ZRi6j78YkdsAK5XaDUG1SfOmxbC t+fOBJf8lhO8dvZAZSHkk9GhN2eQqi9y4yVnd2LBe152B0PLXKrGq964RpExA7f8vZus jdW3E6icraQATsv3eFMI5mbPY3bCNO0ijZhtF89uexsXPw6nhYUrjozHUXMPyIVSSHiu QzK213TvGwr1jGXd3E0YmIA2+YdP7LCHtQT77mEarx+zb3J1w0KjrjMZkGAGQPbrsq2o 2aDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AVSaCv+H; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v28si15629914edl.428.2021.03.16.10.21.46; Tue, 16 Mar 2021 10:21:47 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AVSaCv+H; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239129AbhCPRVT (ORCPT + 6 others); Tue, 16 Mar 2021 13:21:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239174AbhCPRUj (ORCPT ); Tue, 16 Mar 2021 13:20:39 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A864C0613D7 for ; Tue, 16 Mar 2021 10:20:38 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id bx7so22486384edb.12 for ; Tue, 16 Mar 2021 10:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C39vPJaoWCKP7nJ06292XiFkyA03zvPZ8SuH3rYNSWU=; b=AVSaCv+HOgA/VAjo8neqALQZsyUEzHJUhdCfkGIXrUtrYb4MofHqTwi3Fe30aPHz1R xmwFSwW3af2WVvau5UU1HoLrPyiJ8QwGqqeb3VIi9ljSllx7Wk7iz1E0ZbORlW8ih0Z6 jqUJ6sT5ezluWrNCp7Y65QZu1BTH46ZoGBqunva9EP0N2qgTpxxeMApK8WofAGjpCV33 9Ia0JiutoVVwFAslkh9JR9cDO9YeU3PKYznsLaESIlcSg35z0gTzujeBRZIP9u0vy+3z KvxdwMY323o0UkbRmJoHh1EUvLXMG4IuEeEYgdeKemWbIejnoRsEbKkjHrQlGge+GztX V8dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C39vPJaoWCKP7nJ06292XiFkyA03zvPZ8SuH3rYNSWU=; b=TNoIz8h6u8M3NOjruQLPG59ksGEGZpOUNlyC1zvTPUXvJst7V/Qw9NLeRvLCb6MMx6 U4uIv1JTm82fVyr5mziAF1WkTtYTUUxVr1YxGYBU5yXV76x+/e0zpKTy6P/rpSleoqPX RiRPipcQK4h/HypldU4veKZlehSRrhyfHRpP+JbWxhgS2Tt8akFlzHFKA9uxE3FfRfu6 e3ueSHRocZ/iAt6/6N5QSrQwDN27rkYT+Zofc9lX7JdGxI2LUizFYFK84kpvmuhccKYm 74KiTAdO9aMhymCY/LhNpZlyKQlDwIuIVs4/G3S95mQxm0VQcm41d+4T+5ljtnZd+Vwl Hkdw== X-Gm-Message-State: AOAM532i7oftogFTC6xkgTHDsec+1Z1bTqxjhHfEOpJcx5QMm98l6K8e qGz+NphTzYeQBUTaylf1vnOjqQ== X-Received: by 2002:a05:6402:512:: with SMTP id m18mr37002135edv.372.1615915236821; Tue, 16 Mar 2021 10:20:36 -0700 (PDT) Received: from localhost.localdomain ([37.120.1.234]) by smtp.gmail.com with ESMTPSA id u1sm10571584edv.90.2021.03.16.10.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 10:20:36 -0700 (PDT) From: Robert Foss To: robert.foss@linaro.org, todor.too@gmail.com, agross@kernel.org, bjorn.andersson@linaro.org, mchehab@kernel.org, robh+dt@kernel.org, angelogioacchino.delregno@somainline.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , Sakari Ailus , Andrey Konovalov , Hans Verkuil Cc: Rob Herring , Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v9 20/22] arm64: dts: sdm845: Add CAMSS ISP node Date: Tue, 16 Mar 2021 18:19:29 +0100 Message-Id: <20210316171931.812748-21-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210316171931.812748-1-robert.foss@linaro.org> References: <20210316171931.812748-1-robert.foss@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the camss dt node for sdm845. Signed-off-by: Robert Foss Reviewed-by: Andrey Konovalov --- Changes since v1: - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line Changes since v3: - Fixed ordering of IRQs - Add newlines for better readability Changes since v5: - Andrey: Add r-b arch/arm64/boot/dts/qcom/sdm845.dtsi | 135 +++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) -- 2.27.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 454f794af547..36cf4503664c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3909,6 +3909,141 @@ videocc: clock-controller@ab00000 { #reset-cells = <1>; }; + camss: camss@a00000 { + compatible = "qcom,sdm845-camss"; + + reg = <0 0xacb3000 0 0x1000>, + <0 0xacba000 0 0x1000>, + <0 0xacc8000 0 0x1000>, + <0 0xac65000 0 0x1000>, + <0 0xac66000 0 0x1000>, + <0 0xac67000 0 0x1000>, + <0 0xac68000 0 0x1000>, + <0 0xacaf000 0 0x4000>, + <0 0xacb6000 0 0x4000>, + <0 0xacc4000 0 0x4000>; + reg-names = "csid0", + "csid1", + "csid2", + "csiphy0", + "csiphy1", + "csiphy2", + "csiphy3", + "vfe0", + "vfe1", + "vfe_lite"; + + interrupts = , + , + , + , + , + , + , + , + , + ; + interrupt-names = "csid0", + "csid1", + "csid2", + "csiphy0", + "csiphy1", + "csiphy2", + "csiphy3", + "vfe0", + "vfe1", + "vfe_lite"; + + power-domains = <&clock_camcc IFE_0_GDSC>, + <&clock_camcc IFE_1_GDSC>, + <&clock_camcc TITAN_TOP_GDSC>; + + clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, + <&clock_camcc CAM_CC_CPAS_AHB_CLK>, + <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, + <&clock_camcc CAM_CC_IFE_0_CSID_CLK>, + <&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>, + <&clock_camcc CAM_CC_IFE_1_CSID_CLK>, + <&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>, + <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK>, + <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK_SRC>, + <&clock_camcc CAM_CC_CSIPHY0_CLK>, + <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>, + <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>, + <&clock_camcc CAM_CC_CSIPHY1_CLK>, + <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>, + <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>, + <&clock_camcc CAM_CC_CSIPHY2_CLK>, + <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>, + <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>, + <&clock_camcc CAM_CC_CSIPHY3_CLK>, + <&clock_camcc CAM_CC_CSI3PHYTIMER_CLK>, + <&clock_camcc CAM_CC_CSI3PHYTIMER_CLK_SRC>, + <&gcc GCC_CAMERA_AHB_CLK>, + <&gcc GCC_CAMERA_AXI_CLK>, + <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, + <&clock_camcc CAM_CC_SOC_AHB_CLK>, + <&clock_camcc CAM_CC_IFE_0_AXI_CLK>, + <&clock_camcc CAM_CC_IFE_0_CLK>, + <&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>, + <&clock_camcc CAM_CC_IFE_0_CLK_SRC>, + <&clock_camcc CAM_CC_IFE_1_AXI_CLK>, + <&clock_camcc CAM_CC_IFE_1_CLK>, + <&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>, + <&clock_camcc CAM_CC_IFE_1_CLK_SRC>, + <&clock_camcc CAM_CC_IFE_LITE_CLK>, + <&clock_camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, + <&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>; + clock-names = "camnoc_axi", + "cpas_ahb", + "cphy_rx_src", + "csi0", + "csi0_src", + "csi1", + "csi1_src", + "csi2", + "csi2_src", + "csiphy0", + "csiphy0_timer", + "csiphy0_timer_src", + "csiphy1", + "csiphy1_timer", + "csiphy1_timer_src", + "csiphy2", + "csiphy2_timer", + "csiphy2_timer_src", + "csiphy3", + "csiphy3_timer", + "csiphy3_timer_src", + "gcc_camera_ahb", + "gcc_camera_axi", + "slow_ahb_src", + "soc_ahb", + "vfe0_axi", + "vfe0", + "vfe0_cphy_rx", + "vfe0_src", + "vfe1_axi", + "vfe1", + "vfe1_cphy_rx", + "vfe1_src", + "vfe_lite", + "vfe_lite_cphy_rx", + "vfe_lite_src"; + + iommus = <&apps_smmu 0x0808 0x0>, + <&apps_smmu 0x0810 0x8>, + <&apps_smmu 0x0c08 0x0>, + <&apps_smmu 0x0c10 0x8>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + cci: cci@ac4a000 { compatible = "qcom,sdm845-cci"; #address-cells = <1>;