Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp770117rda; Sun, 22 Oct 2023 09:02:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEiivAh/iyzxqJgIOyK0tn9P5O/DLpupSltc++ck6T+/iKSOECuUmbAUflFQ+yWKlD8VQYv X-Received: by 2002:a05:6a20:7d8a:b0:15d:b407:b0a0 with SMTP id v10-20020a056a207d8a00b0015db407b0a0mr9668855pzj.26.1697990521172; Sun, 22 Oct 2023 09:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697990521; cv=none; d=google.com; s=arc-20160816; b=eYCuXehlGxA//FkJ+WgWDiMlyfId4mWLb8gxUDraehMy8PuI8r2YGEVNXjL77EpN1R TEDMWwLTzfBTpN2io66ih1JHQ2AFDFj021TZNYpAlt3z6M9RQcXUbifAnyJLffhSaG4O PAq+Fa2IJbC9ZWqeqUhHouTmpdP/r6WZ69LM4/NaQyyZIb63hX+b+RgxDEPCUSYcDmvo zrGNKSHx/iTl7SWNxLeTGsMEvwizLOErK4eLxYAnfxy6PjI8WFnvszHTm5yMXJOIyEXI 8sbZnk8IxAPA6HFmzRRIcbuQSarTJ4D7TLxjBgCZn/e+xDJ5/XlMVgr9OeTRntPQqgeK AjXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=XF8bZOPJInqq5OxQpnzQxfKIpWa2JL/vX2kovDuHNpI=; fh=t0/v23xEqXzCkJ7dZan82nS93tOqKdPjUWnJ8OjisL4=; b=q8lq4olRGiEcqRrz66vMFLfrVoum0GKXlmiZKp1aR4V/+gEm9AN6X9DyMJtIlhu7En NTbWHJN6fPYFji11nGXFQXiH+LRrM5QiMqOV0zUawFzB1qOH7ylIxnGp0galmbpaKeSt IZednTCdk1kb7+5i5Fpul7BIIpH4BmL2i5af0FtriZ9RB9aTEBUsZ9ABRScLV5Y62+7/ SDu4IWTYH+vM0zDzSIdOLVMI57OB84Z5lJ5QZiI2iuKICepM1kiHQbDFgMF7tsYAwbSa PcgW5A6ftLw1d75tk/HLWLcnh/el5kr6xynLg+/WaqVgK6YKUBLqrJeXY7tj9LkluFxK Me2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z/Loa9RW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x4-20020a63db44000000b005b106cd44d1si4984653pgi.486.2023.10.22.09.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 09:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z/Loa9RW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 341018069D86; Sun, 22 Oct 2023 09:01:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232295AbjJVQBm (ORCPT + 99 others); Sun, 22 Oct 2023 12:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231909AbjJVQBk (ORCPT ); Sun, 22 Oct 2023 12:01:40 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 220AEF4 for ; Sun, 22 Oct 2023 09:01:37 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2c5210a1515so38091911fa.0 for ; Sun, 22 Oct 2023 09:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697990495; x=1698595295; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XF8bZOPJInqq5OxQpnzQxfKIpWa2JL/vX2kovDuHNpI=; b=Z/Loa9RWaONqFJyCGdaoAcXlUNJX6RrKBk8Ah4sGPY6569tKJ5nFZSbAHVnsWe0zq6 ZTuIKBY3ZS3/gnMfVYA289/dCAKYh1XVbNLCmSqk+DSD1CiODDO+tyR1dodoZQ7Mbgd9 5m2kA9wWF9e0ru7vkfXmZ6x090R6nJBakmBsuXfBK5olzB0mIWD+od8ux4TaDgjNZizM 0oe7HsoYyP61yM9IsKgXktyzm/mOdyewLm4owC7zCMh/DOcXP8gTaJMiDkM7h8pbMUao 28anNrrWHEK5iegGR/8u7vqJ2LEHcldTw9w0okzcZi5bD2l9VXCDFE75aHz0tadlXuNo zbGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697990495; x=1698595295; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XF8bZOPJInqq5OxQpnzQxfKIpWa2JL/vX2kovDuHNpI=; b=ixF8SPDofcC1WnfPDPQLbcDutxUspQF7WL1rtFQPPp5WRF5mHYel9vOXfpZlBJ0bg5 cx1u2QVgCExQkVblXtoZKfMB+ENjmBzxIrVR3qvdzuMit9733iL/FlKmJf2THC8SbPkm T5ajvN/s6h4nCjf5ZijDbgXw0KY91YeHtL9tvyvoG79amUXRHg3TXLvZ/eODePr+9Orc YBgc1H33YL1ixwX+Cy0np5VIRVYnQt4aIfBnbUzWJgUXRD3IvsJuH23yX7pB3cK2Qeqb qiQ2GWXMIsZGiny103b3zQWVdMfqmHRa8tKO72XOJGxz5AasA8mcCdII/cN0iWz/GXAC 59FQ== X-Gm-Message-State: AOJu0YydA3RpXD0S1/4blNxJAlc6ysz5y9yf96CQKivPkoaNgn2nDgC3 +gb0nI1i1tXT/TttM6p0h0a91g== X-Received: by 2002:a05:651c:211d:b0:2bf:e61b:c980 with SMTP id a29-20020a05651c211d00b002bfe61bc980mr6172749ljq.8.1697990495328; Sun, 22 Oct 2023 09:01:35 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id c8-20020a05600c0a4800b0040775fd5bf9sm7345301wmq.0.2023.10.22.09.01.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Oct 2023 09:01:34 -0700 (PDT) Message-ID: <3d465d3c-386d-467b-87e9-806962464ac5@linaro.org> Date: Sun, 22 Oct 2023 18:01:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v13 6/8] media: dt-bindings: wave5: add Chips&Media 521c codec IP support Content-Language: en-US To: Sebastian Fricke , Rob Herring Cc: Krzysztof Kozlowski , NXP Linux Team , Conor Dooley , Mauro Carvalho Chehab , Jackson Lee , Hans Verkuil , Sascha Hauer , Pengutronix Kernel Team , Shawn Guo , Philipp Zabel , Nas Chung , Fabio Estevam , linux-media@vger.kernel.org, Tomasz Figa , linux-kernel@vger.kernel.org, Nicolas Dufresne , kernel@collabora.com, Robert Beckett , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Darren Etheridge References: <20230929-wave5_v13_media_master-v13-0-5ac60ccbf2ce@collabora.com> <20230929-wave5_v13_media_master-v13-6-5ac60ccbf2ce@collabora.com> <20231016134720.GA2650973-robh@kernel.org> <20231021120526.eqe3esyxyi5b3e5d@basti-XPS-13-9310> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+B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svv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231021120526.eqe3esyxyi5b3e5d@basti-XPS-13-9310> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 22 Oct 2023 09:01:58 -0700 (PDT) On 21/10/2023 14:05, Sebastian Fricke wrote: > Hey Rob and Krzysztof, > > On 16.10.2023 08:47, Rob Herring wrote: >> On Thu, Oct 12, 2023 at 03:24:12PM +0200, Krzysztof Kozlowski wrote: >>> On 12/10/2023 13:01, Sebastian Fricke wrote: >>>> From: Robert Beckett >>>> >>>> Add bindings for the chips&media wave5 codec driver >>>> >>>> Signed-off-by: Robert Beckett >>>> Signed-off-by: Dafna Hirschfeld >>>> Signed-off-by: Sebastian Fricke >>>> --- >>>> .../devicetree/bindings/media/cnm,wave5.yaml | 60 ++++++++++++++++++++++ >>>> 1 file changed, 60 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/media/cnm,wave5.yaml b/Documentation/devicetree/bindings/media/cnm,wave5.yaml >>>> new file mode 100644 >>>> index 000000000000..b31d34aec05b >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/media/cnm,wave5.yaml >>>> @@ -0,0 +1,60 @@ >>>> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >>>> +%YAML 1.2 >>>> +--- >>>> +$id: http://devicetree.org/schemas/media/cnm,wave5.yaml# >>> >>> Filename matching compatible, so: cnm,cm521c-vpu.yaml > > With which compatible should the filename match? (see below) > And just to be sure, this means that I rename the file to: > `.../devicetree/bindings/media/cnm,wave521c.yaml` With the fallback compatible. > >>> >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>> + >>>> +title: Chips&Media Wave 5 Series multi-standard codec IP >>>> + >>>> +maintainers: >>>> + - Nas Chung >>>> + - Jackson Lee >>>> + >>>> +description: >>>> + The Chips&Media WAVE codec IP is a multi format video encoder/decoder >>>> + >>>> +properties: >>>> + compatible: >>>> + enum: >>>> + - cnm,cm521c-vpu >>> >>> Can this device be anything else? Why VPU suffix? >> >> It needs an SoC specific compatible (TI something...) as well (or >> instead). Unless there's a public spec with details on how many >> clocks, resets, interrupts, etc. there are. > > Okay so how about this, a bit similar to the Coda driver supplying both > a general option and a SoC specific version: Can generic compatible be used alone in board designs? If it is licensed block, then most likely you want a fallback. > > properties: > compatible: > enum: > - ti,k3-j721sX-wave521c > - cnm,wave521c > > (ti,k3-j721sX-wave521c = manufacturer,SoC-codec) > (tested on j721s2 but should work on other variations as well) > > Another alternative could be: ti,k3-wave521c (less specific on a single > SoC series but connected to a bigger range of devices) Best regards, Krzysztof