Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp915157rdg; Wed, 11 Oct 2023 08:56:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEx21ZDy8fG/jtYMG+Z3LKS1L3BClAaFhPGtBoTQw0rromw2S1briEuendofJa9NK3n9BcJ X-Received: by 2002:a17:90a:3f16:b0:279:354b:50f1 with SMTP id l22-20020a17090a3f1600b00279354b50f1mr19226365pjc.3.1697039788661; Wed, 11 Oct 2023 08:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697039788; cv=none; d=google.com; s=arc-20160816; b=aMkDIOklkS9IBHAMoe7+DH+xpJoQrK/SO/X66gnSShPK96G7XJirLQU1pa1WVRz1Aq Jgq/FHLmAKdNKAlqzv6fGBis+4KIVVCsoeZOyvrxRAh4K4XQFqVquKdB3UxK//vWYus5 eTucY043P9M6YUmWIWtmho/LPfVLmMh+Afz4//jQGD8Uegaz4JL3v7x3ROpIsDy/wmd+ 3NjMWHLp9sbEqPSH5pkWCj3mcdYvaRJwNdj2WrRuOUv/GYWdnFRwhlSI0T0vdjKKexr4 Kqe/LOZGKtObiOEeLrK5JHAvSTOdSCQ8WLAcJ8qtVVAP7Sr14kq26f8/7EyoelPQgq3h byIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hY6jrqA2EuGADJ4dP8LfJcVE3D3D9k9MlFnVeWRTDkA=; fh=mvibdr2T6oThXm2eEN5oxJe9F11OgrUwHuOpyiZDq38=; b=J7by4+YciZfbTAKJA7nlh71fS1z1hwe/AeyL0pDUE2pxijq2LUTQfV/bRnBnmayeEq fViPIcSjWHIJCXGwDyzstWk78c6zIaEASNgXu+skJORmAYEheQn24ywnN8SpRIaDO14s F33dYcZ0IOye9NFi25lCCh560hgXJZkon1oaH+/6Jm55tkqeITKZbUp2CfbD+kbhrZbr tGTeLZWczjrJS6hTB6PQOlSNRSpGxXVGyKKgzm7BbQOLUxhtso8tll664VZ5vfiyNcXp W7c5PsEuqEh+MO1qxErzLSa7QLkvVXr7GQDZPj48P11IoUasTOn/lH0GiE0CPHxf89Bo J44A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ixz6+3To; 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=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u16-20020a17090a0c5000b002772b8993ebsi86805pje.159.2023.10.11.08.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 08:56:28 -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=@kernel.org header.s=k20201202 header.b=ixz6+3To; 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=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8F80D8024FBE; Wed, 11 Oct 2023 08:56:14 -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 S232345AbjJKP4C (ORCPT + 99 others); Wed, 11 Oct 2023 11:56:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232596AbjJKP4A (ORCPT ); Wed, 11 Oct 2023 11:56:00 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A40B99D; Wed, 11 Oct 2023 08:55:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D5EBC433C9; Wed, 11 Oct 2023 15:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697039758; bh=l9SFEh6GumGFUG+DXwfjem9vY8NkT0tXT2M7UKxvr+4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ixz6+3ToD5gCvDW97nhaKCvGkg+zuAa66qnUIYhJxKe8kNBhHm2Kcov3Ggelcst9i gCuJyp9AUNk/QELshcUjFj0lTDxx2hxty9VRcvCceAtmIYNmsQaSYciVbweYPfD+QT PaAS5v9GBATPOL+MQPemncG7EnSSAETrqt1nMcyVyZho0hjP69D9eJHZcSPQLh0gLq Zcwghmsthja+tv1QeN0SZmKhbZ87cTA90Ijeuct3i+wfsAUXKNED9EUCKIKU5HBlwY DqbyU8yLOZk9J+mr71itTN70mVjLDa/ElG2Fn+OZAaLbYJefXMY+gAPTBnvyrilY3U vhMRPbSWgnBQQ== Date: Wed, 11 Oct 2023 16:55:50 +0100 From: Conor Dooley To: Hugues Fruchet Cc: Ezequiel Garcia , Philipp Zabel , Andrzej Pietrasiewicz , Nicolas Dufresne , Sakari Ailus , Benjamin Gaignard , Laurent Pinchart , Daniel Almeida , Benjamin Mugnier , Heiko Stuebner , 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, Marco Felsch , Adam Ford Subject: Re: [PATCH v2 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Message-ID: <20231011-jogger-designing-0eb6e2daacba@spud> References: <20231010091643.3666290-1-hugues.fruchet@foss.st.com> <20231010091643.3666290-2-hugues.fruchet@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HQXQfP5KdaxdfgWJ" Content-Disposition: inline In-Reply-To: <20231010091643.3666290-2-hugues.fruchet@foss.st.com> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 08:56:14 -0700 (PDT) X-Spam-Level: ** --HQXQfP5KdaxdfgWJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Tue, Oct 10, 2023 at 11:16:39AM +0200, Hugues Fruchet wrote: > Add STM32MP25 VDEC video decoder & VENC video encoder bindings. >=20 > Signed-off-by: Hugues Fruchet > --- > .../media/st,stm32mp25-video-codec.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-= video-codec.yaml >=20 > diff --git a/Documentation/devicetree/bindings/media/st,stm32mp25-video-c= odec.yaml b/Documentation/devicetree/bindings/media/st,stm32mp25-video-code= c.yaml > new file mode 100644 > index 000000000000..479566171568 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.ya= ml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > + > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video enco= der > + > +maintainers: > + - Hugues Fruchet > + > +description: > + The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware > + decoder peripheral based on Verisilicon VC8000NanoD IP (former Hantro = G1) > + and a VENC video hardware encoder peripheral based on Verisilicon > + VC8000NanoE IP (former Hantro H1). > + > +properties: > + compatible: > + items: This "items:" is not needed, the enum on its own is enough. > + - enum: > + - st,stm32mp25-vdec > + - st,stm32mp25-venc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + vdec: video-codec@580d0000 { The node labels for both nodes here are not used & should be dropped. Otherwise, this seems fine to me. Cheers, Conor. > + compatible =3D "st,stm32mp25-vdec"; > + reg =3D <0x580d0000 0x3c8>; > + interrupts =3D ; > + clocks =3D <&ck_icn_p_vdec>; > + }; > + - | > + venc: video-codec@580e0000 { > + compatible =3D "st,stm32mp25-venc"; > + reg =3D <0x580e0000 0x800>; > + interrupts =3D ; > + clocks =3D <&ck_icn_p_venc>; > + }; > --=20 > 2.25.1 >=20 --HQXQfP5KdaxdfgWJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZSbFhgAKCRB4tDGHoIJi 0t0uAQCP6ge+y1j9+kMRyc0k7z2mmqF+5BxIUEKWEn3WUxp1vgD+NYj7GsuoXHij EdPldWL1H+xzD4wuI5OWRDd2WLQiMQY= =H1kq -----END PGP SIGNATURE----- --HQXQfP5KdaxdfgWJ--