From patchwork Fri Feb 5 10:44:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 376911 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp2124634jah; Fri, 5 Feb 2021 02:59:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwZymKEZYH/UuFnkfXlDD1HnQ98nc7bCuqlB+lFS67EE4ROzIYJjHA2IRtq7FhmyvgfJtK X-Received: by 2002:a05:6402:13c8:: with SMTP id a8mr2907375edx.191.1612522750666; Fri, 05 Feb 2021 02:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612522750; cv=none; d=google.com; s=arc-20160816; b=hNcIMrJJoHA/zDSHfxNd0GpRx3x6KMelUjqqUcsnNkfUVt0XNCE6kxXhqi8aCKj9od pXnDRByqgUsA+43toTiRJ13DvTlgFFsatmCDMnYMs3Va2gCtGk+QG6LCepQefj0Jx874 j9Q6C3CuyrzJjBeu9OhrNnt8m4TZ0FUT+uGXcaKyEsr9t4av/T4U9dm4lN6repQbBZES s5nebOYlDiZWFzDjx1fCetKVRSFDOr/hRGBkHo5c9/220ulj7rZHWyGjhn6KJgviDDMX bMoWXuzzlC1M8mYAYdnzw7VAn84XwrFRoIQdkZ5PBJycHc3+d7qnt8moN/Q1tmE0diP1 eunQ== 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=k+gRnbGA+oLJs8URbHRCKEYvN9huUFcC+kYQvKNudww=; b=NKwRXXYUp74v0nPpZLFK9d6u+lJAZxSASZjWZpGNyyNxz9BmHCUSrKcIu1q7hQNMQb L0Edwm/3lEnGz6y7WOtcyPli9SJMfPcV+tdn6ifAZb02ogO4ELnCmi6JsFER8O0iWi3/ CyMD9P9XUT98hW96Ow5UPdWAt8F1Acat50F4BooofnuwHr/Be9aJa0q12S5xqW+YciFm SVdU5mi22hN2HAS7GBTu2lLD6hIgLBh60NvuMUAh57h5mJdGOWApSkRTjdpl6T07/qbs AlEx7l5e0VbqU30Tvd0t/txvgwcYx9V2xHMgEJ2ltWvlrM/De6txjywqf1LbKpoP8v2j g5iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PAYHHy8F; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 y18si4960129edm.449.2021.02.05.02.59.10; Fri, 05 Feb 2021 02:59:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-media-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=PAYHHy8F; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 S231363AbhBEK6G (ORCPT + 3 others); Fri, 5 Feb 2021 05:58:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231591AbhBEKzI (ORCPT ); Fri, 5 Feb 2021 05:55:08 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 964EDC0698E2 for ; Fri, 5 Feb 2021 02:45:28 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id i9so5529706wmq.1 for ; Fri, 05 Feb 2021 02:45:28 -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=k+gRnbGA+oLJs8URbHRCKEYvN9huUFcC+kYQvKNudww=; b=PAYHHy8FCD6IekZmorU1p8u5r+5HinGUgn1wVqReOtK/AGEYeqWN9ELpqz4LResLw/ SSJDApD6g5kGcBW+l1DN4YedKuvzXqCw4G/SEcccw1sM+j0Np/GK0YKQOWlyAq/Ew739 Xt0FeZnLvs/X6JmgP7u+m8nR53pKUgSIHpOwWBi1at3gVZwYQhhCfKaNr8P//OZGB42B 4TaCnxoAe1ZFhctt3Brv7jIJCOaZ8tMi7x4GaIV1liOkant/bY4dXUsPfPNHIvc0hpsx 62Nanjs8WPGgPPIvfoaI75u64LQ47wEg3h5dR4cob8l2cR8LM4cMtiD0+tLCUsidtscJ piGA== 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=k+gRnbGA+oLJs8URbHRCKEYvN9huUFcC+kYQvKNudww=; b=Dw1rBXwnJPqKHvcwR7rGYrZ4KoisK4X930Q83OVmjxvWXCZKv3BwkQKjVlw95FFqhZ x3QbkLsOIY0doWQq70eYq8okEjQzI7yve05Nl4NGYH66orjcEx7TTTfOS0LkkGLcVsCW 7ggqq6dmxY6f7PTHMIS4jCV+cjaza9hXI3aa4NEq1zZ8j6wMsXBARsyI0gyflt4TXMd1 Ak1omHvC7VDuUSXjvYdfYEdyU0pTcVhzn5il6AwfSoh5Sh6wb69Vrj7EQMhgePknK669 +iyGxJdYHBAA6/NLOw+JZADrdeBvHJgMqPADHp5QA/XIC0HQ07FbxYCLfGGcwsoNIk8u EBSw== X-Gm-Message-State: AOAM533/rHsA2lEXciV6UZeuh0EEMNmoOUf3SKHCcR0JHyh8wI2qMn+Y K7j1Z4d5CrzQeF91LBwRNc3cAw== X-Received: by 2002:a1c:9dcb:: with SMTP id g194mr3052423wme.59.1612521927332; Fri, 05 Feb 2021 02:45:27 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:38fd:e0db:ea01:afc8]) by smtp.gmail.com with ESMTPSA id u4sm11300233wrr.37.2021.02.05.02.45.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 02:45:26 -0800 (PST) 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 , Rob Herring , Sakari Ailus , Nicolas Boichat , Andrey Konovalov Cc: Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v4 20/22] arm64: dts: sdm845: Add CAMSS ISP node Date: Fri, 5 Feb 2021 11:44:12 +0100 Message-Id: <20210205104414.299732-21-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210205104414.299732-1-robert.foss@linaro.org> References: <20210205104414.299732-1-robert.foss@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@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 Changes since v3 - Fixed ordering of IRQs - Add newlines for better readability 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 bcf888381f14..4fe93c69908a 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3911,6 +3911,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>;