Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1884915rdb; Mon, 9 Oct 2023 06:12:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOA8XnxcdYv8lFJct7TEfdXTP5GWgq+awlUZWU037rU4L2UHDW5BO6n7+oz4/u61D3J1s1 X-Received: by 2002:a17:902:e80a:b0:1c6:7ba:3a9a with SMTP id u10-20020a170902e80a00b001c607ba3a9amr20552325plg.14.1696857132970; Mon, 09 Oct 2023 06:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696857132; cv=none; d=google.com; s=arc-20160816; b=yzswFRSvHdNkdPFr9qOU+Ugu4LVs8RNIjcCjQjnkmN1RLxbQxUxmYwjcN94/4QP2/v uRHJkOhwAw1183RYwJyEvvqCEkXcDvJ6LglCL53EI9/mtqm+mU+mhULlbqycuY0buVmI ojS3rZyCRfv3bp3z1Jiixy7fFPmagwMmp5ASD0l8QRaBFLhMzmG2ec+mA3tBdIGiesS3 V1UKyqKzCsU5yMBvuAuUmlvhSEaaNGF8W9uXDds4Z28nizjkHOV/xVW2S9vJoh7GoQ3J mTceuQYg+sZl6hSMetPeuezQ6xBBP+gQvhtndWZuq8aGQoUHIhNaDYpp7EmCgqL37L+f CN8Q== 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=dfLHM8Y/UzU7etH/A55fKiYTRZ0gEKXngehJqU3T/I4=; fh=2hUcL/1JYes/p7lHf4IdRiiQMU6EcPQn79oXOY08jos=; b=vaLjRAPTv1GXRzIL1Nee2EQDdIN7jkHHgWD5KuC7OL5a4LhTz/SMT7GujsP0TXlbJz 6QiFCJ/pG3y5SK8i9porVNOFA13tAGQxLqHGjTqrCOGPnKvz817mb8nZ+WMsXA6vEtM1 SURDxmGrtwOf445ZUCcUxI3HQnmw0zp7eOD1kF1IoOJZDgIGqOhwiFqrzwCabgbPNwWS vAUQRDIh0XzSEkaYiZZTw2fE4O8RorD9YbYIW2uH2nH4pCcF5YM4pdf8kl3HgjlY2QbE TkemI/QVsLuLvorZexUhG5281N4ImtK1+Js3oFIiwiADQAJMd1YkQD7MVL/dq6iTGsjS NDlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=rlPHqK7u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id cp12-20020a170902e78c00b001c77172c43asi8962678plb.261.2023.10.09.06.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 06:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=rlPHqK7u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4D305801BFD4; Mon, 9 Oct 2023 06:12:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376928AbjJINLb (ORCPT + 99 others); Mon, 9 Oct 2023 09:11:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376915AbjJINLI (ORCPT ); Mon, 9 Oct 2023 09:11:08 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938FD1AC; Mon, 9 Oct 2023 06:10:31 -0700 (PDT) Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 399D7FAX012942; Mon, 9 Oct 2023 15:10:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= selector1; bh=dfLHM8Y/UzU7etH/A55fKiYTRZ0gEKXngehJqU3T/I4=; b=rl PHqK7uLpGElo7aPc2ynDZjZdrdMI1PGlvuA8yPxnSS/0AZRuM/uMd/UPLm9rt0Wx EuEeQZ1IK+8IUHZiBWhiThDPOHxnqGAGotdjN+QFeyq7marVITHx78VGcy2+SQIO l/ikBrPFHjaDK0kyQnamiAaHyD4bfLSo9olcY+5GoQuCoKRwzUe5TVMZv4LgF9v3 5T3AFJr8yNHQbcBJmuK0xZJvw9QvdlKmxe84W50z+03p5gdtxiaAmiMvaIqH0cdt jJ7oHazCg3ng0BHT5jP6ktR6fP5aMHlQEWjhU1K06PYcv8Q2GMElfefPD2b5MuH9 GSs96KProJ6rztMrpAYw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3tkhk3d8vw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Oct 2023 15:10:12 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 056C310005E; Mon, 9 Oct 2023 15:10:12 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F0E38245508; Mon, 9 Oct 2023 15:10:11 +0200 (CEST) Received: from [10.201.20.120] (10.201.20.120) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 9 Oct 2023 15:10:11 +0200 Message-ID: Date: Mon, 9 Oct 2023 15:10:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 1/7] dt-bindings: media: Document STM32MP25 VDEC video decoder Content-Language: en-US To: Krzysztof Kozlowski , Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Hans Verkuil , , Maxime Coquelin , Alexandre Torgue , , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , CC: Andrzej Pietrasiewicz References: <20231004091552.3531659-1-hugues.fruchet@foss.st.com> <20231004091552.3531659-2-hugues.fruchet@foss.st.com> From: Hugues FRUCHET In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.201.20.120] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_11,2023-10-09_01,2023-05-22_02 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 09 Oct 2023 06:12:08 -0700 (PDT) Hi Krzysztof, On 10/5/23 21:45, Krzysztof Kozlowski wrote: > On 04/10/2023 11:15, Hugues Fruchet wrote: >> Add STM32MP25 VDEC video decoder bindings. >> >> Signed-off-by: Hugues Fruchet >> --- >> .../bindings/media/st,stm32mp25-vdec.yaml | 56 +++++++++++++++++++ >> 1 file changed, 56 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-vdec.yaml >> >> diff --git a/Documentation/devicetree/bindings/media/st,stm32mp25-vdec.yaml b/Documentation/devicetree/bindings/media/st,stm32mp25-vdec.yaml >> new file mode 100644 >> index 000000000000..cf41f704113f >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-vdec.yaml >> @@ -0,0 +1,56 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> + >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/media/st,stm32mp25-vdec.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: STMicroelectronics STM32MP25 VDEC video decoder >> + >> +maintainers: >> + - Hugues Fruchet >> + >> +description: >> + The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware decoder >> + peripheral based on Verisilicon VC8000NanoD IP (former Hantro G1). >> + >> +properties: >> + compatible: >> + const: st,stm32mp25-vdec >> + >> + reg: >> + maxItems: 1 >> + >> + interrupts: >> + maxItems: 1 >> + >> + interrupt-names: >> + maxItems: 1 > > This must be specific or just drop (little use of names for one entry) I'll drop in v2. > >> + >> + clocks: >> + maxItems: 1 >> + >> + clock-names: >> + maxItems: 1 > > Same problem. I'll drop in v2. > >> + >> +required: >> + - compatible >> + - reg >> + - interrupts >> + - interrupt-names >> + - clocks >> + - clock-names >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + vdec: vdec@580d0000 { > > Drop label. Node name: video-codec > (assuming this is video coder/decoder) > > Node names should be generic. See also an explanation and list of > examples (not exhaustive) in DT specification: > https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation I'll do in v2, thanks for pointing-out the "video-codec" generic name. > > > Best regards, > Krzysztof > BR, Hugues.