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 5D43DC61DA3 for ; Wed, 22 Feb 2023 01:06:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C37485A53; Wed, 22 Feb 2023 02:06:24 +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=1677027984; bh=7/IMRFzO32FPQXviGwmWaD+9xuexZ91VOA4RLTI3eyY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=wL5E0rsbCXWTZ8kCC3jnkhcUzBmEh+yEzaH2XZQZyQ6kHNOkifun2e4eLCH/3WEnC iE0SwUhCqZHrV5/x39rBRgT+DzFjE0kWYkPWbVCAXgaW+2m7hWD92MbRzhGQ0aLiHw Eo3xlYV/78BRdjSy+/cFE7KbBOquGZubFU4NkBR2fZpmxFbrx5MuIwl/E0/fnE3t6y m8SCiShehklybwY1sRDKk58B6WOPDFUZDMiING+elrN4HDHur/rwIrD8FthAyku0Wh FYQlyEXaj3LNEriT/B1Sl5B7DHNDTo84HXrI9FnC723Wmn42Fc9yLEx+13YVtTVrb2 nn3YKfdcwC81w== 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 BD56685870; Wed, 22 Feb 2023 02:06:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1677027982; bh=7/IMRFzO32FPQXviGwmWaD+9xuexZ91VOA4RLTI3eyY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ljbqmeyln77S8ulN1Fcsvu2hXEeS/hiIS/NEw6FKabVcqhVSrNACoylIfWADWl/Ah uQe7M5+T5T5L9oXdY0dA1a1rXd4D7+Axmqfce68QraxWVrVdT7ZzIfxtOBnUsWHsg4 rTOb+zmYlpnKJiTjlXi2rIJ147qaP6RXjU8lLpoXGagHAXOuEtSlne8+dFs9rFfrEM 4rprwyLsemQwFui++RSTS2WrDe8xGkZ4ZCPse7sbEu9mc/Dshfc1iXBELaDKFdlsZo mrDsz7mXz4Gpq1t143wINkrNZBQ20Ce4wgi7Xd9iGeIdwP8Ppv+jQ3APIyuACqDTuA JjhD4Gy0qdd2w== Message-ID: Date: Wed, 22 Feb 2023 02:06:21 +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: Venkatesh Yadav Abbarapu , u-boot@lists.denx.de Cc: michal.simek@amd.com, git@xilinx.com References: <20230113051202.8793-1-venkatesh.abbarapu@amd.com> From: Marek Vasut In-Reply-To: <20230113051202.8793-1-venkatesh.abbarapu@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 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