Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbdCAPDR (ORCPT ); Wed, 1 Mar 2017 10:03:17 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:44121 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751583AbdCAPC1 (ORCPT ); Wed, 1 Mar 2017 10:02:27 -0500 From: Romain Perier To: Ulf Hansson Cc: linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Romain Perier , Sjoerd Simons Subject: [PATCH 4/4] arm: dts: rockchip: Enable post_ios_power_on and pre-power-on-delay-ms Date: Wed, 1 Mar 2017 15:53:10 +0100 Message-Id: <20170301145310.22813-5-romain.perier@collabora.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170301145310.22813-1-romain.perier@collabora.com> References: <20170301145310.22813-1-romain.perier@collabora.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 28 This enables the property post_ios_power_on. With this property, the driver pwrseq_simple will do its entire power sequence at the end of the mmc_power_up() function. The property pre-power-on-delay-ms adds a delay of 1ms between the enablement of the clk and the assertion of the reset line. It fixes the power-up sequence for the Wifi chipset AP6335. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3288-rock2-square.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index 818c4bf..9bf2991 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -106,6 +106,8 @@ pinctrl-names = "default"; pinctrl-0 = <&wifi_enable>; reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; + pre-power-on-delay-ms = <1>; + post-ios-power-on; }; vcc_usb_host: vcc-host-regulator { -- 2.9.3