Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp43359ybi; Fri, 26 Jul 2019 05:54:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1Ro3ie38cyUzClAQUJu6yurXrWtbqE4iZLYRXocI79HlXieDWZmGOi1RAAHN24t84coU5 X-Received: by 2002:aa7:843c:: with SMTP id q28mr22491018pfn.152.1564145656044; Fri, 26 Jul 2019 05:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564145656; cv=none; d=google.com; s=arc-20160816; b=Ru4ZXyL0EFa1nnbLM55cFbpakZoIPOfQW5fhN8btG7KNmmQgvWKKmrZruyV/yz52d/ hMOHErNHicf+Wdkf8kevQiI2W/fYOTQSYVvNT7LBNYGEk/HhSUtklXMXKHNEeeiducsF e8rYFZYDTyNE4dxN0ZBgZtZ1QnQW3m7K5jNsdWI+JehMRBS4g27AUL+lMSHEBR+AqzHU kkoCV7wQoKD/Bajw8zXz+b423b8Ma1tck7CSMNL8xzA1euH2/jYgliLYHmqpq1WKQQCX 1xgzfw/sPBnE+/RZ2edBFnM1kICnc19hnHj+nw2aByfiCszAcqXkHU/cpuo5XcqIaH1d 0p+w== 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=q2ZYPAYax6bQxbm/1YpeRuib4ukPUXFCF68rf3gTwXE=; b=GDPbNcxhNDZo7UBpZEYjalxhLCxqi8kjW+NTf53VNSKkBePAASBvXN3p05Zw7tlWJn 5QozJIExWFoVuWqfpR7YdWSlf+Mr/52Q7+tPWkN/+x/ERi+ngJi4j0uZ6bXwzhs/H5Hp SLZOgjP+j7IwTJjxeBAGsW/9JSS3Rxq12hrK2WJidA26H3IzBrQmvD1iTHeVTdWMBjGz rlNt1jYnUta7o1rsoRlsvOdnQExdkqarBqriNVUxmzM8eXheB1KnOPoXpy5tIy2fR2dz eHcCeTRVVZVQ6eCdKcXNATMvhvyCIXuw28YsMrROKYLJ6YHRz8cED5168/3n8HY1zdoG dXyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=UExMW0UU; 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 h69si20461447pge.543.2019.07.26.05.53.59; Fri, 26 Jul 2019 05:54:16 -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=UExMW0UU; 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 S1727212AbfGZMqv (ORCPT + 99 others); Fri, 26 Jul 2019 08:46:51 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33367 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbfGZMqv (ORCPT ); Fri, 26 Jul 2019 08:46:51 -0400 Received: by mail-wr1-f68.google.com with SMTP id n9so54411646wru.0 for ; Fri, 26 Jul 2019 05:46:49 -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=q2ZYPAYax6bQxbm/1YpeRuib4ukPUXFCF68rf3gTwXE=; b=UExMW0UUk/saslNhvncL7VmYbPBukVTDIwiQ9JEDm69304VqE2iV0GPHIMb+GUPi9Q XdND6CCt4qIO7Z4R//L+VDKTJAUY+3+Y1HzYcDO2y4mr4QOkGhwHY3+9qwH1jcJt6sgE CoiuxUwVJ1pmjRomS01ZwYEr690+g6Hf0aYHNDKua/QYqVCnK8s+lUjCoMqMBGPuokIZ gewunm6XF2lbta7rgn6eIKlLbS4HzeUPan8WI9YsybAITkTOZdv07nFpAQE8F/0jpMWr 1C43R+9oAIwvWjl4yunSxC0lKcsRwrKAEgJ9Muul1S0BDHCmeNzV8cK0Ds3kH/DwncuW bJPg== 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=q2ZYPAYax6bQxbm/1YpeRuib4ukPUXFCF68rf3gTwXE=; b=I5QvXO7uhXnnTaOi2J+tVxl1bRub7xyyCBGeCznUHAoDq2tfcT9QH9zKp5LdjLDGBw TyMOqvvWL/vhW7rxTNT2F/UNazD8gJqe7ZjH5NtTsYcxVgDBUP2iLQ/D3vENHftGhDFO jTuIwpi6Z6fFcjaqZENpxsURJU1OS3hhLWAK11hINBnuMe0CN7NnEtJ4YrLtLmGAP09G YL3TdjQ2Q6u7zKeaAMSb9YD0PIj3ITnACrVVI5M0OTFAvPtjvnjruLXlGV6aOETMpQgN 1eGAfJjfLswxc7raH/iOQn1w20mBdXlQ/A0vi+Fkbg1vDu5HGNuzuQME6pgTwNp6WCoc AtAw== X-Gm-Message-State: APjAAAWs2kDj7kPCgRpX+fa/5JCVnxEc29q1m7YciQGgxSkM0Lya5Ba3 hoZe2VMkK545ZgAqbF0WrWnVuw== X-Received: by 2002:a05:6000:3:: with SMTP id h3mr16592055wrx.114.1564145209279; Fri, 26 Jul 2019 05:46:49 -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.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 26 Jul 2019 05:46:48 -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 1/3] dt-bindings: media: amlogic,vdec: add default compatible Date: Fri, 26 Jul 2019 14:46:37 +0200 Message-Id: <20190726124639.7713-2-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 The first version of the bindings is missing a generic compatible that is used by the base node (GX), and then extended by the SoC device trees (GXBB, GXL, GXM) Also change the example to use "video-codec" instead of "video-decoder", as the former is the one used in almost all cases when it comes to video decode/encode accelerators. Signed-off-by: Maxime Jourdan --- Documentation/devicetree/bindings/media/amlogic,vdec.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/amlogic,vdec.txt b/Documentation/devicetree/bindings/media/amlogic,vdec.txt index aabdd01bcf32..9b6aace86ca7 100644 --- a/Documentation/devicetree/bindings/media/amlogic,vdec.txt +++ b/Documentation/devicetree/bindings/media/amlogic,vdec.txt @@ -26,6 +26,7 @@ Required properties: - GXBB (S905) : "amlogic,gxbb-vdec" - GXL (S905X, S905D) : "amlogic,gxl-vdec" - GXM (S912) : "amlogic,gxm-vdec" + followed by the common "amlogic,gx-vdec" - reg: base address and size of he following memory-mapped regions : - dos - esparser @@ -47,8 +48,8 @@ Required properties: Example: -vdec: video-decoder@c8820000 { - compatible = "amlogic,gxbb-vdec"; +vdec: video-codec@c8820000 { + compatible = "amlogic,gxbb-vdec", "amlogic,gx-vdec"; reg = <0x0 0xc8820000 0x0 0x10000>, <0x0 0xc110a580 0x0 0xe4>; reg-names = "dos", "esparser"; -- 2.22.0