Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3635980ybl; Tue, 21 Jan 2020 04:32:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzAOCIQ9LIb4OuDsjT8F8O6X0Bbd4wJUA1acc+6G4TwKzo6AsEEzc2FQdSrVsaU5h2amury X-Received: by 2002:a54:4085:: with SMTP id i5mr2784824oii.17.1579609926538; Tue, 21 Jan 2020 04:32:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579609926; cv=none; d=google.com; s=arc-20160816; b=X+HzB+sN8FwRqLVOrEhlYzNJpDpTpwVCFADQXGaqGSdlxTQrFeDehF+j58LM2jWfwM Ug3Jg2YFjFMzf8oXnhen1XQsRZdidhOZNcASZI6fiZvsucXWDNV9hXglJ+YC84d3A4PX vKDbUzuFaJk4DH+8FfM4VjZKmRhBgy8dzASPtqLqGzMFfuVvoLMxSouLyC8e06Cb5GJO A1VruQTk0BZEMkuajhfbZm0wfZsnT5JXbnPYiw0sNQZ9ckG+/swWsUcvMmqb7WP4M+9D FpaDm3EJv0Ltve4wB8xh5g5rmZiPcjxCO4OD8pj0akxsUjVgrcUL/2uowAe5QqOo55Yj 34tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=jNbiAMxqqOj55GSDQKDWmBh++d71tG7ldeLAk9zmd6A=; b=T1emfkHkt0iA654NStG09dEHfmkbZnXPjFb4IPA4K5HIz0BLv322X1DWuZJlrw/W6O KiYLHErYGvCv0j7Keu0mL75EVIAP7rW+WQI8EWzXcPj7nKfncF7xjD+Y+RXAbcKHvU79 IR0ohmGO2rWCf3pMZ01d+N957Uy/pgngqP4QhcDQa3piXAwbzofYTlgvoFGwOYjLnMTP Oh9nitjWUMchahtmz1Yr9olOJ24iv/BTMzPl+rFQ1x210w4wI6caEKTSNGC9s3su55xY pWyFnkIgb16tZ/kmJ5j2yaAaLOre500TV6O3uMU6+8u/WIyNa7QfabHZqVkUS75gmW6N X/lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UoarV1BV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si18794033oie.52.2020.01.21.04.31.54; Tue, 21 Jan 2020 04:32:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=UoarV1BV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729535AbgAUMa5 (ORCPT + 99 others); Tue, 21 Jan 2020 07:30:57 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:42982 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728794AbgAUMa5 (ORCPT ); Tue, 21 Jan 2020 07:30:57 -0500 Received: by mail-ed1-f67.google.com with SMTP id e10so2766675edv.9 for ; Tue, 21 Jan 2020 04:30:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jNbiAMxqqOj55GSDQKDWmBh++d71tG7ldeLAk9zmd6A=; b=UoarV1BVm2Btqxccp5b5Ri5nQVCi4Ed1USfuvenRzygLxhAnESncPto4TO3kZatVli QJA3MCg+PyaCkzLmTwafsRywirHdNWFoQxU1wuHF34s95eo+ODIJNmBeU67HHB9UdH4b 1WJNGQAtjgmvSTg/+Y26fXK2c56Szm+bAp2UvGxtHky9FxucphpRDNM1F4BnTP7mRhbP sbsi+STGoHLSUFCC6Z9bfVTtE/tMwSEzGW9UFnrs1V07S6DwMcBEOOS590K0Jaqg6Kwy CfeyldwuK79EoSWeqzGv1fQ1qSlfbLqN3ALcxWqca3eywyApnMS82jIPkP0Dl2X9pGwJ RhSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jNbiAMxqqOj55GSDQKDWmBh++d71tG7ldeLAk9zmd6A=; b=XPkyKQH7lkvTdGMI1ogOzIlAVi3GHfuTArEmbHaj7LTwI50Z+y0777yefeHrzy2w2J H3Wygp1siJz3C1iLXxFPLeIQIMmcaOiReqg5CybYhuBzE5Wpbhju2GprxBw4UHugpWpw LH01wewFK8e52RuAFgerkYhzRaqgtV9YjrJ/uwIIdXmP+eaoKBjhyx//qmhg1CKaqdxE L9phOtgmULu99nwDbePRA0Jq+XFj1u+ANdbCOG/3cpmpxJouVE2g3moHhXwbN0MkX73i OBtCO1lC2cW0t1WzCLDDsQKZnryRLS56MO+2qLlKcoZV5V/z0uOZtOh52kiTgjDNEUQp YrDg== X-Gm-Message-State: APjAAAWzKOc7GmG3Ce6BbJ+O3jTKO5vjrqRyOIPUsTYLa9j/4nKRWgKU BYRfMJu6L4YUyLHd588Xa+RuGg== X-Received: by 2002:aa7:da13:: with SMTP id r19mr3580963eds.188.1579609855545; Tue, 21 Jan 2020 04:30:55 -0800 (PST) Received: from [192.168.27.209] ([37.157.136.193]) by smtp.googlemail.com with ESMTPSA id t1sm1277494ejg.32.2020.01.21.04.30.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 04:30:54 -0800 (PST) Subject: Re: [PATCH V4 1/4] arm64: dts: sc7180: Add Venus video codec DT node To: Dikshita Agarwal , 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 References: <1579006416-11599-1-git-send-email-dikshita@codeaurora.org> <1579006416-11599-2-git-send-email-dikshita@codeaurora.org> From: Stanimir Varbanov Message-ID: Date: Tue, 21 Jan 2020 14:30:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1579006416-11599-2-git-send-email-dikshita@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 1/14/20 2:53 PM, Dikshita Agarwal wrote: > 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(+) Reviewed-by: Stanimir Varbanov > > 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>; > -- regards, Stan