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 105F1C636D6 for ; Wed, 22 Feb 2023 15:33:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 46D31859F1; Wed, 22 Feb 2023 16:33:53 +0100 (CET) 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=1677080033; bh=DiKWKMrD35BT2ZAZ6WD8aiXGm6Alr+Bk0nHGtlImR7M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=k6PDlJfkyFLYzYoAiQoFCc4VlHqZcgYB2DyEcy96H94+fmofCwEEVIFVbXYB4DdaD G/Ou/WYNJLPBuKD0AxhPff4purxpCO8l5Vd6Fd9gxob+7Tde/5ijvPueElvCXM2Xxg ZU5EQyF5Hkj3u+YPeSqDy9jvvC29l/VqVwZ/CgKbe4mDLQq6Sy6pVZmEguS3nMefky KtZU/Zo/H5gKx0izgpD4oM8fhjFQr8+h2Ktk/WTAVkwZymmSfXRWFUDhEnCfQBbvzq v2xV4aVScvlsFhQI6Fk5kOsHX3eDSlMiHsUPxArvythIg1WRt9Jv+9WaFtjPzm52Xo 6BqM1z/98ea0A== 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 D869380AE2; Wed, 22 Feb 2023 16:33:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1677080032; bh=DiKWKMrD35BT2ZAZ6WD8aiXGm6Alr+Bk0nHGtlImR7M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MqRG1wIboAJZJWBMsXnqEAaLwcIJbkgCwjuh72/Y2zNzZTRDCO17xE+Ru0cBQWpsN YH+vImY9ULQJLcCKl7yEDosKxl55q3dvngpk9moIwavSTxpszaxcqEKrUdsJH4WWQO WyXGcqF02PflQ06lrgL48KeAPd77qJv8QPt5Y5Xezjecfr0qhASajPVLndzAFbere/ KUyto7hdxDvx4qcn1dY1o+Z6G80PPa/RmqmYJdVGKVnCypPNhsnPSzRbvpvEmQz4KY JOjRyBIFinXu0ElYp2B+HThfvIkHEoXkBKuZDE0aYydQjSKRGDED/qypneGF0yeTqV t1kFDV4X5gVTw== Message-ID: <2a2d1e10-0ea9-9d27-cd6a-1ac96d30c9ff@denx.de> Date: Wed, 22 Feb 2023 16:33:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2] usb: dwc3: Use the devm_gpiod_get_optional() API for reset gpio Content-Language: en-US To: Michal Simek , Venkatesh Yadav Abbarapu , u-boot@lists.denx.de Cc: git@xilinx.com References: <20230113051202.8793-1-venkatesh.abbarapu@amd.com> From: Marek Vasut In-Reply-To: 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 2/22/23 08:01, Michal Simek wrote: > > > On 2/22/23 02:06, Marek Vasut wrote: >> On 1/13/23 06:12, Venkatesh Yadav Abbarapu wrote: >>> As the "reset-gpios" property is optional, don't return the >>> error and just skip the gpio reset sequence. >>> >>> Signed-off-by: Venkatesh Yadav Abbarapu >>> --- >>> Changes in v2: >>> - Replaced the gpio_request_by_name() the API with >>> devm_gpiod_get_optional(). >> >> The PX30 seems to fail to build: >> >> https://source.denx.de/u-boot/custodians/u-boot-usb/-/jobs/580968 > > Doesn't look usb related. > > +Please report this bug. > +make[4]: *** [scripts/Makefile.build:257: spl/drivers/mmc/mmc.o] Error 1 > +make[3]: *** [scripts/Makefile.build:397: spl/drivers/mmc] Error 2 > +make[2]: *** [scripts/Makefile.spl:533: spl/drivers] Error 2 > > Can you please double check it? u-boot/master without this patch built fine, usb/next just built fine too. I did retrigger the failing build to see if this is transient failure, but it would be good if someone at xilinx could build-test the px30 too .