Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp248044ybi; Fri, 26 Jul 2019 09:06:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPDzqup4Qe1kKfteDrnPsMf0/OYEw2kvnpSNo4GqyNVOJvJ0Q4jeorlvgca/wClGA2hKUC X-Received: by 2002:a17:902:be12:: with SMTP id r18mr92298527pls.341.1564157169001; Fri, 26 Jul 2019 09:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564157168; cv=none; d=google.com; s=arc-20160816; b=RkrbvFZddO7rqCX6EeenwnwTvASG4wrTNCp84ozu6xUJI7v/kO/Js+kddatdGS05ZI u4Ur9j3InEJTs65bhkwbBSS0Um8zMgOCKT39XOAYYbn7l/LDQTjWa2iiXJjMTJypmOrb 26BnnbwBee5Owhjk98mZIbhN6sRFi+/8aWHUZ+oGFb70I6/xW3KCMV7EcxwUTHro5Xcn Vz9WztwO5aBjexnORx3hO1kuN8uIhhMLi+Pwml7hGrbm54mxiocwqpXEbtULXwkcQFh+ +nMJ/Zz/ytyVMeJz6WSPcZekI2VeYnPkGAYlcCq3wo0IgiDnxPcCIuEJ3gX6YBIJBp0w RnFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=20qFoI2zAcPj/2YkU+y26itShjeGgYjqahabkwiHIZo=; b=uR9pN+Q2LMDFWgm9J1TJGFn9ieLH9TqViEJwkrTGGD6cL109eBk0j3JlxToDb3NKkk +RnWawiLLS0hYy1AybRHnk2qBrmjBjlZGCi7H70N7yVYKoL9rCxYXM9K2m+9/Imw6ZNH 5zda+GDsAS1bcykYFBvYymdWaUdCc3sd783tPXVj2lkAUiFzfnF4TeoK69JqSLUTvwLX vcRF867lZVtnhh1vdxaAocaPyysBCNsf+GRHDC+ia57PtgV48iskeAZO/J8RyM3/viWU /auX1cB3bFhM3vV3CZXqQXlEbDNKD++zT+ljxzUSznfDDYsztlsEdtw6dkBf9qWoq+BH Qkjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=d8QZIZxg; 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 k10si21086711pjw.1.2019.07.26.09.05.49; Fri, 26 Jul 2019 09:06:08 -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=d8QZIZxg; 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 S1727407AbfGZMq4 (ORCPT + 99 others); Fri, 26 Jul 2019 08:46:56 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45165 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbfGZMqw (ORCPT ); Fri, 26 Jul 2019 08:46:52 -0400 Received: by mail-wr1-f68.google.com with SMTP id f9so54276036wre.12 for ; Fri, 26 Jul 2019 05:46:51 -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 :mime-version:content-transfer-encoding; bh=20qFoI2zAcPj/2YkU+y26itShjeGgYjqahabkwiHIZo=; b=d8QZIZxg3qalk8cFoc3e6Svi1f1hjZPya7iD801QTZ6MeKg8ghkNFcSYyjgKo1/fyF 2iUDoTmf7nkIXIeYwpgXuV6aWSBACiYoJKgOM7zwAuX5NJEJD7eh2RFTWcOLZSJY8db2 /nun0C+jShXsTAOfFCkBO4v8xgSwa9c+Hc5i/kDmTZiOnjqm0U3qL1T44a1ZPqQORRDg lNXiiAjurl9dM+VmxMFWAZ7sKRBcocVAiNHj3U1yWCh5yMfP52f+zH1HUtfaZpDnw+Fq jEISIgjgDgCYC0YBVIehl/Q4KuzWnytfTwtRfQnfZYYH3Qg8odBhB+WqizrLnxpKRLT2 EBcQ== 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=20qFoI2zAcPj/2YkU+y26itShjeGgYjqahabkwiHIZo=; b=NrYj2p5xwySOg3aokDZjzIdPP+y46uHJRC/cWv51NrSv4DDvywSFQHHh6F5mfr1SjW m+Ubj/5pdr8TJjWgkW4E9a9YrYRt4adADAi6iA0CZark7bfkBMo/BRKeXZfRty77fjBx /RB3hAh0GWQol9ILCOjABURkr/3uFuc9BNk7KZF8EwP1hOGiiBxjP/iGSMpjB2T4m9uY WPIE64k2bUj2XbQQyDNiBc7/xDzBuLq9Fx/759EMmSbVreKcrpzs9MrBzb8oHublGqsp t8ftMwgauaiNAYT0pst1bkIoiB6XDbXI2LPHG00M3EdAVwV2zi8KxfH9Ffeav2JQVjIL OBbQ== X-Gm-Message-State: APjAAAWBhBctoKxUS2XFrw/dSoSKOFHE06SELsRZQwo/45obVoBelzPr zGBDBfBB6zpavR5daxPqeH6vrA== X-Received: by 2002:a5d:4ecc:: with SMTP id s12mr21563wrv.157.1564145211051; Fri, 26 Jul 2019 05:46:51 -0700 (PDT) Received: from mjourdan-pc.numericable.fr (abo-99-183-68.mtp.modulonet.fr. [85.68.183.99]) by smtp.gmail.com with ESMTPSA id x16sm39090124wmj.4.2019.07.26.05.46.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 26 Jul 2019 05:46:50 -0700 (PDT) From: Maxime Jourdan To: Kevin Hilman Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: meson: add video decoder entries Date: Fri, 26 Jul 2019 14:46:39 +0200 Message-Id: <20190726124639.7713-4-mjourdan@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190726124639.7713-1-mjourdan@baylibre.com> References: <20190726124639.7713-1-mjourdan@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 f734faaf7b78..0cb40326b0d3 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -845,3 +845,14 @@ compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu"; power-domains = <&pwrc_vpu>; }; + +&vdec { + compatible = "amlogic,gxbb-vdec", "amlogic,gx-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 c959456bacc6..a09c53aaa0e8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -848,3 +848,14 @@ compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu"; power-domains = <&pwrc_vpu>; }; + +&vdec { + compatible = "amlogic,gxl-vdec", "amlogic,gx-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 7a85a82bf65d..a0e677d5a8f7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi @@ -144,3 +144,7 @@ &dwc3 { phys = <&usb3_phy>, <&usb2_phy0>, <&usb2_phy1>, <&usb2_phy2>; }; + +&vdec { + compatible = "amlogic,gxm-vdec", "amlogic,gx-vdec"; +}; -- 2.22.0