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 0A265C433F5 for ; Sun, 9 Jan 2022 01:28:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1EA98373B; Sun, 9 Jan 2022 02:27:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="XJb72eoy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 82C778141E; Sun, 9 Jan 2022 02:27:52 +0100 (CET) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3D25C83741 for ; Sun, 9 Jan 2022 02:27:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82a.google.com with SMTP id q14so10288818qtx.10 for ; Sat, 08 Jan 2022 17:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nz7r4XRTgCq6J/iT7YivA7CwIFy6XDUy8fmZpONL83U=; b=XJb72eoyhvoa3FiIkhLJ0zHTfDB0q0O8EaNr2kZptx1zr5JxSdfLsU0LSsJjMRYoJH cuUKIO6yS0lSWVun8wuOugRBAaphqHkMo6R7XKJTpfoHOQHXRkW9HC6NMyROpx6NbKn4 xOhxDNeRX4x8puX7qT6b5Xqy+QdBd4rmrE0dw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nz7r4XRTgCq6J/iT7YivA7CwIFy6XDUy8fmZpONL83U=; b=VQQLM3DJ1Xs2l7vArkrm3f9E5aNV6O8sR1acsOP4FifnlFwDCAxatJUJhEC/QmaJY6 +wBXdk2aUH4gGAiouGRfAa7V0wdIg2SvOqIbEwM5whG8F5lm/a19Rmo4gKDsTvxo5gFy dwG0G2P8UFsLJk0d1ApA8yIGPpqodnbCfR/Id1mbsNDVjMEHroctZJG7xJOzmbhDohLH vi2N+EiTBnGn0KrYLt/0IYhddItf6j6kyUBVRsQi4eOWBfJUCGaAxRmSENPuOVvkjqol fEbHwhVYW70TM5DaWsqci9g3FwLvlYS655X5dWUu6+kyd/cIWxpvYvI+6+jcrNW+FN/m tewA== X-Gm-Message-State: AOAM533sUjMMKn6LQqUUdr0zaaEzO2dqqVqIRhfN6UXMkY59I6gTJIbI 6NQY/Pe3lxlASHZtVhD/syZMzQ== X-Google-Smtp-Source: ABdhPJxlW2NZfpGlbqBX5byl65VX4VlJ48VF857h+Ylg13Z94r+/gHE2oRvaxIIiXhsL3k/Y4crEtA== X-Received: by 2002:ac8:7f02:: with SMTP id f2mr60755232qtk.1.1641691666003; Sat, 08 Jan 2022 17:27:46 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-d427-2e49-c645-22b9.res6.spectrum.com. [2603:6081:7b01:cbda:d427:2e49:c645:22b9]) by smtp.gmail.com with ESMTPSA id o17sm2006077qkp.89.2022.01.08.17.27.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 17:27:45 -0800 (PST) Date: Sat, 8 Jan 2022 20:27:43 -0500 From: Tom Rini To: Fabio Estevam Cc: sbabic@denx.de, pbrobinson@gmail.com, u-boot@lists.denx.de Subject: Re: [PATCH 3/6] udoo: Call gpio_request() Message-ID: <20220109012743.GG2773246@bill-the-cat> References: <20211218211025.770362-1-festevam@gmail.com> <20211218211025.770362-3-festevam@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Hl7iIDUZZE9gOHs4" Content-Disposition: inline In-Reply-To: <20211218211025.770362-3-festevam@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.2 at phobos.denx.de X-Virus-Status: Clean --Hl7iIDUZZE9gOHs4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 18, 2021 at 06:10:22PM -0300, Fabio Estevam wrote: > Calling gpio_request() prior to its usage is now mandatory. >=20 > This fixes the following GPIO errors: >=20 > U-Boot SPL 2022.01-rc3-00067-g7a5be871c0ec (Dec 18 2021 - 17:45:07 -0300)= =20 > Trying to boot from MMC1 = =20 > = =20 > = =20 > U-Boot 2022.01-rc3-00067-g7a5be871c0ec (Dec 18 2021 - 17:45:07 -0300) = =20 > = =20 > CPU: Freescale i.MX6Q rev1.2 at 792 MHz = =20 > Reset cause: WDOG = =20 > Model: Udoo i.MX6 Quad Board = =20 > Board: Udoo Quad = =20 > DRAM: 1 GiB = =20 > MMC: FSL_SDHC: 2 = =20 > Loading Environment from MMC... OK = =20 > In: serial = =20 > Out: serial = =20 > Err: serial = =20 > gpio@20a0000: set_dir_flags: error: gpio GPIO2_31 not reserved = =20 > gpio@20a4000: set_dir_flags: error: gpio GPIO3_23 not reserved = =20 > gpio@20b0000: set_dir_flags: error: gpio GPIO6_24 not reserved = =20 > gpio@20b0000: set_dir_flags: error: gpio GPIO6_25 not reserved = =20 > gpio@20b0000: set_dir_flags: error: gpio GPIO6_27 not reserved = =20 > gpio@20b0000: set_dir_flags: error: gpio GPIO6_28 not reserved = =20 > gpio@20b0000: set_dir_flags: error: gpio GPIO6_29 not reserved = =20 > gpio@20a4000: set_value: error: gpio GPIO3_23 not reserved = =20 > Net: Could not get PHY for FEC0: addr -2 = =20 > No ethernet found. =20 >=20 > Signed-off-by: Fabio Estevam > Reviewed-by: Peter Robinson Applied to u-boot/master, thanks! --=20 Tom --Hl7iIDUZZE9gOHs4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHaOg8ACgkQFHw5/5Y0 tyz18wv+LPVLBVN86hrmGWF8QahbUE8T/PZO/Kmp2Own+SWUvlTRPlVD34NDJx5M scFoVmOClFd7QxZJx6syRJoO4NdLkG6fJhzWNHHwLhihqcY2jZBRerky3vibYwMj 1hma16kEVOJ5mT5yP/4udJG+0hQQsYLpx0GEZFrAA6E6kWZNDcFOmDOMBo0wu1ZO oJMlYeY2Or3ZpVJlcd98cEBztTS8IDfKXvHHBN8Go3HncevBFuOMgvA3CmpApSlC dk7TJP0AJ2yJNZAJ14tFpkeII5L0sABgXl7A+woPNTXJPzWtBTOq9E3iGc7Q+FVC JxjrBm7paJzwro8aa7n0nV9GM9mqUzIOLzevWP75yTtVzlEDDT+kpKTDhPNtYbC5 o6V3xGm19ZN1RcyDU/RKclFLcbkQp+U3Hgf/+dHymtI8DVsJgb0q40VIuX8BQaqB cBeaQYp5/64aKd4FkCqUl4N6al2+3VNlVY2azXcvJyVz/Y3/1iPmyEpLqb1qWxBY Q2zGDWRT =gy4u -----END PGP SIGNATURE----- --Hl7iIDUZZE9gOHs4--