Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp227257rdg; Tue, 10 Oct 2023 08:37:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXTCT1eqOakMn6EFIQiy+Eq0b0xpdCAducpa+Wu+I66HXJN0YwB8wQRGEmbNSIrQho/vQK X-Received: by 2002:a05:6a20:d41d:b0:15a:836:7239 with SMTP id il29-20020a056a20d41d00b0015a08367239mr15113081pzb.11.1696952222692; Tue, 10 Oct 2023 08:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696952222; cv=none; d=google.com; s=arc-20160816; b=bqAS2FBe1SUHvY5d3IAFClJo7CL9WFVNrkQA41ukIoyYHr/ynelrTZwmdYddc35iaB vl1Z14zJs4ITkOwzSm9OhO0xEMmwahnPAvLBYizE5iHnmlynCtAXyVdHGGK5RNozMG1d SIQOFhV7SBI07zm+ElZtZoJcZVzTHd/Gr00/rqnGCOHEtAOd+dMmMNOdZMy2jYCx71b8 oQA3qEA9Wn9HpfMYAJ8v+So5cYvtU4NmbSetuV4k1lah4VNRJQb4TAiua9V0ikS/mftf ia4ZgRLg0qQCqUC7LtBPekp52Qg+3fabwkpgawtIb18txYxuDT13uH7oI0IIH/OWANQX 60BQ== 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=+/IlKzJkJ3iR2jHJm/7owMTn6SiUmARpfajRzYGXawY=; fh=Varb2hQgmZixc8dFLJvdye6kWMuu4ECL87iTYvCYSg4=; b=x8qnOa+XXTt8gnmXm8Ucjhcdrz1qIv61bLvzFYQfER1EwQfXUbdd+CiHBt0Rpl6R5E BeZya3BwiK5sUxjCe8Zppp5LWvFyYqVjSJvmzX9uIjfX/J+lvEbu5ApdIKwvGildYSrj cOF6B/PBH5Z1fuJg7jihqNcceLW0ZlFIryvGBBqcHl+BZonpTfADu9x69qVLiZRRRXry 2xElZ3kowN5T2GahUibVfys2u0+Laqt+DOz6rs4N8M3AALx2YxYJBjY2lyOdS0qmmyXe jWQ8pRSQ9y3mD2IHMwiEXY2jIxJfMzm5lIdJB29CvqdaryWb1Ha/Sw46ql0T5fj9Pe06 Z+nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q8biabOl; 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=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id g2-20020a056a001a0200b00690dbd360basi102622pfv.152.2023.10.10.08.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 08:37:02 -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=@kernel.org header.s=k20201202 header.b=Q8biabOl; 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=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 211FA80EA7B9; Tue, 10 Oct 2023 08:36:23 -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 S230448AbjJJPgC (ORCPT + 99 others); Tue, 10 Oct 2023 11:36:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233435AbjJJPgB (ORCPT ); Tue, 10 Oct 2023 11:36:01 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A47F2C9; Tue, 10 Oct 2023 08:35:59 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ED1BC433C9; Tue, 10 Oct 2023 15:35:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696952159; bh=GiaOPPDy4bW4X7nEWcj7MoZCeHaezgGt8naPNPK93zY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q8biabOl05FB1gUCz/EDVfI+FRtECFy1Tb+F1b2tGqzQzDwsVQcgNOV2vBw3drHnm iVtbzdxX3UZ+94nxIYjutSw3BrJmL1q52+WJL2VpijOdrse8/bQMryrqxCRNsRULF6 O8Wkc9zuPeF86cCreJO9f3pwwozQDrhxPeBc4V+CG+CRK9/ru9ABQetD6/s4YhK5Yn dicqbnZ10X2FTwTZa9/FkJgQjKICMZEtAbuIHw87FXpZbzMwkvKHgvTur7/iJuZdi/ 1FnRClzfc8tkrePzTOxvbl4vscRu7aJKk30PG2OrbK7eYyYKiFyN893W9ZK8v2Pytt AifMIwyJxhkfA== Date: Tue, 10 Oct 2023 16:35:53 +0100 From: Conor Dooley To: Mehdi Djait Cc: mchehab@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, ezequiel@vanguardiasur.com.ar, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, alexandre.belloni@bootlin.com, maxime.chevallier@bootlin.com, paul.kocialkowski@bootlin.com Subject: Re: [PATCH v7 1/3] media: dt-bindings: media: add bindings for Rockchip VIP Message-ID: <20231010-roman-corrode-a68390d5f330@spud> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4l9OsQtFT88SXVQA" Content-Disposition: inline In-Reply-To: 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,URIBL_BLOCKED autolearn=no 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]); Tue, 10 Oct 2023 08:36:23 -0700 (PDT) X-Spam-Level: ** --4l9OsQtFT88SXVQA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 10, 2023 at 03:15:04PM +0200, Mehdi Djait wrote: > Add a documentation for the Rockchip Video Input Processor > binding. >=20 > The PX30 SoC is the only platform supported so far. >=20 > Signed-off-by: Mehdi Djait > --- > .../bindings/media/rockchip,px30-vip.yaml | 93 +++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/rockchip,px30= -vip.yaml >=20 > diff --git a/Documentation/devicetree/bindings/media/rockchip,px30-vip.ya= ml b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml > new file mode 100644 > index 000000000000..41f0cd58372d > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/rockchip,px30-vip.yaml > @@ -0,0 +1,93 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/rockchip,px30-vip.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rockchip VIP Camera Interface > + > +maintainers: > + - Mehdi Djait > + > +description: |- The |- is not needed here, you've got no fancy formattting to preserve. > + Rockchip VIP is the Video Input Processor of the rockchip PX30 SoC. It > + receives the data from Camera sensor or CCIR656 encoder and transfers = it into > + system main memory by AXI bus. > + > +properties: > + compatible: > + const: rockchip,px30-vip > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: ACLK > + - description: HCLK > + - description: PCLK > + > + clock-names: > + items: > + - const: aclk > + - const: hclk > + - const: pclk > + > + resets: > + items: > + - description: AXI > + - description: AHB > + - description: PCLK IN > + > + reset-names: > + items: > + - const: axi > + - const: ahb > + - const: pclkin > + > + power-domains: > + maxItems: 1 > + > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: A connection to a sensor or decoder This description seems unneeded also. > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + parent { > + #address-cells =3D <2>; > + #size-cells =3D <2>; > + > + vip@ff490000 { This should be a generic node name. > + compatible =3D "rockchip,px30-vip"; > + reg =3D <0x0 0xff490000 0x0 0x200>; > + interrupts =3D ; > + clocks =3D <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>; > + clock-names =3D "aclk", "hclk", "pclk"; > + resets =3D <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_= CIF_PCLKIN>; > + reset-names =3D "axi", "ahb", "pclkin"; > + power-domains =3D <&power PX30_PD_VI>; Blank line before child nodes please. Otherwise, this looks mostly fine to me. > + port { > + endpoint { > + remote-endpoint =3D <&tw9900_out>; > + }; > + }; > + }; > + }; > +... > --=20 > 2.41.0 >=20 --4l9OsQtFT88SXVQA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZSVvWQAKCRB4tDGHoIJi 0tc5AP98ZFcwCG4lOs0Vnu/l5rmaIRtV2bVB/xqanyAy7JRp1AD/Z4+6tERcvRTL dMHfwEobvX/z0gDzR4EemuU1fnenEAM= =YQ+D -----END PGP SIGNATURE----- --4l9OsQtFT88SXVQA--