Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2930190rdb; Wed, 4 Oct 2023 16:41:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHY+xHuCs6O0KQDcE1rXU/w1mvP1dK8qGoGG66MVfeEXEDnc0FVFrs4z2VaOADMANO62ic1 X-Received: by 2002:a17:90b:4c12:b0:274:8363:c679 with SMTP id na18-20020a17090b4c1200b002748363c679mr3459414pjb.19.1696462904291; Wed, 04 Oct 2023 16:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696462904; cv=none; d=google.com; s=arc-20160816; b=QLc2wwFl9GP9/6TdR+nSIz4+ouszR/gMiyjr6T/A3/pwxkH5PncKavhyvt+jonksvb tGoS/C34BOYE6FXJVH39LKBrwxNs1TGIiVRMdZMKAzeua/7RvDR5dFXeYugYP4O4FW3L QXpUaSvJ61pbpir+Ug6eJ2LRW35ZSFXw8fuwK1pevcSexuse3aW7aION6Ic1wb4IZSlf Ust9eXMImdhibjKfwIbFAbhg6fbvxkfbWFD03Cyv7PKLhulG06fnSqyHF5WN4eTtilLM w/zStlfpAkbICAa6rdRjcU5/cKV39TbOC5mWWefQGLiDu+bx5mjROFitY7Ht2w2lXhJb nqbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4C1iihc3EDnsL/rTdUR5Op9U6iZWDJfi2p6KDHXbMCg=; fh=WW2HNFLqsgH+2fQ7GQ/Ljzilql5kAvFEmFzastB9Cfk=; b=JmerPnRXqBKHulyMwBv+EAO7Z+HxtLYRFPhRBWzZnB/2Z3HjA4qLENvr2pzEk9Vpp7 BvHZAowtlFg7NENY2C0JRBwd701WHMwc9WHnQ6wnRmxwFv8QQnJ8XTAl9PKD+1VetqOu HYTGHf1wT8xGTu2toVt9/i0T976XZUiug21TuVUuNEiTTUU6o+p8q05iZOJg9jA8K7gt 2kncRqu73qOU7CIstfVQe7BXthzotuRYTjKOOoWCuUt04JQVSo/pxOmqzmeQ6hG4yqxh e8jmtIdIpgzygl8Pv23qhvVomPosBPB9ci/6cpXzYx7MLNchAE84qpoqcu4rx8omIM8P MeSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ifi6Y6Pl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id nw16-20020a17090b255000b00262ca5c4c12si350461pjb.178.2023.10.04.16.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 16:41:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ifi6Y6Pl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4968981F39C2; Wed, 4 Oct 2023 16:41:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238556AbjJDXl1 (ORCPT + 99 others); Wed, 4 Oct 2023 19:41:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236922AbjJDXlZ (ORCPT ); Wed, 4 Oct 2023 19:41:25 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2857C9; Wed, 4 Oct 2023 16:41:21 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id 5614622812f47-3af65455e7fso272356b6e.3; Wed, 04 Oct 2023 16:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696462881; x=1697067681; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4C1iihc3EDnsL/rTdUR5Op9U6iZWDJfi2p6KDHXbMCg=; b=ifi6Y6PlyomqjHtWWBT9F1EAhHeZLFwYQxquDS9F4hwKJje+NHz/nRc8Y3s3INPyR4 J7JB9+GF1t/43fzoDfAtu1ZUywHmxaJPWUgrDFrvmT++z9gTG9wYhsZoFeHxRObZW8ZB voOCUSbyqmPwZfyBk9gbGTPcSVYZYATGMxcLKSeF5cqWoaVozbXP9zPQ18j0DfkBzYER cVhNN3WlLieqjNdY2ZOJ/+gUIlVZzh/9/BRonzH0RMYp+it95DVmFNOrMsuOxmEg1JFy zKMiOUJ4Bj4bcS2beHzsdFxcdEmt6QHzOWtnVEEqvjqYbDo9fhCCScNZpiCc5PREmMFi Auqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696462881; x=1697067681; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4C1iihc3EDnsL/rTdUR5Op9U6iZWDJfi2p6KDHXbMCg=; b=X7SCeyX+fEe6CcktCGH2foTXiRxHWxwAAovDsqwSTomGIAzeZTpg5zpmfxr3//CQot UsyjUwuCtvfwvf/W6X0zgtgd6c7y89Gc5tjsuGazSTdDZotJLKoIElZtfByLv2UPVu5P 1QPgVZTKBvriIjKtOC4zxW5O0G7mnbWPxGXiMYWwvVPDaw+gOMOw7eLjQFrhPhigHVu6 FF2JFzecVOpDpRxxx/EXi/3ZTVcA8eVRDzgaW5scTMOcFCSFGPQy5yE1P02mjVtq2GLy V/sr/4wl9tShiKMeggnWS7fwSYWdRUPIAtGmCS63N04VkIbVAt7mVqoOh+XtUpQmkRY+ sjww== X-Gm-Message-State: AOJu0YxGfcHt+o7iwQ6QPp/vDJpp6oV58cVlR2CVWIbeRhnsdp7Z4g6s uZhVGIMsKQ4WWNI+KS7R2R81E17AqqiDkgwWbsQ= X-Received: by 2002:a05:6358:6f06:b0:13c:eea2:d021 with SMTP id r6-20020a0563586f0600b0013ceea2d021mr3677892rwn.9.1696462880856; Wed, 04 Oct 2023 16:41:20 -0700 (PDT) MIME-Version: 1.0 References: <20231004091552.3531659-1-hugues.fruchet@foss.st.com> <20231004091552.3531659-4-hugues.fruchet@foss.st.com> In-Reply-To: <20231004091552.3531659-4-hugues.fruchet@foss.st.com> From: Adam Ford Date: Wed, 4 Oct 2023 18:41:09 -0500 Message-ID: Subject: Re: [PATCH 3/7] dt-bindings: media: Document STM32MP25 VENC video encoder To: Hugues Fruchet Cc: Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org, Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andrzej Pietrasiewicz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 04 Oct 2023 16:41:41 -0700 (PDT) X-Spam-Level: ** On Wed, Oct 4, 2023 at 4:16=E2=80=AFAM Hugues Fruchet wrote: > > Add STM32MP25 VENC video encoder bindings. > > Signed-off-by: Hugues Fruchet > --- > .../bindings/media/st,stm32mp25-venc.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-= venc.yaml > > diff --git a/Documentation/devicetree/bindings/media/st,stm32mp25-venc.ya= ml b/Documentation/devicetree/bindings/media/st,stm32mp25-venc.yaml > new file mode 100644 > index 000000000000..c69e0a34f675 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-venc.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-venc.yaml# Can this dt-binding be made more generic, like something like hantro-h1 or VC8000NanoE? I think there will be more boards that may incorporate the Hantro-H1 or a VC8000 in the future, because I don't think this IP is unique to the STM32MP25. adam > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectronics STM32MP25 VENC video encoder > + > +maintainers: > + - Hugues Fruchet > + > +description: > + The STMicroelectronics STM32MP25 SOCs embeds a VENC video hardware enc= oder > + peripheral based on Verisilicon VC8000NanoE IP (former Hantro H1). > + > +properties: > + compatible: > + const: st,stm32mp25-venc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + interrupt-names: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-names > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + venc: venc@580e0000 { > + compatible =3D "st,stm32mp25-venc"; > + reg =3D <0x580e0000 0x800>; > + interrupts =3D ; > + interrupt-names =3D "venc"; Is the interrupt-names needed if there is only one? > + clocks =3D <&ck_icn_p_venc>; > + clock-names =3D "venc-clk"; Same thing for the clock. if there is only one clock, doe they need names? adam > + }; > -- > 2.25.1 >