From patchwork Wed Oct 19 08:28:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 5086 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp249544wrs; Wed, 19 Oct 2022 03:46:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7zB95ml1sB7rXv5BA6GXlYGsn9FkAVbsBscG9tyWyNA6X5h13S7ROJ4vQbwnnp4+3QDqy4 X-Received: by 2002:a17:903:1211:b0:178:9353:9e42 with SMTP id l17-20020a170903121100b0017893539e42mr7845200plh.45.1666176392988; Wed, 19 Oct 2022 03:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666176392; cv=none; d=google.com; s=arc-20160816; b=Wj2z3hRNXRQ6u2zSrDuvS2l/pbeyLmVSxb50Ni3TqrZ9aH+53E2+iAZzGtvl8otFM1 brZlYEaN5IqsSoikZTt/j80SXFnjn5JZ8elbS1YeK0vpOxHUmb86R6RatcGjCfAh8MYm 0+Idz3G365f7L27QQEeRpSRBApi9ujjq0/CBQaGqyf1kszopiA/MOcf92SCzNUUFW+X6 AHWC+qs1HewdRi6yPQe6YRFbHr6ry38Mt1LbpRnRbMw410RscUdmjmHpV7ThqQPMo16a KgyqjkW+sKctiUkFF0Ud+PMTml+Z5PlOGt/Q8l5Y05oc+U3UJSsPTtgCcqwTf4PPhUdh PZ7w== 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=QoylNxjvLIvvIrFEtni/gJV79WSOzFZ6XrQDU7WpDtTVUpF0XtdNBcrDyzjABYRmyW 3Lh/Kj/6c54whSCFE54cYDk9esTCbxxDVwynAWTqn0Hv33MdQq01hJB7xQ8ReDd4hqmY X7mzD7t1s3C4g0z4E2cX+yib0UfT2lVgGMHzBqwtaNheG5ie7lsyKYi0/VvIMXHA4zgC 4vYx7tlefhemnD0I7BQgtf1BjsJ+cI9NOblWu4MzRffJZPwyChkj6bGzuS1O72gbq5Wn qiNNifLFJFjIGo4Z8pCRlUBQTWDZqMf7ckuJ5Cbpa6z2mV7WD4lqa2f+bDWw/R+ojRNO O5dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gQze8Gv3; 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 m10-20020a1709026bca00b00171311470f7si16485464plt.3.2022.10.19.03.46.20; Wed, 19 Oct 2022 03:46:32 -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=gQze8Gv3; 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 S233008AbiJSKp7 (ORCPT + 99 others); Wed, 19 Oct 2022 06:45:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232923AbiJSKoV (ORCPT ); Wed, 19 Oct 2022 06:44:21 -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 B77E51CFF1; Wed, 19 Oct 2022 03:21:02 -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 51319B82450; Wed, 19 Oct 2022 08:59:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA99AC433B5; Wed, 19 Oct 2022 08:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666169988; bh=ai7WfVWVVq/rsQxbxqD2P3T55B+WLzqUqFD0GQQ004k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gQze8Gv3fK472mMiTL7e3+Nh3BQCJbHTWtOWtMFqNj5jZzzt94il27qSdlKef+OJD kSteYQbpjPzTuk2XM77ERrn1Hw+ihhInPAJ0aKWfmI7sGK5DYI4STGB4tNMEAOf+7x k3e368AvvVy4BcVOovVhT5mhpX7Nd5hqNveCTa34= 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 6.0 452/862] ARM: dts: exynos: fix polarity of VBUS GPIO of Origen Date: Wed, 19 Oct 2022 10:28:59 +0200 Message-Id: <20221019083309.946966609@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 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?1747112577200902017?= X-GMAIL-MSGID: =?utf-8?q?1747112577200902017?= 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";