From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBBFCC4363A for ; Mon, 26 Oct 2020 16:17:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61CA92465B for ; Mon, 26 Oct 2020 16:17:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MJzs2wP6"; dkim=temperror (0-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="eQ84KS+H"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="kPj637TB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61CA92465B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V2YSwjJa2Ss4vRKu2uG1xZmreGzlLUvpZA09tS7g+xc=; b=MJzs2wP66lZZVgeKwFX8voe0h ci0I/j3s6ZNImGRr9WiLw5+aQ6K+4+niIfVdwCVeb07ZwQjb4Y9/OZ5m3mue8M72PfKeNDhiZ6plT twFyABsF7V8sl91jZXZPitmt3Ik5w0M5dbNpLxI9eoWD2/Ip3VM1IPpKDJJ5AGj38hX6Lpbvydjgy h55xUl38LhQp+6fa1eZsjSuUR7/FyVCc0ZS5dN7cebMnoElPewrm3V2gne8H2Lqm1Ht1tmAgCS7BN fZ6IS2DGtpHW/Bs5oDJ30DnY7OPXriEa7PWkqA70zJZQORS6Cw4K2MvkHWE4IjeRM045TgOs8CaUM gjeKY1szw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX59D-0005TO-AC; Mon, 26 Oct 2020 16:15:03 +0000 Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX598-0005S2-Ad for linux-arm-kernel@lists.infradead.org; Mon, 26 Oct 2020 16:14:59 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 130A85803F3; Mon, 26 Oct 2020 12:14:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 26 Oct 2020 12:14:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=TLyiKgOV7T5s8EKyctDKKbjHeyz 5nHIrwqEFQz+QSsQ=; b=eQ84KS+HxBeS5NfvqwoZsa3zVE9VdlE4oktymJyDQTK WS7H4qOwWNOjFcRnWwESGIIL0tmYDLBXu21at3eeaIvdP9Azl5PeViTGrOE4ojjF fElUd5JF7ca5hU6FddgR0La0JVwLAdEqUOU8GOjuwYp6a6DBAoaQXVTNfuEyy2DW By09qbGxxKRf//Z3NBctrDf9cusTv3i43OZxa84yRN1HPCNWJq4vWp8u1J/6AfGh Ep6i7i+lAi758RcR3kzVETsF/Xs4cfpaSHA8pFtdHuVSk1rFR43XS8Bj9ZZfuRJl dbpkMQ0xRLkylJ/e6l8Sfdcqi+Sng3B4RMjhlGbYAgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=TLyiKg OV7T5s8EKyctDKKbjHeyz5nHIrwqEFQz+QSsQ=; b=kPj637TBaochR9cRFkstu+ 10qhPZTu5UDqMrTpZGMEIM3kNXx2JDANwJFF0MNf9Cyy3wRyfch/94WbzPeMFSXy bN8rur72crIYEoWeji0FI5mEX0fhsZSti13lkhaKbV6N/C9xQOrvs6NVbX08rM3+ LoXLkgmtoFLp6edw/UWuik8t7IOwopH9WEVmPKexSJx4FrcEJKKitUw/9PUl5Xp3 v/o7Rl80TNqAKj0p7PSRV/1JY1NISaHVlWQfqgaybK7PkjO3z8mCSZWQglvr+F/J 79HKZ9e6OFSC+n8f/rqoS4jlcAzBu2yWFoMdJOvdQ/+2oIlusKaik4HXST39kVmw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeejgdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeetudffiefhhedvgfeufeejvedvveffffeikeduvdejuefgieffgedtuddtfeek tdenucffohhmrghinhepuggvvhhitggvthhrvggvrdhorhhgpdhgihhthhhusgdrtghomh enucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 406783280059; Mon, 26 Oct 2020 12:14:52 -0400 (EDT) Date: Mon, 26 Oct 2020 17:14:50 +0100 From: Maxime Ripard To: Paul Kocialkowski Subject: Re: [PATCH 07/14] dt-bindings: media: i2c: Add A31 MIPI CSI-2 bindings documentation Message-ID: <20201026161450.gr3dqpltxw2ccc3s@gilmour.lan> References: <20201023174546.504028-1-paul.kocialkowski@bootlin.com> <20201023174546.504028-8-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 In-Reply-To: <20201023174546.504028-8-paul.kocialkowski@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201026_121458_454444_FB654711 X-CRM114-Status: GOOD ( 20.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Philipp Zabel , Kishon Vijay Abraham I , Thomas Petazzoni , Greg Kroah-Hartman , Helen Koike , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Hans Verkuil , linux-sunxi@googlegroups.com, Rob Herring , Vinod Koul , Yong Deng , Sakari Ailus , Hans Verkuil , Mauro Carvalho Chehab , kevin.lhopital@hotmail.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Content-Type: multipart/mixed; boundary="===============2987095361722067241==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2987095361722067241== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eiytbmgwemquicwl" Content-Disposition: inline --eiytbmgwemquicwl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable i2c? :) On Fri, Oct 23, 2020 at 07:45:39PM +0200, Paul Kocialkowski wrote: > This introduces YAML bindings documentation for the A31 MIPI CSI-2 > controller. >=20 > Signed-off-by: Paul Kocialkowski > --- > .../media/allwinner,sun6i-a31-mipi-csi2.yaml | 168 ++++++++++++++++++ > 1 file changed, 168 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/allwinner,sun= 6i-a31-mipi-csi2.yaml >=20 > diff --git a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-= mipi-csi2.yaml b/Documentation/devicetree/bindings/media/allwinner,sun6i-a3= 1-mipi-csi2.yaml > new file mode 100644 > index 000000000000..9adc0bc27033 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-mipi-cs= i2.yaml > @@ -0,0 +1,168 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-mipi-csi2.y= aml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Allwinner A31 MIPI CSI-2 Device Tree Bindings > + > +maintainers: > + - Paul Kocialkowski > + > +properties: > + compatible: > + oneOf: > + - const: allwinner,sun6i-a31-mipi-csi2 > + - items: > + - const: allwinner,sun8i-v3s-mipi-csi2 > + - const: allwinner,sun6i-a31-mipi-csi2 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: Bus Clock > + - description: Module Clock > + > + clock-names: > + items: > + - const: bus > + - const: mod > + > + phys: > + items: > + - description: MIPI D-PHY > + > + phy-names: > + items: > + - const: dphy > + > + resets: > + maxItems: 1 > + > + # See ./video-interfaces.txt for details > + ports: > + type: object > + > + properties: > + port@0: > + type: object > + description: Input port, connect to a MIPI CSI-2 sensor > + > + properties: > + reg: > + const: 0 > + > + endpoint: > + type: object > + > + properties: > + remote-endpoint: true > + > + bus-type: > + const: 4 > + > + clock-lanes: > + maxItems: 1 > + > + data-lanes: > + minItems: 1 > + maxItems: 4 > + > + required: > + - bus-type > + - data-lanes > + - remote-endpoint > + > + additionalProperties: false > + > + required: > + - endpoint > + > + additionalProperties: false > + > + port@1: > + type: object > + description: Output port, connect to a CSI controller > + > + properties: > + reg: > + const: 1 > + > + endpoint: > + type: object > + > + properties: > + remote-endpoint: true > + > + bus-type: > + const: 4 That one seems a bit weird. If the input and output ports are using the same format, what is that "bridge" supposed to be doing? > + additionalProperties: false > + > + required: > + - endpoint > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - resets > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + mipi_csi2: mipi-csi2@1cb1000 { The unit name should be pretty standard, with the list here: https://github.com/devicetree-org/devicetree-specification/blob/master/sour= ce/chapter2-devicetree-basics.rst#generic-names-recommendation there's nothing really standing out for us in that list, but given that there's dsi, we should stick with csi Maxime --eiytbmgwemquicwl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX5b1+gAKCRDj7w1vZxhR xUrvAQDaCb49+m5oHHwZxWYiC4umXmj81ww7TpCLw3SGokcdqgD+PDaf8R4Y7Mki j3oAL73uUh4iuB1RtuGhHa16do4kDgg= =ZVlV -----END PGP SIGNATURE----- --eiytbmgwemquicwl-- --===============2987095361722067241== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2987095361722067241==--