From patchwork Mon Oct 24 11:30:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8932 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp434864wru; Mon, 24 Oct 2022 05:53:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6cOZ3XuWYkeGkB6aBqwwOpl90LbUSMizTzSAuLl21+N7RRgmIDFr00eKZJ2LSCYzE5aLcs X-Received: by 2002:a05:6402:c4d:b0:457:99ec:1837 with SMTP id cs13-20020a0564020c4d00b0045799ec1837mr30163529edb.86.1666615989533; Mon, 24 Oct 2022 05:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666615989; cv=none; d=google.com; s=arc-20160816; b=QOZzvwhInu2vwNS1507/SID8b8rY+MB0A/AIluAc2fSMpo+Abh2/G0M4LUjYgOHCmx UFoCi/7Az5cX1lSWNorV5OQ1++5zwcK04jNzU8ohMDFbZbPapQMZMvI2r3ViYDVlDzCM VZFnXsRq+bj9n9rTkiQGzycz7RMC3BcBdeTcgDtReP4wOnziwAGWTmfxZc/QJH7MGvAd 2w6C3dcY6+urtaC7YIP4B236OIdO2oB6t80dpu/Epr6Fbq5Hiv9QmMAYdfNhseL5llxx pLc0bRJ3aWLiU2TpFxZhDmM1nb4eR7mseo3f+CYFkSEk21VeEb/A5D5QeqxKlPKrm0Ra uYLw== 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=ijc6JG0CMCU858CrqjwAJdRczEuz7jfGb1QDroBkM4A=; b=L40goFNgxwWqiEu99awRAaFI2GU3TpmDk4I+ilnagxVNAy9ARw/eRP5Y4EngQlXaSS VQqcS7bNacMiayg4zkDFexyahOeubfMaxrT3TEd6iTuVgxNG85ENIvF4aIYX7pYBIJKQ pLLdsTIxMngELUz21AGF627diKhZqOhsE0tIbq7fMzv+h+QlWatrqdcIguIYT/lCZ3zL CnvJsybWP7QsMy3ZMxyz8iqt8OgKMCEK1rJ9zZjCBo+3t7qtWPC4v6oEnFiGo1gLNEHN hDFBKeSk2PdFXhGekWBiNUk0vckG0XACyCSbwCpQDBwtWFGazzBKovwyg/blFXi4+5A/ +ujA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BYrHfZTt; 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 ey10-20020a0564022a0a00b004615c5728e8si7643531edb.494.2022.10.24.05.52.44; Mon, 24 Oct 2022 05:53:09 -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=BYrHfZTt; 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 S234575AbiJXMvq (ORCPT + 99 others); Mon, 24 Oct 2022 08:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234757AbiJXMpi (ORCPT ); Mon, 24 Oct 2022 08:45:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFC9843AC0; Mon, 24 Oct 2022 05:10:03 -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 dfw.source.kernel.org (Postfix) with ESMTPS id EC74E61278; Mon, 24 Oct 2022 12:09:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0985BC433D6; Mon, 24 Oct 2022 12:09:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613390; bh=/WVprh8LeBA0UjKyNAbI/MRXBmvmQYtP0wwgE/nsLvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BYrHfZTtBq0UXCHysDVhTBdoa4HpVi6BWStnFwzEx3PWqoDQLa5tHPzxkHArmuMPQ cHxIzRLXsIOX9H8+a2F1QNzoRoJZDRaGVsh9gYtIzY34lkpZX5aPsil6wsX6QZRITA T3UQ/8rYiglFRVTB+w2ZwY6ildOrATAUrAEeaTdU= 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.4 117/255] ARM: dts: exynos: fix polarity of VBUS GPIO of Origen Date: Mon, 24 Oct 2022 13:30:27 +0200 Message-Id: <20221024113006.416588347@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113002.471093005@linuxfoundation.org> References: <20221024113002.471093005@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?1747573527956196351?= X-GMAIL-MSGID: =?utf-8?q?1747573527956196351?= 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 ecd14b283a6b..c6678c120cbd 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -86,7 +86,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";