From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75AFEC43334 for ; Tue, 28 Jun 2022 10:52:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4ED2383AC3; Tue, 28 Jun 2022 12:52:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cJRS4dTQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4C3E183A31; Tue, 28 Jun 2022 12:52:06 +0200 (CEST) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D4C1583AC5 for ; Tue, 28 Jun 2022 12:52:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-pj1-x1033.google.com with SMTP id m14-20020a17090a668e00b001ee6ece8368so6193763pjj.3 for ; Tue, 28 Jun 2022 03:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6YiLc4vM+tngW3PBXaWI9TZPpI62q38xo7sIUWJ8X+Y=; b=cJRS4dTQ3qNmIocKRytZD9aESJcx1Nq63awYzdOfrS+EoHdh9OwO7lYptcQaUVtsFc qXcUOd2D+OB9yQa9775pum0v0AKDSuBciGY/eA7yV3sqJPP5g3ruUjk4ZGGB0ijekAYg Nu/yZdXW6tnkS1bfFKl0MyTdIbFiV9n7MuDk/DaPe0MogweBg8yZsRoskbPZh0AnECQb p9vD+NZpv8qo9XTlbPOk1I1fOvXYsfAGzzZiul8K4ssIRmuflOqr/9xGvLD5/8kruMjF NVvgGgnKoX7n4kUvw5cI6kR/IJFI0DePjzpJim9FGWJvQKlWyfz+kuM+fWing9qus+KP y6fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6YiLc4vM+tngW3PBXaWI9TZPpI62q38xo7sIUWJ8X+Y=; b=QitT2SWbwUPTeN9GBwRI6NO0k80rUZ6+KgTr6XEjV/J4YHhvYUISXU45tH5FCqnHg+ 6plcSfpzEOQ/YanoLR5eFtFH5SLiBXCkRXNxZrfIS9JS3Q+FNhkTR0dSHKnxs6n1DXjC VmEBwx3GhJKDSgiO2ylKO2W1tMV49oSL4g6Xyc3bj2JM1YXKlU24D9dltx/aW3hOp+re ulhVvHv5LpLTVKZqdw8xEnwIGYxfkl2W79aUHOZYSliUJBWK7zPWmKCPlxnPN3OLs3XT xn/Rxv3Jzs4X02rHzYGYX85VJDJOj3x24ez9C+V8L/Y95mm9DphZ4WAtyejSYujYgLtY iS9w== X-Gm-Message-State: AJIora9/TVMM+M7P59VRaKgYQDaqjSbm8RcqlMVwapM/ewJb+CurQk8o ZH25sjGIumWyslabhyB/wFkhLx/Y2iK0RLXfZ0o= X-Google-Smtp-Source: AGRyM1sa97yJvfHjhe/zuVg9tjBvNKQvqgjP/4rZnrI3qBJUNV48eFzidIoikFcusbyCvoYLDUSos4tsgyEyin8m+JU= X-Received: by 2002:a17:903:328e:b0:16b:8745:bb77 with SMTP id jh14-20020a170903328e00b0016b8745bb77mr4298057plb.70.1656413521801; Tue, 28 Jun 2022 03:52:01 -0700 (PDT) MIME-Version: 1.0 References: <20220627110100.130033-1-frieder@fris.de> <20220627110100.130033-2-frieder@fris.de> In-Reply-To: <20220627110100.130033-2-frieder@fris.de> From: Fabio Estevam Date: Tue, 28 Jun 2022 07:51:50 -0300 Message-ID: Subject: Re: [PATCH v2 2/2] imx: kontron-sl-mx8mm: Enable PCA9450 regulator driver and fix SD card access To: Frieder Schrempf Cc: Tom Rini , Frieder Schrempf , U-Boot-Denx , Heiko Thiery , Fabio Estevam , Jaehoon Chung , Simon Glass Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Mon, Jun 27, 2022 at 8:01 AM Frieder Schrempf wrote: > > From: Frieder Schrempf > > Currently accessing the SD card on USDHC2 fails with: > > => mmc dev 1 > Card did not respond to voltage select! : -110 > > This is due to the fact that UHS modes are enabled in the defconfig > and the devicetree, but the referenced LDO5 regulator (reg_nvcc_sd) > is not available to switch the data lines from 3.3V to 1.8V mode. > > By enabling the regulator driver the vqmmc-supply is now available > and the SD card works also in high speed modes: > > => mmc dev 1 > switch to partitions #0, OK > mmc1 is current device > > Please note that the board has a GPIO connected to the SD_VSEL signal > of the PMIC. As the driver uses the LDO5CTRL_H register to set the > voltage, we need to make sure that this GPIO (GPIO01_IO4) is set to > a high level. > > Signed-off-by: Frieder Schrempf > Reviewed-by: Fabio Estevam Tested-by: Fabio Estevam