From patchwork Sat Dec 10 14:09:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 632934 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 727E6C4332F for ; Sat, 10 Dec 2022 15:42:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbiLJPmC (ORCPT ); Sat, 10 Dec 2022 10:42:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiLJPmA (ORCPT ); Sat, 10 Dec 2022 10:42:00 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DC714090 for ; Sat, 10 Dec 2022 07:41:59 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id e13so7010494edj.7 for ; Sat, 10 Dec 2022 07:41:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=K3CkQrIxpcKZmpNzno1f/XqJw/g2MsuKc2yDZ3HQ1+Q=; b=W227L6KzcAYmrjGuU4Ve0Ec0FdrlLVq4GdTMmyDQacgEpLQqgpYOZq/3GB7AqNNjZV hT9CPQ77bnb+Yoa+jI1ox0OhGjhinY3XR4Eb00gtcXc0ZEIrsiDCQGKsqUDD4iUAHH6P rx26ML5w70ZqmAgb6XNPIdmk1RJPnpTVv410WWtJYQG/mU9mdQ+8Ojm08XJPerTY4VHy TbunGmTuPae+E67rvJRFLjZCaD4Wr2Rnu9LsKtjPk/FQupuxbz5Y+SS7MhMVmYpE0s7e V/w2Kfo75QRHHtOshdsoWzObO1ZEdnKTSs63DkvgMnT0vrLLFGpxl0w0WQLdjqR1zSUl Cv1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K3CkQrIxpcKZmpNzno1f/XqJw/g2MsuKc2yDZ3HQ1+Q=; b=4Fm5AM4+ahQiQmX8W/Zt+dJK6ZXCC8uYxyvzAtrJ+sQb2OjZbTYtZwWIlsVLOACru9 8n5VhEFCDppHdMUTHKIAUh7PEZJwLpGAa3bSTZuLjcacxLzUq5LJikQltjRdcF758+Q4 99v4UMmqQkMfwEKvLVjXnqirlWjnxFBLzCjZBkPRK45kkOvfeCuGBAqtDfVkq9La7ORS AVSZbw6Xm6a0wa7hvPgujnl7v2HKmoO86PSKOSXKiu3auwVDdRc43TOlTn7sDEXavoK6 S8uRE+RMS4SZerIqFBf6vWCrTdEaiKSMEEgzSzLMWVJ/QM1S3TkQT+9chW5YzeAeaLU7 Ivdw== X-Gm-Message-State: ANoB5pn3W7CG5UcwXGQtW71gexTvkY3cK2nIOsowKdJKRjtwKGM3lWku bxDe0qQZYnSmDxhuOlPCdmGxbbubHVPJCyph X-Google-Smtp-Source: AA0mqf7tgUvEUG2vCMK38KjGFgMT6DDo+K4JgmplI2XtNPVkh9E6U28H7mgimecBcPqhfng4BsXrKQ== X-Received: by 2002:a05:6512:3050:b0:4b5:1545:222b with SMTP id b16-20020a056512305000b004b51545222bmr3368018lfb.47.1670681404294; Sat, 10 Dec 2022 06:10:04 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id bf38-20020a05651225a600b004b5901b8011sm734857lfb.105.2022.12.10.06.10.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 06:10:03 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: msm8996-tone: Enable SDHCI1 Date: Sat, 10 Dec 2022 15:09:59 +0100 Message-Id: <20221210141000.14344-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org With the recent patch that allowed us to reset the SDHCI controller from Linux, things started working properly. Enable SDHCI1, and by extension eMMC. Also, remove the now-useless cmdline SDHCI quirks. Signed-off-by: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi b/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi index dec361b93cce..c9be32b81d36 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi @@ -24,11 +24,7 @@ / { qcom,board-id = <8 0>; chosen { - /* - * Due to an unknown-for-a-few-years regression, - * SDHCI only works on MSM8996 in PIO (lame) mode. - */ - bootargs = "sdhci.debug_quirks=0x40 sdhci.debug_quirks2=0x4 maxcpus=2"; + bootargs = "maxcpus=2"; }; reserved-memory { @@ -825,8 +821,7 @@ pm8994_l32: l32 { }; &sdhc1 { - /* eMMC doesn't seem to cooperate even in PIO mode.. */ - status = "disabled"; + status = "okay"; vmmc-supply = <&pm8994_l20>; vqmmc-supply = <&pm8994_s4>;