From patchwork Tue May 16 15:43:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 683637 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49222C77B7A for ; Tue, 16 May 2023 15:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233997AbjEPPnz (ORCPT ); Tue, 16 May 2023 11:43:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233983AbjEPPny (ORCPT ); Tue, 16 May 2023 11:43:54 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2046.outbound.protection.outlook.com [40.107.104.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C9519B0; Tue, 16 May 2023 08:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AYFx6AcywX6qkH1eHY4HEDn/Jzao7kFmm+9q+FuJ9eTeYPe8Z89G+W5agXyUZYgOCVgYtt15i94jRQ7UukSxF5dr64DC/IaSAX9YRBK/LaQ4Jax9XFKsEuGPm/3cmDV3x7Kb38m0LIZ4K54KTvZ+tuWLehQBtRpOuRBzfMUov/bEaNlv7Po1i6vPEyx87mhn5w9bIHpvNNHCcwT+fPMBLA/ts7iJ+sW9WFqEjZ6DG/yU43kfnmYkdopaZKF0GsW2AyP7kdJm9eud3aiccE9pCtkfNgosDMwbQXydgJ6eLO9awCwgl/xJSxrmzOma/BCYfj7KHA/BrrnSOlxwurE5GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=g3887h0SSxVe7/3H8w+67PcI1bqxhmwJbxBcqHT+TpQ=; b=E4ImGR0/EfujoEb+zD7ZWzYEHmS4Dwqyo7P6ylfD7tjww5gfnPv5QDj+t5eyDRKkWq6lObv/9ZfL5gFjkM8wD3q+gDH9WxnlC2Iw/09pb8wsP3Gh3oube4sSu7Ez18Qy/DJI9ZurYImY0z9SYIj1EvsYUMgN+oFONeyoU6IoVN1Oi7deFrcGbvpeIkTCGPplHntPFHSdZLp7iPao8U1Z7tu3kK6wdeVl4qYhX5ibkQU8mgB7Sj7f/TU5CIn0RnxGhx0uMpKTf6zkxHbIA/HA1S3oKXIyGVCmVi5abUruZ7fcyYGd3ZsfhPbjBfep2fqHTbvXJ7yROzdofH3zzyMRwQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g3887h0SSxVe7/3H8w+67PcI1bqxhmwJbxBcqHT+TpQ=; b=NE+Jbk0Bbyzh9skP+YY4a//Nae5QypXtvwBdL034BTeIUvEtojP+CqikGIDV10x9WTo4l4XC3Kr50NUXZ/aRoIZDQgRco3wnJf/M8zrDfGnUKMgj+sveu9pfC/209gTt4O43u5QaW41rXSyIUNo6/1L7f9eAJy/aJUeLgb5ZNOE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by PAXPR04MB9008.eurprd04.prod.outlook.com (2603:10a6:102:20d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Tue, 16 May 2023 15:43:49 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884%4]) with mapi id 15.20.6387.033; Tue, 16 May 2023 15:43:49 +0000 From: Frank Li To: frank.li@nxp.com, vkoul@kernel.org Cc: devicetree@vger.kernel.org, fushi.peng@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, kishon@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v4 0/6] phy: cadence: salvo: some fixes and workarounds Date: Tue, 16 May 2023 11:43:23 -0400 Message-Id: <20230516154329.3155031-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR08CA0011.namprd08.prod.outlook.com (2603:10b6:a03:100::24) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|PAXPR04MB9008:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d00f9fb-e9d3-413c-c000-08db5624578b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FklrDsuSJ4D4ryjnAcQwzT6eVKU9CnYRH1vEu+8RJco3EhFyPUzDMPN9AyjaLy4RKXFM9X10Fqx+wCbPPZmptFXzUSQ5wJbl7yTG6+OIZ8Q96qBmLn5q8VzGcozHgT2YcIScTXYtICUDZt7rs9hCtwrQYg+mqhaeoC56mNwg6sjLMphPXehW6a5hIAdFzqW1rvnNl73F5gaMz+8ZPBc/mhCAQTpvM6RJDwtBmh1TM59C0iSfZHy+UW6w8N90W7GCUtY31YL1PWeex60nDnep48eIb0QGZS6HtqPX/hSpG4/XJYNIJlOLnj+tS3vbksJ8BTzEqvr5l05RmJ7HbJdTTOHY/BbQ6tKKNVcWokgscGMx8Mizx1V7c9qvvbcnTeR+Ml2cPYQd+lG3Om6FYkQbM+7a5XJI1DmHDRfhCFh5RsLv/W1q0Y+gkrVSHXffwHjKFvvz7FEzkhvVpQEWSDeQ4iVLEfIgnT+e0Kp/oF4SESue40f1fQZWZFuIaREe8OddSGACwAKEYikyMVbyRZfcYXxBAgxYUUXLtbZcdFOweYLqjCvRyE3JpSSkJS+4fhmJtVEqndCkOakX6z+VUwwhYiL6527BQZCD97JdEwB6rjc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4838.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(39860400002)(346002)(376002)(366004)(136003)(451199021)(66476007)(66556008)(4326008)(66946007)(478600001)(6506007)(186003)(6512007)(38100700002)(38350700002)(83380400001)(2616005)(36756003)(8676002)(8936002)(41300700001)(2906002)(52116002)(6666004)(7416002)(6486002)(966005)(316002)(86362001)(5660300002)(1076003)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i6GVts4o388z755XMrjWLST16i1Yk7dUlq40un07WyezpOqIi6ZGVK1STOs2flCU0v10HqmxBJaYD0KOHK2Gee+AcuNtpx2MfY93xzPaUcl9RG9jx3tCcONpR6K531CpRYk0gTDMexe71mAbSaOiclJnbe1uQL21DZyYU6RiGAMZOLXMNbwg3cuYMZGSyhhsDOdu1JrBKNsdWLIljLhEnBpPofNJVxD7kOgsS6MCb6WiRzUE/+luR5Fu3PjlnlVf+PHUgVSjxfnrVgR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+2866OKonkf893gBaBhaKbA1HEJYrrDJj0oRgdxEXYB4xjbydnQdwxIIMMAaATumsapeyq2TfbdtnMk9vaOgoyBFIzfxD0GTykFAS2yMWWZzqWRDuiSs6c7DDfdRzg+zQFf5QrQX0Ji8qmmn1yLc/txF+2fe7uISm5q4ejlAgpRMss0kTGu1yNoGHeKZLp7cbuNSzBSxxPoADbvx+dOgBSN3nPHl8BBb34xxA2VC7qEdtKs3HEmuJZViSw33TjkWWo X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d00f9fb-e9d3-413c-c000-08db5624578b X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2023 15:43:49.3835 (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: dupalH2Y/xqKB6qEGWnj4wPkiSMZk0JTkxQVyS7FyiSpQfuiipxuWGeKddt+diph7Eef6VjP9BMezwcDnx2x/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9008 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Sorry I have not realized some patches were missed at upstream kernel. Version number continue with previous https://lore.kernel.org/imx/ZGOCT0Mdg3Jtar6c@matsya/T/#t Peter's Fixes: - Bist issue - fix corrupt package from devices when start transferring less than 20us - fix the FSM in controller seeing the disconnection at L1 use case. Change from v3 to v4: - Added missed dependent patches. Change from v2 to v3: - add cdns prefix Change from v1 to v2 - remove empty change before #include - Remove dts change from patch - fixed dt-binding-check warning Frank Li (2): phy: cadence: salvo: Add cdns,usb2-disconnect-threshold-microvolt property dt-bindings: phy: cdns,salvo: add property cdns,usb2-disconnect-threshold-microvolt Peter Chen (4): phy: cadence: salvo: add access for USB2PHY phy: cadence: salvo: decrease delay value to zero for txvalid phy: cadence: salvo: add bist fix phy: cadence: salvo: add .set_mode API .../bindings/phy/cdns,salvo-phy.yaml | 6 ++ drivers/phy/cadence/phy-cadence-salvo.c | 96 +++++++++++++++++-- 2 files changed, 94 insertions(+), 8 deletions(-)