From patchwork Thu Aug 1 12:46:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13750305 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2041.outbound.protection.outlook.com [40.107.22.41]) (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 6F48214D443 for ; Thu, 1 Aug 2024 12:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722516392; cv=fail; b=mAflSXW3IEhiXjhTuW9eqK1X7n0n+LturxXzyupw2uCwlPx05HLSyXB0o2ubECp7fB+X1SN587+wYEdL7XKZm10ll9zvo8tfTevwpqCh47jo+8/W9URcbiKbIEkh+FGJSE30YTuBbN1RqAi0TnRHe2ohuwuyvIFcm9+U564nUac= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722516392; c=relaxed/simple; bh=RopqMNhDXSbqqVgwtLzzFrGfA2ziu13MxbwVCOomwTs=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=QQj5EHxt8kX4dK6J1Kf82ky7HbGqyh3x8HNIXnCJqP50r0fGDfD8x6/KfDVKFaXE/pDEdfqMGAnd4bQtnr/o2GxCBgOtndWDx6Ea0nljdLqfoRxB+EDWA2+Hdf6NzUNSKsULWko8EJqIbv4xKmmwDarY8kGA8XOjwWxkL6C05jE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=mSqUMFlU; arc=fail smtp.client-ip=40.107.22.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="mSqUMFlU" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xTtHlsic84D34fyC0z+alqeSlK6wvOrQ3XGXBp+PcJLHZacbRadivoxNW65udQAf9mKR6X5L4qmShLbeKtN+bnDpa1PwZQ8VcNLbGJ8i+srzcHovWEZqK3tGw8OwUjYXJvkdoheRWH3CLAqP7DvRjzDf2VME+XV4A/uLn3rnq/JHJ5QoXguCJmdojaZpKWgejSx4d1qhMCVdwMCzfzfSqKiajY1rPZfMkbbjHkNCz8m9QPvjSpgPE2niUNJgFYGGUBz/psL5ih2IsRqAeDGrvaMzsiHyJqzZGbC9ex8zleix3/EJXRCKQtrmryVKIa3pra9RZuGeI/t2ejSrNLMguw== 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=0VfhGBCrXVCW2Jt5WPbAb+HS0Ziov5y4C8dFQsQuE2I=; b=scy6Y58pyVZzsJPiGdCbGuvzz5TtHELErF8crbEkyJ22wvj65VWmjdZrExZT637q1aW8H3yUGQ/O5mKQHb+GqaPoURjxhNQOK8iBVrhj94aiiCy4eDhm7uorCYw17hO2VauXC1oYdcZXSpT/DT+hZ1IRmiWMQAQMCuASSLzTNp0ZC8HuGzHW/SvetaSvBV94L+Zs2zCq3TvSVIxCND/kDtUMM+gCECzwQjWJPwXnhdRagoUVQQQTuMGF+wTQyn6qa+IMTCyBLJibK0pZUuxUAov2Pqz+BZLnCRMudroMalqB+q966p1wykU5ulVX0eBiYL760iOKhifakAfEABij1g== 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=0VfhGBCrXVCW2Jt5WPbAb+HS0Ziov5y4C8dFQsQuE2I=; b=mSqUMFlUgY7VRlO0VhOiEtBefpLmxYv685XafavvkZgeSUB6Gs6zy97KASQNVjwucf3t8fs2s3KiDOmmXkJqRkuqtTIKtnogSGDhBnkRSEJzbrc8oyCBIXKyzI5JQ+lhGxrQtxE8oiBupGaD/4mchhDlfMGyOFsj2m11aCfsbJo5ZLkHVPZDFDETwRRVdQtKXrjX5ryQlV6DiLvA8GikgzANO1epnp1g5K6KifT6DGkYib8/RErVc1B4fRut/rFJZr6zzm9E5gfmyAhUptI8mOarTCZhsYHkFVOpPICyjDqJAZpQCWrjKsrQz/00MUWXu4DNu71V1LxJg9hATd7H/Q== 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 GV1PR04MB10847.eurprd04.prod.outlook.com (2603:10a6:150:20a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.21; Thu, 1 Aug 2024 12:46:25 +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 12:46:19 +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 v3] phy: fsl-imx8mq-usb: fix tuning parameter name Date: Thu, 1 Aug 2024 20:46:42 +0800 Message-Id: <20240801124642.1152838-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2PR02CA0052.apcprd02.prod.outlook.com (2603:1096:4:196::18) To PAXPR04MB8829.eurprd04.prod.outlook.com (2603:10a6:102:20c::17) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8829:EE_|GV1PR04MB10847:EE_ X-MS-Office365-Filtering-Correlation-Id: e8c05216-c19f-4db1-bbd5-08dcb227f0af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: I9NFs41CYviQsjBhP5Dovg4feeg1JH6tnxsPStjQFslGNY1EI5Cp7XDk5e+uW1D+tFdSRX5Vh09C1z5MVkvlV9Dot2jolzw50TwP2JrC329MtGejCqszvfOI6POwoiWwxTnL1Cni5PmGjjc4Z3qrxrDIsJpgUD15r6pfI7t7jWB3IgfwADWUnfKqWDI7R9BDxExpCssepxvvETzOifsJsr9gWQzYXHh4RHb/zDbaDDN/pj/fjOIwg6dMFm7e78HaTOS1G49/GSJWh8Ww7l09XmP+jrfXq9vrqpQXCkT7b7OSMyfW6H+9ynD1Ehgc5FvS0LVVmJrKxUk4Q54InBnPSQe9uJ42q2uSU7U2vgmmj7e9UH30noSeTmtM+Z22bs2m5pbSF0nsqPYQ8fLPQvdaQBUNBiqvFV/F3tJwUo5i108+juzYItxTXTvD4h2MEma19dpxTp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com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q5DcfssMngB5H56hHKAp4dRj+EPJP1fsGdLqH3UQUCwN1ut1jZYxgPndwI3k0FpZGcqDzwhql9g3gv96RkLkCk6BMCIdMkF2YldFLjJP7ysUPVATvVyjYt+D4CuQpjioUnFHf7ZIUCSPaneF51c5P3nSjm9R4YU4pR1zI8UwB4DdVT/NHbfsfka/Sdx9CNPpsm1k8FlNKEmb1WYGM2YmVbqfS8kbxSj6kE5bnYD48PVcPr+5qeNng18qU4C5ic5fFEqMmqIXgvadioLn5xVWzSL0h3bf3lj2xP5Ebu1/nAT9IkFHm6OEMMdA1J/e+2z+4iRm90Ee89x8X4bspqEe/OPIfg+S2uMRrKFkMdJUzkCMQ0coTUhZcNfjOvV6IGaq6fnY6kHjGPpfBg2+N1/341TjeZqqmRQErkqyS5lEOw58TqbKCiJEHgMbFuXrGsq4CULwATxlDvNfRcilv/FoLUzITLUKqNxJ7hlgCAoWAZvnvYVFKuqjd3/dwKCyEzxk2OO25Rw3UwZCVspWOUcVy901RoDUmjDeNVtx/mbdsGjrOcnn5XpSQoEPaZoa2j0Mlgk5CRi0Rjys66K29rmOusgWXVUTT0/Q+CCheQBI7axbJu/hJROGWDwIePnb2KY18z/DsmLvNWDucUT3YDRaIY0lzBF/6yFxZVYTlmsL9nIQlyDJ45mkAsG1VGMBDYAJcPVXFQRHgy841SCrxb6uU2mRIIcQrRxbKC+fqyaBYrWDTcnmdzDycT4h0A2z0O3bjWXvHRbwnMRnIU8ootPo/I0iKAwfHIg3rwxzokYbJLw+qaFryYeTzNs+g1G+FdH5dfHD7CiLU6TrtlJ6bZR+7ZKk8z6g7fucP+8BxPHDNuQ8rUIfsKVk3EVu9a/eG9Wrv8glR63IxnJcJtnR232tfHbQzYl5W8Fo/d0vaHARAHoWxA/XDe68B/NEIwNoVKEdZQfUuwbkmnuN63gmQxy+0328NbFC3ye875xAuZViL5S3QeyLvVn0PGs3oCAFfqwuI1iUwLMNe8x6vbOO0USWItm1/69w2Kp8zXY2SADq7BAVSemZmoIbkvr/K8JMbJRUZYFoBW4LtCIJ39T/6WLquFtzXyZ952SXGw48BbGLADxx6P2lZHli0fd3NEQpR60UVBRq9MNpNWPj4OOxrmZzvKCVCFA7e9jY2taQR3F+rzABKb+XTuM4KrlggdJePCrGegaqRMscGyCRIEZ7P0MwzGTRDvv6Y+xvI90TV8uqZsiXat/hdh12TT1aLkBDv75D4C055aDIFJ8dO062uqPaBb5YZ88HNJTF2S05qUKlRrnLX3grZ3LyxH7HCBgYi3k7u3D1BiAPo4nHH3TgvbWjW0c3l41jkMuB/TxIzboO3uI1mDa5U9Jb6nBxaV/RPAi1p+8n/4CPX2rgJ6q3Yq0DNJlbVgF7RdRkSMq7/GvKL/hg6qrVdq7K4O3NwwDX0hL4jBDWhyPE93g/+Kj8iqg4jjULRosgUkhygdXOPl9asyQCENGXTz+PxxCg8OMnFpKCwPICLcJRNEJn74Y6MkXZrZ+xa+zsvW4ww9tx3Lj75MALIaXuVMdhQX07nszkJL9N X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8c05216-c19f-4db1-bbd5-08dcb227f0af X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8829.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 12:46:19.4559 (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: 3C0HI66p6mjjEJnhymoDQJBrK4XzIHlkIQPl5dCIyAsqIiUCJiqATzFPbJ8jmMe3gSeTP/h4CZyGeB8GIe3rCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10847 According to fsl,imx8mq-usb-phy.yaml, this tuning parameter should be fsl,phy-pcs-tx-deemph-3p5db-attenuation-db. Fixes: 63c85ad0cd81 ("phy: fsl-imx8mp-usb: add support for phy tuning") Cc: stable@vger.kernel.org Signed-off-by: Xu Yang Reviewed-by: Alexander Stein --- Changes in v2: - add fixes Changes in v3: - correct fixes commit --- 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