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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id EB02CC433EF for ; Fri, 15 Apr 2022 15:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xZYeMuFwOxbVJuMahno4FkgzrlLTLsSOc5l3V2VADiI=; b=X49z6wy91hJq+G gUw3SplvgcAk7K0T9fcbXJucVOz4k1WyHwD1rybMg/Co86KLxQiTcsK3A4OAckHwaFSUhSadFpuTX +9T96SCqVXE2at4BNdx8D2iMl5RwgssCNw1zH+1R+eCTYE6eJFvkVZEv6PpthnYiBDTnVkd6q51OC u0GyIogayRhSmrCS7hpzGDbA2o1KRNPI0iR5u59HjOfaiHIBTeJnP5YnBDZWhJ4RGhNWWCXRnne/n i7gitQO9KMXO33FWz6RXlcTXFL/ZrYL1W+g7yqzJczMS4xRDS2A3HBAXe4ONgeXBP/ia+gh29Rwk3 fN3vY861u7ZfrtGbdJyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfNlq-00AU0v-KB; Fri, 15 Apr 2022 15:22:02 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfNlm-00ATyR-0q; Fri, 15 Apr 2022 15:21:59 +0000 Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 07D7A240007; Fri, 15 Apr 2022 15:21:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1650036114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VsUxuduSUSmT5cVDhch3xSuWAwRsl9IrVPZo+IvctwA=; b=jeJ9wnGKPLZD9sEkT//XK2wPy5CnxYAhOtEEf/QB1cVtYyhQmB809YT54bF+h77Luy9+0L WCySsqrjMw0pzXl2KgwEgb9pVhSPZdn1bnBMjjOMIukqnyeZImUT+eLT0kdj0pUMovvwTX JEzvhXGPhgzgx5TqVGHHazRFtEHQNU84xc0BAH8Wnr/SrcdmuthgqNYR60P3hT16U9sVrG WGZjBPqsJPRNfjp8ui/BF3k3AVizbfjKG1j1ZBywxDN8ml56eRunvbimffVEBPSnsr6HEp 8ux5jaxaFIMNTiQVvUV5HthUiibQBkxi21m0BmfDk5D+KnMHc/NmQOxqYnV7Ag== From: Paul Kocialkowski To: 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 Cc: Yong Deng , Mauro Carvalho Chehab , Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Paul Kocialkowski , Kishon Vijay Abraham I , Vinod Koul , Maxime Ripard , Thomas Petazzoni , Rob Herring Subject: [PATCH v4 1/8] dt-bindings: sun6i-a31-mipi-dphy: Add optional direction property Date: Fri, 15 Apr 2022 17:21:31 +0200 Message-Id: <20220415152138.635525-2-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220415152138.635525-1-paul.kocialkowski@bootlin.com> References: <20220415152138.635525-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_082158_343537_74D67416 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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). Describe the direction with a new allwinner,direction property. For backwards compatibility, the property is optional and tx mode should be assumed by default. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- .../bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml index d0b541a461f3..22636c9fdab8 100644 --- a/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml +++ b/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml @@ -37,6 +37,18 @@ properties: resets: maxItems: 1 + 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). + + enum: + - tx + - rx + default: tx + required: - "#phy-cells" - compatible -- 2.35.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel