From patchwork Thu Apr 18 12:27:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10907179 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BACB91515 for ; Thu, 18 Apr 2019 12:27:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CD49287B6 for ; Thu, 18 Apr 2019 12:27:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FA3628ADC; Thu, 18 Apr 2019 12:27:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 41A0D287B6 for ; Thu, 18 Apr 2019 12:27:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=74IdxzbcNkEBtArmfKkNYGFkJa/PXEBwH8vsdR4zPkk=; b=Qifeg9EVZ1QhnR lO+ly1lc9vN/mL4p8jRO7vB6XRACJwQwKHzCqM0kHCxhiybwdT4evDnr3gM3pfgTz0mSlVIXhfY0b 2g5lm3z1j3Dvegg17dkiOJK76dS2Favus8WPcFbI4D5FzGTpNg3iHJrGtE3BE+pw3CggB0/bPVvbS Zc6lVlTFTu1wK+6fs5Z+606EL0mqTsX+nEu7tfD78iRH2SlnvVK3oNRYl7oQ+0ocGbt17r4ljn8II QR0A4LDOtvya8oamtVAWfSzoUWuBd1Wtq+pFuoBBUkrdpsTUeHEpb8zSX/EGDMZkE78EiCMrlO6Ro ChHycAmURBciv94EWEzw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH68s-0000pa-2a; Thu, 18 Apr 2019 12:27:50 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH68W-0000PF-7H for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2019 12:27:30 +0000 Received: by mail-wm1-x344.google.com with SMTP id a184so2548736wma.2 for ; Thu, 18 Apr 2019 05:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yaNaoCP8pznZw7TWRPuJzQR6dBbJDMZ7bf+8pYaycCk=; b=h0cyWpdfjXxV8o+0QGI1FlzKHsaxQknwUXk/WWbneAyFQps4Pba5SIW3NSGPWWsnFL 43t62Hrj7vX2kkjEvMPdQzQzVuK8vaXFquY10j9xlxnSvwUFe5GcjSIgNQIaN8V2H3Or PBUBDrFB4LhLjJFzpimxMICN05ySGkVd8on/MU9DF2dgvCmGaRS+gBn/iU2E1li/g9pU q517mhg0TJ4KNmzZBiOtK7hnomX4EqtkPN14ddYyShTOdtzpocBQkcZDfRoavw3WaSQk AQJ8rdHfZAV9GXpqkdxvceT1obOmnnSJujhYpPDYKb/3QxY8SF6Vb+PhYu86FrCTqnrO asCw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=yaNaoCP8pznZw7TWRPuJzQR6dBbJDMZ7bf+8pYaycCk=; b=g6K4f54Nm7JZUvD7sZeF8WEmheNBt5ZMZ1WTF/P3nsmDDsV1pD9SquCkFalcWy94tJ 5qCaIWpn+cLsovKrwnJcnYUDrWCEyJv7xA2N+Y8sLA8giscLwUbTcAduDLrhWaomTQsG pjVNj6nHPc2sn54beTspuV5O/FTL0V16dvLjXPDBYi2lTRWhuVoWg2IgKmJYNvNf3Kmn IOKTI1HRSVsJ+gLJBW0GSNb9rRzI6DL9LXiyknyFOihVP5z4eqXBWAePJlbwBYK0LFZU wtTnyomoCLHPl0W0VKh1QbrIJJUJqmO0/1ublyn8Ev+ilLvqCW0Vc8INi24RqgBQYni9 xtqQ== X-Gm-Message-State: APjAAAVYCCz7BQT+OxH7aECALZwIv0linN7eN6PH6QHu0NSQF5SoomjH C+4GjrGLmsi/bPF4k8FvKoINng== X-Google-Smtp-Source: APXvYqzXo52LNbrT7WhG1D3rHAqhwljMhATMhsgkdlDTHXLjnfTqq8nO4kPHYeDdHP5ItwfliWQUvQ== X-Received: by 2002:a1c:7e0e:: with SMTP id z14mr2817731wmc.95.1555590446600; Thu, 18 Apr 2019 05:27:26 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z14sm1510110wro.81.2019.04.18.05.27.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2019 05:27:25 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 2/6] arm64: dts: meson: libretech-cc: switch eMMC to 1.8v Date: Thu, 18 Apr 2019 14:27:10 +0200 Message-Id: <20190418122714.30805-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190418122714.30805-1-jbrunet@baylibre.com> References: <20190418122714.30805-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190418_052728_258245_3F5F729C X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP While some 3.3v eMMC 4.0 are available from libretech, Only the 1.8v 5.0 modules are recommended and supported for the aml-s905x-cc. the 1.8v is provided by LDOs on the eMMC card, from vcc 3.3v Signed-off-by: Jerome Brunet Acked-by: Martin Blumenstingl --- .../boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index d4d5e3e5439d..b0f22cdb586c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -115,11 +115,13 @@ regulator-max-microvolt = <1800000>; }; + /* This is provided by LDOs on the eMMC daugther card */ vddio_boot: regulator-vddio_boot { compatible = "regulator-fixed"; regulator-name = "VDDIO_BOOT"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_3v3>; }; }; @@ -253,8 +255,9 @@ bus-width = <8>; cap-mmc-highspeed; - mmc-ddr-3_3v; - max-frequency = <50000000>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + max-frequency = <200000000>; disable-wp; mmc-pwrseq = <&emmc_pwrseq>;