Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1600688pxb; Mon, 13 Sep 2021 01:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFlm6amIIRH55p8lI9KWGqrQ0EBBHew7nfJk47RqXUoHjzr20gMIDPj8GObM1zLo1l8D3Q X-Received: by 2002:aa7:c80d:: with SMTP id a13mr11785446edt.71.1631520190910; Mon, 13 Sep 2021 01:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631520190; cv=none; d=google.com; s=arc-20160816; b=QkdIO+ke+dLxF8qaTn28GwTV2rCik54KMEQ7s6U4ajCaCPZsihVov/FZUnG1eTPMD2 g6iSX5wn94guBcHLSkfGz1ScxUgCZoo9/aytlOyo6cOPWthhmttvyujY7OGfWSPgsQBt 2NbWc9U0sY4CxVxc9KDlXgLe3bDdnvNYfklJ5uhinHLw2xJ+LjE57DE8P0BtwhiJh+nh jQaTrZ7iLrDM/ArHbp0Hv5EaBtNblYTjbQtyXrptC8AclNPacIAOBZpn2DyG0Fo/xRIy 6bVMJ6hsIdHf7lanp9BiAVn4EQenNv9F1zVZtetUCIXRSeJ4+AkDNmJtaw/4cqXC2iIH 6iIA== 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 :dkim-signature; bh=5KctZymCVDfBbbqZeIg1vSzdvRQcUgB6DsYANohsJVA=; b=Syd0oDNU6dmlIwzWNuIdZMnMLNK/yIcqSWGMMCfvT9+HHhg6BLEorpX4YiSBOVJ8US zBhLCmwH2Xa/5hiA0D6l3kiU8s9HmaXaKp6KLLFJitkqq2Mgg8vL2Aphb18SIQWaQlvR GtPeS4zKFUkJFnFr6uvAOopBKzQiAr8T6mvLVTaqq1a/pa9dkPe8Zoh+DR4BFtEZkHXw klTRTOCupj8pDA7aeXt8OXLyEcRwdgLiDZbgSuM4NrF4zR0oI6/1w75mU5KsZE5sWYns VrlhsfDnqIlEjYVmzafqowuaT1D3oCc1mHjSvCJis3kWV890L1NEraKtsU43M0C7ePY7 FPAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=mXWyWuAp; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ZV2H732J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si8702574edx.603.2021.09.13.01.02.45; Mon, 13 Sep 2021 01:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=mXWyWuAp; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ZV2H732J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237713AbhIMIBi (ORCPT + 99 others); Mon, 13 Sep 2021 04:01:38 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:48185 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237775AbhIMIB2 (ORCPT ); Mon, 13 Sep 2021 04:01:28 -0400 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="plwlvxpmeueswtsh" Content-Disposition: inline In-Reply-To: <20210910184147.336618-4-paul.kocialkowski@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--