Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp267032ybl; Tue, 7 Jan 2020 05:54:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxs48tOGePlW2w4PmJ5XlphRhx0K4IEFCHM3QLUwHITHl6o77zAM/3My5dugEtGKU/wTzdM X-Received: by 2002:a9d:5e93:: with SMTP id f19mr62607508otl.121.1578405243914; Tue, 07 Jan 2020 05:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578405243; cv=none; d=google.com; s=arc-20160816; b=m5XzmHf7+w4+Mm/s6VrQSpit4yLwaphn/X6ERT6qh8ybQ/4+euN86gm80sJ/tu20Ox QxGLgzn76UzqXBYG0R95WdX24kzylPLjp7vevj5HleRhmgbTLUqByVaKRqoe4pZQlxXb kKQVMBSKEKjDFwaTrnVdsB9lDmU7vMo07ZX+dwRfsFsW18U/+8n82dRS87E3Dk5lkvV6 W3IkNQ7s2nls6MqZm+Ig6NFHKNUH0pTeeQgsqonNyt/Hv9cuS3LS2RMIS8GviKzOtWCE 0K3zdOZx2WcRlLWnZORejtUgd73aSrawe2gNp8i7cVWzmGoFtySqRlqEOBxbjKyVzGTw lJGg== 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=bG+/1PcaYqZQBXDRaZsbBfE0HShIPerq3LuqbmfLMrM=; b=aAHhgDOcpKCFTcLd3vXFcCz5OGIrLl51H8lorCxzhxp7JzZHvJyppxMvu94RzkD0uA /9s6ihfV1SfY6cwmiUpiOpn77oHireVDDp8Vr4mfoScXC2bma/5XQaacmEy/vrFCk4Rx Zb92u4E+AlOcw4tNDbHcPTMm9MrtpF19tVPCYMNDT0PkD4EnHOjzg+Lai96Gr6XhBRxV uUSvWt4bSEY2WBESbUVYdFJFgUb2vcs2fNjpo7rJnBZK28cLf0BM8+qCnrBFuSEWGD5T Sa+BZz9jowzrfLqp7L1IMcKCPct3K6KyW7dAfku+IGRKOMRgid0t8FOxRDQoPB5gH0dV 7Y+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KoYkzOsR; 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 f18si3712303otl.29.2020.01.07.05.53.51; Tue, 07 Jan 2020 05:54:03 -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=KoYkzOsR; 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 S1728171AbgAGNwt (ORCPT + 99 others); Tue, 7 Jan 2020 08:52:49 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:36348 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbgAGNws (ORCPT ); Tue, 7 Jan 2020 08:52:48 -0500 Received: by mail-ed1-f65.google.com with SMTP id j17so50398821edp.3 for ; Tue, 07 Jan 2020 05:52:47 -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=bG+/1PcaYqZQBXDRaZsbBfE0HShIPerq3LuqbmfLMrM=; b=KoYkzOsRd1NBtQrZUhWDsTYrUj7e88YP8/eHmxy63i6qlc/jG8PaeBTLdPNAeo4xG1 N/IhU1MyR4lRBtgTJbou2o+AsCBxkpPLYr5VWRQpAHIeWGQVsIdfrsMvx4gdD5Yhgd9L d27/jwKLoX6843jUsKgh2hgAkYXpkoMBvQOnSVJzhT2+eLPmrw0OHJxwne0jfcw9CLkF Gs22qZ1iEHfqKZqt31NqssUp/tvRJGi8G9650dr+fIcHZbuclPaCsqUGdOLBzyC7Ij1+ Jroe3z6qKgu/MadWgt7dD/5bMDaqotfm/2RIY29/BLk7wC9lz3E9o0JKW+Gwz5FMPdyH wvzQ== 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=bG+/1PcaYqZQBXDRaZsbBfE0HShIPerq3LuqbmfLMrM=; b=E7w8Mo+tvf5ydvhj1OkqRGSM6GYZD3eedNZifx8yU5pIUFxTGAszZ2Vgvz58g9qxf5 FxxVjZFI8cKcA/g8K7bvbuumwBeoXSM7lL7BCDsI4DTwDpGfATjo+ANuiY+Cn4eLleYi PaD4Om2xYYOjXFUWp+MbvWpgHmAI1si3YXkvXdlodXoDKEVZntojSaUNVXdBmXZ185Tw V6+7yaVsU5gi4AnOOFkjlpI4xLnfJuuBqp2VqDxL98lVAOiUh2JVpcN2CvQ5vJdXP2Rn hPmDnmIK7871Ip6bv4MhaQH+v220Phc3s/+MJOGq+/aAeHQ43KxBzXtEX/SNQTZBdpKM WdMw== X-Gm-Message-State: APjAAAVRnTxkuy7HMsY5DZ5BfNz9oGqoUfuK4T/DfJ8n8xpWQ+GWt4e2 x7ZViCgXDQjGc9gO4UVG3e8N+A== X-Received: by 2002:a05:6402:17cf:: with SMTP id s15mr111855185edy.189.1578405167119; Tue, 07 Jan 2020 05:52:47 -0800 (PST) Received: from [192.168.27.209] ([37.157.136.193]) by smtp.googlemail.com with ESMTPSA id w10sm7465183eds.69.2020.01.07.05.52.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2020 05:52:46 -0800 (PST) Subject: Re: [PATCH V3 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: <1577971501-3732-1-git-send-email-dikshita@codeaurora.org> <1577971501-3732-2-git-send-email-dikshita@codeaurora.org> From: Stanimir Varbanov Message-ID: <1c1686da-6fd4-ffa5-4118-4e6fe1c7f064@linaro.org> Date: Tue, 7 Jan 2020 15:52:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <1577971501-3732-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/2/20 3:24 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(+) > > 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"; Please, align this as you made it for clocks. > + 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 { The subnode name isn't correct because we have only one core. Could you rename it to video-decoder. > + compatible = "venus-decoder"; > + }; > + > + video-core1 { rename to video-encoder > + compatible = "venus-encoder"; > + }; > + }; > + > pdc: interrupt-controller@b220000 { > compatible = "qcom,sc7180-pdc", "qcom,pdc"; > reg = <0 0x0b220000 0 0x30000>; > -- regards, Stan