From patchwork Mon Nov 14 02:21:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 1584 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1922956wru; Sun, 13 Nov 2022 18:22:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Ct2Vn5ktAWODG4eaqDOelOGTLG/8MUs2UExtEvzmqcaCbLMm+YIA6FSz2IhamGX0PGhGB X-Received: by 2002:a05:6402:26c9:b0:467:8067:ef6b with SMTP id x9-20020a05640226c900b004678067ef6bmr6682535edd.356.1668392562351; Sun, 13 Nov 2022 18:22:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668392562; cv=none; d=google.com; s=arc-20160816; b=awBcB21q0C7/pCiVbkOg+ePGoMiwx0DeUhWE2sMDgWrojOISDdgGkTZegTDnoxRGEJ OQUcS7v8cL+DY5sBCegystSpE2HTR+HNBX402oTXw8YvffomcIgC9xqVXhIinICN1Dz1 90ZwvSlEsNvRUyCMPUMDq6LEVjcIzKBVcUw7uTjGzZ7sNmmMJ4zM9AmedXotyT+FqZos aFgDX825gmJ78+TbXKpIYgoR5Ti7ZNQjcg2EK9Xyf2qqp48WWpMiIhoEfJ7/xtjzADjV unraru+lgVxZ4eg30plx3/WcTfwmzJgXcstXiEXIOiZRswutn9qRk9RoCEp6fcw0nsFi 91FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=aYiCWONLZBFtYySFfLlgu9fEI+6ZzF2ACekapN/b5p0=; b=rYMYYFj7O64OjM120rhcyn82ume3uXPcwyv3oMPBxFKjca4uhBIG+BP0HOY1Nd31VL i+crfUCCcq5P1Jhl4NazUtZgrWftSn4+bhT3CoBAHlKbVDTm3j136MYh6zOilctUmsjt 6X7L63BTPr7A+G0jlElPTUitbjjNq7l6V0yJGM2rR7mmKvGVq1SQvuXMZc3BsL23N4Ph xth6lHtIpgN0sLZbjUO62evYjNSCLfUVGTDPtcDCQuJsuB9ybJ8wocZHTA2H/pRDUyDl rOap3jKxzTDlKJyY7j46ru/uM4dwxhSIJwbL6VMXvwZu+67NiFq2a2M2n0MNXR24Q2EJ Z18g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=VdmRmhbq; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=JIBbtpjv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i23-20020a50fc17000000b00463ba265d95si6445486edr.392.2022.11.13.18.22.19; Sun, 13 Nov 2022 18:22:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=VdmRmhbq; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=JIBbtpjv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235668AbiKNCVS (ORCPT + 99 others); Sun, 13 Nov 2022 21:21:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235443AbiKNCVR (ORCPT ); Sun, 13 Nov 2022 21:21:17 -0500 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0AA263E5; Sun, 13 Nov 2022 18:21:16 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 581573200313; Sun, 13 Nov 2022 21:21:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 13 Nov 2022 21:21:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1668392474; x=1668478874; bh=aYiCWONLZBFtYySFfLlgu9fEI +6ZzF2ACekapN/b5p0=; b=VdmRmhbqMNkU5ZwEs8K4R9v+KRqdjbYmRrG+fc4JG a2tN8MOoBesN+BaZ1btNO/zZwUEFgQ5ycRgKq+RBSBuBb3jGsGsO1NElyKtCbMQ0 h2TzT3CuI4mB7kHwCivKShYT3jIOziwlLLOzpJdzcDhPtjaXsS1VpNvEDkU2GtCk yRonKC4rsvdufOiRyNySmtV+LVG2uGrw8mSMwv+Tm5smG0ifVtPNt0ol7tIZm6Mf vl78Ur6IDsZamQ9ruO57Te7W3PJ/LJnikUMfDVQ2W6Y9oaT1TFip7RoHNAZXhbqS eHSuUIrTg4BWqX0WZ2py2yFv0CkktVpH+Qox3LZSXPbVA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1668392474; x=1668478874; bh=aYiCWONLZBFtYySFfLlgu9fEI+6ZzF2ACek apN/b5p0=; b=JIBbtpjvZhRdOAbvnSmz0agoJzjRDEh8732u04Rtgx+cv6BucUw kYr65g7iCgssFPx9P9JZVzlXspHatlNSSdQBE62LGLirQDXM5JThcmMe/bZqjS9w MNDIrbFtIefShJ/xqEgUNPLq1rlrOod4u/uZGKvN8vGdU9wPwXMMm7eMXSA2mjon Z1Oy8QQvweNiCdg+MgKmhI3oe/4hDmJZdQw6EZddufVA2VFBkOHIeO5bzYMlH0xr vlxYJI5CROSdroDiWImYTG3hK8ExITWC1WdNnTOtkVqKM/M66lUTYDPuQthXFS4Q ZRXFEwPh+JNcU1xZ4gUZqeJssgmnP/dHDXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedugdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeehhffh keekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 13 Nov 2022 21:21:13 -0500 (EST) From: Samuel Holland To: Kishon Vijay Abraham I , Vinod Koul , Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard Cc: Paul Kocialkowski , Samuel Holland , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH v2 0/8] phy: allwinner: phy-sun6i-mipi-dphy: Add the A100 DPHY Date: Sun, 13 Nov 2022 20:21:05 -0600 Message-Id: <20221114022113.31694-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749436399498947298?= X-GMAIL-MSGID: =?utf-8?q?1749436399498947298?= This series adds support for the updated DPHY found in a couple of recent Allwinner SoCs. The first three patches fix an omission in the existing binding. The remaining patches add the new hardware variant. Changes in v2: - Add the interrupts property to the binding example - Drop the inappropriate Fixes tags - Rename "supports_rx" to "rx_supported" - Add a blank line for readability Samuel Holland (8): dt-bindings: sun6i-a31-mipi-dphy: Add the interrupts property ARM: dts: sun8i: a33: Add DPHY interrupt arm64: dts: allwinner: a64: Add DPHY interrupt dt-bindings: sun6i-a31-mipi-dphy: Add the A100 DPHY variant phy: allwinner: phy-sun6i-mipi-dphy: Make RX support optional phy: allwinner: phy-sun6i-mipi-dphy: Set the enable bit last phy: allwinner: phy-sun6i-mipi-dphy: Add a variant power-on hook phy: allwinner: phy-sun6i-mipi-dphy: Add the A100 DPHY variant .../phy/allwinner,sun6i-a31-mipi-dphy.yaml | 11 + arch/arm/boot/dts/sun8i-a33.dtsi | 1 + arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 + drivers/phy/allwinner/phy-sun6i-mipi-dphy.c | 236 +++++++++++++++--- 4 files changed, 218 insertions(+), 31 deletions(-)