From patchwork Mon Mar 1 16:05:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 388684 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp3580665jap; Mon, 1 Mar 2021 10:18:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxijsMKE+4AaQiuJCvDdWwod/8R/BSYxQtuEilz57rpTG81S8Ic9HmikxHDPItReqRxTDfQ X-Received: by 2002:a50:ef0a:: with SMTP id m10mr16637792eds.261.1614622737644; Mon, 01 Mar 2021 10:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614622737; cv=none; d=google.com; s=arc-20160816; b=VeWMaaaCfekaoreG/u4ZTo7jAxVc8wNxWjTscdySageb5twb73Z3YPgfDkEFwlj/4P b95ftfNIZs8AyyblFKp49poIQNyGPEBP+iqo1PH1AS1Cvcs6W3rvHOEdg6JkdKb3HOxk a42kvQXX95ZvPF9yRUU2FkTOuepiT2KwmqkgTQOa68NfiBYrkvzUfyPv9qrJiwlvc9vm hYitOTSHPQhYdJrB90r2tIPAeCxTfBvKdgtGAnNItyXNJfSpL+awJCKC1lTi4SDXv72g RO2lLN39rN0hPYfII1ZefdI+brj2WWkS7E3fp+2tYNbl6UlrDzlHCd+9D62ie9lHwrzG 5f8g== 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=efPjdf9wCipy/7OmlxUKg9GBjAekFOrizzyMbKeyWig=; b=tCawp/bEWBsJOfLWS5RlVWR3OsHuHG5DkMoT7ngaCFZfRArkol5obnMjkAdTTjEkUo eYa3MYkPSC+hhU9XjLctr0jQE+pwuLs0Y7kzhGt+sZEt8VQrxwp5LkxDEyXQ8+q+TOGf 8GLHwD/aj2v8mp36DXCpUGlQWWhH9cbgNWibS32aFYmdLgw41h2dAuEFRiftN4f0ihzj 5V9WEkbUf/mjlfHBs8ZqJiBFbBcuzo3cG7pxBm0nyljkuc//7PpO/8Hdh1o31Dg3kJ2x Lho+EpOfz0TxWCgqMiJAJBWMbAk/EetBJ8ULJ+BKjY38QUclTNB6/7EkNP8Dx6ghE+/V 7Nng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=odxSwz0X; 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 dp16si12237248ejc.49.2021.03.01.10.18.57; Mon, 01 Mar 2021 10:18:57 -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=odxSwz0X; 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 S239637AbhCASSO (ORCPT + 13 others); Mon, 1 Mar 2021 13:18:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:60796 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239321AbhCASLg (ORCPT ); Mon, 1 Mar 2021 13:11:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C6B9600CC; Mon, 1 Mar 2021 17:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614620420; bh=ebgnygRSKBRXEcSxpmbi3622tX9DgkoVsdG2xmbVrqs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=odxSwz0XBC+82yjVKXf2hivVmxD+A/lFxvt9IWRjiZVzbqwHWCscGq5L9jAOwI3Bx 7Twlbs7Qh4u6htGmrUEjU8jVjIhwHu0t+IHW2owPrZCirscQu9I09uLgYBYZsbNFxA N/gd0gqtCgqaxR/6zxQhzxPFqgi/yZREilKrWWwc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Baryshkov , Veerabhadrarao Badiganti , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.11 147/775] arm64: dts: qcom: qrb5165-rb5: fix uSD pins drive strength Date: Mon, 1 Mar 2021 17:05:15 +0100 Message-Id: <20210301161208.914506451@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161201.679371205@linuxfoundation.org> References: <20210301161201.679371205@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Dmitry Baryshkov [ Upstream commit abf2c58aaa776cf43daf0fc4fd20082c71583c6b ] Lower drive strength for microSD data and CMD pins from 16 to 10. This fixes spurious card removal issues observed on some boards. Also this change allows us to re-enable 1.8V support, which seems to work with lowered drive strength. Signed-off-by: Dmitry Baryshkov Cc: Veerabhadrarao Badiganti Fixes: 53a8ccf1c7e5 ("arm64: dts: qcom: rb5: Add support for uSD card") Link: https://lore.kernel.org/r/20201217183341.3186402-1-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.27.0 diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index ce22d4fa383e6..f86cc5140d3b9 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -491,8 +491,6 @@ vqmmc-supply = <&vreg_l6c_2p96>; cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; bus-width = <4>; - /* there seem to be issues with HS400-1.8V mode, so disable it */ - no-1-8-v; no-sdio; no-emmc; }; @@ -706,13 +704,13 @@ cmd { pins = "sdc2_cmd"; bias-pull-up; - drive-strength = <16>; + drive-strength = <10>; }; data { pins = "sdc2_data"; bias-pull-up; - drive-strength = <16>; + drive-strength = <10>; }; };