From patchwork Wed Apr 25 12:54:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134284 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp832057lji; Wed, 25 Apr 2018 05:59:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+WAFOUyY/MgbcNhGPQ234JkabmHSmNQk4u3xufv8Ps6WP/DxQ7/aL5iHuqVv7ilnfhG6JV X-Received: by 2002:a17:902:a5:: with SMTP id a34-v6mr25960930pla.58.1524661194186; Wed, 25 Apr 2018 05:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524661194; cv=none; d=google.com; s=arc-20160816; b=na63y7Z3NCpcj63xIGQVUTmwF7j7q2Dad+M7Rzg1wgF5U31iYpwj4Qpto/qsySakyE Ydg6+CHSUkpYhNH/FviEYOl6J4gC4cYZRpYfXby02udx/mCIOmYd1vF/8nyhebIGyGIK iCnxwmku8H/rrpVUS11O3t/QVWEmI8Siqby4RTBS3hKxcSRZoMyvHiCHuyhdsyHQltNc CyieLqC/Xfrg8EgKlo0iJTk/ej0CoSppcuWMEw0otWM1MoLIKhfgrJvOcclwooQ5Ejn0 zPKYg7VF73oP7QO4o0+BQOUdDU/MP6EiK/0RHh602b7qf8JRD5XLfWCtkTzA92qVMTAT yNCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=cUu/5XlKwB47AxJtOP+/fHHt5AHDQOQRfyNBsjsJVYM=; b=v0ZLlpQykl53vV8usk3xUKmKmEjltgMuGdrw9/32XzRCKY6nJUj03KoFb9F/Kthh8c cZIhRyBi+UKq/pCq+LAoEWGlDP2RE/WETpk+wHRylkindLHh0WBZXkO279CBH1Q/fssh OIVJiBoTVfiiAOWzKcG6DOcWsDQfOnHbSaUEGcLiuWvTbYnwEg+YtCViGwnXDdRCGELc psHUtBOBItHu81gsgE+sDYJ5LHTaRP9sgpOI28QP1+rYbjnLGKBBNnuOmL51Znbf4Sd3 holLY0NmbDR4nyG8X34com4uK2RVMv0Pr/fXR8hWeTIE8Ed2SPjP4VBF7aPC0qeje+B3 AZ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VH3c9Pnx; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si12682691pgv.344.2018.04.25.05.59.53; Wed, 25 Apr 2018 05:59:54 -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=@ti.com header.s=ti-com-17Q1 header.b=VH3c9Pnx; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753997AbeDYMzc (ORCPT + 29 others); Wed, 25 Apr 2018 08:55:32 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:11908 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753040AbeDYMzT (ORCPT ); Wed, 25 Apr 2018 08:55:19 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtAK8009589; Wed, 25 Apr 2018 07:55:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660910; bh=LKDI7DeKcIaKXL2K4YwBpse7DuwKsNFwXO69jsOg8v0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VH3c9PnxCKvPEJme/GqhwNcpSdjpTG3lMApeBVTL0KU4uZVJkw09Wj13OUPxzasIO jBPTMdSBv1P/bkqv5YYArB5D4K18CWykmfBfwsDwtQ0/QE4kOgUc2SQ7kyZSCgNcf3 gbrjoM7jwZ2Ld91IXjUgdnTVJR2suhceRHTerrY4= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtAU7023285; Wed, 25 Apr 2018 07:55:10 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:09 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:09 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SE021671; Wed, 25 Apr 2018 07:55:05 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 01/15] ARM: dts: dra72-evm-common: Remove mmc specific pinmux Date: Wed, 25 Apr 2018 18:24:35 +0530 Message-ID: <20180425125449.19755-2-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mmc specific pinmux is selected from dra72x-mmc-iodelay.dtsi, so remove it from dra72-evm-common.dtsi. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm-common.dtsi | 27 ------------------------- 1 file changed, 27 deletions(-) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index e85f560a2f78..8e3b185d864b 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -174,33 +174,6 @@ }; &dra7_pmx_core { - mmc1_pins_default: mmc1_pins_default { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */ - DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ - DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ - DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ - DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ - DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ - DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ - >; - }; - - mmc2_pins_default: mmc2_pins_default { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ - DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ - DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ - DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ - DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ - DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ - DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ - DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ - DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ - DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ - >; - }; - dcan1_pins_default: dcan1_pins_default { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */ From patchwork Wed Apr 25 12:54:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134288 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp834186lji; Wed, 25 Apr 2018 06:01:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpmh5BUOJRWwcoyFMghyOoJw6kLDu9DSBmDjlsCUjUGrRj3x7L28yQLQjpWbotSQn910mXe X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr6730867pli.335.1524661272561; Wed, 25 Apr 2018 06:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524661272; cv=none; d=google.com; s=arc-20160816; b=oacMg6jmDfd6VlzEKGGr/pwsyq8SJ0WbmHFWnc0RBTLQWofKPz7j2kV69S5wBW1eqy SW2oWWy8Eg9LOsXtWEZ5kNcCiSWpiAZoBudqFX3whzTm4391zqkDcLKoQtEcTjhZ1Mx5 zY+OXXxnGQV7TmNyOjLCk3gbyXdZ9ama1s0lPnD2eG/+3iW0tF7YN4/finy8T/o6Q7YJ YCuBAkVFyDqOZ6DGYGdK31BnPYFiZIYmfieVYuwT/a3X9CglB9stqhiRmOyOt8hIPT+1 rNKcjnwaIpNHxVE2flp1l2e+CKSNwHmZ1mpAPhi4WOCriErpDYgm5A7hbGdRL7Fhzlda EsFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=TLfiIiOsW2AxxiLyf0RtBcWhkm/OGqnqugOn01c7q0A=; b=FE8Uq8T8JxdNEfv9V931BRuj9w5P4JByya989UhBInRjaGyeKQ3AT2T//m6+hgkDBR QARf5VaqCsNhRXBSwGw6MynnANqujehHShNYwKeCZRj9H+lQyfuTPaAfKvJpAjvQ0Aki 3cFVWUOkU4puRtJYBuGSCMjH7c11e89Cjy/zWtc8joSfnTGvGj3V9nntmFjsfRuuqbcz Xo3bWgpiFbFY1dnAFRk8R2qSO5ZfE7xOZPeC4DYHorLeLH4TgxG/i/eZAf6HxdHaM7tW ReaHKk13hWe/JErCdGly5JtSAUNAUDU+qSkSbFitIgoR8QPsRcZgNotjajdrwHZIWtTZ Q32w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=admh9q1G; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 72si16170529pfn.44.2018.04.25.06.01.11; Wed, 25 Apr 2018 06:01:12 -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=@ti.com header.s=ti-com-17Q1 header.b=admh9q1G; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754346AbeDYNBI (ORCPT + 29 others); Wed, 25 Apr 2018 09:01:08 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:65271 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753524AbeDYMzU (ORCPT ); Wed, 25 Apr 2018 08:55:20 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtEmA026358; Wed, 25 Apr 2018 07:55:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660914; bh=QA7pz8LuTAQPZx3B1jpxsl7P0LEWL8YmpUFJoD5hx6Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=admh9q1GRZzi9x5k25MDxq2Mv8Fphpo/batp11qEW6qSopH0G9olDUEkVXSS98ajg GsLXGQP8+AlORGJSE3OLWAZwSgAt7gc2LI6U7z0DHyEUiG4ArXtMbZQGBCUM0f7jg5 4AJdNTo19/47n6FSJV+c5FJRpicL+/0xVoMwoUhQ= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtDXK023872; Wed, 25 Apr 2018 07:55:13 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:12 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:12 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SF021671; Wed, 25 Apr 2018 07:55:09 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 02/15] ARM: dts: dra71-evm: Add "vqmmc-supply" property for mmc2 Date: Wed, 25 Apr 2018 18:24:36 +0530 Message-ID: <20180425125449.19755-3-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add "vqmmc-supply" property for mmc2 to indicate the supply connected to the IO lines. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra71-evm.dts | 1 + 1 file changed, 1 insertion(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra71-evm.dts b/arch/arm/boot/dts/dra71-evm.dts index ebc4bbae981e..64c57d87ca2f 100644 --- a/arch/arm/boot/dts/dra71-evm.dts +++ b/arch/arm/boot/dts/dra71-evm.dts @@ -204,6 +204,7 @@ pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>; vmmc-supply = <&evm_1v8_sw>; + vqmmc-supply = <&evm_1v8_sw>; }; &mac { From patchwork Wed Apr 25 12:54:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134287 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp833072lji; Wed, 25 Apr 2018 06:00:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+OBPKpGJuIgzAMn2wcksLcehKWHGKb/gv5go4jekVvPVvGBzXF7b07/hy89TRRmD9VXhto X-Received: by 2002:a17:902:4003:: with SMTP id b3-v6mr28589654pld.15.1524661233964; Wed, 25 Apr 2018 06:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524661233; cv=none; d=google.com; s=arc-20160816; b=l695kWpoksDc2uFvssB9rRs9cV3FeQa9J7E3kSpBOYjfALvHqX94Rs9rQyq5cdoZWr /FZR2cDSelZ2LBQFYFVx3x/HWmixbhRZH5TJbygxnp8wtwV1xqdSEHG5fYc6oEMZFrLv XKuKpWiziAAsVwxxrg6dTfu86+gqgnf/X1f8fcFVWyRKeqBMm3J6lqEAYHK8QbHteBIj sjuK26wGSmcHtAhLnlUhCGddsTkga21Lvv7ue0YSdy0GBgEb2o2paDZdSo1vV51g3Wvn 1lKvthHnhDemBmX8N8U/vHDJcp+aVkB/0MVYp0nIGXSk7d9Q1sdrfbcAH9XFU4TrI11J byYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=0WljmE1TFTLJuyGOuxVi9TmAkb9f42bvFcnVeeYlm3A=; b=luG45xQYnvVw9+U+zyKvoRvZW0yRylHkGarboTCmvYGn4eFg+NDKtZWP8IJvmYaVwa 1+IyTn04AIlSr7lYXuI9cup0kmQP1i3TfkyLMIQTr3FpJvT3xoj38Oy2PDI5vTVKs2n4 wmJRzDUN+/vX6+rQXbi57d3aVT2JjmHfXnho1CyNxI0qElQF0GF0Y1TZNaGsqZhYGpjs jV13GYTsWDxJwyA3nHPcRrH/Ehrcd9rQLSaJpk00GKkeX2X1KAvQ69g2gv2KtxO9NuLf 4ge99daX9VU3iUF0mCPLlJ7QcyNtJ6ly1sLFJCkaGNMaVGM2LZzseWCVhdPQo9tFR3Nt /UxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kV6u7zoo; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si3481537pgr.632.2018.04.25.06.00.33; Wed, 25 Apr 2018 06:00:33 -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=@ti.com header.s=ti-com-17Q1 header.b=kV6u7zoo; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754433AbeDYNAb (ORCPT + 29 others); Wed, 25 Apr 2018 09:00:31 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:65277 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753145AbeDYMzX (ORCPT ); Wed, 25 Apr 2018 08:55:23 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtGGT026371; Wed, 25 Apr 2018 07:55:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660916; bh=IXbdjtuNgH/SSxPVwzZueFx6Fa0kyMotH7MljW/r65Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kV6u7zooVYJFBMov6a4WW35LMdY76ri0P9GbMPzk9xxBgWVi4/4LiOyAn6zCs08KP 4/VnlCKfyA2Gg4mGB2sZev4AtFa9UESBolGetxD8/7RwCUsChPigvp/uUfOpuMXSp0 pZgVOPcuxyIkr3oV9buGqMEVrRh5ZI4eVhwJL7Og= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtGJj023604; Wed, 25 Apr 2018 07:55:16 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:16 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:15 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SG021671; Wed, 25 Apr 2018 07:55:13 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 03/15] ARM: dts: dra72x-mmc-iodelay: Add a new pinctrl group for clk line without pullup Date: Wed, 25 Apr 2018 18:24:37 +0530 Message-ID: <20180425125449.19755-4-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org During a short period when the bus voltage is switched from 3.3v to 1.8v, (to enumerate UHS mode), the mmc module is disabled and the mmc IO lines are kept in a state according to the programmed pad mux pull type. According to 4.2.4.2 Timing to Switch Signal Voltage in "SD Specifications Part 1 Physical Layer Specification Version 5.00 February 22, 2016", the host should hold CLK low for at least 5ms. In order to keep the card line low during voltage switch, the pad mux of mmc1_clk line should be configured to pull down. Add a new pinctrl group for clock line without pullup to be used in boards where mmc1_clk line is not connected to an external pullup. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi b/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi index 088013c6dc6e..c9351eaf97f0 100644 --- a/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi +++ b/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi @@ -51,6 +51,17 @@ >; }; + mmc1_pins_default_no_clk_pu: mmc1_pins_default_no_clk_pu { + pinctrl-single,pins = < + DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mmc1_clk.clk */ + DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ + DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ + DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ + DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ + DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ + >; + }; + mmc1_pins_sdr12: mmc1_pins_sdr12 { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ From patchwork Wed Apr 25 12:54:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134285 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp832212lji; Wed, 25 Apr 2018 06:00:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+IAitUIPJZBxDNJ0I0uD/7rGs2VabE/20xt0JVvyYxBYxiBYFmbwipt0JZfjcVxz1CVXsr X-Received: by 10.99.122.67 with SMTP id j3mr23533057pgn.172.1524661203336; Wed, 25 Apr 2018 06:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524661203; cv=none; d=google.com; s=arc-20160816; b=lppq+If5nPDMusGdYO77U9Re/rOnJIFC02Ie1My0lEeYBNWG5s2LZQ5vHjsMX5AxBR hZh8BBR39Ql7U6d/y92v2Yrp0fASW5uW1sFZCeIrb9j7nbnhTVdBCfCrjBRRIr+kdALK efudaRS5cy8B+hPU8uDocSc0x3hTlmZtNkOPh1SYlEW1SAYGgjjEkqZprxxOsfiA92+S COy47IZU1WSXZBD1eFX1L4nWLFISM+owwtFJhHaIUbuEv1Pyuhxaw7o3t9MEzKNmBwkb k0R5m2JoofbrxnvvIVDjQepgFwgkoSwD8bVo0ETjdu/QBQ29+ynDjak9TncvBGADJzrQ DJ5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=SDceFwbuPcJ7DoCGfLaeD6vMLUvguk9BtRId3iYJnUM=; b=PekuRzXccifK008tbrw+tCimMQN7aLIXmFNjfNK/8mlF68Er6CqwzUpNG3CChABu6g Bshyr1PPbbpmqC108l7rh6SIc1fRtIDBjdaEvjU3KN9loA+CkbJqksjP9OFrMbCh2a2w RGQJ5GwnwrtAlkyf8dztSmaDeP3/zVxU4mVQeiZ8hnjx1lkHmNClSnKNyYprOWghRA+J T/Wy4mMG13ZpWOMslyCUUBBUfrXiozPuiD7yPf1+1Yl6D/4ku49zHXz/1NXO+p3PgImH Sn8YIUTeR+lW1JTcJ9z4ZGYUuCbcKfpLk0WJYYhkVJiaOzL2REsD2TMnE5gA3z149ekY nnIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VKkkKLz7; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g66si13500972pgc.624.2018.04.25.06.00.03; Wed, 25 Apr 2018 06:00:03 -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=@ti.com header.s=ti-com-17Q1 header.b=VKkkKLz7; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754430AbeDYM76 (ORCPT + 29 others); Wed, 25 Apr 2018 08:59:58 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:11921 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753985AbeDYMzc (ORCPT ); Wed, 25 Apr 2018 08:55:32 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtQc4009623; Wed, 25 Apr 2018 07:55:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660926; bh=grIoSCDGBYKD0tMKtvvwQ8DoxZVP8/uVb0KBoU8iP8A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VKkkKLz7Hjgcr2syHOojrVrWZ5AhlUKPz4zgd51X3avQKjSIp8gXWzY4G9HJJIyPm kHU9TIc3rd2cZFfbQrWNBJ0sQ0+rZukDNoUEMYn/341aG/cEuJ0mU5hU2ILhGWAnTj Rp7VlYezXi4dGEzaC+VeQLn0Rh2cnw5T/O0A/O5Y= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtQ2u024519; Wed, 25 Apr 2018 07:55:26 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:26 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:26 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SJ021671; Wed, 25 Apr 2018 07:55:23 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 06/15] ARM: dts: am57xx-idk: Use pinctrl group from dra7xx-mmc-iodelay.dtsi to select pulldown Date: Wed, 25 Apr 2018 18:24:40 +0530 Message-ID: <20180425125449.19755-7-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit 18aa0f4bca701cb078a6 ("ARM: dts: am57xx-idk: Select pull down for mmc1_clk line in default mode") modified mmc1_pins_default pinctrl group in am57xx-idk-common.dtsi in order to change the CLK line to PIN_INPUT_PULLDOWN. However instead of modifying the pinctrl group, use the new pinctrl group "mmc1_pins_default_no_clk_pu" in dra72x-mmc-iodelay/dra74x-mmc-iodelay added specifically to be used for CLK line without external pull up. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am571x-idk.dts | 2 +- arch/arm/boot/dts/am572x-idk.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.17.0 diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts index a2555140babc..9d8b9dc31476 100644 --- a/arch/arm/boot/dts/am571x-idk.dts +++ b/arch/arm/boot/dts/am571x-idk.dts @@ -102,7 +102,7 @@ &mmc1 { pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; - pinctrl-0 = <&mmc1_pins_default>; + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; pinctrl-1 = <&mmc1_pins_hs>; pinctrl-2 = <&mmc1_pins_sdr12>; pinctrl-3 = <&mmc1_pins_sdr25>; diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts index 3a02ed720957..338dd4c5c825 100644 --- a/arch/arm/boot/dts/am572x-idk.dts +++ b/arch/arm/boot/dts/am572x-idk.dts @@ -20,7 +20,7 @@ &mmc1 { pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; - pinctrl-0 = <&mmc1_pins_default>; + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; pinctrl-1 = <&mmc1_pins_hs>; pinctrl-2 = <&mmc1_pins_sdr12>; pinctrl-3 = <&mmc1_pins_sdr25>; From patchwork Wed Apr 25 12:54:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134270 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp827707lji; Wed, 25 Apr 2018 05:55:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xiJ/8fO+wNu/RbRsywgjnd6tGdPzHOQ6tQqeIvqCgSBe4A9ULRuG76X1Ql3g47uSC2uaS X-Received: by 2002:a17:902:41:: with SMTP id 59-v6mr29476431pla.345.1524660946873; Wed, 25 Apr 2018 05:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660946; cv=none; d=google.com; s=arc-20160816; b=Wyj38EeKelQXLfhPSbROstTyXEx+cKB36mV0yDJHDrxYL2e/+qSf00aPmACNyA5Bi3 WUUU7PX8z1QUv41nYK9C50qLVQAdjuTwduvIqO/ATHMr4Epx+a9STw1NenG1O/U8hGsZ z07Il7NZq1D2ZUBcf16ofWbC8+Rp1xM9Sv6wUxGfSeuyyIkdjjRwjPbL346nV9VFlLpm GreGtB4YyGZBKzjzjyopLrgE0Scke+xmv+td1mmGzUL1mbYvlnBVF97f5Z0Y5iYcQXrN JRVztcGfOkztOcdE60hKKaJCSa5GGwaLFAssQAxl17m86D4ckR9tkaa05q1paqU8Z8Jh CmfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=TbuYIaPMm8G48KANIRvT3W2Hi7IYNoJATxrvGpCyOuo=; b=shBes1w1hDamFI2n6yizrpOlX6hFXhsHOZ+NmgPnAePJTrLboNEXd2VnETzgiyKIDb ZV5EgYNFGSP4n+s5bIXytJ28z33i4dT34r6YNbfii+idfo2RIe4RMAkkpvCmncTRME4E PZMIwlBc1qzfZXvJWz4t8NxepQaZkKka+oM2munwmZ0ZJQ8S2oejECpmjWL3Bhx4ReIN ZdHJEtfTlVevBkT3U+dvofWB8JV4g4sn2JlI+RBM5P8aZlF0q1Ft1dFGY/LzadRiuzir ql17nPujZITleBetYRr4Ehcf37D6KcskayHKwh7gtDpJvurw6lPpUWkzY7oDYRTwtJk5 4d6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Xap7XcxQ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si16195139plm.495.2018.04.25.05.55.46; Wed, 25 Apr 2018 05:55:46 -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=@ti.com header.s=ti-com-17Q1 header.b=Xap7XcxQ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754061AbeDYMzo (ORCPT + 29 others); Wed, 25 Apr 2018 08:55:44 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:15275 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbeDYMzg (ORCPT ); Wed, 25 Apr 2018 08:55:36 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtUSl024574; Wed, 25 Apr 2018 07:55:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660930; bh=HEZH9WVimIGT961IwwGwIWEO/jtAhjlDupw51Y+c1ls=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Xap7XcxQPo/qJmvI7bjMn9W+fD3hNEaOQFTsubi5tu7aq1nyJ932gtks26DrWdHeL ddVseaacQs4lDqCPMbTZZQSZjKtgltOa0skSq1XI40tiKtfX8BMoyQA76SS96eegBB xyXBj4ykCE/gr8GbbQybbegUrxjHe3QOSyE9nDzU= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtUlp024125; Wed, 25 Apr 2018 07:55:30 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:29 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:29 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SK021671; Wed, 25 Apr 2018 07:55:26 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 07/15] ARM: dts: dra71-evm: Use pinctrl group from dra72x-mmc-iodelay.dtsi to select pulldown Date: Wed, 25 Apr 2018 18:24:41 +0530 Message-ID: <20180425125449.19755-8-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit 0e43884cca77218d2eccc331396e8 ("ARM: dts: dra71-evm: Select pull down for mmc1_clk line in default mode") modified mmc1_pins_default pinctrl group in dra71-evm.dts to change the CLK line to PIN_INPUT_PULLDOWN. However instead of changing the pinctrl group, use the new pinctrl group "mmc1_pins_default_no_clk_pu" in dra72x-mmc-iodelay added specifically to be used for CLK line without external pull up. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra71-evm.dts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra71-evm.dts b/arch/arm/boot/dts/dra71-evm.dts index 64c57d87ca2f..8065678b8016 100644 --- a/arch/arm/boot/dts/dra71-evm.dts +++ b/arch/arm/boot/dts/dra71-evm.dts @@ -50,19 +50,6 @@ }; }; -&dra7_pmx_core { - mmc1_pins_default: mmc1_pins_default { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mmc1_clk.clk */ - DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ - DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ - DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ - DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ - DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ - >; - }; -}; - &i2c1 { status = "okay"; clock-frequency = <400000>; @@ -187,7 +174,7 @@ &mmc1 { pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; - pinctrl-0 = <&mmc1_pins_default>; + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; pinctrl-1 = <&mmc1_pins_hs>; pinctrl-2 = <&mmc1_pins_sdr12>; pinctrl-3 = <&mmc1_pins_sdr25>; From patchwork Wed Apr 25 12:54:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134279 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp831012lji; Wed, 25 Apr 2018 05:58:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoB/R3dm5bZ9nKT5453kvLH53M2bdcfSJ7E4NH6toIZgXZkk0w36pYWTvOFQr2Ucyy8EZCu X-Received: by 10.99.65.197 with SMTP id o188mr6004378pga.7.1524661131625; Wed, 25 Apr 2018 05:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524661131; cv=none; d=google.com; s=arc-20160816; b=rAhD5NLIGT/r4AHC3KlzPU7ZDLL1mjXe1a0+70iKu1U3XF/H7HW2H0OzOv4xcRe0VX ApxbRyE4dBM5sSSkfkKE1dYTwtiLuvyFnMOPRs4G3Vo7gJY3oamcqT3ay5O6h+bZLh3m 5BxFgDHSGJQDscJdVJVEzrbDOtPa6vxAd/k3o26jsnafPqvXy09u6xikqePOvelbB+0f aK7OktTSXFBgyP1nmkbX/1GH4aHab0Ijum9Nn1FVbsXM1/qOQuUFrZGFVIXOnuEFY7Tc Csq4wPTPcKucOOaS6by4wY+vqYOq8Du5OvGUleegkSh2RrsXmToxrPwQhUw4+PNjz2vP Nu5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=MVodK+g63H9JpH8SsEaMORsLNpsfxEaZSid/Ua/vgo8=; b=zEZtavQhnHz0UIdUtjqbvsPJ34cy+M9OdMQ0HlcA8SiLYHrXSzQ8RW6FbXyxJFi1Qx R1SCD7Lo76q519j5XNbtWVmG2scPbK+jMSQVpEegOIiTKy0ZpMUpt6vO+kSPXcIiZDwC CvTw3F6mxDNW2zApVZ+a2M0F5Xb1kVNHX6wSt5TgfURk4ZD1C+J+/UC6i4LLpoXy/Jfc DQ2yKtwEL13I+S25KrfKlL3aoSO6zXskEPcgfz99vj9olWam4EpHDuYo5kFniJPZVQwe oEXQRK33Mmr6En6mZzMiSEmuE8/3VTq8in5OkEBLQ8IWhT6fzw5TDfxqnhcAsjU9weEx a6yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oQW6PPOJ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w69si16204208pfd.332.2018.04.25.05.58.51; Wed, 25 Apr 2018 05:58:51 -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=@ti.com header.s=ti-com-17Q1 header.b=oQW6PPOJ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754372AbeDYM6t (ORCPT + 29 others); Wed, 25 Apr 2018 08:58:49 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61795 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754023AbeDYMzl (ORCPT ); Wed, 25 Apr 2018 08:55:41 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtYwK019443; Wed, 25 Apr 2018 07:55:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660934; bh=zNRgsgi/JdI3CXI5j5RUrnozTqkI83vKP7ELu+1XFlI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=oQW6PPOJvUhG9gQT1c09v2ZxNfFLliGxynMDEc9GhT3xEYwBVeHnRqxM64hwZAx3f tOjPCQB9YwW6FN1o8DePoLay9Q5taQ2VxuWAgpGLYrcNjITHe0OIZhYsq4WQlU5HIg CZskzExJiJqvKLRRBkeeu8QnW3WkNIgkaQt7P9Sk= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtYrB024211; Wed, 25 Apr 2018 07:55:34 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:33 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:33 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SL021671; Wed, 25 Apr 2018 07:55:30 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , , Sekhar Nori Subject: [PATCH v3 08/15] ARM: dts: am574x-idk: Add pinmux configuration for MMC Date: Wed, 25 Apr 2018 18:24:42 +0530 Message-ID: <20180425125449.19755-9-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sekhar Nori Include dra76x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for am574x SoC and use it in the pinctrl properties of MMC devicetree nodes present in am574x-idk.dts. Signed-off-by: Sekhar Nori Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am574x-idk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/am574x-idk.dts b/arch/arm/boot/dts/am574x-idk.dts index 41e12a382d2f..500235e6d1c6 100644 --- a/arch/arm/boot/dts/am574x-idk.dts +++ b/arch/arm/boot/dts/am574x-idk.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "dra76x.dtsi" +#include "dra76x-mmc-iodelay.dtsi" #include "am572x-idk-common.dtsi" / { @@ -20,3 +21,21 @@ spi-max-frequency = <96000000>; }; }; + +&mmc1 { + pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; + pinctrl-1 = <&mmc1_pins_hs>; + pinctrl-2 = <&mmc1_pins_default>; + pinctrl-3 = <&mmc1_pins_hs>; + pinctrl-4 = <&mmc1_pins_sdr50>; + pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_conf>; + pinctrl-6 = <&mmc1_pins_ddr50 &mmc1_iodelay_sdr104_conf>; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_1_8v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_default>; + pinctrl-2 = <&mmc2_pins_default>; +}; From patchwork Wed Apr 25 12:54:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134271 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp827881lji; Wed, 25 Apr 2018 05:55:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpbNHc/m0PsUlmgvCvWpqWZPYOmQLtPViUyOydUg51WCAHrJSkjgSrNg1VK/lwOVq1/Cc5s X-Received: by 2002:a17:902:5952:: with SMTP id e18-v6mr7590551plj.351.1524660955047; Wed, 25 Apr 2018 05:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660955; cv=none; d=google.com; s=arc-20160816; b=yVPUOcefO8T8wh6k+9ncodnjjP245b/ChoiHxx6GUBIqwiFtMf0ycc9Yq8Dxp++rq+ eHfUnzMZvowFdb1jC5SduqLHs4Rp0I1D101xMN2VQP2PU7BL5TRArQEWORyXqogclxYP Mx/KGPrg0qortQLo5wpBU7V/0H2eUDGhp84renR9xm4iv792/onC3nhTqveAIkS7Zhji 6YCsaeR6B5P+QUlzeFYZ2Ys5v/95yGByNVHs3oGbiCVnpiCZjnOjRc2uf8Zs/P49iTg3 wy6gijLtvQl1CSyfc+Xd6Nhdtb2NTahU0RLdEkKTBd/tyZB3c2cgK3H1QL2M+2C689Oj Z3Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=EMEvYWpT8m/W2amA2I2JA2yAp8qT3bs4LWuRihWM1sw=; b=vukRmCSo9lulECmsKZxIl4Oh1pc3Pqztrq2notnGhpkhxjzz8i+gn5NjoXwbBv+p1f I8tKVwdPn9Okyfr01wmGhNZxhkWP+ZQT2ZdiaVgO4i04eJiM+Jpv/7nHDgcWL+iBMZC9 Dh0Mhl6Hih8eNJdaGVfO2g+XLP2KuFg1y73jMxYTzAfxngfO783gJL4sbQyzu6xW9IBL bcQBNY5BzXsQwX7hZ1IzNa/pKJreT/Iuce7kww5tc0q/nBtg9vITKeew3FKT7fGpTsC1 u8IeuCJj562XZqLYRbeFbrKN0Zsz6Aafi9ig4ZUzAqxKyjzSjdRv6KAIRTjIBtehFcUB CxMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lsBtIMLx; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2si15297992pfb.111.2018.04.25.05.55.54; Wed, 25 Apr 2018 05:55:55 -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=@ti.com header.s=ti-com-17Q1 header.b=lsBtIMLx; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754099AbeDYMzw (ORCPT + 29 others); Wed, 25 Apr 2018 08:55:52 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:11929 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbeDYMzp (ORCPT ); Wed, 25 Apr 2018 08:55:45 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtcxF009643; Wed, 25 Apr 2018 07:55:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660938; bh=/8Ou7B4dm28U6sJ/5E525V6EKnE/c5mEPDn+8+oiZR8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lsBtIMLx7AlMdyPAlO/z2ydORZXFmuTrB3VEtadzScL/rJ5clydTmbwLt8/C3NBlq 1sc0GSwJro/gqjWxHeI+txbd3Ta8je+wadTci6onWlV0+FCvDHwZ4yxFvB7YbNMYpU poRkJw6xUu4213tToHlKVs3ZpV3o1x+EbMhohHEo= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtcKJ024305; Wed, 25 Apr 2018 07:55:38 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:37 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:37 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SM021671; Wed, 25 Apr 2018 07:55:34 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , , Hari Nagalla , Eyal Reizer , Sekhar Nori Subject: [PATCH v3 09/15] ARM: dts: dra72-evm-common: Add wilink8 wlan support Date: Wed, 25 Apr 2018 18:24:43 +0530 Message-ID: <20180425125449.19755-10-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hari Nagalla Wilink8 module is a combo wireless connectivity card based on Texas Instrument's wl18xx solution. Add support for the wlan capabilities of this module by muxing the relevant mmc lines, and setting the required device-tree data. Signed-off-by: Eyal Reizer Signed-off-by: Hari Nagalla [nsekhar@ti.com: drop WLAN_EN pinmux. It should be done by bootloader. Also, some commit message adjustments] Signed-off-by: Sekhar Nori Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm-common.dtsi | 42 +++++++++++++++++++++++ arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi | 11 ++++++ 2 files changed, 53 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index 8e3b185d864b..1e4d36e33a1b 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -44,6 +44,16 @@ regulator-boot-on; }; + evm_3v6: fixedregulator-evm_3v6 { + compatible = "regulator-fixed"; + regulator-name = "evm_3v6"; + regulator-min-microvolt = <3600000>; + regulator-max-microvolt = <3600000>; + vin-supply = <&evm_5v0>; + regulator-always-on; + regulator-boot-on; + }; + vsys_3v3: fixedregulator-vsys3v3 { /* Output 2 of TPS43351QDAPRQ1 on dra72-evm */ /* Output 2 of LM5140QRWGTQ1 on dra71-evm */ @@ -171,6 +181,15 @@ clocks = <&atl_clkin2_ck>; }; }; + + vmmcwl_fixed: fixedregulator-mmcwl { + compatible = "regulator-fixed"; + regulator-name = "vmmcwl_fixed"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; &dra7_pmx_core { @@ -398,6 +417,29 @@ max-frequency = <192000000>; }; +&mmc4 { + status = "okay"; + vmmc-supply = <&evm_3v6>; + vqmmc-supply = <&vmmcwl_fixed>; + bus-width = <4>; + cap-power-off-card; + keep-power-in-suspend; + non-removable; + pinctrl-names = "default", "hs", "sdr12", "sdr25"; + pinctrl-0 = <&mmc4_pins_default>; + pinctrl-1 = <&mmc4_pins_default>; + pinctrl-2 = <&mmc4_pins_default>; + pinctrl-3 = <&mmc4_pins_default>; + #address-cells = <1>; + #size-cells = <0>; + wlcore: wlcore@2 { + compatible = "ti,wl1835"; + reg = <2>; + interrupt-parent = <&gpio5>; + interrupts = <7 IRQ_TYPE_EDGE_RISING>; + }; +}; + &mac { status = "okay"; }; diff --git a/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi b/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi index c9351eaf97f0..4cf5482fbc33 100644 --- a/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi +++ b/arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi @@ -213,6 +213,17 @@ DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ >; }; + + mmc4_pins_default: mmc4_pins_default { + pinctrl-single,pins = < + DRA7XX_CORE_IOPAD(0x37e8, PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_ctsn.mmc4_clk */ + DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_rtsn.mmc4_cmd */ + DRA7XX_CORE_IOPAD(0x37f0, PIN_INPUT_PULLUP | MUX_MODE3) /* uart2_rxd.mmc4_dat0 */ + DRA7XX_CORE_IOPAD(0x37f4, PIN_INPUT_PULLUP | MUX_MODE3) /* uart2_txd.mmc4_dat1 */ + DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_PULLUP | MUX_MODE3) /* uart2_ctsn.mmc4_dat2 */ + DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_PULLUP | MUX_MODE3) /* uart2_rtsn.mmc4_dat3 */ + >; + }; }; &dra7_iodelay_core { From patchwork Wed Apr 25 12:54:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134274 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp828259lji; Wed, 25 Apr 2018 05:56:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ZpTQNQi3LJiX31/KvRWCP+nyC9GoBHx26sXzZlc2KEBwHheP5F/u4n5FaG/Yo8Mw17i9q X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr11029447pls.255.1524660974723; Wed, 25 Apr 2018 05:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660974; cv=none; d=google.com; s=arc-20160816; b=geEnQSs5ChA0olxcjuO9ovqB2ZtB236zad+ll+RUD+V6KW9Y3MTrRj28WzB719UglF ys4Pmn3+T00U7m0z2aSFt+onMo3wHZqm2IYNvtah7B0ApdSVslR+/ju6V5EMYaREhE7a bITXPVg34gcD9P4W/AkzDmI3i6Gu0gJkn/nzOTHQ/tEykI+pTfspYHYyGRBRvcF96K3P e1lyX7SxTCdJOWEcTk5tYPqRUDtfCPrs5p9LZEGNTLjbXC4ejOF7D7qE5aiWcfY+PeYV yfqpef7rFEc1mI98ouGpz/xfspf6UjOJ+t1hF/WvMB6sGazuZ8PzTG2uzusEgLVHRDdf hmMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=e6k9EpySMKAqbUwO6J0iI+PVpa/M+k9wvAnt4ZjBYlA=; b=BXYntgITXWdo1UlGMMOijsFqP2OZue6mGizMtC9Ugb12i6GYviaJLcB0KtqFzPnjVN 1NHqscgsbDS6q3JFzXfRu3cpda4C3rAkVe5Ba/u8NzOBU5Fb3YDKKh3hYpzjRNOVrvp8 fLSSrek2kVu6cRSn54Ive5w7o7gANmHy0muxymgLI2+ogxJtfPXg6FhUaxS11ZrP3sau +3gR8lNGVS6Y3hONr12iSvb3JOAfa96wx43aBMkPh3QN4d2RNHGsa31VLDPPEaoO1Q5j 216L4+tPCUwDBLqG+c48sgF3Ni56EC88VEU9YkImd+AIGwz6C8Y3oILm3VFnEa4+5qIr 9A4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yR7foJbJ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si4222705plj.58.2018.04.25.05.56.14; Wed, 25 Apr 2018 05:56:14 -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=@ti.com header.s=ti-com-17Q1 header.b=yR7foJbJ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbeDYM4L (ORCPT + 29 others); Wed, 25 Apr 2018 08:56:11 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:65300 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbeDYMzw (ORCPT ); Wed, 25 Apr 2018 08:55:52 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtfeu026421; Wed, 25 Apr 2018 07:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660941; bh=MTjPX7UZC7iyf9hR7rERi4ULy9ZhDVz1iWkn9TNQW7Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yR7foJbJJBKjySHDoqL4WAUYPx7OJ0LmxNrDCNFd17EGKZ1phV287J0nYmtNgGbSC 024umh5deaDJ33jmGyriIiMCW1HhfNkxEaIHRjL24gzhbYJWYACHYB9qusAAzweyAh +oHz9d9YE5wtfgM/SFWnFMy3KueAxbNbmegf6gBI= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtfo2024387; Wed, 25 Apr 2018 07:55:41 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:41 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:41 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SN021671; Wed, 25 Apr 2018 07:55:38 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 10/15] ARM: dts: dra7-evm: Model EVM_3V6 regulator Date: Wed, 25 Apr 2018 18:24:44 +0530 Message-ID: <20180425125449.19755-11-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On TI's DRA74x EVM, EVM_3V6 is connected is connected to the VBAT line of the wilink card. Model it here so that it can be used while adding wilink8 WLAN support. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7-evm.dts | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index f1425b0f3a54..181289a28ca1 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -20,6 +20,16 @@ reg = <0x0 0x80000000 0x0 0x60000000>; /* 1536 MB */ }; + evm_12v0: fixedregulator-evm_12v0 { + /* main supply */ + compatible = "regulator-fixed"; + regulator-name = "evm_12v0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + evm_1v8_sw: fixedregulator-evm_1v8 { compatible = "regulator-fixed"; regulator-name = "evm_1v8"; @@ -54,6 +64,38 @@ regulator-max-microvolt = <1800000>; }; + evm_3v3: fixedregulator-evm3v3 { + /* Output of Cntlr A of TPS43351-Q1 on dra7-evm */ + compatible = "regulator-fixed"; + regulator-name = "evm_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&evm_12v0>; + regulator-always-on; + regulator-boot-on; + }; + + evm_5v0: fixedregulator-evm_5v0 { + /* Output of Cntlr B of TPS43351-Q1 on dra7-evm */ + compatible = "regulator-fixed"; + regulator-name = "evm_5v0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&evm_12v0>; + regulator-always-on; + regulator-boot-on; + }; + + evm_3v6: fixedregulator-evm_3v6 { + compatible = "regulator-fixed"; + regulator-name = "evm_3v6"; + regulator-min-microvolt = <3600000>; + regulator-max-microvolt = <3600000>; + vin-supply = <&evm_5v0>; + regulator-always-on; + regulator-boot-on; + }; + extcon_usb2: extcon_usb2 { compatible = "linux,extcon-usb-gpio"; id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; From patchwork Wed Apr 25 12:54:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134277 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp828503lji; Wed, 25 Apr 2018 05:56:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/bVMmXMSTI7Wpn/djvudf5IOfm1QPJL6VFbi9GFFIDYRFjGF+OvD/Z+dW2QLyPQ2tGpSH8 X-Received: by 2002:a17:902:20cb:: with SMTP id v11-v6mr28524645plg.82.1524660986489; Wed, 25 Apr 2018 05:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660986; cv=none; d=google.com; s=arc-20160816; b=IGV82Aln7ipFkQeYkKiwM+7v2ozRj1Us3DkcDQ2xk/xEoliFlIyoFrE4oDlIau6MeY qm2T8ELQI99fgU8syYXQsjZ3j1v29PzOjr8jXN7mKo6V6A9hZVu3Vgtg35Cn9+yIHRi1 lOLl+GvvnDH/1kicUFDdNuKIQOoytwVzx4m1v6emJAP5N1mbatLtn3e+x2On6J2JnddY DIHngL/xmISIFeT/bHYcJncuPox/RdyCAg6Y6lQrN7vVbTpc3tZ31XDdkhCdBU7b2Dn/ EFcdr+jSgIPW/UiPNovFIiKU0Yfth7ZnHCjsq/FWBWP8yTdLyDqMOorvfwyUDeCs7cMv RKvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=3spDmKEoU2XEPe1Kr7tD5vxf4SvVoNaNM3xJWCQ1zOs=; b=NTlzd+YeiU9onvN/OlhRhg+uSzvg3Lowe+XGnteHXNIF+LI819ODD6YbCQJhce4aR1 UNCilmqEVz7yn+j+cnDTpNfqRu/f3bg6LLJhgAGtzk4aZKc51v6P7SKnGP+IZCrtygHP hWU5yMdD8fxLn5G73O+AgexNIX4oT8lOZ6mjOY+9iOFr8vZRX9TrhTNCAglrf3SLeVqb UYEr1DJkDfIvABkssX6YB+3tpF12bVrTXqf8ldp+7YIF8IO5rUiPY0bK1rCB9n4rmtag jmwkCK4UPK3K1AfdQZxyIMdi21ZIYnOpzYvA5bOS8yHW5AOGjtXB70vC/rPg2G2/Sqs4 ROrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MYwZT3oq; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si13550792pgf.113.2018.04.25.05.56.26; Wed, 25 Apr 2018 05:56:26 -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=@ti.com header.s=ti-com-17Q1 header.b=MYwZT3oq; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754343AbeDYM4X (ORCPT + 29 others); Wed, 25 Apr 2018 08:56:23 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:11944 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753875AbeDYMzy (ORCPT ); Wed, 25 Apr 2018 08:55:54 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtkWU009660; Wed, 25 Apr 2018 07:55:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660946; bh=OBIfaV+eQNVKqOh2ZvqlXuND80haQPrckGg5+ju9f8c=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MYwZT3oqNvcKzXDhnPLfW/lBe7I3EJjYk1zwbAknc0PyMaSp6+hsw0mo80i/wZJXT rcqRLE7KgdSZdPkkPaBjg+Gq7z74/C4+bUq/zsqvqOfJUahFCMYrZBtM66AxUSnhub Wb0IV+QcoS8BREmy+6Msj2ZWfVq9mtBeom938y0w= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtkq4024436; Wed, 25 Apr 2018 07:55:46 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:45 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:45 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SO021671; Wed, 25 Apr 2018 07:55:41 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , , Hari Nagalla , Ido Yariv , Eyal Reizer , Sekhar Nori Subject: [PATCH v3 11/15] ARM: dts: dra7-evm: Add wilink8 wlan support Date: Wed, 25 Apr 2018 18:24:45 +0530 Message-ID: <20180425125449.19755-12-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hari Nagalla The wilink module is a combo wireless connectivity sdio card based on Texas Instrument's wl18xx solution. It is a 4-wire, 1.8V, embedded sdio wlan device with an external irq line and is power-controlled by a gpio-based fixed regulator. Add pinmux configuration and IODelay values for MMC4. On dra7-evm, MMC4 is used for connecting to wilink module. IODelay data credits to : Vishal Mahaveer and Sekhar Nori Signed-off-by: Ido Yariv Signed-off-by: Eyal Reizer Signed-off-by: Hari Nagalla Signed-off-by: Sekhar Nori Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7-evm-common.dtsi | 15 +++++++++++++++ arch/arm/boot/dts/dra7-evm.dts | 25 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra7-evm-common.dtsi b/arch/arm/boot/dts/dra7-evm-common.dtsi index 05a7b1a01bc3..3590c40fc112 100644 --- a/arch/arm/boot/dts/dra7-evm-common.dtsi +++ b/arch/arm/boot/dts/dra7-evm-common.dtsi @@ -260,3 +260,18 @@ &pcie1_rc { status = "okay"; }; + +&mmc4 { + bus-width = <4>; + cap-power-off-card; + keep-power-in-suspend; + non-removable; + #address-cells = <1>; + #size-cells = <0>; + wlcore: wlcore@2 { + compatible = "ti,wl1835"; + reg = <2>; + interrupt-parent = <&gpio5>; + interrupts = <7 IRQ_TYPE_EDGE_RISING>; + }; +}; diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 181289a28ca1..704947cbef48 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -96,6 +96,16 @@ regulator-boot-on; }; + vmmcwl_fixed: fixedregulator-mmcwl { + compatible = "regulator-fixed"; + regulator-name = "vmmcwl_fixed"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio5 8 0>; + startup-delay-us = <70000>; + enable-active-high; + }; + extcon_usb2: extcon_usb2 { compatible = "linux,extcon-usb-gpio"; id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; @@ -376,6 +386,21 @@ pinctrl-5 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>; }; +&mmc4 { + status = "okay"; + vmmc-supply = <&evm_3v6>; + vqmmc-supply = <&vmmcwl_fixed>; + pinctrl-names = "default-rev11", "default", "hs-rev11", "hs", "sdr12-rev11", "sdr12", "sdr25-rev11", "sdr25"; + pinctrl-0 = <&mmc4_pins_default &mmc4_iodelay_ds_rev11_conf>; + pinctrl-1 = <&mmc4_pins_default &mmc4_iodelay_ds_rev20_conf>; + pinctrl-2 = <&mmc4_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>; + pinctrl-3 = <&mmc4_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>; + pinctrl-4 = <&mmc4_pins_sdr12 &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>; + pinctrl-5 = <&mmc4_pins_sdr12 &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>; + pinctrl-6 = <&mmc4_pins_sdr25 &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>; + pinctrl-7 = <&mmc4_pins_sdr25 &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>; +}; + &cpu0 { vdd-supply = <&smps123_reg>; };