Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17434559ybl; Thu, 2 Jan 2020 05:27:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwo6piqAuhyYc6uuEoTkJPx4x2zGfDpOUG6F0WBxm6SfevOgRMmT8bZVMopuYY1c/ayooTb X-Received: by 2002:a9d:4f0a:: with SMTP id d10mr76726849otl.85.1577971675991; Thu, 02 Jan 2020 05:27:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577971675; cv=none; d=google.com; s=arc-20160816; b=OGKhnlcJGhPubBu4jFCxBcUr7X2q3AYeZerPTFxOLFV2dZn9RTY9MVijNFOtEkn3/d Z/RNQDTCcsad9fsBlj93Jfrh1jSBACSmMe0CWCsIUQIQrVMxfmyVt6RNs93uQvuWjeB/ A6qIwW6xcBiwtYPsdLmkAAB08mR6B0sfuNM1k5CuKz3WzVHTSidV/2NDWC/fXdqXwNu2 86JG7wn1MBKjzcMte7Ads3r9+QUmyNEgLqV+/xcgYAPnHlpcP/cgSJ1hNU5ChmlbPXcw cN4iz1DeQCuQOIp1vt0dAKYMO7vIAhxFXKMdAGzS2ny47cNjLth1lWQJtCE2ZU7Hd6lO wICw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=RVxvW/VYf4mzF04e3ij8/UR7c+XN+6lV1jH8GkyFdEY=; b=SOrsmxUaRlRNtzXvy2g5e+vKF5wJ0NvT/SW8CvanCI1BFLkDku1vIGvZxm1wraYJy9 Ld2JHNA/DigGIJHJrEetW+EOefllNjCtXXXXCBMurciBMuLPN5cVNeW+c82trHoOdoo7 LSACyVVAh5DdLyp+mw3ozy7o+rK13uFbVAnYn8ZYtM3LKx4Kgj8VMWSH+DSW5bUM/P2m v1IzYk2mzBvX83uDyBxIsvQndXOKfczqdY4Y5EOjLrZm7/Cx1Y8XfeaOi3elnQ2X35Q+ oc4dzZUeWUWXC2HtF+IIjjOlFmJENHuDY0kkwi8z6UwEzLhhVgriaSo+0MFsoMKfDmel cBEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c126si26914960oib.239.2020.01.02.05.27.44; Thu, 02 Jan 2020 05:27:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728508AbgABN0y (ORCPT + 99 others); Thu, 2 Jan 2020 08:26:54 -0500 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]:49300 "EHLO alexa-out-blr-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728455AbgABN0y (ORCPT ); Thu, 2 Jan 2020 08:26:54 -0500 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-01.qualcomm.com with ESMTP/TLS/AES256-SHA; 02 Jan 2020 18:55:47 +0530 Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg01-blr.qualcomm.com with ESMTP; 02 Jan 2020 18:55:35 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id 42ED634ED; Thu, 2 Jan 2020 18:55:34 +0530 (IST) From: Dikshita Agarwal To: linux-media@vger.kernel.org, stanimir.varbanov@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, vgarodia@codeaurora.org, Dikshita Agarwal Subject: [PATCH V3 1/4] arm64: dts: sc7180: Add Venus video codec DT node Date: Thu, 2 Jan 2020 18:54:58 +0530 Message-Id: <1577971501-3732-2-git-send-email-dikshita@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1577971501-3732-1-git-send-email-dikshita@codeaurora.org> References: <1577971501-3732-1-git-send-email-dikshita@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds Venus video codec DT node for sc7180. Signed-off-by: Dikshita Agarwal --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 3676bfd..fa849de 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -66,6 +67,11 @@ compatible = "qcom,cmd-db"; no-map; }; + + venus_mem: memory@8f600000 { + reg = <0 0x8f600000 0 0x500000>; + no-map; + }; }; cpus { @@ -1043,6 +1049,36 @@ }; }; + venus: video-codec@aa00000 { + compatible = "qcom,sc7180-venus"; + reg = <0 0x0aa00000 0 0xff000>; + interrupts = ; + power-domains = <&videocc VENUS_GDSC>, + <&videocc VCODEC0_GDSC>; + power-domain-names = "venus", "vcodec0"; + clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, + <&videocc VIDEO_CC_VENUS_AHB_CLK>, + <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>, + <&videocc VIDEO_CC_VCODEC0_CORE_CLK>, + <&videocc VIDEO_CC_VCODEC0_AXI_CLK>; + clock-names = "core", "iface", "bus", + "vcodec0_core", "vcodec0_bus"; + iommus = <&apps_smmu 0x0c00 0x60>; + memory-region = <&venus_mem>; + + interconnects = <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI1>, + <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_VENUS_CFG>; + interconnect-names = "video-mem", "cpu-cfg"; + + video-core0 { + compatible = "venus-decoder"; + }; + + video-core1 { + compatible = "venus-encoder"; + }; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sc7180-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>; -- 1.9.1