From patchwork Wed Jan 27 14:49:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 371557 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp345728jam; Wed, 27 Jan 2021 07:02:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJykfnS1ozeq8T5creXHWFoxaPh2XEIjuHdxomjv79XYRJtHAkXKh/Rz8bjCe8eqTfIF3/bC X-Received: by 2002:a17:906:d8b4:: with SMTP id qc20mr7385116ejb.451.1611759768181; Wed, 27 Jan 2021 07:02:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611759768; cv=none; d=google.com; s=arc-20160816; b=xG33qHM1L4CUJ2sDDpjoWcw5imiQQCv0HPFipXbKvaUlIwQESgesoe4zUjaweuKYgq 4etrRtkmXcmg0SixoJZxUb8rGPi6z5P0THUHPk5otOFCfnTNCCkoqRlMa0pc/e+41d8k 3hip36GdGG4R5DshvYkjgA9wobjS218qZZ8m1qz0Lj4zLb0asdDcwiipb+GsD7NuZF0k 37bqdjPT86vqPLMNCyZjRijdeq9doaIC/u7hN+qBBA+DcBaEZE5Wy5re5Ci1d/vA75ca SqJ8Wp2JRdgMqNDGbhfYnl3aCU0NcRJe7GzOjBMoImrZW1eVMrrpcooypKhVom+h8MLz 8U6w== 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=qzLb3dT6AIr5kPF+4l03iCTcZCFsRv3qi5VvG9xB0Vk=; b=KRVGZRSeQxHMr9mKJc3oqbDtZGpFia9EQ3VxdATceMdjiFyjO8ZBdlboa1yaIwM4KW xC04qnOfiehEgz2e/YvgXxdTIGTnmBR66WMT6XU/gw5dBMMfrf724j3ECVmSraq6ywnu dcsZ+9nex6wRVNBYBmdQ8CJOvVHCL+FcBAN0mwU6IoTLL3kuE3ZYadA7x6lhmCYnYePy eDJouSSEsLYbgoskupztjMr3L7xbAnZE66LLK0E2K6QJtofoJdyFsNlpEgs1b3+gJoWi dQnO1zl9A99BfZEC+nK5+xK3VooPY7BFRup8so0kqBgHnMZPgcAu5Y8k5oyCYkSDYUlj SLjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iI0fI7qS; 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 v7si903823ejh.668.2021.01.27.07.02.47; Wed, 27 Jan 2021 07:02:48 -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=iI0fI7qS; 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 S235312AbhA0PBy (ORCPT + 6 others); Wed, 27 Jan 2021 10:01:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234201AbhA0PAH (ORCPT ); Wed, 27 Jan 2021 10:00:07 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B050EC0698D1 for ; Wed, 27 Jan 2021 06:50:58 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id kg20so3045021ejc.4 for ; Wed, 27 Jan 2021 06:50:58 -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=qzLb3dT6AIr5kPF+4l03iCTcZCFsRv3qi5VvG9xB0Vk=; b=iI0fI7qSlWkJI34fsGIipcCElN7s+olGORAKPT4kHnmgovhq8eWOpD6Sr+kDkATRhY 2AaMUp1sWtFATvIJlWgdqPxH0z5MOT58N26M0RNI5wsNUoXRt9o1uqiFkFh28o9vyhDe rTUv1YYy/1pjeTKX6I6qqYlmV6v5zrW1C3I+4xmid84eUw/aSJaVH8n9CUzwU2Ekn5BZ uP6ZfK/Rk8JE6zQYLXRzckZTW+Ev/s1tLlpa6Vse2420dTHmneqYWpW+X838LgtotTzu ihIJ8TN+Lc3fACIG6E+yj0H3zs8kTVXUq3+KW61B6cPGFEEaEW82fRYrTsme8opZL+Zh l81A== 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=qzLb3dT6AIr5kPF+4l03iCTcZCFsRv3qi5VvG9xB0Vk=; b=lgL2I4uYLaBtDK/k35X8LWW+ykIbTjE5Xwx2V+AOlwjTjo5jG/s3nFVHcEBiAxpMwN tqfG6jR6LqJLQkARZXT2VhQ5Z9x02hViVXusKqouBb7kCbwDyIkS07DohNI3txwothej iSpXD+kWiqTKGAW+i/zQ+2lIVmDzET1Wn6TZfabBptqSW+ZgqCvgQFdfcaq33dthapW6 HNpRQbr8arPYTZBMAabUx8yXy8/V4JTGNEZruBFhg06Ehxj3rXLcRbKMeKLB+UVcP3Mg 6hwlD7tamh0UuslwJWnGDYT8SqvWnRwp9mwgNDWBmJZJJzeSfDbdL+CdULPi99wfV9dD cuDQ== X-Gm-Message-State: AOAM532jWAUf+2LMlLDh4408oekbpJV1fWlE80ToAKaQ7pjWqcIGRAdr xkVMb1OvG7V4YTD8Keqopp+c9Q== X-Received: by 2002:a17:906:7b8d:: with SMTP id s13mr7017238ejo.479.1611759057404; Wed, 27 Jan 2021 06:50:57 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:62e7:589a:1625:7acc]) by smtp.gmail.com with ESMTPSA id ah12sm947799ejc.70.2021.01.27.06.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 06:50:56 -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, arnd@arndb.de, Anson.Huang@nxp.com, michael@walle.cc, agx@sigxcpu.org, max.oss.09@gmail.com, angelogioacchino.delregno@somainline.org, 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 , Rob Herring , Andrey Konovalov Cc: Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v3 20/22] arm64: dts: sdm845: Add CAMSS ISP node Date: Wed, 27 Jan 2021 15:49:28 +0100 Message-Id: <20210127144930.2158242-21-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210127144930.2158242-1-robert.foss@linaro.org> References: <20210127144930.2158242-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>;