From patchwork Thu Sep 26 18:44:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 11163267 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D0E7912 for ; Thu, 26 Sep 2019 18:44:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CABC0217F4 for ; Thu, 26 Sep 2019 18:44:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="AhsW8TrD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728583AbfIZSov (ORCPT ); Thu, 26 Sep 2019 14:44:51 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:41790 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728192AbfIZSov (ORCPT ); Thu, 26 Sep 2019 14:44:51 -0400 Received: from localhost.localdomain (80-110-106-143.cgn.dynamic.surfer.at [80.110.106.143]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id EB3FDC1432; Thu, 26 Sep 2019 18:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1569523489; bh=TtCFp66H0BRdliV0MDGqy9XsOfbrryGZJzyXlR1T3/k=; h=From:To:Cc:Subject:Date; b=AhsW8TrDVbuJ0VHaUpnEMSmpUfG2mjqVP3pcjYroAro4Zq/vRQ7C5GYaUWs/wZaUz zSChIOGOPb15HQ74jnEKCyreY8H69vSH/FMN8H4hMNkcbo5KGO4cWF+9DRtZ4OGxGr RaEZoKZHIDlKYduz+3/3bi6TbJpMgcRmzSiCFC7w= From: Luca Weiss Cc: Luca Weiss , Andy Gross , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: msm8974-FP2: Drop unused card-detect pin Date: Thu, 26 Sep 2019 20:44:34 +0200 Message-Id: <20190926184436.1078314-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The gpio is not used for SD card detection on the FP2. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts index bf402ae39226..2869be16bc6e 100644 --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts @@ -272,14 +272,6 @@ }; }; - sdhc2_cd_pin_a: sdhc2-cd-pin-active { - pins = "gpio62"; - function = "gpio"; - - drive-strength = <2>; - bias-disable; - }; - sdhc2_pin_a: sdhc2-pin-active { clk { pins = "sdc2_clk"; @@ -317,7 +309,7 @@ bus-width = <4>; pinctrl-names = "default"; - pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>; + pinctrl-0 = <&sdhc2_pin_a>; }; usb@f9a55000 { From patchwork Thu Sep 26 18:44:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 11163269 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 68A8113BD for ; Thu, 26 Sep 2019 18:44:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45C272245A for ; Thu, 26 Sep 2019 18:44:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="G1FK7UwY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728604AbfIZSov (ORCPT ); Thu, 26 Sep 2019 14:44:51 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:41798 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728401AbfIZSov (ORCPT ); Thu, 26 Sep 2019 14:44:51 -0400 Received: from localhost.localdomain (80-110-106-143.cgn.dynamic.surfer.at [80.110.106.143]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 929ECC7C64; Thu, 26 Sep 2019 18:44:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1569523489; bh=AoXWJW0M0VHHUrSvYjJWO5GAhgxeWFY8urNczKG8hIQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=G1FK7UwYjqUCNteHqMgkFpfFmRtmURJ1bBEuqmPZJB4qdsI8Po9pkEcJx8gVzB3Uw jQrUJ+g4Xy6qWyLfgYZphet+/lSUgtF4i867nTy9OdZi7vXLX/HAO585x5sop9KGnS Nf4EhV76OpDWfQtO4fn3fqTaNAnsKKXtF0aaoDBU= From: Luca Weiss Cc: Luca Weiss , Andy Gross , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: msm8974-FP2: Increase load on l20 for sdhci Date: Thu, 26 Sep 2019 20:44:35 +0200 Message-Id: <20190926184436.1078314-2-luca@z3ntu.xyz> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190926184436.1078314-1-luca@z3ntu.xyz> References: <20190926184436.1078314-1-luca@z3ntu.xyz> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Before this change, trying to boot from the internal storage would result in a lot of errors like: [ 11.224046] mmc0: cache flush error -110 [ 11.224180] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0 or: [ 137.544673] mmc0: tuning execution failed: -5 [ 137.569832] mmcblk0: error -110 requesting status [ 137.593558] mmcblk0: recovery failed! With this patch, there are no more sdhci errors and booting works fine. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts index 2869be16bc6e..dfab2518df60 100644 --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts @@ -221,6 +221,8 @@ regulator-max-microvolt = <2950000>; regulator-boot-on; + regulator-system-load = <200000>; + regulator-allow-set-load; }; l21 {