Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp22345lqh; Mon, 6 May 2024 10:01:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwZqfJnYzn8MrLs0C2wNGqVPFQ+iCkNDrEVLzNsx3YJA75VE0AM3sORCEGhBCYafFKvRvf7d/qk4Kxr5TAeDOJZybI/kc1m5kGxxCGNA== X-Google-Smtp-Source: AGHT+IHLqwwD3OXMxJY+MW8aTHstiC8880dtyX3T39fY4t+YrxgXBWGlkHBnB2hxEtAfV64xTe0I X-Received: by 2002:a17:902:db0e:b0:1ec:3227:94ea with SMTP id m14-20020a170902db0e00b001ec322794eamr13645745plx.67.1715014907585; Mon, 06 May 2024 10:01:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715014907; cv=pass; d=google.com; s=arc-20160816; b=FOmCph9XEZkRU3SQbDW3BiHYmTkClf1bqBdGjYYglvCkQx+fa/i3bENnSDqmPlZlSU qCSBA7aGejpCFLDgi09AZfGFtSCPDkoAqy4iA8AlN6m4aBNE7uP2VVwWZPblk3opE/RH tjvn60f7ed5EQvJQCBfsb5HhLNE27QgpV0suE29jKBIDja1nijOx60y/wsHzgEKhwxPO gm3KSXX8DUEmhxi5bkMYnJzPY6qZQJHNT4ItstZ/ihB3SWc9pwbyIKfbixzGj7MLt7Up nrzqS8XFc6obFVmbkRf1p8pT6wxFLmF8ldgl1jMEVlJSSWz7b94a97E75UgAYupGHjiM ckbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=B4HAr5WNqIN+2BMtIDkk4eWOethRMvYJIjKQInTq8Q4=; fh=q7tQHM/3mw530/NG0tnxgRi+88xJuLx0MjFmQlO4hbE=; b=eWim3UpdZd8urUwL3cQYeBUYX51ewVeO1xvimY/4p+gy/SGQvN8qMOYPUQoyBqQ18d vKIwJZB4iFhVsaYrGpdk2Dm47Yr0gYXJKI8LR7xN+HdwyyKY4DkzajblXdtpdHYrKVQK kBzwPt2XCza2Mrmmmven1hz684MgJdYa+TGDkrt7neqa8UEmZwN49fK7KG089aTvDIj6 6+IaCIJonvn68eY5q6nfEkDRaF1t/zGBGuDWIEyb6DFun7VIICVHT7gt6EI8H1X6df+K q9gWl2C9RPxRm82LEneFXzDfXuiv2aVoEspOyyK3YZ4a5y/DRFuvW+US6crV3npLlUH0 Jy5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=sw0rwZS8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-170212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id im22-20020a170902bb1600b001e464fae16esi6676784plb.394.2024.05.06.10.01.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 10:01:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=sw0rwZS8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-170212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D84D7282C48 for ; Mon, 6 May 2024 17:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92080156F5D; Mon, 6 May 2024 17:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="sw0rwZS8" Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [95.215.58.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F23FD156F4C for ; Mon, 6 May 2024 17:01:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715014879; cv=none; b=EtZSiXRt/seJGChv1V4JZBuHkIWd/CsYp6Qd32mylSxg7U9hTYKDnaEsRFmsUybw1frNIHghrJoKvTorSNgCAH/yji/bGQ/m3XhGDb9gBkdRfmJskIFd3gf7vdLUL0MnNGc7ne7aCbLR5hs+pmP/WSFGlCxSFyl9OAUblIGpvKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715014879; c=relaxed/simple; bh=875Pw760E+0v/PI5WhiXOO+miRdeGTK1PCQ9Pwrq2PU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=muaYFKJLmKXw7bC1piCDZuY0fmaYdUV6xWezSXkNJmZryBQm+crLWtvAhyypZ5dzrKpjsNCvTB+yQcEB7Jiknl0NVxoxHp68ZPYiDRWniwdRsjvahsw1TYlOiux50elOqVlmhOGPyUbCAKWw7zf6PAtYpoK1WKjW8PMDbcT8Ogo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=sw0rwZS8; arc=none smtp.client-ip=95.215.58.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 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(-) -- 2.35.1.1320.gc452695387.dirty