Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp749643pxj; Thu, 27 May 2021 10:43:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+ZPxSuPUWi98Dv2YSrrm682BZgggj+H9XEZejLifPzxOJ+EqNQXl0f1Ddu6OrvzYRvJVb X-Received: by 2002:a17:906:ff01:: with SMTP id zn1mr5199615ejb.119.1622137394228; Thu, 27 May 2021 10:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622137394; cv=none; d=google.com; s=arc-20160816; b=x+zmWa0A5VltzTG5tHGQkDhlpLUBXcckhPTuXRSYWJXmH8NUW0TGsbc6Xj6PwXpYcC VSivZMUu89n7jInTY6DRuqKtDRTcmdLVjraxjWhxLQHuZ48LocBkgCwTGROWNB5UUnYZ IlN7V6GGghGYqalelcAuBN7Tu2kd40+WP9Fkvb48/CTbRW68RzCA6jMN9mABBoAp7aCd 9SYoIjE21s+K7ChI0rjiGn71m+WbWG0/xWCPpEmwVX7F+eQHuF0YR50zoblkBiHlkfM2 u1iI+JTVhcxoIUvNIJPh4hMr7Dbedf/twcDI9tr17dFKxrX/DcaGuTm1Og6VL8zsjdyn LHog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yiVuliP0he9GmuWyaOUYevvuXTeSG57Lbw/1w4RCrQU=; b=0Asu7ULOyDl7k+5ZOdnmZ1vpJY0ybDXyYXryrQ9lfMKxrkC6hpmwfGw9GVNNKIbX/e szGrkVnEd27/hEzo8lj24fmaH77Q4SLQLsE3EiDju6pJunrQl0d2yTq9srILLC5Evlct v5SuJ9XvwoIAd1R1nIo3iVgftZMp8TxPp/TY9oH6nuAno70QAcQJI9dWFTVX77njO6u8 fMP7IpE4hKZCT/oZvTCoAbiUSjupb4/PEbYc3Ac5x7VSvJti6Z9zp7LgDGcNq/e0jaOa MXG5TiBSzOG+8I/zzv/k6pA7NhNtxvBm7/RU2uIGFActtNROmnQe52x3TbPBXLjlYTub aC3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rxQWVocC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id se5si2802509ejb.554.2021.05.27.10.42.50; Thu, 27 May 2021 10:43:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rxQWVocC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237097AbhE0Pry (ORCPT + 99 others); Thu, 27 May 2021 11:47:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235835AbhE0PrD (ORCPT ); Thu, 27 May 2021 11:47:03 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA949C06138A; Thu, 27 May 2021 08:45:28 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id gb17so804826ejc.8; Thu, 27 May 2021 08:45:28 -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 :mime-version:content-transfer-encoding; bh=yiVuliP0he9GmuWyaOUYevvuXTeSG57Lbw/1w4RCrQU=; b=rxQWVocCI8O6BN5wWdHVpiE6z7OUa/zjiSsggSAMbigHOaDpmiI3r6F1M21jePE5+A 42S6nlvHPfavPtFeEJO6tacCSUHOSaZfr/ZjmGsSWfJTtaV27eE1qrjgoKWMNBLJGaZE HgWJwAuAB7Y+5gijnJ5worJ3wXwdl/yZQPVPYHue3ihi8fzIKziESpswEkpoONNQ+XSv 72UNW+TerNZqTKpEROORn2x7ydUHQf1TlM83o3dGwQylRWxDk0ndr2Add5GvMNzrUqnO vnI/tFYbcTqtGUJh+My91B/D/VLZ0UvxRmVyoepg1FCpjfajRxlR+u0Irsjhl4YYhbaT IrOQ== 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:mime-version:content-transfer-encoding; bh=yiVuliP0he9GmuWyaOUYevvuXTeSG57Lbw/1w4RCrQU=; b=X7t4//LOnBgbCcTf7fPfTwNNZLgYn0jzuuoNqDIoyTFrMJK5YiGS4LAh+JWFCSsb+V sp1/PuYduOC+rNCzLTfwx1qYQUboVCENYxb+JWMYb9OQjrDszFQrv9ptmAlVtVH+14f5 QcxdzommC7Bp4G5qMKEu4OBXohfDbkPmG0k0gc94VhgEtIhQXjclLLOclfcXIRekQdSJ IZczGrTcgn3UOoGumpsfm0Af3p0+U0jyX2BCLIMkhbA5nyryjcEPV9S29Moe8K05T1aQ Ea+UJcPyS8ZeHPQgdfSz19TigGGCrhbNDqcjTNgexZepq8TxM/EGvREFftq5i5sYAFiX JyfA== X-Gm-Message-State: AOAM5335mvDEc6xjRIda0R8uZvGJIPQ8NsT1IYJ8Ezuzc2sgjTwvx/Sj 2gl5Xv1H77RQWsJONzJ8lA== X-Received: by 2002:a17:906:1dd1:: with SMTP id v17mr4493149ejh.31.1622130327342; Thu, 27 May 2021 08:45:27 -0700 (PDT) Received: from localhost.localdomain ([2a02:810b:f40:e00:fefd:4d98:c981:7f97]) by smtp.googlemail.com with ESMTPSA id u6sm1178826ejr.55.2021.05.27.08.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 08:45:27 -0700 (PDT) From: Alex Bee To: Ezequiel Garcia , Mauro Carvalho Chehab , Rob Herring , Heiko Stuebner , Philipp Zabel , Lee Jones , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Cc: Alex Bee , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/12] ARM: dts: rockchip: add vpu node for RK3036 Date: Thu, 27 May 2021 17:44:53 +0200 Message-Id: <20210527154455.358869-11-knaerzche@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210527154455.358869-1-knaerzche@gmail.com> References: <20210525152225.154302-1-knaerzche@gmail.com> <20210527154455.358869-1-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the vpu node and the node for the attached iommu for RK3036. Signed-off-by: Alex Bee --- Changes in v2: - added missing patch arch/arm/boot/dts/rk3036.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index 76ab663eccf7..f01529515ace 100644 --- a/arch/arm/boot/dts/rk3036.dtsi +++ b/arch/arm/boot/dts/rk3036.dtsi @@ -117,6 +117,27 @@ gpu: gpu@10090000 { status = "disabled"; }; + vpu: video-codec@10108000 { + compatible = "rockchip,rk3036-vpu"; + reg = <0x10108000 0x800>; + interrupts = ; + interrupt-names = "vdpu"; + clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; + clock-names = "aclk", "hclk"; + iommus = <&vpu_mmu>; + power-domains = <&power RK3036_PD_VPU>; + }; + + vpu_mmu: iommu@10108800 { + compatible = "rockchip,iommu"; + reg = <0x10108800 0x100>; + interrupts = ; + clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; + clock-names = "aclk", "iface"; + power-domains = <&power RK3036_PD_VPU>; + #iommu-cells = <0>; + }; + vop: vop@10118000 { compatible = "rockchip,rk3036-vop"; reg = <0x10118000 0x19c>; -- 2.27.0