Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1133429imu; Wed, 28 Nov 2018 05:13:30 -0800 (PST) X-Google-Smtp-Source: AJdET5chfu9tFInDdsag6O6SB2Rsb4U324YaFrOBNGcCQwV2nHXRwQP8SfJOTjtVG8KZDdyk5MH/ X-Received: by 2002:a62:28c9:: with SMTP id o192mr38108561pfo.57.1543410810565; Wed, 28 Nov 2018 05:13:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543410810; cv=none; d=google.com; s=arc-20160816; b=XeqCgzuLfes6AOO7MvOXxMTK6rFVq83dMg0PPIooWwg6WIGHh2a76w/bBB+9fwgrD3 zv5fy94fGRVhb2zXAYoyBGyqtT/SZAv+/LrTAjfNXUj3oxO5nR7A/lU3x0bXSRuZvF8t ZB+Vu+v1tWf3DUCocRPYaeFUWi8DAcjSMP/cro1CogJxXCRJxKg74qCVW3Bb3qKZ8VsS Livi83xFxkJSPbprspnpxxD5UqkB1kNB8rsXy3NfG5QIpf4Dg0Ckoo8vSoAASHMQq5he mCIzgqj9zYyOF1bnmNKDqm8hJmc2H2rh4bOF7LZa0aZdFLNBHimqiCJAxpvi6jwuiv+e 3JSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=3Gj21lFHF/Nm8yT19ePbiF7FNM3jVkRLgq/sw61txL4=; b=TnC8h8DcAyDIJmct3lH0yxv90p/3P9NRJmLgOEz1mtjUoFLPfkiwZiacOj36weZUXB czNdOMmNo4EB54FFSAJ1cNhPYHqKof7JmF7FveXI8FUOQcLh9tSBJKurIf/ID7+cpF6k edBZnaqgFAZF0fn0dTVQrOPDAdHev0rYHKRj21X1nUuPmnAxYiz57EWHxsbWUlwx+VEZ No4foJIsqZSp6af/TNJ5+qK3Xb8u6DE8JooWUEN87w5/60rHjiBZe9vh35Gb3WSAE5+K JR3cK5u6Hjb0PxcDNJ+LEaQLlfFHl3D0jyXThMrN9UP8rhdDUonlfpKlFJPdIhBSPqr0 uM1g== 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 i20si6677769pgm.586.2018.11.28.05.13.13; Wed, 28 Nov 2018 05:13:30 -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 S1728342AbeK2AN7 (ORCPT + 99 others); Wed, 28 Nov 2018 19:13:59 -0500 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:63737 "EHLO alexa-out-blr.qualcomm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727726AbeK2AN7 (ORCPT ); Wed, 28 Nov 2018 19:13:59 -0500 X-IronPort-AV: E=Sophos;i="5.56,290,1539628200"; d="scan'208";a="256833" Received: from ironmsg03-blr.qualcomm.com ([10.86.208.132]) by alexa-out-blr.qualcomm.com with ESMTP/TLS/AES256-SHA; 28 Nov 2018 18:40:46 +0530 X-IronPort-AV: E=McAfee;i="5900,7806,9090"; a="2214625" Received: from mgottam-linux.qualcomm.com ([10.204.65.20]) by ironmsg03-blr.qualcomm.com with ESMTP; 28 Nov 2018 18:40:45 +0530 Received: by mgottam-linux.qualcomm.com (Postfix, from userid 2305155) id B64DC3211; Wed, 28 Nov 2018 18:40:44 +0530 (IST) From: Malathi Gottam To: andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, acourbot@chromium.org, stanimir.varbanov@linaro.org, vgarodia@codeaurora.org, mgottam@codeaurora.org Subject: [PATCH v2] arm64: dts: sdm845: add video nodes Date: Wed, 28 Nov 2018 18:40:42 +0530 Message-Id: <1543410642-6475-1-git-send-email-mgottam@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds video nodes to sdm845 based on the examples in the bindings. Signed-off-by: Malathi Gottam --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0c9a2aa..4c9d6a4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -84,6 +84,11 @@ reg = <0 0x86200000 0 0x2d00000>; no-map; }; + + venus_region: memory@95800000 { + reg = <0x0 0x95800000 0x0 0x500000>; + no-map; + }; }; cpus { @@ -1103,5 +1108,35 @@ status = "disabled"; }; }; + + video-codec@aa00000 { + compatible = "qcom,sdm845-venus"; + reg = <0x0aa00000 0xff000>; + interrupts = ; + power-domains = <&videocc VENUS_GDSC>; + clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, + <&videocc VIDEO_CC_VENUS_AHB_CLK>, + <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>; + clock-names = "core", "iface", "bus"; + iommus = <&apps_smmu 0x10a0 0x8>, + <&apps_smmu 0x10b0 0x0>; + memory-region = <&venus_region>; + + video-core0 { + compatible = "venus-decoder"; + clocks = <&videocc VIDEO_CC_VCODEC0_CORE_CLK>, + <&videocc VIDEO_CC_VCODEC0_AXI_CLK>; + clock-names = "core", "bus"; + power-domains = <&videocc VCODEC0_GDSC>; + }; + + video-core1 { + compatible = "venus-encoder"; + clocks = <&videocc VIDEO_CC_VCODEC1_CORE_CLK>, + <&videocc VIDEO_CC_VCODEC1_AXI_CLK>; + clock-names = "core", "bus"; + power-domains = <&videocc VCODEC1_GDSC>; + }; + }; }; }; -- 1.9.1