Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5592844rdb; Sun, 17 Sep 2023 04:01:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzfiYiiPczjVes0TCXJALYA6FakPQZ0Uqp0OOcmKGe3cfUwcn9Y4IX/Es/uqDVPrKvZ4LH X-Received: by 2002:a05:6a20:a127:b0:13f:b028:7892 with SMTP id q39-20020a056a20a12700b0013fb0287892mr6628723pzk.2.1694948510133; Sun, 17 Sep 2023 04:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694948510; cv=none; d=google.com; s=arc-20160816; b=NPBMG+0ZrQvjqfmCX3jkzWXW4aPpb4qxhJ+ZqayE9HfbtWMskyREWPjS1h3NYGwoiK zXc/dZKMUHSrixNEs0qxSPUUITFz4NQ9kRcbz2ri4iXOi+kdKlYHyhvzozRsj0Q2wQqe 3LF+nRoCSwpfESbdlIHzpX/2fDd2NWT5omhQLSbW0Fo0SBHN5SzbiNtdiOArivhjSsTE jthzW0YPrp9MxAVHKHKOzwmwGj7Yy0HRYaPcbQPfGgo5G1calZ/yrNrMqXg4ytQa+ACb opagT7P9VHraRwD2T9kD6bKqyiBOpSA2neqt3XE/3xFUSr3Jh8UpaA607pIRGiTb08nh cYXQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7Ej2iHCcb+ypEII00ww2P8XQzFIB5qKAjUYcnr1yKKc=; fh=Eq/QL4313IAhViJyA5wvz0Rr9UQdYY9ARFjnRQlrYfM=; b=Li+SpTzWC967HDHO3t9z0cA/ZJLYbwcp/wng4rQPduhPZlz64PM45skEzIVJxmOnFS 1wTe7mQoQDg/0YLiTkZOSg1tQc/WZSHJxnH7jsXGYIMOf49kWXYl+gVDDtOdkccIshFQ OyUBD+CmkIeUPgENVEEji9AE3SJJqieCBylYfTwWcE0QuQjGjN9OYq5col/YgSikWuS9 l0fwDSnr2TTMXy79yju6i9gJEnIo7L2zCd78cNBb5ES3a200r01lZjNTrBGHfT68Ixyl ZDDsR0/FBXQzH+FqdK/ByjSCDLxfQ2nI0slk6J0dtoiKOoJm+bog6yJLShQIfscavpET VIkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hm0awLNg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j20-20020a170902759400b001b83767e879si6169425pll.266.2023.09.17.04.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 04:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hm0awLNg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 215298024615; Sun, 17 Sep 2023 00:57:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233892AbjIQH5K (ORCPT + 99 others); Sun, 17 Sep 2023 03:57:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234264AbjIQH4z (ORCPT ); Sun, 17 Sep 2023 03:56:55 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 840D518C for ; Sun, 17 Sep 2023 00:56:49 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50305abe5f0so1205556e87.2 for ; Sun, 17 Sep 2023 00:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694937408; x=1695542208; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7Ej2iHCcb+ypEII00ww2P8XQzFIB5qKAjUYcnr1yKKc=; b=Hm0awLNgFer2cbs0zZeuYvaMYVRtCDMUGUn4l+MxWwkcQI+UfPc/QtgmLTD947WrnS OQdoJIfaEnSKeUztW+PagF/NUydKfqPY9v96sykdERVYkY8tEm9gBaa92hmopSfH7Z0e vQrR5WH1nYIIr8Rn2D7ztT6+60pRqJ2PKCTQtHiXMP1pqQyat/B+FBzToK8sf2JzoxYc qVnLiGJgpsIWzsyhNGSIKPk1nz/wIAcFoOY4QVNGfIIpXpKfyUWKrstL2PXweNu1c5kq QpxT48oWfazZganXsS5A9GOLqyOXXXo53a4MgxDw+0niLvMHH1A/51MYlv9siA45RRwI +DDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694937408; x=1695542208; h=content-transfer-encoding:in-reply-to: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=7Ej2iHCcb+ypEII00ww2P8XQzFIB5qKAjUYcnr1yKKc=; b=m43VZv7yrtL+d+f3mEXtTMg3nt0MbBuI9pkVvN1897BRDmp3f1DQmgsUujnhOrAWQ7 ThI4Qg8kp+seEfByfhGphufYog+MBxvOhcMVtKWvdpbZ+V5ge/irTbizUvKatErN6CuE ikXoIVIwEua3s00DzBUYnubEqqJkga0az/3OcTul4FGN1XFNXViOPLuLq4uR22lVq4rV nKdhFx+vNcmoeqrHvPJxxs2vab5f10z3w9gv8nIm4fpRAODNiX9r8r6eh+Xdp7oTBdM9 TwKxOY4g5SoKj5YBwopTZckAnLqUPpDKVKBw5Tr2hga/15036Vh6hE2yp89sOuOa3uUh 0qEg== X-Gm-Message-State: AOJu0Yw5UeGRRlE2LvwnSFYSFbXUm3vcEvTdg5Si6zaClBDP2poXmXwW TfwgpXVMtsZ7wkZ245ZQa66UOg== X-Received: by 2002:ac2:5f56:0:b0:503:653:5713 with SMTP id 22-20020ac25f56000000b0050306535713mr2182926lfz.47.1694937407694; Sun, 17 Sep 2023 00:56:47 -0700 (PDT) Received: from [192.168.1.77] (150-140-187-31.ftth.glasoperator.nl. [31.187.140.150]) by smtp.gmail.com with ESMTPSA id ba30-20020a0564021ade00b00525c01f91b0sm4327201edb.42.2023.09.17.00.56.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Sep 2023 00:56:47 -0700 (PDT) Message-ID: <30384744-94d7-2675-63ad-d8531e3156d1@linaro.org> Date: Sun, 17 Sep 2023 09:56:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v12 6/7] dt-bindings: media: wave5: add yaml devicetree bindings Content-Language: en-US To: Sebastian Fricke , Mauro Carvalho Chehab , Nas Chung , Sascha Hauer , Fabio Estevam , Rob Herring , Shawn Guo , Philipp Zabel , Jackson Lee , Krzysztof Kozlowski , NXP Linux Team , Hans Verkuil , Conor Dooley , Pengutronix Kernel Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Robert Beckett , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Nicolas Dufresne References: <20230915-wave5_v12_on_media_master-v12-0-92fc66cd685d@collabora.com> <20230915-wave5_v12_on_media_master-v12-6-92fc66cd685d@collabora.com> From: Krzysztof Kozlowski In-Reply-To: <20230915-wave5_v12_on_media_master-v12-6-92fc66cd685d@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Sun, 17 Sep 2023 00:57:39 -0700 (PDT) On 15/09/2023 23:11, Sebastian Fricke wrote: > From: Robert Beckett > > Add bindings for the wave5 chips&media codec driver > > Signed-off-by: Robert Beckett > Signed-off-by: Dafna Hirschfeld > Signed-off-by: Sebastian Fricke So this is v12 and still no tested? A nit, subject: drop second/last, redundant "yaml devicetree indings". The "dt-bindings" prefix is already stating that these are bindings. Basically three words bringing zero information. > --- > .../devicetree/bindings/media/cnm,wave5.yaml | 66 ++++++++++++++++++++++ > 1 file changed, 66 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..b8f383621805 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/cnm,wave5.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/cnm,wave5.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Chips&Media Wave 5 Series multi-standard codec IP > + > +maintainers: > + - Nas Chung > + - Jackson Lee > + > +description: |- Do not need '|-' unless you need to preserve formatting. > + The Chips&Media WAVE codec IP is a multi format video encoder/decoder > + > +properties: > + compatible: > + enum: > + - cnm,cm521c-vpu It does not look like you tested the bindings, at least after quick look. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Maybe you need to update your dtschema and yamllint. Missing blank line > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: VCODEC clock > + > + clock-names: > + items: > + - const: vcodec Drop clock-names, not really useful for one entry. > + > + interrupts: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > + sram: > + $ref: /schemas/types.yaml#/definitions/phandle > + Drop blank line > + description: > + The VPU uses the SRAM to store some of the reference data instead of > + storing it on DMA memory. It is mainly used for the purpose of reducing > + bandwidth. > + > +required: > + - compatible > + - reg > + - interrupts Keep the same order as listed in properties: > + - clocks > + - clock-names > + > +additionalProperties: false > + Best regards, Krzysztof