Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2517707pxa; Mon, 17 Aug 2020 11:36:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwFVl3vaBr22DOze4X3/uk0Zh2KMF4pRFHKkIFN2kuL5GJVgbopyjfHrwJ8XO7dFFcDWEA X-Received: by 2002:a17:907:441b:: with SMTP id om19mr15887956ejb.126.1597689412019; Mon, 17 Aug 2020 11:36:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597689412; cv=none; d=google.com; s=arc-20160816; b=K5CGOP5HEmRMPzcS1c9kH8VwDkhEtTQLB2xl/H8nRA7gSxVso6mASAjv0eDFm5OfmK BkQGSPmzWElD6YcLuIb0L/G6EHfpBXNdGrPgFTs5KirxEcushWV7rZOi9r+7JdGAiHAo MztC0WTo4BdNkgdKSLg5XoVihteZ+7GnaafDS2J1FWfprtaY3n4z4mSxyJ739Wi67tqt dUT7yOFUOZ0pmjdKvAaDOGXP9rsAxeoeJ9/CPpFVTwQYS0y7JYt6e7q0cjf3joK2wP7r t0iab9GM6uTt1dpZETxu9TtEqh/0cIGjQIs7Q98P1cAP7zDeEYhatqy45EI1MVahnVKi cVNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oGCWfj8IUq0ewdf7vC8hI0diWO9YKvuI7dr6ZN3q9FI=; b=m51MM6SWO7rwMNC9AZQc4urKrn1F3oa2iwVmXk5BFdepekTFUgbMq7fUxJnvASd8d1 QBYY3zk/c1GkzOk8KjBrWhAz4Y/A5D9ThUVHOFjU0rsC9vXeTgtg8Cgmov+/kkKRPGgR mg+VUAqwsHtX2Y1Sn17Gl5sSL6JEEuQPhbfDNitQdkC3YdVKz02BqiFIxvXEB0e9e+/C 4oEkSWnrUe1YqR6x3EaVQELOyikz0wO9V+xpRTQ3v6gGmuSRaM5Glxv+oMItgodN3GsD uU/TW1np9CIBJDB2dwlph4O5xFVmxwgbozJ7YCQrvDX3lEDpiPpPQqPdAYAoncfrznmQ peUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RZ6HBZz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce6si12276504ejb.734.2020.08.17.11.36.29; Mon, 17 Aug 2020 11:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RZ6HBZz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390905AbgHQSfJ (ORCPT + 99 others); Mon, 17 Aug 2020 14:35:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:47064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730987AbgHQP7r (ORCPT ); Mon, 17 Aug 2020 11:59:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E0B4A20B1F; Mon, 17 Aug 2020 15:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597679987; bh=m+tK/OnzwPmL7AouZtksMJfIMQri7qS/7WDVoel7B3U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RZ6HBZz+qOQkwPqYg5JtHQYwiwircwItuSQybsAKoFX8iDdBadEdq0mFB2WxUrKVF 4OrtRpsi5FoYLfPLWmf8eugyOZvMmPd2hISgsONTJ/jd7tfbFUTMNpleOnua0I45vN O+eHs0MP7TW+BlADprL9mTrhJ+RF7UgRdS87OH90= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heiko Stuebner , Sasha Levin Subject: [PATCH 5.4 010/270] arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio Date: Mon, 17 Aug 2020 17:13:31 +0200 Message-Id: <20200817143756.322805145@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143755.807583758@linuxfoundation.org> References: <20200817143755.807583758@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiko Stuebner [ Upstream commit 7a7184f6cfa9279f1a1c10a1845d247d7fad54ff ] The puma vcc5v0_host regulator node currently uses opposite active-values for the enable pin. The gpio-declaration uses active-high while the separate enable-active-low property marks the pin as active low. While on the kernel side this works ok, other DT users may get confused - as seen with uboot right now. So bring this in line and make both properties match, similar to the gmac fix. Fixes: 2c66fc34e945 ("arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM") Signed-off-by: Heiko Stuebner Link: https://lore.kernel.org/r/20200604091239.424318-1-heiko@sntech.de Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 62ea288a1a70b..fb47e4046f4e4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -101,7 +101,7 @@ vcc3v3_sys: vcc3v3-sys { vcc5v0_host: vcc5v0-host-regulator { compatible = "regulator-fixed"; - gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; + gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>; enable-active-low; pinctrl-names = "default"; pinctrl-0 = <&vcc5v0_host_en>; -- 2.25.1