From patchwork Thu Aug 1 11:01:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13750199 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 5EF1DC3DA64 for ; Thu, 1 Aug 2024 11:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=pTiYlLydw/ccrtKhQ6AfuedkSpQ2Uwf4ZVNCmhMDrB0=; b=UhdyQjEWzmSzWi1meaek0lQzrN MDPQCOv+fqagOq2i45XQ7TL/TzV/DMnxcE07zxIIB+DaSGwdgfvSygsE/lDOxMDQ4UrFC/T+WllVn 1LcNQJ6gGY6TXMaaArHw9D4soN+2aLHK2pV2+MxEuVYjYLzMwxIIMYpx3vafnOMShUGs8TJmHeT6N L/sY0QarG1Vve2m8K00xTO1tvg/TxtRtUGmHW+yO74wCDL+BunkNiTx++6LkYNLsxgzD2vIN5+bbh j4uXyn/fVKB5MfLXNIq6wd/k61vU1F41/6Mb8Fxne2WerSDvhMrEZyyGpSnao0zvp3LbaNsDw5pc6 q9tNOIFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZTZC-00000004qEX-0Drv; Thu, 01 Aug 2024 11:01:54 +0000 Received: from mail-dbaeur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260d::601] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZTYh-00000004q2J-056q; Thu, 01 Aug 2024 11:01:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FXUD5WM8dlOk94+la5eGy+ZkovIRH+oGKjnCQfLStQy/VqMN9jQjoSdKhSRKeIXC3lzsAtBholQjPtgo0bJJX6JF5bbTahMqE1O407enDQX30fG7VFVwoBGMkAZmjUn/r0HV6ocE1vgzXcxTWI5iO6K95P/zChYMcZ/ZrHeZjwcB/RB8JgtjvZ7C7fTcS2JAuOBdMUJGg3Q6+QbUCe/mnHD20iDdNMwuGAntOqSA2DKTWm2Mlcxl92+KVsTbeqW1XBO8mlmT6ltYAivFjbPnoK09dpOXaNoCOMxSG2w1MMhVIGHvP3ZF66XOq+SnipT1qhJ3q+N63+NGJBGZEK46xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pTiYlLydw/ccrtKhQ6AfuedkSpQ2Uwf4ZVNCmhMDrB0=; b=iAj0xC+uNL6O+FLq7z4qMmg8OyUM/uE5W0EtWxkvV+CUKlIRF0Pq/UHuaHvqAD9+Rlicg8sijagblohrW2xFJxB7cbph6vam/pU9CKKnW/jIoVzIiWZXPUcHYgYIE+eLinBU9/a30n1Y0+qlxEcRPu4hVed+wX1Ydyqrjba9wkivo0uVeqy83krzf7TMfwFCMp2e5HT6pWJoY8m7nCfKXELoO46TOIZzNG2oIaRhaTcvT4oFDYQC98XPUx5xj0448VOZj+aPopC6xTfpiTRpGbZqjMdzWNmqxzjM46Vd/j22n23b94ItRMlAk6CrWP5EK2EB4En1JLfl/Hp3RR/hMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pTiYlLydw/ccrtKhQ6AfuedkSpQ2Uwf4ZVNCmhMDrB0=; b=UKjBHt7T1V+mZSjDmPAvXo5KTCOVZtdkNdnjNM/gfMitsOU5e8L2oXjRmoVFcmsUmTYEYvfCooPJZbZ1qlVdgDrjzEiNU5oay2Jnylyaar3KLhokM4yB2aGTT3pimdZI9xTCmlsdjOXZpFRYSQAIzusSiaBmADLYV+cSGrHmyUjiWfWfDh5hoIDMyt9OZDu+9lq9wsbiRUEQHwVK5STqextti1OxFh8wL+r0IYzfJ8YNxaQYFXjrO8/5sNdUPNUniwxyKu2Ww30CSM2fyjRePlZz+dx9H6iIB70AWGIJyouc6F36zIsOh3wsBNDS68sQGBopPCMJSOkuZHGw4+tUTQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8829.eurprd04.prod.outlook.com (2603:10a6:102:20c::17) by PA1PR04MB10171.eurprd04.prod.outlook.com (2603:10a6:102:460::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 11:01:15 +0000 Received: from PAXPR04MB8829.eurprd04.prod.outlook.com ([fe80::cdc5:713a:9592:f7ad]) by PAXPR04MB8829.eurprd04.prod.outlook.com ([fe80::cdc5:713a:9592:f7ad%3]) with mapi id 15.20.7784.016; Thu, 1 Aug 2024 11:01:15 +0000 From: Xu Yang To: vkoul@kernel.org, kishon@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, alexander.stein@ew.tq-group.com Cc: jun.li@nxp.com, xu.yang_2@nxp.com, linux-phy@lists.infradead.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] phy: fsl-imx8mq-usb: fix tuning parameter name Date: Thu, 1 Aug 2024 19:01:36 +0800 Message-Id: <20240801110136.1031689-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR03CA0124.apcprd03.prod.outlook.com (2603:1096:4:91::28) To PAXPR04MB8829.eurprd04.prod.outlook.com (2603:10a6:102:20c::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8829:EE_|PA1PR04MB10171:EE_ X-MS-Office365-Filtering-Correlation-Id: c59548e4-a790-4256-5beb-08dcb2194359 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: Q38I0pdgOwJzzX4350SU3dnxcEOsWaW683nDcu1dSzWIutOaUHZuQVgDNJkpaPjF0K2uI54PPY6/ZePc8zPwK6kmPE2p6oYlu30oP2V4mULzFpNkcUQOAKyet4KkwtC4urW1Fgr2R0KIKTbIhBPyTCZYPxiW8gm6GYlKX8VTnjlu37tpyy5dGZVqWP2l+lf95oUwcp6cIatHkmesNMhkBfd6Rsn/Gj/7OnpPd9FTjUAjQRWCkRtLtbhX4MYaiLFYlnIThsHwUMQizAXF3FU2zInS9wMXgmXlTzIDv/hUFIXKiW4Pl6S+ojMlZdvBZqSknNHbTopLSU5XwsdKlRzCpLwfjzu6DkX6FHD4HI4f/WxamxaYrNP/PW7rEMMpZz+7HiBCgV6Jqw5RnxJCSEJ/wOx2DE/Tmap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:PAXPR04MB8829.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(52116014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: N/0ikFndlUY/uIAUmBRhg2pkvzkybXR/WWJtbRY6p77b1q+uiwaELEWBAcfaCKK60JBJoR49wSZrcIAQWCNiQTpoSZf+uwdRtZrjBqi+i4NbU0SsFd5WYnEso4XiVV81CrBKBzONyghfnvaSzh30ze+ZFPfl1zv5FwZKI9XBax3NKOVX+JFPDqHTZ7cAX8bqVMrZTvKsi7cUTd6nr2IhMNQNm96R9uk70tCP12Bqdd3+llobLMRxhQZreFUBVvLMTje9hxAps7Z/izDUDDsM5kmEK8g3a0KjX72hUiSJnfw2bJ+7DnXERP6gU9qX9nQVNWhrAPlwu6OW1QTFAY3xxeG5ryFw0YF8qo9xIeYvcT1jQXaKWr2wOn+Ws+8tj+QrGBpk5TnYyuhMdDO/q8QEX/8WdQ8H/whzviy24p9V/65nHC9Td209dgb+7qOFrqpbZmlp5JBk2NLN6e9PL/S2HPwKxw7clUYb5EWut/+dQPkoiso+53jWJKz6wC5tz8IAEWnrnSxKTkYNVXlreMACxinvZFy2Y21G1njxTqO7bBYabo0gZ8L4HpoODASl3ajaG13diIkwoUup2k4siE8mzw6JPLoBmVC4FVi/K8NdX4ACOPrc0Uf1ZVXdt/QvWQI/vDIgwt9YohI2hePlX6fsVSTNwstLPFuL4a8RBjC/fMiWG2ZlU2cXERlRY4Pvj7grh5jJku/ZTUZ5Inc5optTcJYwDpQZGU9Oz2nQXl1R8TVAtmCSvuKyur4j20NSj8XgmzSth2M66FpUI7meTVuIHONlXkVhhjohL1Y3/5WgmNSEM29G/bAjIcee0wrust5WPEcQMdPpzgTqZGsk5BrvP5f4d6ynyukb0ekRIAh2q3x+Cgy04yUub1rr5bzcosMpoZWAgNw1scWc9NTKFnFRgf9jVNT9ge/lcp1jFVxS1VHXVKNq97cOjQq8h8wAR9z51bLRZaBHf1CLiR1mI6zrKe6wnSkzDkJgarFS2MGhTXumSm0/hWnOO1TW4ZfgfeUD6jGbP3l+ftYRlV19vbm8seTCy7GkxpyemEIDE8/futnW0puaycc2EgPoHTSrPLwqHYEVvGXvkojW1asnoSskh8wrX7/vP1w7N6VH7UStEL4MPYikEwN0JsnA+byvtKmc6Yv8hpHdyj9P3EOKL3H1UQyxWArhPhRrk4fcoWI7sN1zI9w3EtOSSHAhgNDC+Dg7a8EiuBkhIAX7+WbIm3QJrxyD01KY85X6OnEvsGj7YToRNqUYovhnhDmehPiFhOV34+5p5XojahTcfDGeRpRDs/bwQMMpCkGHMkSuqiA9AQ8uPBkamVdMkuoYjQRcuFGIT3i+IGzaNbCf052/J8F45tejOzb4+MjH8LT1BTxNSXiDFYojgii6OBkGGQFx2DG5VogkZ2bwnUxMFzXCkM140KJ3+FYo7eL2/PUgstrhV1/AIszuQ6Ef0xjfXPP5qqX7qv0snP55kshGGpUjQgDFIzWO0v1jpkbOFPqkvqeol7tiINkf006My+0OudB5U8+MkkYuNbAbBWBnsu5/TTxGAAxIl6Zz+JHH5CbBb309FkAik2bUzcyiNIsszBJ7Rewj X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c59548e4-a790-4256-5beb-08dcb2194359 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8829.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 11:01:15.6697 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0Yv1Xz81JVyIMr8caDhJ8wluf/e14j13Oe4NnjX5V34KfrLqy49wLpSQDHpS/tcboA+HGwFmzh2wC0SyVvYTDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10171 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_040123_081093_BFC3A526 X-CRM114-Status: GOOD ( 11.53 ) 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 According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be fsl,phy-pcs-tx-deemph-3p5db-attenuation-db. Fixes: c971874a89e1 ("phy: fsl-imx8mq-usb: fix tuning parameter name") Cc: stable@vger.kernel.org Signed-off-by: Xu Yang --- Changes in v2: - add fixes --- drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/freescale/phy-fsl-imx8mq-usb.c b/drivers/phy/freescale/phy-fsl-imx8mq-usb.c index 0b9a59d5b8f0..adc6394626ce 100644 --- a/drivers/phy/freescale/phy-fsl-imx8mq-usb.c +++ b/drivers/phy/freescale/phy-fsl-imx8mq-usb.c @@ -176,7 +176,7 @@ static void imx8m_get_phy_tuning_data(struct imx8mq_usb_phy *imx_phy) imx_phy->comp_dis_tune = phy_comp_dis_tune_from_property(imx_phy->comp_dis_tune); - if (device_property_read_u32(dev, "fsl,pcs-tx-deemph-3p5db-attenuation-db", + if (device_property_read_u32(dev, "fsl,phy-pcs-tx-deemph-3p5db-attenuation-db", &imx_phy->pcs_tx_deemph_3p5db)) imx_phy->pcs_tx_deemph_3p5db = PHY_TUNE_DEFAULT; else