From patchwork Mon Feb 8 15:00:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 378566 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp4779380jah; Mon, 8 Feb 2021 07:29:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqu7ik21E1QtabjtNItX57wDZFH52U8Jkcg8UiO5JI/ZSzXGR9HszTfnq6Di4VNxXf2jzD X-Received: by 2002:a17:907:2088:: with SMTP id pv8mr17060835ejb.131.1612798183961; Mon, 08 Feb 2021 07:29:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612798183; cv=none; d=google.com; s=arc-20160816; b=MMk1tiywZcIONNC5GoyLVoJ2Nh3cYI7tG5qgWApmgE5WCCMczR57b1O5f11Sv5V6GF +h/bMJXxl8dsl2yWnttmLYgZCffjo6mKjzgiOZ0MXiRrBVv7Cymdks6cJlggHaF2paRi mM6bh4r56ulNeB60vmY50IMHdk9bHoULDnqCJ7mOcaKLfvxDwoarns4AGWTj2ACS40Kn mh771RaJQVOkQ/NeHq4YJry6oQvvMO+TPBPq/gO3S+rM+ulf0IhlkzK8QshM2CCZ4LNo 9CyRKSgmPSGE6t3cwPgPiQYrWLrkx3AbAsRZT/70++DBObRePSDKVf7ipQDobgMMSF5K unVw== 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=gpoU+0luGhfddl9FDQWacAp11Z+66wYg//U9JJtq8Fc=; b=miBYxCSsR56sC9DglHasriVOTMePAd36Vs2WZBmVL0Lyh428LlG43mn2OnG/TnJx9R 8cz33ahMzcm/Na31Fb6TQCimMWEOMxTSuyI6Dw0f1DklFKYpyCTlu3Gr0eon0leez9f6 M+9JKuPz5OnocD4paZnPS9AFvE7PnVqrVXgVbZbQPlGWjD61q2zgh80HO3MeXx5gb+Wr SQgUhiV8XRpeViydiECumiX94jeiyTWoK9saYI2UNfQyQqrpsqREddsLmoIVDg4k4+Ba RHW1MMZBcrLs/GJQ9/yoe6pjaOZZ7GgcaAtT+v1QiJDJe1lmQzOi6j1j17mtgdiAtUlp YyAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=V4KdGoYi; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (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 ka12si11287829ejc.323.2021.02.08.07.29.41; Mon, 08 Feb 2021 07:29:43 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=V4KdGoYi; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S231872AbhBHP3W (ORCPT + 13 others); Mon, 8 Feb 2021 10:29:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:35736 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233628AbhBHPZB (ORCPT ); Mon, 8 Feb 2021 10:25:01 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B27CD64EFD; Mon, 8 Feb 2021 15:15:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612797303; bh=DF4jAoOgabzFryVCwGhb/mi2gTD+rQOY9s7yNFIMy1E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V4KdGoYiw/cDrGvex4RixBnILBUcFzT5ioF1ZLDhMLqQcMZ1zKTrhcmEShq7aiLUK uJe1NJlXbfnP8ZK2OwZ6Fo1Uy0i5W0e0Z/Tg+z3jhg2z8JSyCRxUfsgNjVgTwL7n6E bDxEzAo23os2/uk/ltEMFqCq5aYRIXvajN5vlvTo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Neil Armstrong , Marek Szyprowski , Martin Blumenstingl , Kevin Hilman , Sasha Levin Subject: [PATCH 5.10 031/120] arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4 Date: Mon, 8 Feb 2021 16:00:18 +0100 Message-Id: <20210208145819.629879488@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210208145818.395353822@linuxfoundation.org> References: <20210208145818.395353822@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Marek Szyprowski [ Upstream commit daf12bee07b9e2f38216f58aca7ac4e4e66a7146 ] For the proper reboot Odroid-C4 board requires to switch TFLASH_VDD_EN pin to the high impedance mode, otherwise the board is stuck in the middle of loading early stages of the bootloader from SD card. This can be achieved by using the OPEN_DRAIN flag instead of the ACTIVE_HIGH, what will leave the pin in input mode to achieve high state (pin has the pull-up) and solve the issue. Suggested-by: Neil Armstrong Fixes: 326e57518b0d ("arm64: dts: meson-sm1: add support for Hardkernel ODROID-C4") Signed-off-by: Marek Szyprowski Acked-by: Martin Blumenstingl Signed-off-by: Kevin Hilman Link: https://lore.kernel.org/r/20210122055218.27241-1-m.szyprowski@samsung.com Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts index cf5a98f0e47c8..a712273c905af 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts @@ -52,7 +52,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; + gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>; enable-active-high; regulator-always-on; };