From patchwork Sat Oct 22 07:24:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1098593wrr; Sat, 22 Oct 2022 01:11:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QuCZcjBKuCjBETDPCFR+AbFE/RECWEuughI6FBUsytCBqNZdsdItoqCOKC8EvC9KMXU5r X-Received: by 2002:a05:6a00:140d:b0:528:5a5a:d846 with SMTP id l13-20020a056a00140d00b005285a5ad846mr2078090pfu.9.1666426283035; Sat, 22 Oct 2022 01:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666426283; cv=none; d=google.com; s=arc-20160816; b=fM8rvz31Nk9NXYjpf6vBJIgxyms8DgKjvKnLoLVcD3veBNn2kEZ8Xs98S6EE+FPl6v PIHHUPZIZhfhxiI1iDp3X3n5Fk5XYJ7ki0OvLyGmzgFz+4skssipal0y0kAvQtEeANSc WTB6fsiJFw4Kk9w9RRu8FS+ogUQFflJtBVq+k20vXNZYoJZOoJeC/fxIRRmPH9tLrMhZ TvUv2ivsEpsHhiqKWC55Y6JNwklEXFy3ekGcaCRzdWiG2WmVuOF8vp/VYBPCmnpRMwtE PsCysGa6Z/7LQ6R1Jy85+UennNTjmIXwYr8zKhVmVt/KG0MMA+tW2NIrpeTd95A+M04i p/8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1UWyL/yx1wbXJMjZrYIK+febCbR2ELpYgE4BwE+cpXk=; b=apCloRtMMXvK2krn26gdjaupKBnTXcvvs9ijN7yOgR40+lFOT5zvlSuPTW1PnZ/HBE TaVmicEj0J8aVoSoiSxfzcOZSyY5OJjMgIUVqTo8oI0pnIIvUJzCZWDMUJHmvTdtkFlK TuPfk0tHCRxfLVr19mRGhAC8UarGCBWzYXTqksF7n17+0gL+/g1L531cqvMp2IYUZpdZ cBiR0O8kG7fWEFBeoyPwGGO4vrBjpCM0r00qh365Hq9aPV125aBCRQwCQP0OnDWDUyfl XwduZ/Az/wuFMB6jXSWdZlFBiPrezgO1woMdep60rarBQIHMoRQIyDxy67IGmBo5M/u1 6gpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=k6dlImjy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a056a0016cc00b005281e5606b2si29264013pfc.32.2022.10.22.01.11.07; Sat, 22 Oct 2022 01:11:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=k6dlImjy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232973AbiJVIKN (ORCPT + 99 others); Sat, 22 Oct 2022 04:10:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbiJVIGF (ORCPT ); Sat, 22 Oct 2022 04:06:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD7032C6E1F; Sat, 22 Oct 2022 00:52:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 13192B82E2C; Sat, 22 Oct 2022 07:50:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C711C433C1; Sat, 22 Oct 2022 07:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425036; bh=ai7WfVWVVq/rsQxbxqD2P3T55B+WLzqUqFD0GQQ004k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k6dlImjyRRGoTafyrybcRYHprtNp7yNZtITMA6KbMwzoR4m6nm2FgAdFASGJTt7vR LQjtzxMBIgCYPtZdyCbm6e/J/+yK49KOkRO6KKE3la/ta4TzA0QYptyLrthmaGp92q WlrHBNyn0MU94/5Xc5i7X+4f/Re3DsR1DKRTUvOc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Torokhov , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.19 369/717] ARM: dts: exynos: fix polarity of VBUS GPIO of Origen Date: Sat, 22 Oct 2022 09:24:08 +0200 Message-Id: <20221022072513.004199583@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747374606294790937?= X-GMAIL-MSGID: =?utf-8?q?1747374606294790937?= From: Dmitry Torokhov [ Upstream commit a08137bd1e0a7ce951dce9ce4a83e39d379b6e1b ] EHCI Oxynos (drivers/usb/host/ehci-exynos.c) drives VBUS GPIO high when trying to power up the bus, therefore the GPIO in DTS must be marked as "active high". This will be important when EHCI driver is converted to gpiod API that respects declared polarities. Fixes: 4e8991def565 ("ARM: dts: exynos: Enable AX88760 USB hub on Origen board") Signed-off-by: Dmitry Torokhov Link: https://lore.kernel.org/r/20220927220504.3744878-1-dmitry.torokhov@gmail.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos4412-origen.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts index 6db09dba07ff..a3905e27b9cd 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -95,7 +95,7 @@ }; &ehci { - samsung,vbus-gpio = <&gpx3 5 1>; + samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>; status = "okay"; phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>; phy-names = "hsic0", "hsic1";