From patchwork Mon Oct 24 11:30:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9850 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp558941wru; Mon, 24 Oct 2022 10:05:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5mKaW2AEEDrjzJ7eDsG7XweLF/BoMWArCnzPZdNnehNDyr4uwK8TiX0VZB2JvHdqTfLzyU X-Received: by 2002:a17:903:50e:b0:182:631b:df6f with SMTP id jn14-20020a170903050e00b00182631bdf6fmr34602570plb.66.1666631136239; Mon, 24 Oct 2022 10:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666631136; cv=none; d=google.com; s=arc-20160816; b=tM9s2QZgppjXnHfSB6RY8DzQwvsgOYjrHtRvrjqVQLbzw5n4V9whULiTHd74N1qOO7 xfNKPmyABKlUItbaC1p9oLEWnEuss2vDk0dA6ae23KR3WkO9nOaG3qaT9qwiAd1G+47c oo1Uled/LP3uhCmyi13PhscvUWY2JcaE+ckH4g5Wmu1YCfc0gCfHy1TKPfBfaumVefhJ kHD93PdUtDygYRP3A4TCWN23QvtV/Cg7o7UxsZx+9nCwlBBrpuAD8R5HDbveeXTh/HL7 GHiywxDUivcEebf5mlB/ivvQMJxMjDzjW2tucrYB4fm/StfG8yIRn8ZqRMZKzFcH+k67 AMlA== 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=nnNIp07k2d9CXbno9Ll0DNz1QelfgJdxmnDD4z1UBzQ=; b=Se+l3zrxcZcFjtPuC/kjNsCM/2qWi1vvVfoUTtBdGRYKwJ9r7yQ46oAZ35dW0zZxHt oK8/ksMEjjQp9mh1F8MxntEExLXzZPmHqMdCcqLJ5NnlsUOHHP68SmsuckbK89PSIbbI nuOqrNtKFEeza3IfKUqLT+bubyjSrr9JEn4SISk2RDTmebE2Sj9hx6+2yyXMh9MRukm4 grXrPF0ZXkmQX5G2LI1kzzwV1K19rpPIHICGmoR0fyfa2elwoKOxWlmpJNOfMFie+FSs MdviSpssLdrPiJPV8Z2iu4JTupq2+1QRkKwJc1gV0ex7j46VYjowvRnwCOo2Hbct2NVb rKFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qqEbLNyA; 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 y5-20020a170902864500b00186748fe8e8si34650plt.188.2022.10.24.10.05.21; Mon, 24 Oct 2022 10:05:36 -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=qqEbLNyA; 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 S231901AbiJXRAo (ORCPT + 99 others); Mon, 24 Oct 2022 13:00:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbiJXQ62 (ORCPT ); Mon, 24 Oct 2022 12:58:28 -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 770373E777; Mon, 24 Oct 2022 08:37:20 -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 E2DF9B811E7; Mon, 24 Oct 2022 11:59:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4613AC433C1; Mon, 24 Oct 2022 11:59:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666612798; bh=m13IFTUaEZZ3IJYKl4KRUETJ2GzfudCnvdR4i1l9oaI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qqEbLNyAPCTEwuAFuaX3eekFLcL0S1oIz+RLtdlcknsqZgvAt/AavZudW850fudZF ooVuuwcQOHABYyC5jKdcLMJWuhPmN/dphp+/q8fiRhE49A0HI2zXoRjX93YmFZCtSb RjhziRO5E2nvCsXgmxi+4UYgvaVYAeiQFE7743ks= 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 4.19 116/229] ARM: dts: exynos: fix polarity of VBUS GPIO of Origen Date: Mon, 24 Oct 2022 13:30:35 +0200 Message-Id: <20221024113002.753802574@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112959.085534368@linuxfoundation.org> References: <20221024112959.085534368@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747589410310893807?= X-GMAIL-MSGID: =?utf-8?q?1747589410310893807?= 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 346f71932457..e5bfa76185a2 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -87,7 +87,7 @@ }; &ehci { - samsung,vbus-gpio = <&gpx3 5 1>; + samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>; status = "okay"; port@1 {