Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3766716imw; Mon, 18 Jul 2022 14:12:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGzECovptQX0wT9SBjYSYgxPwtCbzntaI5X/US829lo55yUqXY6hyMkuGHy+9R0880MMjn X-Received: by 2002:a17:902:ecca:b0:16b:d519:d1df with SMTP id a10-20020a170902ecca00b0016bd519d1dfmr28976871plh.170.1658178761576; Mon, 18 Jul 2022 14:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658178761; cv=none; d=google.com; s=arc-20160816; b=v2TaJ4r7cLNz3DQOw9pQsHGr/YjHDBZs3rXKYBfMjX4WQUTcevtk8+/qRqrRtFES3J 93x+Tt8iul4Z0mTtcZepbVXssAzbWiEvBcN0sIgcUZ4J4RiWOMaYEItGt9ETJoN1g5ND 93mFAiGe+X8EWWADohWr0zohZsWpeqWJdEaGjjstmcOsMm52e0Iz6p3HbKx2ck/dlxQl 5ql/eyg3IH5r3RS49WLNz5z9uEY6urU5TZ+wiwYCr0DfHcodm0EhGy+wD6ZP679TPbW5 nmAlyvfvKbj7rzfNXNmAa8qB0P4YfL9iyUJZkqASofPW8JzXsaJJUckDVPPCOhMtdoIq WoQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:in-reply-to:to:references:date :subject:mime-version:content-transfer-encoding:from:dkim-signature; bh=lgYxQ6VDW00cU97BocyveA5Xw2LA05J8ZBbZjuEjBbs=; b=YjObKvNQI1X3edcwSz0Dnj8Ra2hxjwbKkuyxP03/tKyOsRLnmTxBtgjNkwMg5cx6Gv ZRW3Xs/ENKo3GwgG5ejBWSNM62qQajs2Ck0Hqgeo/j6jTfbJlse2afQCFojkc3LXlWHP elPjs1oOdVx4klDsjL+dhfk1FPim6t+Y5r8gqVhHgIj/n4c2pgkqY3epYMoiyoOVHevz +LtMOBH1IDn25ONlL0h/qSedIoscabEop2F/+6JtzQhb9QLkvTkwCfeJGssV1cO9q1LA eAngtjOPYc8VD5PbfWkfR2hEf3zEhpbG8zpYuvmX5en3+5MMG5CqZbEpKODhxayLGDux NLuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kohlschutter-com.20210112.gappssmtp.com header.s=20210112 header.b=ysRZ20nS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a170902cf0d00b0016c66bf1740si17112805plg.610.2022.07.18.14.12.25; Mon, 18 Jul 2022 14:12:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kohlschutter-com.20210112.gappssmtp.com header.s=20210112 header.b=ysRZ20nS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236259AbiGRVEt (ORCPT + 99 others); Mon, 18 Jul 2022 17:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235784AbiGRVEr (ORCPT ); Mon, 18 Jul 2022 17:04:47 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35DDC2668 for ; Mon, 18 Jul 2022 14:04:46 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id r6so17027382edd.7 for ; Mon, 18 Jul 2022 14:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kohlschutter-com.20210112.gappssmtp.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=lgYxQ6VDW00cU97BocyveA5Xw2LA05J8ZBbZjuEjBbs=; b=ysRZ20nSv1AY8vsUIYaB1KCb7Q30mE3E6K7n7d95wId/RdkNd+qdCO7zLW56+1lhQx FMAM3HJmvHH/obQ6GgmbKtJC5GXi2HgDaNV6K344sLUkdnRiGUnYNHG8msV+0ACStmvf p8Il0CHFw8LAeE8GpBIH6v9wj8AdFvCoamt3z45quczVKBP0WAzHocSWT5duzbo33hoP Xj+nasYNkfyWb2VkRfgNNq5R0v9Y4cUzdKTVhK4HCIhxA1y0eNXu6RRzhwNHhzbEpsVB +QevqZ4FAxbXohECqUjQJWRr/f+73oGlYrgrVKbUFRRNGFl6aBOzivd7IZmAufOh1GMx o6fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=lgYxQ6VDW00cU97BocyveA5Xw2LA05J8ZBbZjuEjBbs=; b=pLEtKU+98UNA1K5di2kMaUKUFLDcPSQ0h4glhp8WTluuemP17qWvslRRTUHrxj2xv/ rcX4WolxLgFl1VVXUzyt7ntylH9WbNvbhVic3cp8wSUe1ZI+/erVW3YuxMHV5QICc5bK 3a7ZzQhqFt38iGsOPUGL/MOPQm1j6EugrG0GtJxfF73WUt2A+CmQ+6KkKOZRZmz4G90u NO1eW7ka5kcqOmdJAg4Fne8cQvTFA3+3IDPCpbzKe2LKzrzhZFSJUxflWOoeMVaMHJKB KG4HN9NemC4DX7OgZn3LgU3SeOwwn5raIQyeTEGQIl66L/5up7TWMN3zCvAiH48BAxPI PUJQ== X-Gm-Message-State: AJIora9WIaFhdENt8Fywpy8YWbbdDLYdPItl0hfUo+2XJx4z25OZBIZ5 tbZDO/kyeJxSHu2N6Jdnbf+LCw== X-Received: by 2002:a05:6402:440c:b0:43a:1124:e56a with SMTP id y12-20020a056402440c00b0043a1124e56amr40569237eda.134.1658178284768; Mon, 18 Jul 2022 14:04:44 -0700 (PDT) Received: from smtpclient.apple (ip5b434222.dynamic.kabel-deutschland.de. [91.67.66.34]) by smtp.gmail.com with ESMTPSA id sa42-20020a1709076d2a00b007081282cbd8sm5885440ejc.76.2022.07.18.14.04.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2022 14:04:44 -0700 (PDT) From: =?utf-8?Q?Christian_Kohlsch=C3=BCtter?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: [PATCH v6] arm64: dts: rockchip: Fix SD card init on rk3399-nanopi4 Date: Mon, 18 Jul 2022 23:04:43 +0200 References: <12878108.O9o76ZdvQC@diego> <103b714c-b07c-f016-1062-84bd94786b22@arm.com> <9AF1E75F-5947-49B0-887D-82C426527B99@kohlschutter.com> <590f7a08-a6ca-be54-4254-363343642a52@arm.com> <5ca9bd94-54d9-04f8-0098-a56ffb6f5fe1@arm.com> <502b3fbe-3077-407e-6010-a8cb3ffce7d6@arm.com> <449292CA-CE60-4B90-90F7-295FBFEAB3F8@kohlschutter.com> <73F9AED0-D2A8-4294-B6E1-1B92D2A36529@kohlschutter.com> <115AD6A4-021B-4879-BFB5-BC7689A0203E@kohlschutter.com> <17a4c6f6-d79c-a7b2-860f-e5944b778f9f@arm.com> <9405b97a-6758-ad4e-ccff-eed072096539@arm.com> <3912A668-9F73-40FD-8993-5060F632238A@kohlschutter.com> <7E830C9F-BB5D-4EFC-B3F4-1C580E9326A3@kohlschutter.com> To: Robin Murphy , wens@kernel.org, =?utf-8?Q?Heiko_St=C3=BCbner?= , Markus Reichl , linux-arm-kernel , "open list:ARM/Rockchip SoC..." , linux-kernel , Linux MMC List In-Reply-To: Message-Id: <38DFE34C-E4A5-4DBB-AC57-5D92D703B877@kohlschutter.com> X-Mailer: Apple Mail (2.3696.100.31) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 18.07.2022 um 14:05 schrieb Christian Kohlsch=C3=BCtter = : >=20 >> Am 18.07.2022 um 14:04 schrieb Christian Kohlsch=C3=BCtter = : >>=20 >> mmc/SD-card initialization may fail on NanoPi R4S with >> "mmc1: problem reading SD Status register" / >> "mmc1: error -110 whilst initialising SD card" >> either on cold boot or after a reboot. > ... > Walking back on my claim in the commit message that no further patches = are needed for the u-boot integration to work. > Other than that, the actual patch is unchanged. I can no longer verify that the v6 patch actually increases use_count to = 2. At this point, I don't have a purely device tree-based fix that works = reliably, therefore necessitating the code changes in regulator/core.c. If anyone of you knows a way to reliably increase vcc3v0_sd's use_count = ("cat /sys/kernel/debug/regulator/vcc3v0_sd/use_count") to at least 2, = then we can remove the regulator-always-on statement.