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: 162459 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp680970jan; Thu, 18 Apr 2019 05:27:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqySKpvQuG5eTLShoFyxFuCehK3Mboobth2dssF9UHQF7FagZcMwzxkxICBgExBdurIXm8cT X-Received: by 2002:a17:902:9b83:: with SMTP id y3mr92419014plp.165.1555590454885; Thu, 18 Apr 2019 05:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555590454; cv=none; d=google.com; s=arc-20160816; b=X+9vEX7uld9w/HbVO+EtiPuhlAOpNvQE+soSppMdiB4w8a1nIOZ4f1yQDi71NHvN5H +nFCSepFcRO7PeBExcoNBsNMoo6i1vBfd9ej+xAbwITFWxtYgbAsGahztTvAREPv5weB Z+YMd8lIJ5dBwuDyd3mtBtDbJHwQW5Tzk9Wan0qc/VL5RSZAuiwgHodvk8pBkj/+nIbW L4U/t8mOKGwZJYt+1nZ0yevNzC0C60OZ8FZ6XpdDK1u+MsFVapvDFN/YM8pWw+Z/iupA 1X+O8FR7gvO9Whgfjz45cbOIw82Kld4RZ4dk9z03jYVizdVlJW+nxqS7YguEmrUMPpRp vfrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yaNaoCP8pznZw7TWRPuJzQR6dBbJDMZ7bf+8pYaycCk=; b=w3Li3KeUx03ErFzebzrk2p2KmAfIYgRyLYig3323ZB1KiwlwfPgRiiYIwT60murooB TdrbkvgHzedptpmFxKnW2A4Z/29Poz78bFIdg0zR39KkHUtUAotF2iy0Cz1L0yR9USwt a2niLg1cJIXybtzYBLgbnZ3HvGpPTAEJH6L34yaCkRU04d2SLhWvIkk+8bfEA9P5pYcW nYOvoRka9W0TeW8VBnKwCKVA2vE239+ZS0RqmROmnKWumM59P4OAuMd5VDJjhnLSjLlS bmbzASMuPGEFu8muKCP6I1fkrvSWez5APqVLdlTTsLS8DfPuMnSgQkukIRsgWwNAB29Z Jv0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=h0cyWpdf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si1693164pgv.493.2019.04.18.05.27.34; Thu, 18 Apr 2019 05:27: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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=h0cyWpdf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388988AbfDRM1d (ORCPT + 30 others); Thu, 18 Apr 2019 08:27:33 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39466 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388375AbfDRM12 (ORCPT ); Thu, 18 Apr 2019 08:27:28 -0400 Received: by mail-wm1-f68.google.com with SMTP id n25so2679403wmk.4 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=AEmFT8MTnGBbYwcHk57yesEhIFlb7SnwII0TAx2RAswtUSWcpvtwqP9cs2nVEW1Hx0 mrC2Q+3O5t35uhwD8YJb06s8WGx1/U2WSmEKos4p2IQ2LR5EXSQkkGNI3rPSFqgbvIBP ppf2I0G57WiGAxw88zt7HhoJzqQrGzLuFaAm72yvA1k/hOWVXCE8fdycPhTlrYbudAGX Kdc9nlE7rPFx1Kv5JInP/CtiI4hR0lW215AM8ddVCWMBdYiMSYuNrFdzGkk4F21TQrWM ySdnYFcfzJVZZCAU1J4rCJ0rsRPhMDldHDT2Ve1OYeZyQwKA0VG6DyMNsruNF3iAyaLQ qUDw== X-Gm-Message-State: APjAAAUkVinqx1HTn65DJap9tAW1BVRYnyciPipF6PMbGw6bJ0nMcRmc EPqM2SSmyMJXLXZ8w/Ge7LaYEg== 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- 2.20.1 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>;