Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp344473imm; Fri, 31 Aug 2018 01:54:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBwJR2kR0NLsvz5UKSugQUoxK2uItDBdihZkiDcw+xVr+iIhnboEuhPPM3844wfGxcdSkS X-Received: by 2002:a63:344b:: with SMTP id b72-v6mr13388340pga.184.1535705690862; Fri, 31 Aug 2018 01:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535705690; cv=none; d=google.com; s=arc-20160816; b=D49tTw3mnXZhGR5DU8kr/Lk5wf3sC49ivGaTQZTQClT74xzVa+B8aH76rX7t9sYTdq wxnSxOfd2ZL2Af9s/7LjKw34YwwAtz/CjF/07dqUZe+ZLswUwfhcDq1r6k1wC6m/dy1W 2FQsFrDpl9WJC8bLl9Q7WJvD/UkJ9R6mlC3v3zZ5j3S1V4Y+kXQSLZOshvFBMxd2IhAF UfxyeGtmWkuGnljwX9uHu8Yvv5BflNMUBiqJvldNXDRB772mGTHcJpLnvoy/Tp3/HU+U VQ9YNljM2K5KIxWJWcavxN/HlFUjfL4B6qyuElk48X09IM/0crT6BpRCYL3I85G01++M 5Mzw== 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=TlhOjpl43EpRuA5yEzGXvHqeICOEPG6QYX+g5iMHpvQ=; b=A+n+Eo8DdLK4T1XLvSX77w55Kcph9wcmDf+kZszD2o4cNqYtFKnyLRZVb85hOuUxXo E5MaT3r92cbEiPcbmGy55DYh50dlsEuCfenWlqbrs2Iq6nNlk2uhcfShyCVyRSs04fjL 7+eEILKCAACso0pP4HVIV/043EaXQYYUQQFIJCY175biunbOD3HB+sNBj/swJOWOEIyp 2Ib1KTCEXCh825A1KNbdgOIBDO+3vlLpAbG4/VlFq3PVBI2Ojh21KIyWK7UWYkVP+Yo1 NBrI/OzT/XBMKAVcxK6HL1J/sHGBizdA5c6keWrXEW7JJ1PDEh+2DdLtvJp5XWrx4Svz d9/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0KSooAfU; 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 j61-v6si9042095plb.49.2018.08.31.01.54.36; Fri, 31 Aug 2018 01:54:50 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0KSooAfU; 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 S1728136AbeHaM6u (ORCPT + 99 others); Fri, 31 Aug 2018 08:58:50 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:40095 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728117AbeHaM6t (ORCPT ); Fri, 31 Aug 2018 08:58:49 -0400 Received: by mail-wm0-f65.google.com with SMTP id 207-v6so4529553wme.5 for ; Fri, 31 Aug 2018 01:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TlhOjpl43EpRuA5yEzGXvHqeICOEPG6QYX+g5iMHpvQ=; b=0KSooAfUchUz6L4rUvDniYYn5OIYYCRRJzGLriihxLUZkD6XCVCvoXykt6rCoUiYbs D4coIkjh9BchCAx33o9GB2XURxzoAS6Bm463+lOgU0tUdpV04HfTyEWtgdYpiV9YowW5 LOmLzNumXgO4r+fWQ7M5eZIqgBSfYmDkYlPMb4N9xxCL934IrS8i1gsXQBiypxagYvOX rA7RAQP2MluleNOjbv8PVTRuTg6D5lvucef9+Jk48CLcfKwxOdGqYs3veCnhHpDHXY9a v9e5Gu+hSm5YA5vYLvZ2DDxW0zemjhcYqZkBkXANqpRN2joVS4bXHA67+BbSCiFk4vsf U6Lg== 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=TlhOjpl43EpRuA5yEzGXvHqeICOEPG6QYX+g5iMHpvQ=; b=fiDOKqV25i6tCONERzQGl8P05ZNZXQIDriKwfjMInXfRZqbS4JKuw4gWJUn9R+4f4i M2cFAJh3DcBaQUQVChjwUlicZQ0SK8ZWmUZYy79ngxEfcp/R78zSi0tHY2H18EHSnh1I BHDOjXJYMYrZPK7+rCqPvCKxBJXVCzAiCSqSo0NZ4qMfLBPzXdhZ5Oj2vRfoYpU+IWXT 1sAxuBB/Q3Y2VZVjfoGzm9VBc7C+XkcvavpjJouEtUab6N7svkpTt/AzeA33Mm8FOsmM SX+TVdxbPcZpsKLGy7iZG+QGWUUzhov3oF878a02Yqv+0w4v2q1xEehNxlg89Y5xc6gp M4eg== X-Gm-Message-State: APzg51D+4GtgimhnJsdy+InxZWI5CFKNVk1Pc2PFGnbdmlHggMX1PBCr uD88Sv11XXN03/T172wTXCx9uQ== X-Received: by 2002:a1c:7d51:: with SMTP id y78-v6mr3956828wmc.37.1535705542733; Fri, 31 Aug 2018 01:52:22 -0700 (PDT) Received: from localhost.localdomain (81-67-76-113.rev.numericable.fr. [81.67.76.113]) by smtp.gmail.com with ESMTPSA id v6-v6sm8920822wro.66.2018.08.31.01.52.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 01:52:21 -0700 (PDT) From: Maxime Jourdan To: Kevin Hilman , Rob Herring Cc: Maxime Jourdan , Mauro Carvalho Chehab , Hans Verkuil , Jerome Brunet , Neil Armstrong , Martin Blumenstingl , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: [PATCH 4/4] ARM64: dts: meson: add vdec entries Date: Fri, 31 Aug 2018 10:52:05 +0200 Message-Id: <20180831085205.14760-5-mjourdan@baylibre.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180831085205.14760-1-mjourdan@baylibre.com> References: <20180831085205.14760-1-mjourdan@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables the video decoder for gxbb, gxl and gxm chips Signed-off-by: Maxime Jourdan --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 11 +++++++++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 11 +++++++++++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 4 ++++ 3 files changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 98cbba6809ca..daee53a755d7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -774,3 +774,14 @@ compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu"; power-domains = <&pwrc_vpu>; }; + +&vdec { + compatible = "amlogic,gxbb-vdec"; + clocks = <&clkc CLKID_DOS_PARSER>, + <&clkc CLKID_DOS>, + <&clkc CLKID_VDEC_1>, + <&clkc CLKID_VDEC_HEVC>; + clock-names = "dos_parser", "dos", "vdec_1", "vdec_hevc"; + resets = <&reset RESET_PARSER>; + reset-names = "esparser"; +}; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index c87a80e9bcc6..bfd65d1a8959 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -775,3 +775,14 @@ compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu"; power-domains = <&pwrc_vpu>; }; + +&vdec { + compatible = "amlogic,gxl-vdec"; + clocks = <&clkc CLKID_DOS_PARSER>, + <&clkc CLKID_DOS>, + <&clkc CLKID_VDEC_1>, + <&clkc CLKID_VDEC_HEVC>; + clock-names = "dos_parser", "dos", "vdec_1", "vdec_hevc"; + resets = <&reset RESET_PARSER>; + reset-names = "esparser"; +}; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi index 247888d68a3a..2f356495be5e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi @@ -117,3 +117,7 @@ &dwc3 { phys = <&usb3_phy>, <&usb2_phy0>, <&usb2_phy1>, <&usb2_phy2>; }; + +&vdec { + compatible = "amlogic,gxm-vdec"; +}; -- 2.18.0