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.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 36337C433EF for ; Mon, 13 Sep 2021 08:00:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 F01FE60FBF for ; Mon, 13 Sep 2021 08:00:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F01FE60FBF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc: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=3mISQQ6bBbwkyvjqVWBcxzbf7HqiAIo/uNXFVoHLBZc=; b=vXSJy20Oz4lonbx4/qpN8SdYxy ReusRIirsZrnHJ/QtFKO2AfL2dQmOEdHebIH2bBjKTxulnCeCmqpatE+g9/qsRv4NpCEvRDICf56I r6WOfgjdeEVKyQzUjbGfGPZGQgSaco+R+5w4vI+dSSx8RStQd+TNRAawqQYgeqPZbuVE7z5ZevP8y knSolHOK0o37LIdhI2QalE5dsn+k8Efsis4EdJttWULY1CCEMsDEmog83wHrAMoiUEDJPhcNC4q9n YBYFchOIZh42OGwg7M6tkzBZl3SRG9T6xcVeB/QP8FGXiF41t5TY9Y06D9lPETWoZDtkCpCMyTRxJ UDbsXZfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPgtA-000bvA-FI; Mon, 13 Sep 2021 08:00:28 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPgsw-000brO-Il; Mon, 13 Sep 2021 08:00:15 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id D68ED580BA6; Mon, 13 Sep 2021 04:00:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 13 Sep 2021 04:00:12 -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=fm3; bh=5KctZymCVDfBbbqZeIg1vSzdvRQ cUgB6DsYANohsJVA=; b=mXWyWuAp48xiZDzrTAc2Ci/voVfMr7DycEpE6nHqN+7 SyskAgtRGUO8uVeQ0uS3oSEsbzfgkDVEdNmrYxm87McNyl/qKn779f8fJka3sVDe QMuW8OG8L7qqPy+WJvB1bKMAIrvnuJkh1XYFzVw3A8cTEVl9lknGUBBTmPLaCPX/ SG/c6CVKUaiN0OU8CnCkRoo4KnH7lkbm4vYPz6wkt6YxcKgrn0PgHrFlUgMCg8li wKyWbNW1rlSLW9REhH3ij/wkEOHQvu64FF3dfu2wHbRzUMZwLEs6zTezfguM2uOM XfuN9yVMBlqCEzJDz1sz1SsfH/XsHHc1kh5ApiiEr/w== 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=fm3; bh=5KctZy mCVDfBbbqZeIg1vSzdvRQcUgB6DsYANohsJVA=; b=ZV2H732J1iScZT6gd2qLJd K7MUyXL8qOcss7510l55l7uPTwO4+AFPtKt2sRV0fFAEV741ylaKp1D1yC7lJ5Pb xx6cj+oYyerS3svLfFF5UDMq6QphpFoGpOMUe8ew66Ut8mAabf/Vy/uwOCGcN2Ew kdLP2qvawkDp/sT3zhNwsshm/l9QJzfKmq1bTBvUPYratAq/k/wncjT77MgU8oFb 4+tg/0aJCUv77jFkWeYEk/zoCcJ+gAzm4hqEbPHBwTN7GUoruYdXoT0tAJKiGp0v 5L8zIf2LpmgCh2O+G9nD75AfDcC9fyClmb2HFdsh7Z6ySCxL1Hl+BtRz9ZGgTJWg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudegiedguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheei heegudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Sep 2021 04:00:10 -0400 (EDT) Date: Mon, 13 Sep 2021 10:00:08 +0200 From: Maxime Ripard To: Paul Kocialkowski Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org, linux-staging@lists.linux.dev, Yong Deng , Mauro Carvalho Chehab , Rob Herring , Sakari Ailus , Hans Verkuil , Chen-Yu Tsai , Jernej Skrabec , Greg Kroah-Hartman , Helen Koike , Laurent Pinchart , Thomas Petazzoni Subject: Re: [PATCH 03/22] dt-bindings: sun6i-a31-mipi-dphy: Add optional direction property Message-ID: <20210913080008.2rxa22ifisuu3dwn@gilmour> References: <20210910184147.336618-1-paul.kocialkowski@bootlin.com> <20210910184147.336618-4-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 In-Reply-To: <20210910184147.336618-4-paul.kocialkowski@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210913_010014_722670_1A8FFE51 X-CRM114-Status: GOOD ( 20.10 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5569073618837656456==" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org --===============5569073618837656456== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="plwlvxpmeueswtsh" Content-Disposition: inline --plwlvxpmeueswtsh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 10, 2021 at 08:41:28PM +0200, Paul Kocialkowski wrote: > The Allwinner A31 MIPI D-PHY block supports both tx and rx directions, > although each instance of the block is meant to be used in one > direction only. There will typically be one instance for MIPI DSI and > one for MIPI CSI-2 (it seems unlikely to ever see a shared instance). >=20 > Describe the direction with a new allwinner,direction property. > For backwards compatibility, the property is optional and tx mode > should be assumed by default. >=20 > Signed-off-by: Paul Kocialkowski > --- > .../bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mi= pi-dphy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mi= pi-dphy.yaml > index d0b541a461f3..303bbaf3b915 100644 > --- a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy= =2Eyaml > +++ b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy= =2Eyaml > @@ -37,6 +37,18 @@ properties: > resets: > maxItems: 1 > =20 > + allwinner,direction: > + $ref: '/schemas/types.yaml#/definitions/string' > + description: | > + Direction of the D-PHY: > + - "rx" for receiving (e.g. when used with MIPI CSI-2); > + - "tx" for transmitting (e.g. when used with MIPI DSI). > + > + When the property is missing, "tx" direction is assumed. You can provide this using default > + oneOf: > + - const: tx > + - const: rx > + enum? Maxime --plwlvxpmeueswtsh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYT8FCAAKCRDj7w1vZxhR xTNDAQCPDHJy9LqbeRURRvet4O2w4sY/pZRkFMEFBTWRcJx96wEAwyE5qCAE+Raj 2amKab2gQdIlMNDalPPxP/cPci2YlwY= =fgQq -----END PGP SIGNATURE----- --plwlvxpmeueswtsh-- --===============5569073618837656456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy --===============5569073618837656456==--