From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3CD9EECAAA2 for ; Sun, 28 Aug 2022 21:41:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 004F084594; Sun, 28 Aug 2022 23:41:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1661722870; bh=kh3bruCLhdofKYMjqTLCu1n/L4YfqClTTOxR4PVYKKs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=HJmUgmtpN7kXoE2SKP1F3YLLK4OESG697K5i20SnaPku6BNQf7CvvHEV+4JxWuyg6 tw5DSlF4jtgcAOf7rCtv5dSuhGfpo7QsEmJnmzQAg4I/8LibAyLb640jAP1631wUxE a+X6z9bd7tGoXpK6QkmvLes80Ox8GgsPlx5VumKlADkcLHsbludXbckCQoMFl+tnLY R7i90VNKwcvbeI/kjKPGK/ny/g37Irp1EMhuhqhD2CUOq9RkoUsEY3TXkh7rTyFHQr pkMdyS+1bZvd4rlnLycuksihZAK3Kf3S/TfFJiGlFFw+6cIyjwrIqfuzimCYR/KDOZ oirDjIWHvAkrw== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7E17E84540; Sun, 28 Aug 2022 23:41:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1661722867; bh=kh3bruCLhdofKYMjqTLCu1n/L4YfqClTTOxR4PVYKKs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Mlj8QC48i5Nom1acHAulX4gDG9lK3nZiVOwNQXUC17zuG9E1QgS+aIyMWJdj1m273 /b6of0mtyglwDyXmIhUS4mVO0rSUVmIrFwnoY5SPCrqkgmqkZwPcTAs397NSc07QUS v7qvjuDxe0BfeKHfo1pXDGxDhkDm2W+MrcSyblx0khdP6LNx2nQMtWTZJNqB8YaMZj BNMMLnTc44G5BpQS03bnAM+xoW+Sq5LwvKg5TcLxhVpc4O7ZoDklK5XsESh+peqiJl jY/TR7hj0Gn6t486PFQjZiXjoysmSnvgCaKIdV/wOcIdyXvbTV2YX3iopGEDbU22tM /OHNSbg39v0wg== Message-ID: <505a8591-39d1-cc95-82ef-67eb9a822a62@denx.de> Date: Sun, 28 Aug 2022 23:41:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH] usb: Add delay for control messages to reach usb stick Content-Language: en-US To: Ashok Reddy Soma , u-boot@lists.denx.de Cc: michal.simek@amd.com, git@xilinx.com, git@amd.com References: <20220826053533.23805-1-ashok.reddy.soma@amd.com> From: Marek Vasut In-Reply-To: <20220826053533.23805-1-ashok.reddy.soma@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 8/26/22 07:35, Ashok Reddy Soma wrote: > We are seeing timing issues with transcend usb sticks. These devices > seems to require more time than regular devices for the control messages > to reach device. Add 1ms delay before sending control message to fix > trancend device detection issue. In case you set 'usb_pgood_delay=2000' in U-Boot environment and re-test the USB stick, does the issue go away too ? This would increase the time from power Vbus enable to USB enumeration, it usually tends to fix such odd hardware too.