From patchwork Wed Jun 15 04:55:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12881813 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 EAAE0C43334 for ; Wed, 15 Jun 2022 04:55:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F309710EA54; Wed, 15 Jun 2022 04:55:51 +0000 (UTC) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by gabe.freedesktop.org (Postfix) with ESMTPS id 202B010EA54 for ; Wed, 15 Jun 2022 04:55:51 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id BC0C2320095F; Wed, 15 Jun 2022 00:55:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 15 Jun 2022 00:55:47 -0400 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=fm3; t=1655268946; x=1655355346; bh=+UsEpNLfWCp1EdVbEX/suhZGT npHlG7eCC0g75eYQtM=; b=QGF/T2ZhbqkvwXgU5+bVxMCJZNN7Qewl9EBzEEfT/ 9GttAmpyVg1qaI3YqWBWA1GQ5okdR+JOq7XKzdpiKB7VZqet2ZsFB7NpWmF/RDFL 1Bd2tdxZZPa5jjIHYRU3xJDK0A93loYQaVG0awQTCyGxKB30qXLTGYrU4pjxQKDL pnplYneJN8pzmMdi3HCEPJC7euq4zizL3BKzLZxp7eT20zN8zCG8mCpNSrMKZJUP jVu0McdAoQLSDO/+dFEEmg/NTYdk6K1J91q2fzerk4PHv4/pty8HvOUmUV/emU1V 4qGZLh5TzVFGV3vKkBc7p8GG9ReE7PTKePi7muCWNY46A== 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=fm2; t= 1655268946; x=1655355346; bh=+UsEpNLfWCp1EdVbEX/suhZGTnpHlG7eCC0 g75eYQtM=; b=WGkIETKLw0jDh1xXnJWsIMsjOShb/avs9Wx/3f17TJT88Swp31f 3Z1n8XonQRo3Mx/vPiGe3oDDil/1LdVnwkLFn9biptpUSQdDPy6a5qQiRehR9Of8 kK254FlhO6F+b2OBFABNiUvz+ULTHA/aFjWlbfLIArjWobZzFS93wz7sbUBJryEW 94w3fBAxkxUsQzLHSh25sL0VXF5r3d/z3vfKfG5Y5FD2RCE9muZ3pnDGsB2rKpYR Iz/Kj4dNBCyGThgMfnCqCme7wYsw2vWVFrgF2kFFI+vGIzaTIxBVgD8pjurHm7rv IhrquGNaneOnuQXXk/OASMbYRF0VM7sU9MA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvtddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepkeevlefhjeeuleeltedvjedvfeefteegleehueejffehgffffeekhefh hfekkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Jun 2022 00:55:44 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard Subject: [PATCH v2 0/6] drm/sun4i: HDMI PHY cleanup/refactoring Date: Tue, 14 Jun 2022 23:55:37 -0500 Message-Id: <20220615045543.62813-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Holland , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This series prepares the sun8i HDMI PHY driver for supporting the new custom PHY in the Allwinner D1 SoC. No functional change intended here. This series was tested on D1, H3, and H6. Changes in v2: - Move error handling inside variant checks in probe function Samuel Holland (6): drm/sun4i: sun8i-hdmi-phy: Use of_device_get_match_data drm/sun4i: sun8i-hdmi-phy: Use devm_platform_ioremap_resource drm/sun4i: sun8i-hdmi-phy: Used device-managed clocks/resets drm/sun4i: sun8i-hdmi-phy: Support multiple custom PHY ops drm/sun4i: sun8i-hdmi-phy: Separate A83T and H3 PHY ops drm/sun4i: sun8i-hdmi-phy: Group PHY ops functions by generation drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 9 +- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 242 ++++++++++--------------- 2 files changed, 97 insertions(+), 154 deletions(-)