Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5178152ybl; Tue, 14 Jan 2020 04:55:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzYm/WM/GQql9a4WM7zfM0PjV0PfCGShAMpjVWSljlvPbsGKAjdxxd0t69XLCV4FsCzdCFL X-Received: by 2002:aca:758a:: with SMTP id q132mr17148651oic.162.1579006558312; Tue, 14 Jan 2020 04:55:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579006558; cv=none; d=google.com; s=arc-20160816; b=VVc+SRvUGMYFElq/W6nZx9s/RGkr5EkczjSO+9/GRpA4re33VfuzrMaDix9YlD5FSf eC7QuA7HZZ7qj50Gut8GWZiCzdXxj9PKrk9djc5PKKxgT/zO4K8WwjIzhS6jJl2WbtKO jweYsxhVMRImoTXURGJSeyWtT1vDXH+CWLE/d71V1rcNbkg7SbsoM5FUeZjayciZm3qg psKqTnYQOcPON6XdnW6qFkInyEi8XlBHa+oagkmwIDHJBXZDBUEazDhyeDQajljM/uhM FiQ6vqjl5epU4I7HIziuMd1YJ95VY9gLpXDl8gSz50nanJ8aQTZHwKiXJ38l2s/WWZeo ronQ== 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=GBg6/aol8/tWfkqWr4bGRZD8MZ0zsSQfCD9CIsf+z3Y=; b=SppckgXk4Cm86k/3683a/PjHUs/TKQO4ulWx7tifJBrQ6vJ3HxBhRPzt9yNjt2rfMg F9MB+B/b3Ybuqb74IqfHNTf9nFR+LJhLBOLbj7K4Tx3NWrkumm7O6Q+aRo9HnBSzZosD gwKphfgqsRdCT3TxAoEndjye9wJnrN70dlj7iLVQBw4notLQvNzimUvZOOV6vPxSRBvl 9wYFp4Y8RHCfyyfUTaut7V3hxQmTzfWS2DzRU/IyfkzZ+TzD/jlnIFZIoroacpJkJLAH 7I7ZFTT4p34nukqsAdZFpar8VY1PB5IIETAqz2ZhAF1ONvQAHPZnrdC94rV1Ayzi5Vwv TRqQ== 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 b145si7756142oii.67.2020.01.14.04.55.47; Tue, 14 Jan 2020 04:55:58 -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 S1728712AbgANMyp (ORCPT + 99 others); Tue, 14 Jan 2020 07:54:45 -0500 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]:56403 "EHLO alexa-out-blr-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728795AbgANMyo (ORCPT ); Tue, 14 Jan 2020 07:54:44 -0500 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by alexa-out-blr-01.qualcomm.com with ESMTP/TLS/AES256-SHA; 14 Jan 2020 18:24:00 +0530 Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg02-blr.qualcomm.com with ESMTP; 14 Jan 2020 18:23:48 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id 046B33588; Tue, 14 Jan 2020 18:23:46 +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 V4 1/4] arm64: dts: sc7180: Add Venus video codec DT node Date: Tue, 14 Jan 2020 18:23:33 +0530 Message-Id: <1579006416-11599-2-git-send-email-dikshita@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1579006416-11599-1-git-send-email-dikshita@codeaurora.org> References: <1579006416-11599-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..6ecacca 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-decoder { + compatible = "venus-decoder"; + }; + + video-encoder { + compatible = "venus-encoder"; + }; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sc7180-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>; -- 1.9.1