Message ID | 1ca80ec5bf7a595c03822f3e4e3683298205067a.1688992653.git.michal.simek@amd.com |
---|---|
State | Accepted |
Commit | 1ea11e8138767a262e576d5b08bb1509fed62dd9 |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=l9KkKhXY; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R03Vv5q7dz20bq for <incoming@patchwork.ozlabs.org>; Mon, 10 Jul 2023 22:40:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A450486691; Mon, 10 Jul 2023 14:39:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="l9KkKhXY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 59ECF86688; Mon, 10 Jul 2023 14:38:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e83::62c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CD0D986680 for <u-boot@lists.denx.de>; Mon, 10 Jul 2023 14:38:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=michal.simek@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ka/zHcYhislk/ddTqUn2WIV2z2p1ScRJt6Ht+cNDYX6RVbPP6GPxJS2RVnMZCJMPVqwPPS9jpG+Flsfa0Ir5Glb7bx/6yZeTGiVaRw71/9qASLePeHL1WHFcI+8KDdY+rr+IrUhniiuusQAXwa+L1+YbHi8R0voRl3S+bBOaXQj++Fc442SU1B/qs+4l1HHTkae+rbdZBnn7GCYEjb6d+o/Mrtt2xGJcm9Vra6P1fKzhfKgXvEhmyK26q7ozFGAZY2SMzAqS9q++71rkprvFKUpfRCGoo6c5r9jCFVxE5e/8TSMgIkj5wqYKaksk4y7Zx7/hsuW926NklHQIpLCjEg== 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=0kNHf/YVNgcTGn3EQ/aRmma6hlhNK/dJDLCCpWINBcE=; b=A906DVubXYM+zT+g6d2mfiQrm+wi7wqvxOda4G4idyK3m1FDiriuKC98OmrIBanSRbY2RKJSjIot3XWviCFbovGSU4m0f77r2OeNxsW4QSz+kYx4KV0YwStbLcjRUqP1uXDwynTQUH/8Dx6kBSOt2MeE0Xsz8QLKKAEioQYp2+ciAfM+XGgjpO37BkxzoxHUyHd+yFkEUf+NsOKjzIP0EQvh/A13oVnlxCAdIC3dB0lM4DyqFEoEkPLxMiL7bg10RHoUM2d652pwnYYwVtoyXhmvRcbenQ7+9T4hgELm8aqijSWVXUVIUlVVkvU1E7TJURSvxF/ypp0wMTSuF6csJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0kNHf/YVNgcTGn3EQ/aRmma6hlhNK/dJDLCCpWINBcE=; b=l9KkKhXY/0QjQr2lBm/klYtwJ1HhZrhFUZski6LVRC2TSuZg482l65foKlMHGlsJV0PiYxY860n3SgZ/joNoJwePmtRdxNTCyQSPa+UNUSid+TKxynB45Faq3rn0v+q5mICBRvlJ/ynMzxKpPP/U92L4QGjp7vfv+50/narYPp8= Received: from MW4PR04CA0111.namprd04.prod.outlook.com (2603:10b6:303:83::26) by MW6PR12MB8867.namprd12.prod.outlook.com (2603:10b6:303:249::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Mon, 10 Jul 2023 12:38:53 +0000 Received: from CO1NAM11FT087.eop-nam11.prod.protection.outlook.com (2603:10b6:303:83:cafe::ee) by MW4PR04CA0111.outlook.office365.com (2603:10b6:303:83::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.31 via Frontend Transport; Mon, 10 Jul 2023 12:38:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT087.mail.protection.outlook.com (10.13.174.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6588.19 via Frontend Transport; Mon, 10 Jul 2023 12:38:53 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 10 Jul 2023 07:38:50 -0500 From: Michal Simek <michal.simek@amd.com> To: <u-boot@lists.denx.de>, <git@xilinx.com> Subject: [PATCH 10/17] arm64: zynqmp: Fix usb reset over bootmode pins on zcu100 Date: Mon, 10 Jul 2023 14:37:36 +0200 Message-ID: <1ca80ec5bf7a595c03822f3e4e3683298205067a.1688992653.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1688992653.git.michal.simek@amd.com> References: <cover.1688992653.git.michal.simek@amd.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1256; i=michal.simek@amd.com; h=from:subject:message-id; bh=lOyE0cwNZj8Ik6A/tXAq6PxnHZ5RQrK/dj4SkWM/D40=; b=owGbwMvMwCR4yjP1tKYXjyLjabUkhpTVvyfZJM1Onue474rxAl0h4Su6qtM4VLnf+83vW3hvu o/Ww8TCjlgWBkEmBlkxRRZpmytn9lbOmCJ88bAczBxWJpAhDFycAjCRPeYMczimLfofNFfjyYRp SaX3lgmffVw5ZzrDPKUb4nNLwhqijVjmTLURTM/pL7P6CAA= X-Developer-Key: i=michal.simek@amd.com; a=openpgp; fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT087:EE_|MW6PR12MB8867:EE_ X-MS-Office365-Filtering-Correlation-Id: d1153e91-0d3d-41da-b626-08db81429f01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y1szOb1NLd+9Tom+aLswWZ45GcASSpfLBsc/IZA+vEqzmDb+u44s+GhaJ0okriHid1sCfVd1MIlgtRzdfHaO+Z3/SK0JfRE+wi5SyycBIs9Scx/j142sILJeSt8GxlQLOP2zMGYZ7zZKeAm4DETfquy/Tr6hCrH7ZJdg+1t9yzj6IUXYW3Or/zNTQuwXz2vdxQIrrIJ7QJ+XwSphzN9QZvqOpz4fg1GTfVVqIspE2kPnDU10A06ZeFGWs85EO8owKQTQduDdLwhXwnXb/M8vckkxYI7qgjSSYHowt6EHNZZk8gVFxEwTA08RygkjpApIKycAUtA4n6qvGlMW7wA3eApaZht2KvmG5eY2GoQPlbN4KRqWoOECMpnjaax2hGixwyQ7ogkSNiK8kNIAdoJTbxLFfatZlEL5+V8H5bnBV40k+2hJqwsyuEqWIDXGBdVs9UO4/jyq05u5jyFpJQca9fRxe5WgH/4K9iNCA6diQoVmGpn9GF192OiKmlaa+7mhDP5f2RAvZ9kw1tJ7WO466jAprNL41WOq98Eu7ahzt6FRwN19UUPLQsVhWapnFWMo50B+7sTc0etKTTUTQ0waXpazPy2pNEj8Byx4S7SEgVPVBYe3obhxuSclm/yyqmZSQ7a3xQV66uQWnfv6aygfKhuGT4px53skXgaIjElfdx5GJ3rd33jSkkJGP8JtmsM0fB8am7PO30jjqEQFw45UJe68oMk943N1lUVr1h7hngvBsNozhWv7/JZBX3dM41ba4CsS/X0IMTiIF2Ro/0A3cw== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(136003)(376002)(396003)(346002)(39860400002)(451199021)(36840700001)(46966006)(40470700004)(5660300002)(44832011)(8676002)(8936002)(83380400001)(36860700001)(2906002)(2616005)(426003)(47076005)(186003)(110136005)(336012)(478600001)(26005)(40460700003)(41300700001)(81166007)(356005)(16526019)(40480700001)(82740400003)(86362001)(82310400005)(6666004)(316002)(70206006)(70586007)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2023 12:38:53.7008 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d1153e91-0d3d-41da-b626-08db81429f01 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT087.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8867 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Hi,
|
expand
|
diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts index 78c325076006..a84cd86694e2 100644 --- a/arch/arm/dts/zynqmp-zcu100-revC.dts +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts @@ -569,6 +569,7 @@ pinctrl-0 = <&pinctrl_usb0_default>; phy-names = "usb3-phy"; phys = <&psgtr 2 PHY_TYPE_USB3 0 0>; + /delete-property/ reset-gpios; }; &dwc3_0 { @@ -584,6 +585,7 @@ pinctrl-0 = <&pinctrl_usb1_default>; phy-names = "usb3-phy"; phys = <&psgtr 3 PHY_TYPE_USB3 1 0>; + reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>; }; &dwc3_1 {
The commit a4180c369607 ("arm64: zynqmp: Add mode-pin GPIO controller DT node") added usb phy reset over bootmode pins by default on usb0 only. zcu100 is using usb0 as peripheral and usb1 as host. Unfortunately reset line is shared for both usb ulpi phys but usb_rst_b is connected to usb5744 hub which is used only in host mode. Especially this chip requires reset to operate properly that's why better assign gpio reset to usb1 instead of usb0. Without this change usb start crashed when runs. Signed-off-by: Michal Simek <michal.simek@amd.com> --- arch/arm/dts/zynqmp-zcu100-revC.dts | 2 ++ 1 file changed, 2 insertions(+)