Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3460389ybi; Mon, 29 Jul 2019 07:00:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUzHqP18To2wbTmZCb3QRZmthxzc9kwDd1vqjd3PvpHHgnCO0pur4UlOx/bGQYhFMgXf+X X-Received: by 2002:a17:90a:7d09:: with SMTP id g9mr109921245pjl.38.1564408823015; Mon, 29 Jul 2019 07:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564408823; cv=none; d=google.com; s=arc-20160816; b=FijEH/9FRs/l80M3zliHS/xghYoVmYTErJrOEc9eO0JaRFRJD9iy5h8u93xz/KmM25 1yNHnA7hWHStvqTagPdqXaGqN1CpF355gbMqTvhGzB+KI3QYR6YGJHsV/9xXXakHGyHI k1YHqd0qHII9vdlDGJWD0b3MViMIDFlQi8Cnkv9t9cVOo28vg1AFD9Yhj4mBb1YtJGtY letih02q6zv5Wc5gNoh4RxL8BH07fikM7NSvanJARLWdbCblBuUjAxSqfvhmMuXt7iQK Xt9HeXKzow0CUBYwXhSl+H4/R6oO4ypFWhSR/OPezZOb0mD1nu0zeOeBG8d3wXqqbH0u rLMw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=gzcG6JHmmKno6fQH+NVToQxb9v+6Sq8H4NfaqdBg8eA=; b=VQ9ByEgNNNiK5ZpBbkhoH5wzQfy+su7E/7GPnbapyS4jyEsySffEh0VNXryN3GjYwn ubSyBMIggpwSWwyAdnOzmwAstgMAe3oUmlzyhlzoEH1TLVtQW2rxB++mauDH7Psak4DM Rr0ryvMmjRH6WwJdajweOf9HZeNpYTxKZsWR4Tewj3hMIz2f8inOWSgE22dHrGWiTPyS 0Tg+g2Dq8izUkxlx8KsShTrjBuH61uzmoaSiOV0cQtHvKfRvTPtqsBZiICppx6ZxYlkE JmCo0gNh6HqtgZB/YMvA93RA1z6E5FO5ssUKsJWcimPlRzkIX0h+MFdN7m+F+7Htrn9I fxLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="rL8CVU7/"; 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 f8si28724670pfn.43.2019.07.29.07.00.07; Mon, 29 Jul 2019 07:00:22 -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="rL8CVU7/"; 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 S1728491AbfG2NGH (ORCPT + 99 others); Mon, 29 Jul 2019 09:06:07 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55004 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbfG2NGG (ORCPT ); Mon, 29 Jul 2019 09:06:06 -0400 Received: by mail-wm1-f68.google.com with SMTP id p74so53759983wme.4 for ; Mon, 29 Jul 2019 06:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=gzcG6JHmmKno6fQH+NVToQxb9v+6Sq8H4NfaqdBg8eA=; b=rL8CVU7/Ogp6LWePphSEsy/trY+O3XxbqQOTvm/wilBXKWeGWPXWMv2nRLiiSyKpbf 4JkN8/+7tj2Cik+qAvmMfsFeXkYxJFA6zXjJCgdQQrNVRTTKhDzN6DJmZugilKfZOuFP ggFiH+fnV2CPgYlB4RjhYxseAwKbIsO9Nizt7YxlxbBQ87wIrH8W4txQC8fTBwSt0F4t BiKGbGl5FqMAsklL57uwQIwe7IOrbKPXKejM6DRhuO4elzWG0OmdYJZAsiYJJzp/qr/l Pumq4IGntWFMYZJfyVGkLFPLnE607hXYO1D97/GYzlJb7CpoV+coGiqt/WjXirNfzD5S dT6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=gzcG6JHmmKno6fQH+NVToQxb9v+6Sq8H4NfaqdBg8eA=; b=jlrRszRDIixhesBtYGwqG8TZUdhMmEkMso/Gox460nk4TbovX1VjVdZO6hxiGoQysb 3jZUiolHfzEs9fhrqL2XhYmcjRbIV8wCTc8hQXArKVX0TtWamfX6gN3D7BShafkwr3K6 h9xruZ5nOhPgor4J2ptYeEHhWdfN2PUOQsvOBGoEUQFniXzAGEnM4qXu+qxIGLX4ZbBj jhOcM3cvOjBrGhT+79LgRUoWNsG9sIwTAFUGXdWoQlwaBUHFURFAeMJHcchmx+4OAW+f cAfL/Tk35I4dDkK4hff4o0jOEEmqJoLHzN7XFPSafyDuWFVZjShtDOHmD+Xv5o8GKrhe N74g== X-Gm-Message-State: APjAAAWixTMCUXhCaq/PCufOuFso8EBGD4Nf6HUtXoZe2I9iz6OfghLA jSfT6gbpzcnjlUsCJ+yezQGidg== X-Received: by 2002:a1c:63d7:: with SMTP id x206mr101098772wmb.19.1564405563741; Mon, 29 Jul 2019 06:06:03 -0700 (PDT) Received: from [10.1.2.12] (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id p6sm68102914wrq.97.2019.07.29.06.06.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jul 2019 06:06:03 -0700 (PDT) Subject: Re: [PATCH 1/3] dt-bindings: media: amlogic,vdec: add default compatible To: Maxime Jourdan , Kevin Hilman Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org References: <20190726124639.7713-1-mjourdan@baylibre.com> <20190726124639.7713-2-mjourdan@baylibre.com> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= mQENBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAG0KE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT6JATsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP9AKsN NtMZntB8WrBTtkAZfZbTF7850uwd3eU5cN/7N1Q6g0JQihE7w4GlIkEpQ8vwSg5W7hkx3yQ6 2YzrUZh/b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qiJ+ZVW4trmui NIJCOku8SYansq34QzYM0x3UFRwff+45zNBEVzctSnremg1mVgrzOfXU8rt+4N1b2MxorPF8 619aCwVP7U16qNSBaqiAJr4e5SNEnoAq18+1Gp8QsFG0ARY8xp+qaKBByWES7lRi3QbqAKZf yOHS6gmYo9gBmuAhc65/VtHMJtxwjpUeN4Bcs9HUpDMDVHdfeRa73wM+wY5potfQ5zkSp0Jp bxnv/cRBH6+c43stTffprd//4Hgz+nJcCgZKtCYIAPkUxABC85ID2CidzbraErVACmRoizhT KR2OiqSLW2x4xdmSiFNcIWkWJB6Qdri0Fzs2dHe8etD1HYaht1ZhZ810s7QOL7JwypO8dscN KTEkyoTGn6cWj0CX+PeP4xp8AR8ot4d0BhtUY34UPzjE1/xyrQFAdnLd0PP4wXxdIUuRs0+n WLY9Aou/vC1LAdlaGsoTVzJ2gX4fkKQIWhX0WVk41BSFeDKQ3RQ2pnuzwedLO94Bf6X0G48O VsbXrP9BZ6snXyHfebPnno/te5XRqZTL9aJOytB/1iUna+1MAwBxGFPvqeEUUyT+gx1l3Acl ZaTUOEkgIor5losDrePdPgE= Organization: Baylibre Message-ID: Date: Mon, 29 Jul 2019 15:06:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190726124639.7713-2-mjourdan@baylibre.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/07/2019 14:46, Maxime Jourdan wrote: > 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"; > Reviewed-by: Neil Armstrong