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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D834EC433F5 for ; Tue, 18 Jan 2022 12:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=D6TeGQ0NfXFRQZ8PzQRvUnWhrOuTgTk9mPGh49i3Eno=; b=kh21FJQFgC+rSV 4t5YnkXDbfKiUJmPFVMxeGLQxPaH1iJ8MHPpmKq7w4+GnOcQI9WXXmxSGQqe7kuwNeCRA5RI30RZY ijR6xC6NEwnKK4nPA2DQdR3ydVvmC0vgTz/Mo/hLox4TzLq/utl2lnPaJMcL4jECOSd0EFwCZY9ae vD/xjXCD55N3tIoi9/tMHl23TlyAEJl7AFbE7RNUvFlkdQg+64GMw10oE7vb9VmFvdkB6lGEDQjnd hxAWZsXHE8P93f0gtMbRA1KMsrI/w+ZqQWU5VnOTP+VhsKvLh5YcE2xeALcfGh6EKjRkrK1dNO2Z4 +pbzXr+VI8azHGFh2DfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9nwy-001W7B-5S; Tue, 18 Jan 2022 12:51:00 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9nwu-001W6C-W4 for linux-arm-kernel@lists.infradead.org; Tue, 18 Jan 2022 12:50:58 +0000 Received: by mail-wm1-x332.google.com with SMTP id q9-20020a7bce89000000b00349e697f2fbso5620431wmj.0 for ; Tue, 18 Jan 2022 04:50:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=6Y1Ova7Y1eOHP74TgEiFjPPk+lw3tUNdNdvPlgpu9No=; b=RtjWIbAtRny80mz/OpmyKJ9FC9+6jLFxBi1LOeq1D08R8ox/YYC9dIhi/RR+vuuY+0 xBPqA0HJKsRhn0HRiCMJcmp3K5gneAiuh7BbFne9+7Q6Svu0xRSu2hUSRlTUwj9SJ/ro ntlzb6FK7uGuObaeT1zn1cyF+gKFOKp6O5bm2U9tst+uabLJ0R5WLvwI5Vip9Qa2/tpl quwnGyWi0M/39GvFJV0ehHCLRNbh+EshK//WyZDGqMkh/9yItgsfkvaqvkkhq0sNl8lw ZoKlOxX7jHZhSgm2AEFLfmQiXdqakvNIjZWcGloCn8SUn8q0Cc6MeWaSFer36O7U9bRt GTaA== 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:mime-version :content-disposition; bh=6Y1Ova7Y1eOHP74TgEiFjPPk+lw3tUNdNdvPlgpu9No=; b=s6riBhOn8c4uW+ynecHRBW1OcgmGL0cl/yfaP5dot4qKhhHu0ldFYYz5dQv3kOHely rF0mgbXdkT8IaA5sDNdRlnkR90XPqpRIeLD0ki3gvraz+l6aOepMFOhNvVnjTVwoes9D 8ywC5y9do+o5jrVV5zBhCkvRb8qPbbyJa88gvDg0kyqMTV8gU/cLaWyZkaVgRxmBao/f VmiKbn4c23BQRB6ca/4jFqbgnLuehkYhLMz30Opjw//tkGZdehuIY8TxMOckzT/z9Uku oTLgghFVBxzk0vDemcbaKrPl0XC+WBhtkJE2BYuoZwOFnv9JxZ8oPqX8eXFSBtG4iqJ7 UCBw== X-Gm-Message-State: AOAM532m4+B4iI27dii55/R+XrL3S2kRjEFdoGgTiZn5ZPjm7hX5ULCK qALhGobnRURiqSHOWrGiLS8= X-Google-Smtp-Source: ABdhPJyDSrvcv7mWnHIq6RZY+NtmzayswEkL/ZHaSgHVOBpfNr4TFBPTmJ0DRNqLKr5usyY9+ic0MQ== X-Received: by 2002:a05:600c:3488:: with SMTP id a8mr24525180wmq.131.1642510255432; Tue, 18 Jan 2022 04:50:55 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id o8sm10636835wry.112.2022.01.18.04.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jan 2022 04:50:55 -0800 (PST) Date: Tue, 18 Jan 2022 13:50:52 +0100 From: Corentin Labbe To: linus.walleij@linaro.org, mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, hverkuil-cisco@xs4all.nl Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, zhangn1985@gmail.com Subject: [BUG] pinctrl: reg-fixed-voltage usb0-vbus: error -EINVAL: can't get GPIO Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220118_045057_085245_0A100A32 X-CRM114-Status: UNSURE ( 6.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello As reported on old googlegroup sunxi mainling list, on linux-next-20220118, USB storage fail to bring up on orangepiPC. We can see some error logs in dmesg: reg-fixed-voltage usb0-vbus: error -EINVAL: can't get GPIO reg-fixed-voltage: probe of usb0-vbus failed with error -22 This is bisected to: 8df89a7cbc63c7598c00611ad17b67e8d5b4fad3 pinctrl-sunxi: don't call pinctrl_gpio_direction() Reverting this commit lead to a working USB storage being setuped. Regards _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel