Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp278151rdg; Thu, 12 Oct 2023 05:39:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+2gaLIZDQN91dnQUQnlre2hutp7EB/h12WW/7T2CAwLOx/AwbGP39LbTP+KKHvyJ29tab X-Received: by 2002:a05:6e02:152e:b0:351:4b68:ec3a with SMTP id i14-20020a056e02152e00b003514b68ec3amr30295719ilu.9.1697114368276; Thu, 12 Oct 2023 05:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697114368; cv=none; d=google.com; s=arc-20160816; b=Jb3OfNQ3plWQiw3NEe7ndJ+f/tvMjIFyVaSDPqJXKF1ohkkIWQrsJnwc41bZ4SrR8e 6jk71Zcuzv1VvL2KhvOHz8qVQ6giq20tqMA6DMImwWM0gPAy/kTIhqh3cpNwJ/q4/msj 2j3IQ3L7iOYa1Fb7YpLvmj8xcyh6t7WSy3pAROtUP7NrYZGDTyPt1jHTlg9tre+0ooT9 jqAd+nLWXZj3sHO3GOsa4teAATJVPqavL6IvRcia8Dy2VOAjdbMc0nKekbnOV4hAyH7m OROxM8nYlYb4ecCoWSY3PaVElULZNh4o5zxacJNLEE0qWfrvYSSSHZGI1MqaDfMVSiYs 4/jA== 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=SKYKtF8Rs4Df9JqahwPF42+aeaV4P03MLBBouRg8VCs=; fh=7bOqPtqucte5SvVeairHNjxnp4cEES4RrXv6jL6KhtI=; b=RSJ/zgqgX3Am4rhY3Cbt1FlJ6VAqNchQwZ0hA0RnpH+vjQHSQrROBit8G7SvcJcV1O smSCRNLzzdcv25GmM0+KGE2P531OyIBR3tiN+6neDszNpcQTJRPGzMjK5NZUQrvkfl1W qOqJaXQZCbiqaIgEzGQpwdpLaYCpgiXerMfjAZyFlgDLmPL8IxWYWoduFwuZlJguW1dC 36yoPrKPWyUkONDhfgzcBAkmoXqlewWGqxBu2TWKJOY8cWFMJvcCuydjeB2dM3jryMJk zrkzRX9Rjq5l/dYPrUyM0GLKYLdX+UXOWySuchJmuWZTzo+bgtXIT3X0Q2A7j8GYnN1/ 0/aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lBeelQmy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u32-20020a631420000000b00565dd108fd4si2078855pgl.115.2023.10.12.05.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 05:39:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lBeelQmy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 8A605832A232; Thu, 12 Oct 2023 05:39:25 -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 S1378198AbjJLMjN (ORCPT + 99 others); Thu, 12 Oct 2023 08:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378561AbjJLMjM (ORCPT ); Thu, 12 Oct 2023 08:39:12 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA35CA for ; Thu, 12 Oct 2023 05:39:10 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-32d849cc152so892224f8f.1 for ; Thu, 12 Oct 2023 05:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697114348; x=1697719148; 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=SKYKtF8Rs4Df9JqahwPF42+aeaV4P03MLBBouRg8VCs=; b=lBeelQmy8Jp8v3LkBLBjIzze0RVfupV6jscYc+Il2wYZvU8cKHvo2nuzQX+It9MnjS NAA5l9DGk43hLKiWEnq85gS3h1/9EbwtNVx+OENgFBBAEZGHRdRJLkuBIzVy1UXi+PhJ MSqeeFtXHI62tvW4/LDx6Q6ritAxhX2p7ZaqilN6QVrLwGmHIeeGNlxHt0j2wBwDL5QI xMv+rnYTK8JjUEIN3JotdE0TvAirf5XAlFzD0ZkcDrgPfN2OsrNiN6GRuNwz2hnJcptj AfBc9S82RGSdIVmFKpGtcjaxZW/I1uenBAHJH4mRmsqs9nwuCeWMMqptVPpwGfDPqBbB PyQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697114348; x=1697719148; 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=SKYKtF8Rs4Df9JqahwPF42+aeaV4P03MLBBouRg8VCs=; b=Q69yBkgZln/FVPr1Y9nmp4T12jd0GU1gTj7UoPmptz8HWk6ZtqLdrQxWiG6XgpMIeU 0UPgFb4xCJLwJ3BOf99262NWF13TlggC9ISbvWNMm0hHRI7uaP4ZdPOe9qFC/9JhSqdC 4xwZdPG98EOgAdiZ/tAR62lX7uPQNWyE3mvLuBplgihSnNeT5xu4II8ydr6iLhY1gJ2v 2QVXcAqcyLq4r+2kS4mg7rbEBOtQGr//OLDaPe+VfTbR3JLgnJDbu+ZB3POhM9gbEwGw CP/edpnLT1QhXLRweboZbHiD+/np57bnomvL0UMGUbPNhTz127uNOR5cUqILvXJ08Szm 7jZg== X-Gm-Message-State: AOJu0YxVhcPDeMl7gmjnBQIhKG79gzFjkdLdVMTSv0qrNI1bQgqJuFIA O28nst2isNcj+0Dh+HMGvEdJyQ== X-Received: by 2002:a5d:55ce:0:b0:32d:8ac4:d23f with SMTP id i14-20020a5d55ce000000b0032d8ac4d23fmr2836947wrw.29.1697114348486; Thu, 12 Oct 2023 05:39:08 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id n4-20020a5d4004000000b003197c7d08ddsm18412766wrp.71.2023.10.12.05.39.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Oct 2023 05:39:08 -0700 (PDT) Message-ID: <315c152a-da9f-4df8-aa91-9f641a33f1e2@linaro.org> Date: Thu, 12 Oct 2023 14:39:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Content-Language: en-US To: Hugues Fruchet , 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 Cc: Marco Felsch , Adam Ford References: <20231010091643.3666290-1-hugues.fruchet@foss.st.com> <20231010091643.3666290-2-hugues.fruchet@foss.st.com> 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+BxMCGwMFCRRfreEFCwkIBwIGFQoJC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5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231010091643.3666290-2-hugues.fruchet@foss.st.com> 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 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]); Thu, 12 Oct 2023 05:39:25 -0700 (PDT) On 10/10/2023 11:16, Hugues Fruchet wrote: > Add STM32MP25 VDEC video decoder & VENC video encoder bindings. > > 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 > > diff --git a/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml > new file mode 100644 > index 000000000000..479566171568 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml > @@ -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 encoder > + > +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: Drop "items", we keep simple enum in such case. > + - enum: > + - st,stm32mp25-vdec > + - st,stm32mp25-venc > + > + reg: > + maxItems: 1 > + ... > + > +examples: > + - | > + #include > + vdec: video-codec@580d0000 { > + compatible = "st,stm32mp25-vdec"; > + reg = <0x580d0000 0x3c8>; > + interrupts = ; > + clocks = <&ck_icn_p_vdec>; > + }; > + - | > + venc: video-codec@580e0000 { > + compatible = "st,stm32mp25-venc"; > + reg = <0x580e0000 0x800>; > + interrupts = ; > + clocks = <&ck_icn_p_venc>; > + }; You can drop second example - it is the same as the first. Best regards, Krzysztof