Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp149734ybh; Fri, 17 Jul 2020 22:41:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6Sztp7O1QZIsc7ScpCSyiQXvKILV71VeNFYkrqo5TU+1QFri+WFCmRX8rYQG4Vx3oceqj X-Received: by 2002:a17:906:d79c:: with SMTP id pj28mr11259829ejb.397.1595050881154; Fri, 17 Jul 2020 22:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595050881; cv=none; d=google.com; s=arc-20160816; b=Mip5eTt4z4KFBhlrTvjiptWZ995znGLmExHIJVvJ5ZleX52yH+C1/443JcKjp6FQUb LUlFmpu9XzAhHo++XmdJayvPwQqO1fqjZinw1qyLHHLeeGcrcPbtFS2lFStZSdoy49aB pdr+JMK1FeVmExjNjPLrgusxjobnbLhxgkR+tbvHT+GGhZqgCIZ+ZN1NhL4LHE2mUEip VlNhFNADDvegqkdc9nSRFKjQt23h8yy4X8y01gSAqltpakP+RjJhSZAckZL8ee+U9i2g Pqpq8LPI3agY4dzX/e8SK/zdZ+AywJEdAjCcASFyvoMqvAJ/OjEXJrcNh974Qh9KDjGP 461A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=pHFn3qli/TjcBYDvPYIZphMr/9QXXE2rgKtRBMGR0ZI=; b=tVSGjklSnwskoafILqKFt6yMn1gGrP/Fmin8hj02oKBROEoGjZoZHoLEhvfhJixkw/ 9KmdvGpagnuuiz+KNnOa3tME27jYxpnZJaxIPaFioxndE+nOyzs47Au1urP8RNbvk5wi UyaPDIBFX0/MxRvR3fEYx4K4zqJtMh7CGx65Tcm66ifuAuy/I8M6MwLGma28KdnWiPUW F7KZbt7Qx/eFuLrxi9QJE8V/iido2BjFhF8z/q6FnW6OqrTVQI2573Zzhs7wEn77+W+4 9kfmQUTympOcucmFU65y5Nftb3nnvHL3Ml7DmuLOeJsgRVsgOH0OSh1ojfkBtnKD17U5 E8Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZNEe8AGa; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm10si6595767edb.208.2020.07.17.22.40.56; Fri, 17 Jul 2020 22:41:21 -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=@gmail.com header.s=20161025 header.b=ZNEe8AGa; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbgGRFkr (ORCPT + 99 others); Sat, 18 Jul 2020 01:40:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbgGRFkq (ORCPT ); Sat, 18 Jul 2020 01:40:46 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19801C0619D2; Fri, 17 Jul 2020 22:40:46 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id 17so20411935wmo.1; Fri, 17 Jul 2020 22:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pHFn3qli/TjcBYDvPYIZphMr/9QXXE2rgKtRBMGR0ZI=; b=ZNEe8AGalV3orNvMIKrPzBzMHPZqcNzooMpw9EXGTVPWf/dHyyk7xaLEQngOcZya/D pThmZNBRstvLjKQ6tm4kOiP/1sIOh229jlklB8JcibilNTBrjJc9e3KYMA1+6BFLzWpa gLkz1wib73q5Mc75eqngEnfubM/dTp4/7zHe4dwdtRaFLzQFGe+UxqqWfVZqqXZRts+7 oWvf7g4Cq4q5ssPwTbKzqfDULdOREybSIRkN54yO6yUcoDK9n5uEePTDgPNkeEfML/U0 Hp2cLap8SdlW1XwjSjiIQySVC/qRDXnlgkMPcgzzozT6Mf0N0hGyLETi+1EwLUb2Cz8O NOPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pHFn3qli/TjcBYDvPYIZphMr/9QXXE2rgKtRBMGR0ZI=; b=VG/nDghgGTcHZVdaPn3v152K+7vQZIq28oTYPW91K8b4LBIdGYXP6mLqpkITl7WZ3x G2LaoY6seZiQGRd3FoHPn2jsHiPXzu0HumdnfC/VZg3CQyrrCEyhHoHTdNE31Rz7vBnt KeZnxwNRcKRTVWEwvEFlN8ir5E5H2coXzS0EQ44zFcv9eEbdnTkC55aWiPacKMiGMsXL +Unx8fjvhcHGy/1NGMPDCTSut6S6OlxpPHKL6yvywmsvABrqRlngzj+SFDcIKWx9dG2t sSG7zLU9bcHzcA90CJP8H0K68t4zv3ih61n/Vof9uUmFGcGbP6VqxhRk9WBmDSEd4mHt IeMg== X-Gm-Message-State: AOAM531sMZRKBjciApM0OrNrcuqOvE/VW41S9WTTSNQUyGbadcXIBxZ5 4d6Wg2SdSoPA68wGes5hCKY= X-Received: by 2002:a7b:c185:: with SMTP id y5mr12739965wmi.85.1595050844672; Fri, 17 Jul 2020 22:40:44 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id 59sm19361711wrj.37.2020.07.17.22.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 22:40:44 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt Subject: [PATCH] arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3 Date: Sat, 18 Jul 2020 05:40:40 +0000 Message-Id: <20200718054040.3996-1-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to other G12B devices using the W400 dtsi, I see reports of mmc0 tuning errors on VIM3 after a few hours uptime: [12483.917391] mmc0: tuning execution failed: -5 [30535.551221] mmc0: tuning execution failed: -5 [35359.953671] mmc0: tuning execution failed: -5 [35561.875332] mmc0: tuning execution failed: -5 [61733.348709] mmc0: tuning execution failed: -5 I do not see the same on VIM3L, so remove sd-uhs-sdr50 from the common dtsi to silence the error, then (re)add it to the VIM3L dts. Signed-off-by: Chrisitan Hewitt --- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 1 - arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi index 27408c10a811..ddfd52b88002 100644 --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi @@ -293,7 +293,6 @@ bus-width = <4>; cap-sd-highspeed; - sd-uhs-sdr50; max-frequency = <100000000>; non-removable; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts index dbbf29a0dbf6..026b21708b07 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts @@ -88,6 +88,10 @@ status = "okay"; }; +&sd_emmc_a { + sd-uhs-sdr50; +}; + &usb { phys = <&usb2_phy0>, <&usb2_phy1>; phy-names = "usb2-phy0", "usb2-phy1"; -- 2.17.1