From patchwork Wed Mar 1 17:42:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 94730 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp1913176qgi; Wed, 1 Mar 2017 09:43:27 -0800 (PST) X-Received: by 10.98.220.200 with SMTP id c69mr10061593pfl.60.1488390207886; Wed, 01 Mar 2017 09:43:27 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16si5170504pli.228.2017.03.01.09.43.27; Wed, 01 Mar 2017 09:43:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752902AbdCARn1 (ORCPT + 9 others); Wed, 1 Mar 2017 12:43:27 -0500 Received: from mail-qk0-f196.google.com ([209.85.220.196]:36423 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbdCARnY (ORCPT ); Wed, 1 Mar 2017 12:43:24 -0500 Received: by mail-qk0-f196.google.com with SMTP id u188so12512578qkc.3 for ; Wed, 01 Mar 2017 09:43:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VYBmF3Cm4ePAbYPE4dZP/h5k6Q2oUqP3l8EkezQonuo=; b=d0AJb4NANdkKl169ebVKsxfs1SSM/xVKO0NZoJN6e7DTaHLBG5E/kTlMlm1ltUMdxa VCcGEDmBDT+STTdp9tK/23uKVwkDp+FnGrbjTZ0gY6uJv7PSXds/QbvV7EBpsofctM5b uMpWvucrqbuXeQiiv2VVmpe5GvFouEz7Q2ZSWRcUmMsuXSEITbd5qrr9DM8xqnBNM+OG 7nzpK0a9d6MrBX0MgtzQBOFqct/4SxT0EqSPdFJraKKAe8hvHln+2gFg4vZBQyCmiP7n gdjmkyIgqG7sXiW5HRwkXc9DUQ2Ka/rXhc9pQH7AFyXb1aGg5ymX0d2gq48LThqWzj25 x2Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VYBmF3Cm4ePAbYPE4dZP/h5k6Q2oUqP3l8EkezQonuo=; b=WGFi/3cHHSxtHzGGXG0XieGSScHgemG4xA/4TAblR8wCWRn1BGcAPeS35Oy+Mx/02U NXwvdmwj4+x8Lc1w82rN1qviDyZqbE36l+KbmTJj2mQJnqeVc1SZFu9d8PB6kGfbMnr5 twhvdHYe2dUmV3VaL69d4OZH6DPA7FCY+4nePs6X015mb0Cl2b41LVBbQs9rK5DdPLUp I57iifD4sctyFBBH6auET/7hx/DlS7WdiNw/nlpydavkByrdmuu8uzSThgoXCdF4YWNQ Pw5kKiU1UuRO1qOJ1bN8GuM0mew3VHuahljRksLsEi0F4yUxKSb09Yi2zzsa/f/wBnIM 0TaA== X-Gm-Message-State: AMke39n8ZWw5gFK6HMqQ3giuHPVoxC6y1n1oKWSDPiGewNGBg+7jjIlz8txdY98I4Sjrtg== X-Received: by 10.55.160.65 with SMTP id j62mr11240423qke.249.1488390203027; Wed, 01 Mar 2017 09:43:23 -0800 (PST) Received: from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a]) by smtp.gmail.com with ESMTPSA id b66sm2901463qkj.19.2017.03.01.09.43.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Mar 2017 09:43:22 -0800 (PST) From: Rob Clark To: iommu@lists.linux-foundation.org Cc: linux-arm-msm@vger.kernel.org, Robin Murphy , Will Deacon , Sricharan , Mark Rutland , Stanimir Varbanov , Rob Clark Subject: [PATCH 8/9] ARM64: DT: add video codec devicetree node Date: Wed, 1 Mar 2017 12:42:57 -0500 Message-Id: <20170301174258.14618-9-robdclark@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170301174258.14618-1-robdclark@gmail.com> References: <20170301174258.14618-1-robdclark@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Stanimir Varbanov Signed-off-by: Stanimir Varbanov Signed-off-by: Rob Clark --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index b0daf39..7bcf4cd 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -88,6 +88,13 @@ no-map; }; + venus_mem: venus@89900000 { + compatible = "shared-dma-pool"; + reg = <0x0 0x89900000 0x0 0x800000>; + alignment = <0x1000>; + no-map; + }; + mba_mem: mba@8ea00000 { no-map; reg = <0 0x8ea00000 0 0x100000>; @@ -1190,6 +1197,27 @@ }; }; }; + + venus: video-codec@1d00000 { + compatible = "qcom,msm8916-venus"; + reg = <0x01d00000 0xff000>; + interrupts = ; + power-domains = <&gcc VENUS_GDSC>; + clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>, + <&gcc GCC_VENUS0_AHB_CLK>, + <&gcc GCC_VENUS0_AXI_CLK>; + clock-names = "core", "iface", "bus"; + memory-region = <&venus_mem>; + status = "okay"; + + video-decoder { + compatible = "venus-decoder"; + }; + + video-encoder { + compatible = "venus-encoder"; + }; + }; }; smd {