From patchwork Sat Oct 27 16:34:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10658389 X-Patchwork-Delegate: horms@verge.net.au 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 5F2A0109C for ; Sat, 27 Oct 2018 16:34:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43B9A2ABA4 for ; Sat, 27 Oct 2018 16:34:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37BE82ADE8; Sat, 27 Oct 2018 16:34:23 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85DCD2ABA4 for ; Sat, 27 Oct 2018 16:34:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728715AbeJ1BPx (ORCPT ); Sat, 27 Oct 2018 21:15:53 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35274 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728714AbeJ1BPw (ORCPT ); Sat, 27 Oct 2018 21:15:52 -0400 Received: by mail-wm1-f67.google.com with SMTP id q12-v6so1347973wmq.0; Sat, 27 Oct 2018 09:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=sDEt8oyhxPAbFKJlVfbodu+vob1ZYmtHTgOPYkpdE2A=; b=XHuOK7SI/UxyVyXhlyu1l4F8Luyvrne5MXSnrDQoFRnnZaqZxaz1odxOKFqzI4NKBn 1osVx7AzpwzIP2GkMwn9pXqhfgI6gcfFcvaf39rCYfed0AOJRcH7ZGk3hGsZuw1iQ+8G gEc3vrS6Fcw4GNM+7bxOGwkVwx2C956m8fkuqVsDClUfIK8pGLlxjn5/fZo0QvXVDALf avxTrqdyUn89F6LIOrz9aAnv2s3p8wK48ERA/vOK5fyBGckNR03sE9JfeSwP1tV+DLWX vUiS/tVrmr42mqtACZHDBzj9JNkWvlnVJMqXZF+eD+P0DeJoYSLSNMG6MWcm6c77GUxk vu/w== 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; bh=sDEt8oyhxPAbFKJlVfbodu+vob1ZYmtHTgOPYkpdE2A=; b=UEzuTUfnNB3yerRLDzbbMhqDOMYeimxNrzHuFFxd3RuUtHKSNKoUjnzFquhxyRZ72L 8O2EVLp96FyHIdGWTnc3G5EfDUVwREAxOpzEnoRoYfPCERTsoHuQW3WDlxJ8Q7/1RR0X vHnYa9o9UrGTTWYnvksg4mg/xJ2NeqZsUrLYgqLPPq7RxtHu8nBLkoxI0orBREQ/Uu0O 9Dptc7u+ggG4I6KMHUSS38eAnvH51Nv3AgfDIlKtBT0dqLv752wDYG1tcFmAw6vypwrO imidDuYSgPReJ1G22KWpEO0Tn6DttK7AA3XjwLMa/JO0aqMThrseUDREc6z8rRH8axUu iCfw== X-Gm-Message-State: AGRZ1gLApk9Xuukt7m0CjIYu+iOXXDk2mmM8JCoOxuS1Q4Yvd7JWGudo K6kDzr3dGfAMIF8ZLEt108yNUjqR X-Google-Smtp-Source: AJdET5fuYu31ZwAL+h/r4xKjbiNv7Ei6mi4tpDSUpLgOT1oB0icernSf0mNUPSA8gd2EJiWFN/OmFg== X-Received: by 2002:a1c:c4f:: with SMTP id 76-v6mr8886850wmm.6.1540658059438; Sat, 27 Oct 2018 09:34:19 -0700 (PDT) Received: from localhost.localdomain (cst-prg-28-242.cust.vodafone.cz. [46.135.28.242]) by smtp.gmail.com with ESMTPSA id e196-v6sm18321746wmf.43.2018.10.27.09.34.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Oct 2018 09:34:18 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-mmc@vger.kernel.org Cc: Marek Vasut , Geert Uytterhoeven , Simon Horman , Wolfram Sang , Yoshihiro Shimoda , linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: renesas: ulcb: Switch eMMC bus to 1V8 Date: Sat, 27 Oct 2018 18:34:09 +0200 Message-Id: <20181027163410.7417-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The eMMC card has two supplies, VCC and VCCQ. The VCC supplies the NAND array and the VCCQ supplies the bus. On this particular board, the VCC is connected to 3.3V rail, while the VCCQ is connected to 1.8V rail. Adjust the pinmux to match the bus, which is always operating in 1.8V mode. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Simon Horman Cc: Wolfram Sang Cc: Yoshihiro Shimoda Cc: linux-renesas-soc@vger.kernel.org --- arch/arm64/boot/dts/renesas/ulcb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 0ead552d7eae..f2fabead5031 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi @@ -329,7 +329,7 @@ sdhi2_pins: sd2 { groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; function = "sdhi2"; - power-source = <3300>; + power-source = <1800>; }; sdhi2_pins_uhs: sd2_uhs { From patchwork Sat Oct 27 16:34:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10658393 X-Patchwork-Delegate: horms@verge.net.au 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 DA60113BF for ; Sat, 27 Oct 2018 16:34:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAAD22ABA4 for ; Sat, 27 Oct 2018 16:34:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBD7C2ADE8; Sat, 27 Oct 2018 16:34:26 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 931F02ABA4 for ; Sat, 27 Oct 2018 16:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728747AbeJ1BP4 (ORCPT ); Sat, 27 Oct 2018 21:15:56 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42673 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728714AbeJ1BP4 (ORCPT ); Sat, 27 Oct 2018 21:15:56 -0400 Received: by mail-wr1-f68.google.com with SMTP id y15-v6so4258314wru.9; Sat, 27 Oct 2018 09:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qYCa/ptsk+Am31ujI1AeItlToXq3F4LFan6kn9Eamro=; b=Y6NhVkAiiABMMWha2hFlO++smWarY0sn5hDiMcwP6bTJgvNdZNX84iBmZQXPAFbVX1 QzJIG9fHxpMfOcFIppChofCIIKGUp79teDC7Hql8TcpOZqgcM58mgeeydfhay+f0nKx5 w5JhWbE/kJppdEvNuDZcMjo3PwLIhyiyiVWAfW1AR20oIuO6yjwgUMVGj0zNolQyrOyt khu9qYx+DLstPhYlIqreM37iOZApYodo90W9xV3yIwz8+jVGtjD2jMd+e9CLZ32KzrAV 3XK51FPx0/wS7HYWgpfsex+wFbJoW07a2AAv2APw2fGQQX/86/glOvRHq0gydyPu/JOq 7qyA== 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; bh=qYCa/ptsk+Am31ujI1AeItlToXq3F4LFan6kn9Eamro=; b=LqxoW0+Sj1/jsLN+gFInGPOjyBOv9R0w+Ich0DadaQoKkCjW5UG6fQDBqcLZvbi1gL OWd3AUT4vk2KBQWkKg2nlbi0i/9z1kB6YrAwJeIAkGrciZkTuePcxD39iPvj8x8cfaac JdGWswujOaQknRG096RILE0TfU+en0/h9YJEjDixlM5/0cshfy9oWRN5lMpgQVwT3aNA ChDLm22NaO5/rnR6YBZzxfpv1K63MREgZzJMQVDfOHhLl2qKKs6kBF9YfQguYkp4kJTH aayMytObelGpcP8T5ovT3JZfvn0OWYFGbsuFolCsZ0urnbbw6wNqFRxfDsEUwcBubRPV B33A== X-Gm-Message-State: AGRZ1gL2gfGFW+btNXuuWEwKrQL8A6+XfpPMBOwdw4WAzgOkHqEQtx9P bIGsAXMwdyJ7N/ErAffBmxPw0u/D X-Google-Smtp-Source: AJdET5c3gwz/prkb7cnyAd4lEc6cvy+BZeYnlVvf5YB1IxCbOxzdBUT1bSjj4tAVz80DQREtiuIpVQ== X-Received: by 2002:adf:b716:: with SMTP id l22-v6mr10042011wre.157.1540658062750; Sat, 27 Oct 2018 09:34:22 -0700 (PDT) Received: from localhost.localdomain (cst-prg-28-242.cust.vodafone.cz. [46.135.28.242]) by smtp.gmail.com with ESMTPSA id e196-v6sm18321746wmf.43.2018.10.27.09.34.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Oct 2018 09:34:21 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-mmc@vger.kernel.org Cc: Marek Vasut , Geert Uytterhoeven , Simon Horman , Wolfram Sang , Yoshihiro Shimoda , linux-renesas-soc@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: renesas: salvator: Switch eMMC bus to 1V8 Date: Sat, 27 Oct 2018 18:34:10 +0200 Message-Id: <20181027163410.7417-2-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181027163410.7417-1-marek.vasut+renesas@gmail.com> References: <20181027163410.7417-1-marek.vasut+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The eMMC card has two supplies, VCC and VCCQ. The VCC supplies the NAND array and the VCCQ supplies the bus. On this particular board, the VCC is connected to 3.3V rail, while the VCCQ is connected to 1.8V rail. Adjust the pinmux to match the bus, which is always operating in 1.8V mode. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Simon Horman Cc: Wolfram Sang Cc: Yoshihiro Shimoda Cc: linux-renesas-soc@vger.kernel.org --- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi index 7d3d866a0063..d9a309b28fcf 100644 --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi @@ -602,7 +602,7 @@ sdhi2_pins: sd2 { groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; function = "sdhi2"; - power-source = <3300>; + power-source = <1800>; }; sdhi2_pins_uhs: sd2_uhs {