From patchwork Thu Dec 20 16:10:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 154346 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6368334ljp; Thu, 20 Dec 2018 08:11:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/VeGDWf2yZtDbXGWYDNLw+Z04eoEOGBQx4wpf5eWfBg8+wdUpUZAzG0qI1lfEf1Nq+cWwWS X-Received: by 2002:a62:9913:: with SMTP id d19mr24922024pfe.107.1545322260907; Thu, 20 Dec 2018 08:11:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545322260; cv=none; d=google.com; s=arc-20160816; b=jTm3oWOQeryumuKUduzSi2jdV3J9oCF7ibB+hHJtFxt6eECXrGdbqiY3tzjpqodqAD nu3lZ8x+J9TDsM0VspcrhGZjgxAl6oBgOqoXYMiwEBFYdUHZppQdzNavG/iYrEuSm09W HNy3lS22QrQuNLK/E8qM/tl0ve53R6RLlGYfueG2t5IeXas0wJnAMjMk7GLcwks6ojeu JzY9CrEiPPfDdCW+Rb5JiywXp4LNWurHc1ucpJBx4MdHoAD9vFHwjKd4Dm9Kopj+b1qY lCVOenEmID8xT7qm4g13D2pyKpdRA8P4sZ/NQBFaG7rulIrDKQh6yl1nxKTAs/x/X+xu tATQ== 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=CnhknRkRJgND+GstRyz0VxGv13ceIvrslPcHLDVtb5g=; b=X2jWBh5QOkl4DJEZLjYRL1UrURkULV7cP9RHjEUQ1Pk1YyXWxGjao+3ebONm8wMgK6 sHyJ0WDT8fERtPf+q7v4WlfX/rJvbtLOADSibEhlUlLPuNrbcpBf/XbF22+8Qcb3cpjS ZW+QLPMjaTCDkkx2O5ekkjxolI9EANBZWIa1Fq6uyf2BX2TA6IlJ8yM0BJVb+McixqfS ld+Q6NgTy6rLGYOQueZwSTO0RP0v4d7ffotP4hRG1uRgww+ipH3T/20PHK+xl8dcAaBp q2RIS1rA3v8EE1axNIEH3VVIjuAYm7dtxvyqsd7MRpO1dTbAdAlN9deLFO/FZCPLdzBb WJtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="aFgzY/WX"; 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 h9si19058186pli.418.2018.12.20.08.11.00; Thu, 20 Dec 2018 08:11:00 -0800 (PST) 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="aFgzY/WX"; 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 S1732943AbeLTQK6 (ORCPT + 31 others); Thu, 20 Dec 2018 11:10:58 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35873 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732757AbeLTQKq (ORCPT ); Thu, 20 Dec 2018 11:10:46 -0500 Received: by mail-wm1-f67.google.com with SMTP id p6so2801503wmc.1 for ; Thu, 20 Dec 2018 08:10:45 -0800 (PST) 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=CnhknRkRJgND+GstRyz0VxGv13ceIvrslPcHLDVtb5g=; b=aFgzY/WXD9RhJymFKKqTTtuw3aH0Ve+4JMENOj8emUjMjwMXjloneezG0tjss3EdI4 CKZXzqy3v3mlJWE8XKBqzNpLqWlC0d1BbXxIDwezl0IWCUIpjMc8B/yVpWB48jrCw0ZC /g22pqv/LpthC4UfeMuOQOeun/qzm4E1KA5+sIIjppJCXr5Wfxc+tQD6vVV6Ya2YN+jJ B4w6jo8z7uHd2OMz1tCVXx6yFl9kgRDSzno45oWqYkBGqHQwlqJf9nxKINueVjzX2sH+ YPyT8enK+6MkRiga1Iz4EjTw8R7MpkKNin6FPtDFj2uSK/G9HNg1y/xn5AiY8JdYChLx 5TwA== 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=CnhknRkRJgND+GstRyz0VxGv13ceIvrslPcHLDVtb5g=; b=e9hGeuJcw8FV5dZZEc9jHFWks0P1Ysir9pxyjMTWjTmLG6YSwIqtpTW8vUcOJ9g6Jd ELKyNno40hzMPLtqEG5BP2xqv04F4LwElI8erle8x8vZkmEMtC5smoX1FwdNqz//de5r dxRcd91uiyOBFU94ryrRJ3UdH5kyZPVDpuQ1lYPI4m0EEJ+hY3XMOSF8TzpgkKJGMIHY xeBcPrzWiAyaNj/GaL3fWF7OXAvUzz5vsXslD4g3pwiNTTjECPgf84OFm7pmR7qjg9q9 XO2OaTw4bdUdMY3ElLV4EmaKXdtS9TQEU/W7kBNAkhdvE0MiRWUnwXIcu+LSaR5ZbwEC bo7w== X-Gm-Message-State: AA+aEWZnk0ZQSggP1tQh6pwQWcF/zWGbJDaSt2cXHpnUYEFSZvRXvYnn 5K++4dvMuUqdUR9+TZDKORhElQ== X-Received: by 2002:a1c:67c2:: with SMTP id b185mr11210412wmc.96.1545322244547; Thu, 20 Dec 2018 08:10:44 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id x10sm10941186wrn.29.2018.12.20.08.10.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Dec 2018 08:10:43 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: meson: libretech-cc: set eMMC as removable Date: Thu, 20 Dec 2018 17:10:36 +0100 Message-Id: <20181220161037.23756-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181220161037.23756-1-jbrunet@baylibre.com> References: <20181220161037.23756-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 The eMMC on this board is add-on module which is not mandatory. Removing 'non-removable' property should prevent some errors when booting a board w/o an eMMC module present. Fixes: 72fb2c852188 ("ARM64: dts: meson-gxl-s905x-libretech-cc: fixup board definition") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 1 - 1 file changed, 1 deletion(-) -- 2.19.2 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 db293440e4ca..daad007fac1f 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 @@ -256,7 +256,6 @@ cap-mmc-highspeed; mmc-ddr-3_3v; max-frequency = <50000000>; - non-removable; disable-wp; mmc-pwrseq = <&emmc_pwrseq>; From patchwork Thu Dec 20 16:10:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 154345 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6368119ljp; Thu, 20 Dec 2018 08:10:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/VtFt59X1qMc2s+ErFvzL7AnLaNWH0LLphEprvHF6qbBLSeiVTd3+6C5bWD6pPDfsR2MVSn X-Received: by 2002:a17:902:b118:: with SMTP id q24mr25084184plr.209.1545322250700; Thu, 20 Dec 2018 08:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545322250; cv=none; d=google.com; s=arc-20160816; b=bRFHmTKP5NX1Z/A9IZx36mvX1OcZTlPRka76++w83mbHXudLZlK2uzI9OgrNwQmT/G kTKRTJgMs0j3stHFOJvufGi/OTplZKQRVy3fN8hZa0V+TDdTaOEZtAwfo/tCiam4eUGR CYMhpJQCVgXyPENmB2PXbtKEocNnkYtBlnMdbecNERm29AsrzmxrcVBChZSQRfTtHCDh AyLG+wJ0B/KVSR3h4n6SUEDSS0UpgNzoQe18zbj/bpJWoHP+oCoseBG+TZvBLhPHe0yt C0eDD9NkT5Zoh6pcsCCO3WP5k5k5+Qv9ohXAhFn/bbOZXv5L+ZOEQzLkklaPrI1IaAl5 2OVA== 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=QjVe3lROVBqlIiyvJQbtG1oGTNmeE8FN/piqLb6ma88=; b=SoZEyUGAd6+cgqb6NURvDElcfs4WyWWv8TpAn0RvdmodmTIU1kxbf2+pAYVwIAcl2K utdEEmOLDgK8yQmnbMHgbKujGUzw58wxnF6Nme6RbQW05LtKZvco2x5bz+13tnlLFDt4 qkhisu12yvIlljAlocPV3LDdPNg1G+fI7zV54rhZ8dQDI6G9mafEwWfo+jwMUyXk42ec Gol+ssx7ZaVpV4SIuTUcMet1hi3KPngDJiqtzjMy4DdFT0OiS7friudN9OGWhrkAFVMh qjueeO40ExWRUBSPA8ehw/LJnkB436LhXPaOncen+9FNK2D42xeemGV88fyg+IbfK+Yo FaKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ZiU44Uih; 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 d23si19173879pgm.559.2018.12.20.08.10.50; Thu, 20 Dec 2018 08:10:50 -0800 (PST) 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=ZiU44Uih; 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 S1732929AbeLTQKt (ORCPT + 31 others); Thu, 20 Dec 2018 11:10:49 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46900 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732743AbeLTQKr (ORCPT ); Thu, 20 Dec 2018 11:10:47 -0500 Received: by mail-wr1-f65.google.com with SMTP id l9so2311132wrt.13 for ; Thu, 20 Dec 2018 08:10:47 -0800 (PST) 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=QjVe3lROVBqlIiyvJQbtG1oGTNmeE8FN/piqLb6ma88=; b=ZiU44UihTjPFm4vBM9gq5QoK/bNtmqe1eH9RBf387klB2o9PYnyszhzjHo8Lf349nQ Gg+/u7ZitKXafBcIIdQs/nwhHzKfltHjZv334tV+IP1WW9nkiUSyZN99ElSBbQCuamLC yel3TDv/i7gIcYOji6B/WmUv/0lMc9gWSpV8fsLP0eGIPzC8D69akg+Q6qlrNR8uZUmE Af754XMmAZGx39PHnuHMMRICbz5JqZm0lqHJKzzkQL6uFX35yX2Yc0fAP8Uv3yo1MRdg 7pfY/JLaA4/AJ8ZbP2Rn36chBwDl/QZBCAmhvbcVgtcqd+EioXQueQlUOAHYSkOwIAHy jLdQ== 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=QjVe3lROVBqlIiyvJQbtG1oGTNmeE8FN/piqLb6ma88=; b=ADO7cbYpd7V85d7DIZ/y8iGja4dxDjEeTqydWzUcHMsEso5xNPXO4ONfxlGMPO0OMA 769bocVMd+natgh+s4uWtuYeumdA3y+NJi2geiO8qGQ3X7DM3MnUGiI87zuFVsaQt36L 1FBOtjpJ221qCMnwNnN2ksvE+cvtttT0anehfryyRMQCreI8sKMyYCGIsed974VT+dsg YZuzfupd+5ZSeA6+AsQuLHBboOmQv3pJhFAk4kMq+XTu4gKs9NQ1J+PT/JrFIIMQ6gsY Cbdrnl2TQs4z2W7o1j2t9Wpxknov5CVsFsa/FjZCU2yyfmamX1Z0gqqPGj4BzOA80fjl EoiA== X-Gm-Message-State: AA+aEWZil9yp/8DNbZUR5vDcbi4EKyujQRum2ikT8yd5KWOXGG8J930q Ws+SxklZtXfSMjWx+zTMueDqZQ== X-Received: by 2002:adf:d0c9:: with SMTP id z9mr22378940wrh.317.1545322246254; Thu, 20 Dec 2018 08:10:46 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id x10sm10941186wrn.29.2018.12.20.08.10.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Dec 2018 08:10:45 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: meson: libretech-cc: switch eMMC to 1.8v Date: Thu, 20 Dec 2018 17:10:37 +0100 Message-Id: <20181220161037.23756-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181220161037.23756-1-jbrunet@baylibre.com> References: <20181220161037.23756-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, the default option for the aml-s905x-cc seems to 1.8v 5.0 modules. Signed-off-by: Jerome Brunet --- .../boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.19.2 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 daad007fac1f..d0d202cf7161 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 @@ -118,8 +118,8 @@ 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>; }; }; @@ -254,8 +254,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>;