From patchwork Wed Jan 20 13:43:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 367104 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp826391jam; Wed, 20 Jan 2021 13:31:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvXhX+wFU/RwrQGwAg8OGzB89iU6lVZY9fC2Y7E8Xje86PadLDuk6x9OxG4EQNcmxejBDM X-Received: by 2002:a50:da8b:: with SMTP id q11mr9023308edj.352.1611178270523; Wed, 20 Jan 2021 13:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611178270; cv=none; d=google.com; s=arc-20160816; b=kXmBayZI7Y5x0ChzFjiQW5WXBLPk3gmF9qwRQBVpqMgKfYx+XQNc/28wm/4J8f3FH4 WB52ASYqs0IyZ8w2w3MkGbLSlrfILQ3mNc3QJiIUtMseHcoTizkCI8Eju6nuxdGLUPK3 xT7EGunMtOBSvpTxRjTQEif7fc56mefOenh0SMhRlHXoC3LH7ZutMywKZahJew3D6rbu bhb6o6F6/0nz8rqwpRm4xmNxnIGYXAuEKHDdSEhRgVF4FJvvjvBDQQac0QkO81YuTf9o x6iiG4kDxfOMS9OIK3JixJ42bz/flqgPJZkegwRZgGf+Y5rkukqz8c+xzLLUkQd+GfiR vfcw== 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=Ti5QbjgTWhPMj8a+GyYtZ6e3/Vy03vvGfKc1MEqHJoA=; b=D45unaYpQdE8sVu7IPh5WKmdkqGNm/UKSqAmBXqlvbVhMIDe1NS1US8O6qy3dvFjE0 /vFY5RdzY9ZNa4nO+F0VjimkryqzWcyhcYBWBRHw1XncBWqm+x697ZA1Hel0Y+I2zonI Y8a1nOZ+Zqzhlt9BRCM7n8YGAM+2TEkn0CC9b3djBbB4r5kbmVE2c+Lu0rkLQKT30UX+ S2fYUQTx4pITCofnoqzyQaOpWLn5kUtA/No08t1ApKTdePJEtz7LLWe8hw11svDL38bm qQIMmvC6vSUsi1z7gHS8iI0PO8iJQ1fAY8+sNiTINCWxF/qdF+r4mZOSp7YPArUl7XZX wMzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=shXRNgMH; 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 x36si1376383ede.401.2021.01.20.13.31.10; Wed, 20 Jan 2021 13:31:10 -0800 (PST) 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=shXRNgMH; 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 S1732262AbhATU4H (ORCPT + 6 others); Wed, 20 Jan 2021 15:56:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727440AbhATNxP (ORCPT ); Wed, 20 Jan 2021 08:53:15 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADE55C061361 for ; Wed, 20 Jan 2021 05:45:06 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id b5so403918wrr.10 for ; Wed, 20 Jan 2021 05:45:06 -0800 (PST) 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=Ti5QbjgTWhPMj8a+GyYtZ6e3/Vy03vvGfKc1MEqHJoA=; b=shXRNgMH1yZabTLoYeK62q9zJLEStprNmRNn1sCOQK+Xsv5O7jPMMzf9lc1wmTpVjp OY0TcYDW6uNKMnU5DT0BIXktUUI0cxV0szJpyt1bNDpYfYdvAVzkowKw2Wj/eBrHzSmF NLqMjpGfvHjWzkQTemc4VT+TMJHkABdcL/MnJwPAvCpCPbRlQPrQCNAeyqlXhtmicNWP Au0hOtVUQXmTDcNg7Tg0xztt0+aBuxAM/AMJ+X9UuXR/yNClOpDnLQ/IU0l7fr8Ls0HN g8IF0X8a5fOrjZIj1ov8GNDco+vQrzTcl6sW2s+OBKGqoOXdgbW+XBBxVMiYVDCntL5F ptEg== 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=Ti5QbjgTWhPMj8a+GyYtZ6e3/Vy03vvGfKc1MEqHJoA=; b=G1yoOf/6mgff8KPaYcu821YvYt40V5BncJMnNB7iqNPH4cZpQLPXQwEjQv0moOOR3f OewLwaq/aEd7v/0j3oZfQTVs0z10M/EggeddbhcqYScV2u5qHMXbpZmpANFLf7Xe0IVZ l+4ZYG1DpEIjltjMKsLimIsOFrlh8EP5KlwgGTqgRu/93//VTkuvuaus0K0vf5+EBkW+ +FgS4qH+8KRLcnaI2uoyP+wxuIketjfl50H1pkTc9pBCIvMEdnaz6LZX1O6hgoJlGiVn MTJY98Lcz0CIgsBIACfZB0LXD0Y9dZuUvmG7xtvX51idGpbLf5jCkGUUQJkmtBcWqeQe yNIQ== X-Gm-Message-State: AOAM532k9WPs8xnvy7nz5JvHCl42pyyuu362NCMGOYucBZPWZGKN/lNu ijZyKYxh8/o3vqGTThl0jvwvCg== X-Received: by 2002:adf:dc8d:: with SMTP id r13mr9362058wrj.325.1611150305483; Wed, 20 Jan 2021 05:45:05 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:93b3:1f80:ae7b:a5c6]) by smtp.gmail.com with ESMTPSA id t67sm4224075wmt.28.2021.01.20.05.45.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 05:45:04 -0800 (PST) From: Robert Foss To: agross@kernel.org, bjorn.andersson@linaro.org, robert.foss@linaro.org, todor.too@gmail.com, mchehab@kernel.org, robh+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, geert+renesas@glider.be, vkoul@kernel.org, Anson.Huang@nxp.com, michael@walle.cc, agx@sigxcpu.org, max.oss.09@gmail.com, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , Andrey Konovalov , Laurent Pinchart Cc: Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Jonathan Marek Subject: [PATCH v2 20/22] arm64: dts: sdm845: Add CAMSS ISP node Date: Wed, 20 Jan 2021 14:43:55 +0100 Message-Id: <20210120134357.1522254-20-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210120134357.1522254-1-robert.foss@linaro.org> References: <20210120134357.1522254-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 --- Changes since v1 - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line arch/arm64/boot/dts/qcom/sdm845.dtsi | 130 +++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) -- 2.27.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index bcf888381f14..1ead2c77d068 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3911,6 +3911,136 @@ 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>;