Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8985218ybi; Tue, 23 Jul 2019 19:29:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFuLN7F2isCHPXPf6Fm+my1rMWsITQBYxwNYmiTSuZiJTh29V8l+Lkvbvvkwd0JvnIZkHO X-Received: by 2002:a17:902:8689:: with SMTP id g9mr77903629plo.252.1563935374016; Tue, 23 Jul 2019 19:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935374; cv=none; d=google.com; s=arc-20160816; b=j6ZuWiQOCUT8xnx/3lTk602vteMqsTGNwa8Tlk9/UYDn9Gj75N0BqDRGva+mMNAFnJ KKFJ/V7khN3jrV56Nt6Vh9DJqu+Wv8wbg3kOtY6wj+WQZARLoB1OQX/siUE71pAITL2d tzg2ZPteMRD5rne4udCWqf8y+7BVTR1rXZ+AhzhQ496etKCTWFEhhjERZjndleL3Gfl4 V636jOuhal9SpRdnVi+96pGMjVSHSWc3XklBrcJnBfAzt2BxU5vaLmykJSgtYN/sx1m0 dALXlg+GS6w4uFPsIJnR8etRZEHZAFdls1iJLlfZaAVJq1bmsOcBNuzTBdGG6s/rInhR eCug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3y2Rp7SMI3XNaqXS79DCDXZRuJ6DjUasigpS5O8UtzA=; b=bMUQG+7HPaIdbNFPoHFCq6KA0P9ASRRX1X4utxZXVTY6pkpsBFA4SwS2SSExijlfuG NLg/crQimhkBwx1ZqruOJX6ipXp5JX6J+gNStpWTpUQ+rbnrUHjLqtyYYeHPFAMEazH6 HnaMVP8koK/vu2A7Np0Zt0RKVBHa+enJYQY4/HRRnUjVsZk7JARQQOABqatFWyhUqwgo qLQa2LIRoRAQd0LsbR1pI4MqPtqI4Vfq7b8dFeS+ELutcWBubd4xUi00K5krL+qLrPbI w9G/TB+h+uSZ0PYveugiHJ/Za6OcPe+VmQr/vkQxRh5VccQI4yhsQtMDPNyjagZU5TIb 5XuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=oAhMeVMI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10si14576124pfj.93.2019.07.23.19.29.17; Tue, 23 Jul 2019 19:29:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=oAhMeVMI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391734AbfGWTsq (ORCPT + 99 others); Tue, 23 Jul 2019 15:48:46 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:36284 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbfGWTsq (ORCPT ); Tue, 23 Jul 2019 15:48:46 -0400 Received: by mail-ot1-f67.google.com with SMTP id r6so45321072oti.3 for ; Tue, 23 Jul 2019 12:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3y2Rp7SMI3XNaqXS79DCDXZRuJ6DjUasigpS5O8UtzA=; b=oAhMeVMIqxcslXOZp+fN01DYk7ZSL+gRIe91aqObFv1d0shZNBp7uGvSNjhf93u4K4 nhHo47WlvlFMwl49hCFcLmr3kXP6VdNeNoOTfbxPS7oFs1Ym4Nwz5foL7NX1bQyZPPLS ZONFhen8K/symnRpQCMk1pOaxhQipkn1QtGp9q5alww8mNRwv7MRMDzwbK7MJ8bCsgRe UHl3JlirEe0ktiJxe/6KGZlaDkB1nc4lodOFWB2WVZRPdfvgQrgTJ7s+a6nOiyKTmefb NK7FAob1/ThIiM+GobuZB4q9l/7qmyFBSUyY56TsgtYs1OnDl7OUN4jUrb2lYnXiaIel HbfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3y2Rp7SMI3XNaqXS79DCDXZRuJ6DjUasigpS5O8UtzA=; b=CLr8FXx47fPCVvzdA/69hZUUUiv51aCE3c3mE+FQqyQ1UnDd06xLdKcdxKpVT8NiR5 pkOKPjYJjkxXRJoUqYE+vsfhSGDXs1S1M/bTUQPL7BP+lcpj/K+TWEU6ScrPxjpsBxVn zJ9kAilgZP3mE4Fs2PQ6BHn/XLSP5lWoNEdN3aHrK0e2iGo6WPnAuG9g6Nel6pcd4/Wa lhFSj9z0iBPcT2NgF7fB1PGvggr3liWvZ4DROVzdRQC6YFd02FP+r7N4ILphWcxD0MVm Cz7T+MP26Kv5G9UWm/fbQKZJhectUHNBm9E+ytHVKqLm9Jr4NT1UvdNZBd+RpihQRwVL K9iQ== X-Gm-Message-State: APjAAAXVjIaWEreR55tmOwkMUPgniC88G61bRMqwpuvuy/I/hv+Xt6DE IyFLgJmtsCCEjI7OMWi64hO4Lh/JkHGjaZtYIew= X-Received: by 2002:a9d:23ca:: with SMTP id t68mr57217603otb.98.1563911325066; Tue, 23 Jul 2019 12:48:45 -0700 (PDT) MIME-Version: 1.0 References: <20190719192954.26481-1-xruppen@gmail.com> In-Reply-To: <20190719192954.26481-1-xruppen@gmail.com> From: Martin Blumenstingl Date: Tue, 23 Jul 2019 21:48:33 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: meson: odroid-n2: keep SD card regulator always on To: Xavier Ruppen Cc: khilman@baylibre.com, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 19, 2019 at 9:29 PM Xavier Ruppen wrote: > > When powering off the Odroid N2, the tflash_vdd regulator is > automatically turned off by the kernel. This is a problem > when issuing the "reboot" command while using an SD card. > The boot ROM does not power this regulator back on, blocking > the reboot process at the boot ROM stage, preventing the > SD card from being detected. > > Adding the "regulator-always-on" property fixes the problem. > > Signed-off-by: Xavier Ruppen Reviewed-by: Martin Blumenstingl > --- > > Here is what the boot ROM output looks like without this patch: > > [root@alarm ~]# reboot > [...] > [ 24.275860] shutdown[1]: All loop devices detached. > [ 24.278864] shutdown[1]: Detaching DM devices. > [ 24.287105] kvm: exiting hardware virtualization > [ 24.318776] reboot: Restarting system > bl31 reboot reason: 0xd > bl31 reboot reason: 0x0 > system cmd 1. > G12B:BL:6e7c85:7898ac;FEAT:E0F83180:2000;POC:F;RCY:0; > EMMC:800;NAND:81;SD?:0;SD:400;USB:8;LOOP:1;EMMC:800; > NAND:81;SD?:0;SD:400;USB:8;LOOP:2;EMMC:800;NAND:81; > SD?:0;SD:400;USB:8;LOOP:3; [...] > > Other people can be seen having this problem on the odroid > forum [1]. thank you for submitting this patch (and not keeping it to yourself)! > The cause of the problem was found by Martin Blumenstingl > on #linux-amlogic. We may want to add his Suggested-by tag > if he agrees. yes, if you re-send this patch to address Neil's comment then feel free to add my Reviewed-by as well as a Suggested-by Martin