Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp12708065ybl; Sat, 28 Dec 2019 19:19:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxQ/eMEBgWpueSsJv1F9sjJaDS92bOrOzECf/fllLcTjsqQaPRl/w6CQmVN0q3uSh+uq3mR X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr67436896otq.216.1577589582047; Sat, 28 Dec 2019 19:19:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577589582; cv=none; d=google.com; s=arc-20160816; b=g5VKcqI8vNbKNnrlZJrmkSat7eJPjLC1yNii3HjPic7o1B2+4SMqtqlH7dc+ppoQES XdRQlYU9f++Ycymz6PSdt3yRX6xPrXQYh94z0oxl/alDB5HP2msFyQ2IiAATfBXBXRwM 4IY1RQBuHt+64irznB4EWynpHIFBZ4VvpV/bz6kqfOgBYFiRyaoEP4n3mqG0/fNBNKuY dApmC6E03Fn7XGSG5HYt0mAw2ZX2KVtUjaU0h46BCxhlCKvE+wLXP0LE53nePEoImKe9 bNJsgWIzpSLKMqqOUvB+0QzSU5vbkGtoPjZ4yRATH0MI4R78YnsqAIvFN/Do49dDS46v flzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fJBQZ6q3+2lZpk+M9I6LDvvhdKjGpOfzDinaq2pqIgA=; b=fHsfgh3Lr1WV+NVxIlQTdiHj8DiA+BiMgZYiPWDuzcfnvub9AyIR6r0Dlp3TQzJIgb Mgh8ginXmKb0K9t3XOrsnKFqAocXIsaM83JsWF8OAWB+wrexZqEuQKPl/5dBT7DgM3O4 a/fAkFCUE5v6to0dCuD66VNTDniBLOks3xL11MpeBYp1qNjTE9+6SbKjEY98HuwtbHeO sCQ1VxiSHKTgOIkyI/rsbH1FBsUeXxtOu4DO8yNpxiTP8cJKZknK64eUpzR8F7HX3KEO hcy8u2NrqeIlb65YrL6wie7YHe7QfsAfbTIAKgEx9b9BRjrJAVdKWaDwVl1BqcHqyC7/ NkMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pRvRA2I6; 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 e59si21904093ote.97.2019.12.28.19.19.31; Sat, 28 Dec 2019 19:19:42 -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=pRvRA2I6; 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 S1726479AbfL2DS5 (ORCPT + 99 others); Sat, 28 Dec 2019 22:18:57 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37259 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbfL2DS4 (ORCPT ); Sat, 28 Dec 2019 22:18:56 -0500 Received: by mail-pl1-f195.google.com with SMTP id c23so13348641plz.4 for ; Sat, 28 Dec 2019 19:18:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fJBQZ6q3+2lZpk+M9I6LDvvhdKjGpOfzDinaq2pqIgA=; b=pRvRA2I6QSL3plHmxs23DCx7OVMNeFWKizs7qkhPQ4lsfqvJ9VnJBNOV7CFjeRk9vC Ii0rFrga8vUWviVzCzkAdP80imrz117TO76H+LH1L8ExqcVdYDI69xSJimqVo6bmdqIk oRbQ+Tb3XfeuFpcHvjsb3UycX0ML7/00qbaYgXHjeuglW0z9VvhK9dx0pIe0AGovXH1t Bvc5UAppa3Fr8RHqElyi6bMHNPMDu5y0dfjPGV7u3zbE5GoYUjdqXsy3c39SiM5fWmjF oeMYAOmDy6cNmvwlzYaVQA68wRx3Js4gCWAoJEbCVEqAyd5cj1hJz370UJZdxGVUloTV 56BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fJBQZ6q3+2lZpk+M9I6LDvvhdKjGpOfzDinaq2pqIgA=; b=FvQLqe0cOWT0KL2pqsmW649hAMxuLbVRkJdfK0VxgljTZfgcZYXJexCRbjCJHLJuf8 +mluajpg4tCmH3ZdHhEzwJukdNajYF0XqbQSw1as3HxATc3SA/8cQLWBu630QnMPGVYu OjzIrMKllpufsjGHwkZHjqNR7veEFi3LJ7BlplSSDe6I/Gp3Q0G6loUejCf5DfSdc+TL r/pSLsmxVOyhp+c5draWCv01lgN5K9Uv6O+oFTEvNf0/mecaz/XBR86ittl/ty64tY2w hs5ltP6ClQ45DUSLIA/hwPsdbPrziblKkPXfH+L1ViwCGq1nve/2m0b5cemjVvyHh6uc eZXg== X-Gm-Message-State: APjAAAV5vvPch+D1vp3DaRLYQwoK5Hyt3IkbHK9oqGpqBJsqQn7uUXcR 0xFFCiKXxkJxi5INDQAyrYrFWCyiYwo= X-Received: by 2002:a17:902:6b03:: with SMTP id o3mr39105245plk.331.1577589536058; Sat, 28 Dec 2019 19:18:56 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id u128sm24121926pfu.60.2019.12.28.19.18.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2019 19:18:55 -0800 (PST) Date: Sat, 28 Dec 2019 19:18:53 -0800 From: Bjorn Andersson To: Dikshita Agarwal Cc: linux-media@vger.kernel.org, stanimir.varbanov@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vgarodia@codeaurora.org Subject: Re: [PATCH 1/3] arm64: dts: sc7180: Add Venus video codec DT node Message-ID: <20191229031853.GL3755841@builder> References: <1576828760-13176-1-git-send-email-dikshita@codeaurora.org> <1576828760-13176-2-git-send-email-dikshita@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1576828760-13176-2-git-send-email-dikshita@codeaurora.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 19 Dec 23:59 PST 2019, 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(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 6876aae2..42c70f5 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 { > @@ -1042,6 +1048,36 @@ > }; > }; > > + venus: video-codec@aa00000 { > + compatible = "qcom,sc7180-venus"; > + reg = <0 0x0aa00000 0 0xff000>; > + interrupts = ; > + power-domains = <&videocc VENUS_GDSC>, Should this be aligned with the DT refactoring done for sdm845, where the GDSC is moved into the *-core subnodes etc? Regards, Bjorn > + <&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>; > + > + video-core0 { > + compatible = "venus-decoder"; > + }; > + > + video-core1 { > + compatible = "venus-encoder"; > + }; > + > + video-firmware { > + iommus = <&apps_smmu 0x0C42 0x0>; > + }; > + }; > + > pdc: interrupt-controller@b220000 { > compatible = "qcom,sc7180-pdc", "qcom,pdc"; > reg = <0 0x0b220000 0 0x30000>; > -- > 1.9.1 >