From patchwork Mon May 6 17:01:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13655831 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 61C78C25B5F for ; Mon, 6 May 2024 17:01:38 +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: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:In-Reply-To:References: List-Owner; bh=Oj/3VzWThNn5pgEO+qw7UuZVOS1o4fZAMcUCxBuK2Dg=; b=fjGh89MweX+1P6 5w0/t/fx5dJIXXEfxxlwh80fRf0RH8wzrHeZBFuHcId2q+Z25+Ie31irahLJmKAJ3r2POMfNd81/1 r4T43veyN5rfS7Me5GBd6p4fpoRXFePLqipQPpqKIEg0BBhG/hRMXe6IsEuLzsKuXZU/hHaG2Cm/S 6Cyy80RfmGYBjjMv7lsI3CAClyp4hRBpFPxUdZUDFbBQdrAh9yumazM66hH55/6fuLiaH8BCNnAhS /MVSQ8xzWHkBulabkx3gc254D/WBbLUcYRSLd9mdliXdetVIg+QDYV3JceS3kVpz4XC9UUe1iaHrZ Paqrlrfc4yA6U3Oa/A6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s41iL-00000008BDv-1wNK; Mon, 06 May 2024 17:01:21 +0000 Received: from out-189.mta1.migadu.com ([95.215.58.189]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s41iI-00000008BBN-1BiT for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2024 17:01:19 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715014875; 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; bh=B4HAr5WNqIN+2BMtIDkk4eWOethRMvYJIjKQInTq8Q4=; b=sw0rwZS8FPh4DawpviRrrEv/R8LHR54VYj1duj396TVqGjaaBniJOh35oj5fpVVRsAVd0v X0e4VVZYKNY/RAlXSdigQ4j9Emeso90X+8l5j2XWwktBnnA0sie9LXgQx+x5NHPY1XSmdC VtfZHtg8rZWlCiks5qvqjdPW7ituZFI= From: Sean Anderson To: Laurent Pinchart , linux-phy@lists.infradead.org Cc: Vinod Koul , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michal Simek , Kishon Vijay Abraham I , Sean Anderson Subject: [PATCH v2 0/4] phy: zynqmp: Fixes and debugfs support Date: Mon, 6 May 2024 13:01:06 -0400 Message-Id: <20240506170110.2874724-1-sean.anderson@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240506_100118_658844_42DFB4A5 X-CRM114-Status: UNSURE ( 6.54 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This has a few fixes and cleanups cleaning up the driver. Additionally, the last patch adds useful debugfs info. Changes in v2: - Enable reference clock correctly - Expand the icm_matrix comment - Move the logic for waiting on PLL lock to xpsgtr_wait_pll_lock - Use debugfs_create_devm_seqfile Sean Anderson (4): phy: zynqmp: Enable reference clock correctly phy: zynqmp: Store instance instead of type phy: zynqmp: Only wait for PLL lock "primary" instances phy: zynqmp: Add debugfs support drivers/phy/xilinx/phy-zynqmp.c | 197 ++++++++++++++++---------------- 1 file changed, 100 insertions(+), 97 deletions(-)