From patchwork Thu May 25 17:48:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 100531 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp877325qge; Thu, 25 May 2017 10:48:52 -0700 (PDT) X-Received: by 10.99.153.2 with SMTP id d2mr25303340pge.16.1495734532586; Thu, 25 May 2017 10:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495734532; cv=none; d=google.com; s=arc-20160816; b=0qHc6dz3uKW7InWyO1vvyLdFenv3F4B/yNGSJvqmuzuIRClzbo/F1/CarpK3XoQz6q NW6KkAwqF8ywGBWM92Cg51H61BZK5OeeRX0D/Kpievf5IQ8i/r6BbXNiHmsxowoC9JXw 49+880KN7ttfuo1odVeqWa3QbR7wowKymU8al9qzsNhHXQ6BwJlt9Q6s9zwG9FvrNuOW iMsNngY+H6OEog3J0NYSxgUko0esBP4zoGkoKl9pm8tYBLyVs3DWINSVNC+7MzGxBYRt i+DAfGQj42MJEXIkbrEliuxXU7X/qv4jwjUe4jN7ItyecMFrThaEWAx5Ep2wch2tIOzh HX3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=iL30PBrxbDRQywildwt3zfbdOJzeTNt1Zs+kIZIPCds=; b=ZSA8D5d4CBwauWyE/43evBhL6r0xtpTsIIkCGrP4OW6/t1fodoZYIXQml0GECEv3Cr DzMIFLw7d6VGz/6/o1i7PhnfBhqxWjcxYvarrHirAVMxpqZMpVi2RXUywLYDby9uR4DY wJHXCXGeuUPYymBotP5qyTIVyTHdA6yBraRxjKEB3kS5IAh7YKAQBf0pMVxs1urQEyt8 zg/DAEdiNVbvqmO+aAUvar14AqUcAL1Uw5cjoFTQpPnQr7DZksXaFROHsrjH2rQ4Xy2T mJDpqJZtEez/WSgg49MoXvRJ+y2D6dN62sT2azARhGhTGRiIzPqYUV1Mj9YSQBX5no8e f7HQ== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u64si13156885pgb.256.2017.05.25.10.48.52; Thu, 25 May 2017 10:48:52 -0700 (PDT) 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 S970086AbdEYRsu (ORCPT + 10 others); Thu, 25 May 2017 13:48:50 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:33234 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970103AbdEYRsg (ORCPT ); Thu, 25 May 2017 13:48:36 -0400 Received: by mail-qt0-f195.google.com with SMTP id a46so31059715qte.0 for ; Thu, 25 May 2017 10:48:35 -0700 (PDT) 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=C58W3HaXNYRVuP76t1LPI6WaBALogqJzqXyqPaJR/OU=; b=OmmYnvtJ9QdzuOa+qbf7qC9IetSBdVrLKcmqX7h5xVGOFwGnjY7c8II3J/e3KbBZJu 9L85PW6Udl+DItLtfBqJXxFjmqTv084h2NOYZbQHO49L1wJi3Rm8A+TNN6zmVZ5nqmH0 bbKfPeSbl1aeknAea2Dxm776hhsC9XVZbM+ytfXB8Ubw0WshHvG1+CZSVYz1iQQPXWVn 3lene60fbMsRFkkcpYT0s1JEUBbUEvvC2GW1UenBeCtsmYhTL0buQRfvPbz7J6i7tZAn AusSiyzs/2YqFbSLVWQPKWII9W21Y3uz0Aqln9Baac0Ptk1i8Rwx/QLAaQJ/adSgqKeA 4XqQ== 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=C58W3HaXNYRVuP76t1LPI6WaBALogqJzqXyqPaJR/OU=; b=Tign/lkAA0/jIJkcQwyLCrtf5dG5O3RDH8ods2n2dexOnyZC6wMelPCcZ0rxankt4G tZ0yr6TTnVmbeIF5ANC+0fZQj7Mj/qBou6LXmy56k4oVWrLo7TYfJ4fW53k2X31RctMr YTof7ef7ofd6ccZYd2ny4eNHbwDKYazWB7qyPI0yHzsFhL2alT+qfv6l+1h6hpfPSDjK Yih9KbCo9n4CJ4PzXk9AiBs1Sp5JtAQqx0iWoyKCz3N5yWAKB52TESkSUhmXdHbNDXT/ z51Z/fyvkbaOM36+cdTwxwrz1c+8/1sdLfdKCB5FOK1YDhxdocR+6buGp9wR5zGte79e 559g== X-Gm-Message-State: AODbwcCRf67uExL4vEl/sq6jlH8hIgET7qQYnhlPYV+qaE33i08MprKq okpwdd9DNehJ1w== X-Received: by 10.237.42.102 with SMTP id k35mr45858028qtf.58.1495734515369; Thu, 25 May 2017 10:48:35 -0700 (PDT) Received: from localhost (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id f49sm5095582qtc.23.2017.05.25.10.48.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 May 2017 10:48:34 -0700 (PDT) From: Rob Clark To: linux-arm-msm@vger.kernel.org, Andy Gross Cc: Stanimir Varbanov , Rob Clark Subject: [PATCH 2/3] ARM64: DT: add video codec devicetree node Date: Thu, 25 May 2017 13:48:21 -0400 Message-Id: <20170525174822.27996-3-robdclark@gmail.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170525174822.27996-1-robdclark@gmail.com> References: <20170525174822.27996-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.4 -- 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 f9b8a28..2ef8f53 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>; @@ -1214,6 +1221,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 {