Message ID | 20230516-lustige-usb-phy-dinge-v2-0-3383a0de34ac@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp551419vqo; Tue, 16 May 2023 09:23:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5CqvR7IbWqZDi3We4VCUaVgJqMt21R7CVObFSeRqr5TPWbsbrnrgwhMt6758CwrfqziiPx X-Received: by 2002:a05:6870:d501:b0:184:5f08:a130 with SMTP id b1-20020a056870d50100b001845f08a130mr14977092oan.33.1684254190081; Tue, 16 May 2023 09:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684254190; cv=none; d=google.com; s=arc-20160816; b=qErKWtbV3BMn7xHDd5qpVh+mYZ8egLL6fepBKjcugY+YvPk43L8h60Eqth9iBd6J4Z T4Q0bj9FjeMGSG7yL8nxH22vaSLTqpK1kUD96D2fNI8QJFVhMqaC2kkg7Yato4ui04pX u+b9xk+IgJJDRKBboOKP6+BYQO+RxP1YD+OP4QSQQHlnelwzNOgBNb1XVpmJHbJE5mTB 70R+fGyNWUoq7D3sgif2SxVgkGAFW8/XB+dnu9s94sXpkq8sF+B8qcn+wgMEnK9fC7fR Gkz5krMIFfb1uzppfDVUAWE1GXIoU/oCG1neiUl4hL2KnHCiZflUsyV/GIQkdaPCkmQl fknQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=RgPlO80Jm89K0tHdxwdIw+GC9PLsc+EXn274QGewamE=; b=Ka3+NBZUVhOHOv+jpOb5od5yXdn9hUvG6BJ3Gp7KHQ3oawKuY8DkvjdASEUvzzDKyJ /cbbdOIuV5gUbM/fwQR4K7lzX7hEufMqHYZTiNDXW8paOR4bQvTvesYVqVsNXuuIekgG 8yBTnyvriLsavtIXf8VFEEv5oLXOBxOiT00CbCyI+qC+t+8DhYLwO+wkU4IkF8eeAIWd 7q762XTbiLPVB2QQjangxScg1VEr9P2XzdCWDKzObF+ZI94N+oGwX0dOudwHKLVEbFrS oBa1uyD+vHog+gjZUVaVCS9HpXV0xHh59pTYn4pUVOhI5MdHujhakpLacMQDDng5iuQ/ EB2A== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k20-20020a056870819400b00199aad87a98si4828470oae.215.2023.05.16.09.22.55; Tue, 16 May 2023 09:23:10 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229895AbjEPQV0 (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Tue, 16 May 2023 12:21:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229869AbjEPQVA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 16 May 2023 12:21:00 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC37AA265 for <linux-kernel@vger.kernel.org>; Tue, 16 May 2023 09:20:35 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <j.zink@pengutronix.de>) id 1pyxPd-0002nq-A6; Tue, 16 May 2023 18:20:33 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <j.zink@pengutronix.de>) id 1pyxPc-000eDt-Gp; Tue, 16 May 2023 18:20:32 +0200 Received: from localhost ([::1] helo=dude03.red.stw.pengutronix.de) by dude03.red.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <j.zink@pengutronix.de>) id 1pyxPb-00DODy-NQ; Tue, 16 May 2023 18:20:31 +0200 From: Johannes Zink <j.zink@pengutronix.de> Subject: [PATCH v2 0/2] Add phy tuning support for imx8mq-usb Date: Tue, 16 May 2023 18:20:18 +0200 Message-Id: <20230516-lustige-usb-phy-dinge-v2-0-3383a0de34ac@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEOtY2QC/x2NQQoCMQxFrzJkbWHsUBGvIi6aNLWBUofGijLM3 Y0u3+M//gbKXVjhMm3Q+SUqj2bgDxNQie3OTpIx+NkvczieXB36FNND0a3l45L8RvmcMhEuASm AtRiVHfbYqFjdRq0m185Z3v+z623fvywF6SR8AAAA To: Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Li Jun <jun.li@nxp.com> Cc: patchwork-jzi@pengutronix.de, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Johannes Zink <j.zink@pengutronix.de>, Haibo Chen <haibo.chen@nxp.com> X-Mailer: b4 0.12.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: j.zink@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766068521199040722?= X-GMAIL-MSGID: =?utf-8?q?1766068521199040722?= |
Series |
Add phy tuning support for imx8mq-usb
|
|
Message
Johannes Zink
May 16, 2023, 4:20 p.m. UTC
This series adds support for USB phy tuning parameters, which are
required for meeting USB certification and EMI qualification.
Patch 1/2 adds the required properties to the fsl,imx8mq-usb-phy
devicetree binding.
Patch 2/2 adds the phy tuning parameters to the phy-fsl-imx8mp driver.
This patch is ported and cleaned up from the downstream Freescale vendor
tree.
Best regards,
Johannes
Johannes Zink (1):
dt-bindings: phy: imx8mq-usb: add phy tuning properties
Li Jun (1):
phy: fsl-imx8mp-usb: add support for phy tuning
---
Changelog:
v1 -> v2: worked in review from Krzysztof and Rob, thanks for your
review:
- extract more useful descriptions of the properties from the
datasheet
- use unit postfixes for the device tree properties to facilitate
porting in the future
- add more information about some of the properties (thanks to Li Jun
for clarification)
- adjust parsing of the devicetree properties in the driver to scale
to the proper register values
Signed-off-by: Johannes Zink <j.zink@pengutronix.de>
---
Johannes Zink (1):
dt-bindings: phy: imx8mq-usb: add phy tuning properties
Li Jun (1):
phy: fsl-imx8mp-usb: add support for phy tuning
.../bindings/phy/fsl,imx8mq-usb-phy.yaml | 47 +++++
drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 218 +++++++++++++++++++++
2 files changed, 265 insertions(+)
---
base-commit: 7a503071e06db4409b7066b8ecca9f3da03dd3b1
change-id: 20230516-lustige-usb-phy-dinge-f8dfccb35bc5
Best regards,
Comments
On 16-05-23, 18:20, Johannes Zink wrote: > This series adds support for USB phy tuning parameters, which are > required for meeting USB certification and EMI qualification. > > Patch 1/2 adds the required properties to the fsl,imx8mq-usb-phy > devicetree binding. > > Patch 2/2 adds the phy tuning parameters to the phy-fsl-imx8mp driver. > This patch is ported and cleaned up from the downstream Freescale vendor > tree. Applied, thanks