Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4973525rwb; Sun, 13 Nov 2022 18:33:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6kEkFOYS1E+yI4wHdKxFb/bxcQV0tkgJhK2Viscj+3+QMxxc6oh4aVfoQ2nXGNg7u2PoCF X-Received: by 2002:aa7:970d:0:b0:56b:823d:e3b5 with SMTP id a13-20020aa7970d000000b0056b823de3b5mr11990354pfg.81.1668393194685; Sun, 13 Nov 2022 18:33:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668393194; cv=none; d=google.com; s=arc-20160816; b=uJYYmxVudGDrKj3X5YqiZkSUmUkp1M9UUs7hMEFKPm1Al0atiMFr6hzE9gYCghOWAh +Whj4KIvYd2V+n0fndIRCiwS2xg7o7kPQpZOdrefWhN53ZicNc9jgZUWQUb0zOKYof79 lZ4WTZVPWUke6CRItEjJYvZgAzbgZldIt7qrnNS5e/mcZ5SVc1T4XocYlSgmlnE/iNhS 1guXOXx/0Gwo08qN9iNRY1p9/QwL1w17YF/Cx7KnPRWXCaAz6Xl5WhU+1e5NfkmJ/Ln9 Qsr+wtPPnOckv8RZZzFGVU9R42Y7xfF2+FhonNrzSlITzZR47xh+rePpizSSMVhmWBNJ Z3aQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b128-20020a636786000000b004704321e058si9098670pgc.247.2022.11.13.18.33.02; Sun, 13 Nov 2022 18:33:14 -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 + 90 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 Content-Transfer-Encoding: 8bit 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 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(-) -- 2.37.3