From patchwork Thu Jun 1 14:33:56 2017 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: 100927 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp835425qge; Thu, 1 Jun 2017 07:35:11 -0700 (PDT) X-Received: by 10.157.60.29 with SMTP id q29mr1159100otc.193.1496327711314; Thu, 01 Jun 2017 07:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496327711; cv=none; d=google.com; s=arc-20160816; b=pLKs3XyP0Wy8/TvQOYGprx8cKExCPWzgxRo9BBAh9SodT0UnfmK75qXIHF8EU3zrN9 o80M0H+5D/7Vs1BV34RJfPlNgEkTnwbGugHV6XwEL2xg/pIWbvOZMsEyHONhucBIZWlR tLuKrQ24SsgZcf4FvbBJKMN59EuFhAlkgg3HYHpFuX58yNrh21fCNtQRcK0r2RfiFnJ5 g70ITZ4EmTqrTTUObYvCBON3nAr81qTmm3MaqeE7infRjgmiZSEbpYmDalkFsKIYjuDS AzUwvVoJnB6gnEYno/0ZyoYHqw7N8KhTi5238jzb6GsbO/P0xpWL+Us7o4rRzsf3fk94 f9Yw== 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=+gLavgWLOC5U6zcZlg2RnguaqAa8QjgQRSeoM7p2ohY=; b=RQEmwtsN94TssAon5e/EYTAkl6QSZ5k1ltEH+yV+nPQizN37/CdO+mir0eabVzL9SG dyTPFR9hCEXsMrmlJYvbGQ3rFPiZNFuGu+soGue+gmL+fSwkhXRE6B0qgIajRIOcaOqg ov9tr/jijG+TxOlZX/ctEXu2pcGXQhZ74j53I5L8yglb8b6+XpgH0E5pJ7S8oYBs82Th NBQAWC5retF3FD1VJAwHDa2+aHoTGdO7t1GEG7Y7WR235xc1aBZ/vVTefWNdWX/9Wz8W RSw3wWpxjEdtZUpBaJY4iCzq9vR+Z0osqcOrQnF/L0NQFEwjUrU6IfUvcmDnjH5wx4fv 4BtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com; 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 k143si8336343oib.247.2017.06.01.07.35.10; Thu, 01 Jun 2017 07:35:11 -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; 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 S1751224AbdFAOe6 (ORCPT + 25 others); Thu, 1 Jun 2017 10:34:58 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61318 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbdFAOey (ORCPT ); Thu, 1 Jun 2017 10:34:54 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v51EYH8k020594; Thu, 1 Jun 2017 09:34:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496327657; bh=tdiLGLV1cCO6ys4zxlnT3R07ZSQFkkzmCzFxHl2dWI0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hPf82C/egUKfwzlBPycmMrl+Rp1L8X7rV61KIiwDMGkfQY4RWADuettIpVAsRxwy6 p0Ac8CU6JGMtYPCaVG5JPEexCbNiBbr5+aMUo5NzkiQLTKxxPTL60m9wwepOqM1Ua/ RrO8gKrjc2Okv6CmbuUUrhlTsdZYOzQwUpQp70V0= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EYHnp007467; Thu, 1 Jun 2017 09:34:17 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Thu, 1 Jun 2017 09:34:16 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EY7Eh003521; Thu, 1 Jun 2017 09:34:14 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , Rob Herring , CC: Russell King , , , , , , Subject: [PATCH 2/7] ARM: dts: dra72-evm: Add vmmc_aux supply to mmc1 Date: Thu, 1 Jun 2017 20:03:56 +0530 Message-ID: <20170601143401.16852-3-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601143401.16852-1-kishon@ti.com> References: <20170601143401.16852-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add vmmc_aux-supply property to mmc1 dt node and populate it with ldo1_reg to reflect ldo1_out is connected to mmc1 IO lines. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.0 diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index adbcc570eba9..b25e7c67badf 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -54,6 +54,10 @@ phy-mode = "rgmii"; }; +&mmc1 { + vmmc_aux-supply = <&ldo1_reg>; +}; + &mmc2 { vmmc-supply = <&evm_1v8_sw>; }; From patchwork Thu Jun 1 14:33:57 2017 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: 100932 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp836395qge; Thu, 1 Jun 2017 07:37:16 -0700 (PDT) X-Received: by 10.107.11.66 with SMTP id v63mr2678660ioi.104.1496327836112; Thu, 01 Jun 2017 07:37:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496327836; cv=none; d=google.com; s=arc-20160816; b=WgDYp5fgn+aMROexgmzk3t3/We1QOrgOIoHX993Itus0MgL3DhqE91xRS6BGiupJQG nEgmNMHNMsEtOMGJclq/6hBc8d5yNSdkYd/fKM63BMMFzGJnJz12ClwcPnTEFY5f/o3a BGNtJAiANcDHmJR85L0e+4XWgtyXZAL/kYs/fV42YCGTbyBDS/tVCm0vdqJVJKc+vTKY pUgcKA5n4TUJyz2/BdPFGcNbl+l2wfDAwLgE8RVZi8c+PFdEga8RrxFtlFMonxgIRjvU 6Y/5VckD+/f8sJbFn8mhi08wdsU7ODFLpAix9QWTXGPL5tYf15bKbkJinwlNTy9mo7Mu vIMQ== 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=5gMH2/uZHJIv9QN/CF26ywC+pYGFiA1qJPgx3X+7Y6k=; b=I05k28oreC4ECWUl0a+EAUuYxpFLccufhr29/VZYUDAqYohClV03vsMJtN+288zR27 aBnKDrUq9znmK1p2rgjr2pIpBmZCp2lYqHCS7keMAXxbuWuBsjszs5E/IH/XlQPxUGcI G1/mRZlpsbzcjQ1SDgljg+oO/SmzWtexv4ix1gJOeWlOB5cEKq7FBBqmsfEwAPZkKkpW VAnTQThBbSKhiRPRQMjcuqhXNaD0p6o1RTHcPst8cwafPBovZWjca2ZRg7HjZRgbJCu0 fkkq32pexv9TvcMVkCZftsly70kr3EWIIGdWv4gfUm6IcxC+6hDXaQbibABWJUqTyG03 w4HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com; 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 z8si19630789iod.184.2017.06.01.07.37.15; Thu, 01 Jun 2017 07:37:16 -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; 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 S1751289AbdFAOhE (ORCPT + 25 others); Thu, 1 Jun 2017 10:37:04 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61319 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091AbdFAOey (ORCPT ); Thu, 1 Jun 2017 10:34:54 -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 v51EYKaa020619; Thu, 1 Jun 2017 09:34:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496327660; bh=Pq/mT5LT30AbN9LvBDeqqUDDpYYgT5+6DaqMCX5CagQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kCM+3CNdX8U74qHbeVL9KPhdVsd557JDeM5y/LULrpC6Je+NqkiPhw5Q4JKtyEePh HaLRsCqPEAkTBKKDqWUGv2B8cRi5icXTDo+rnrJDBZjn/8THqdDno7N4QBcp8mDZm/ HNLlzCUxnLZhHU05rQxSJ+9TBjCff8cC2GQ1JaeE= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EYKZg001472; Thu, 1 Jun 2017 09:34:20 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Thu, 1 Jun 2017 09:34:20 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EY7Ei003521; Thu, 1 Jun 2017 09:34:17 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , Rob Herring , CC: Russell King , , , , , , Subject: [PATCH 3/7] ARM: dts: dra72-evm-revc: Add vmmc_aux supply to mmc1 Date: Thu, 1 Jun 2017 20:03:57 +0530 Message-ID: <20170601143401.16852-4-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601143401.16852-1-kishon@ti.com> References: <20170601143401.16852-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add vmmc_aux-supply property to mmc1 dt node and populate it with ldo1_reg to reflect ldo1_out is connected to mmc1 IO lines. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm-revc.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.0 diff --git a/arch/arm/boot/dts/dra72-evm-revc.dts b/arch/arm/boot/dts/dra72-evm-revc.dts index 47dcd527ec58..40a399735533 100644 --- a/arch/arm/boot/dts/dra72-evm-revc.dts +++ b/arch/arm/boot/dts/dra72-evm-revc.dts @@ -93,6 +93,10 @@ }; }; +&mmc1 { + vmmc_aux-supply = <&ldo1_reg>; +}; + &mmc2 { vmmc-supply = <&evm_1v8_sw>; }; From patchwork Thu Jun 1 14:33:58 2017 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: 100931 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp836025qge; Thu, 1 Jun 2017 07:36:28 -0700 (PDT) X-Received: by 10.157.36.132 with SMTP id z4mr379522ota.158.1496327788764; Thu, 01 Jun 2017 07:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496327788; cv=none; d=google.com; s=arc-20160816; b=Rw9IwQxtKHiWRnFNjYdy3FbpvxXAn5AILFCF1pwllUVm1c6Cif/nyNxZqkRUWftw6g JW2SQY474tWP+FPymoY2cDlP9+2lVJGMbmyUxawWkzJ4NAKx9n392ktzsCW2fM8cTKCz 3R1PLK2XedMC3TfVmrFpuiext0hNwDVvc1x8WCiQuorYdneTz5VNwH9ktPpwFV9RSVC2 TuqtPPROY1xDHyAUh2VhIkHj8qLbW3v+SnBlRFc/hfvBc/8VyQ5UJJQ5VmONaMroJWfi AYLYJLOviK+vmYxc8Qq3d1pfZvWzRuXnI56D+mCpYnA3cJ3vZ3uPjGguFULnJMbtJfeC qQ2A== 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=D8ZbB0vf1GKQF9ZCWVN8vWEWbY0TH8vUSBVfthsxgjM=; b=nIAzpPjEBl6BwgvGKf7H1idB4pqip+hgjnU7Si7RufORD5AHcbiNoxqlnHwTiROKzg pZ+7Hk/1sQMZyMFFI4PpAxySn8pgRzguTmo8bW+HPEUADk3ETrMEF2ZG2GGEQhyoXoDC v8LwPHVvmXDaU6LXapa79atTMY2J74jaYGhmIn0eIqJwGcG/t600e/Vyl9nGD9c4/kJ/ Js0OAxIQiAfprAwhKff6+W4rFfR9NIVolXAKMeIDjecM24fBlTWCoIRZufry+r+tbCzt Wkl5wAf2NHW9muE8SoLK7a7yP+0zczat1ouA9PyT18KotVnIWEVLPxHblIaDBKMlX4VP mfBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com; 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 i67si8332319oia.258.2017.06.01.07.36.28; Thu, 01 Jun 2017 07:36:28 -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; 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 S1751352AbdFAOgA (ORCPT + 25 others); Thu, 1 Jun 2017 10:36:00 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:14149 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbdFAOf5 (ORCPT ); Thu, 1 Jun 2017 10:35:57 -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 v51EYTU5001927; Thu, 1 Jun 2017 09:34:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496327669; bh=QghaVXOHU85qp383l0JDDFlewIUiyNJmpaEAdptMqFY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=q/+54aThgA23K4bb7YGeELswlfI9CwffALihFlmgmh0LtftEGHGs7B8aOsOucKyCt yCCo7Ju7gg5kF7NUvRU3a+ZxnAtVNjtw3ih7lLzzb1xUI99hoA7g/Lv13irgfzo/Rk W+nswPUEYROA73Hd+RgJYNNcanXZ67UQjjqc0qEk= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EYOeV001511; Thu, 1 Jun 2017 09:34:24 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Thu, 1 Jun 2017 09:34:23 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EY7Ej003521; Thu, 1 Jun 2017 09:34:20 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , Rob Herring , CC: Russell King , , , , , , Subject: [PATCH 4/7] ARM: dts: am57xx-beagle-x15-revb1: Fix supply name used for MMC1 IO lines Date: Thu, 1 Jun 2017 20:03:58 +0530 Message-ID: <20170601143401.16852-5-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601143401.16852-1-kishon@ti.com> References: <20170601143401.16852-1-kishon@ti.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 dt binding documentation of omap-hsmmc recommends using "vmmc_aux" for IO supply lines. However commit 0af28cc92690d8c ("ARM: dts: am57xx-beagle-x15: Add support for rev B1") added it as "vmmc-aux". Fix it here. Fixes: commit 0af28cc92690d8c ("ARM: dts: am57xx-beagle-x15: Add support for rev B1") Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts b/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts index 39a92aff0a0d..6ae94ab52b7b 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts +++ b/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts @@ -20,7 +20,7 @@ &mmc1 { vmmc-supply = <&vdd_3v3>; - vmmc-aux-supply = <&ldo1_reg>; + vmmc_aux-supply = <&ldo1_reg>; }; /* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */ From patchwork Thu Jun 1 14:33:59 2017 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: 100930 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp835577qge; Thu, 1 Jun 2017 07:35:34 -0700 (PDT) X-Received: by 10.157.12.193 with SMTP id o1mr1352475otd.27.1496327733921; Thu, 01 Jun 2017 07:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496327733; cv=none; d=google.com; s=arc-20160816; b=Kn5facUlyctojwVUnarrhbyWydLMX7Igyvsg0uGBOTepy9WBBGiHFYPKfjLqTcJrvj IcTe1Zxs+/1ptCAjroNWKFOl8d2evjomBFOqrnYyqAwCHEo+ZAR5iNY4ASb0IDOKVye3 fwzUrgDzXQrd4wG0Ru4kDsmttyCB5wduKVLIpIx2yjqcZh3XKShYfOO/BWelpORCRMm7 4hngYL3zQqTsv5X0hujuiPjoEj/OnR4U4liwNPTZ+K0yn5UqMv1Ibzcihok9dGqT80cx +3Jf8qsBlRtSxpiLrPcjuCuMaHsas9sa3dTNEyHZlCstacVfVRLFCgtJxtNwrE14/8V+ Dfvw== 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=4zxbkFpkHOMAAoGnoYqeHhSWm10/CQV/qocPng6mDMQ=; b=ScyxjzSxopVV0u2P1QG36d0/VsU51MO2sDBBwTjd278Gwh815kBgAvcaWg1OP9rMZ+ MJ1YeUKhB0GKqA2Gitwn6tf+laDaaNEum9c8yf3JuapDYDkFvdjyMpiQ23YF7muBYmwr DxhLPKTo2LcDH/iBUoxs97KXjxVA+XZTPoEmReIlf41AjQSnebGytnV6NWPlp2LCi92W OoKw72IvzMb0XmT9On9SFEiFg9blrilpvo6q+t2Sjk4GbAnabMBz195tqmSofHokLlQ+ 26pchu4t83HlT1LvsqYFC1rh4yefn5SsYehePuVRlCtoFrGTBDBJaTDBHwJruRochRAP PGzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com; 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 s4si8322861oib.127.2017.06.01.07.35.33; Thu, 01 Jun 2017 07:35: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; 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 S1751294AbdFAOfO (ORCPT + 25 others); Thu, 1 Jun 2017 10:35:14 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:42682 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbdFAOfL (ORCPT ); Thu, 1 Jun 2017 10:35:11 -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 v51EYRRs020931; Thu, 1 Jun 2017 09:34:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496327667; bh=UOPgsvCWgbYCfxPt1Ce4cq9BylwZ/FguWbnLkTUyT98=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=oVIgni8S5UMfKVFs0JYxnBI2AIOzeBcCENd1Rht1SNYZJE3EjJ4tPKDp1izyooQ62 7+c7KAJhxcGfX4FQuewuGbZQ08EpEyQ+LejygBjd7PsjP4Dv3u2IHq8DTIEOqQ4Pdp oJm5lF3qJ2tlBkqHp4iL5wGQ6PiRRfcxVm1/IrcY= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EYRb6001559; Thu, 1 Jun 2017 09:34:27 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Thu, 1 Jun 2017 09:34:26 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EY7Ek003521; Thu, 1 Jun 2017 09:34:24 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , Rob Herring , CC: Russell King , , , , , , , Ravikumar Kattekola Subject: [PATCH 5/7] ARM: dts: dra7-evm: Correct the vmmc-supply for mmc2 Date: Thu, 1 Jun 2017 20:03:59 +0530 Message-ID: <20170601143401.16852-6-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601143401.16852-1-kishon@ti.com> References: <20170601143401.16852-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ravikumar Kattekola On DRA75x EVM, MMC2 vdd/ios are connected to a common supply fixed at 1.8V not 3.3V Fixes: 6cf02dbb4b71 ("ARM: dts: dra7-evm: Add mmc2 node for eMMC support") Signed-off-by: Ravikumar Kattekola Signed-off-by: Sekhar Nori Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7-evm.dts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) -- 2.11.0 diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 31a9e061ddd0..e5d7e7f5f645 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -25,6 +25,14 @@ stdout-path = &uart1; }; + evm_1v8_sw: fixedregulator-evm_1v8 { + compatible = "regulator-fixed"; + regulator-name = "evm_1v8"; + vin-supply = <&smps9_reg>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + evm_3v3_sd: fixedregulator-sd { compatible = "regulator-fixed"; regulator-name = "evm_3v3_sd"; @@ -451,7 +459,7 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins_default>; - vmmc-supply = <&evm_3v3_sw>; + vmmc-supply = <&evm_1v8_sw>; bus-width = <8>; }; From patchwork Thu Jun 1 14:34:01 2017 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: 100929 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp835575qge; Thu, 1 Jun 2017 07:35:33 -0700 (PDT) X-Received: by 10.157.33.59 with SMTP id i56mr1120678otb.161.1496327733492; Thu, 01 Jun 2017 07:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496327733; cv=none; d=google.com; s=arc-20160816; b=SGMdrgynQTWjOtBmRxWtwzdEfFfoanHvmUs0DH6Txf92y+HyUX+zGH8CpcvcAdiaY7 IVK2XNiOeJ9DrWFMi92vgqH+VPLmDkr1WHIru9zAVO0+ekwGyN0lBE3jnP3pBK6Vzmmv uF5rQk4597g7gHYheA6muCfVbdhvPOGbSr3Qb7ntEPY6jdko3h0Gr35Kl430/uEMW/vs 1aXuMeVk3tBuCRG57PZafV2VlQWNdYLty0lT7Dmm48huwC2hLxMRqXRi9nWxtHW+aA/Z px3Oh+VDTKe6cyQEblam+fUZnwp77d4vfbiLiKRccXsU1aX6db+zp9Och0dYggD0iGF9 B+oA== 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=yx/sYnVgjXUGN6sMtmyICJHL9HRs+gNzVvIHy4IXKdQ=; b=NZJ4oOk0pVNHVlA3XzZBXMQ7zuurK/RDVj4iBVnh9sRcaHKBWJ/5UY4UiiJnyjiSK8 AbtyJk4lagBsIHvvtjm+Hz40buKxRnH2cHVjI7O3jokyjwF8vjXfVPwV9euhbDSaReeT s3abmFlys/CL1SxFl7MyFi88wQvBzEGhMGw6NtBdFSA+d/hcEzV7is46za/MyCa4BwGL BeL6NHcfHxCsDvMP0seS1wE1fSeO/gXk8VcrTH+BEwgqtp5A+XgC3Pi7y43aLw8P2Zyh NMtEXGjXh06nBhZYHeJXN5Qq22d1TMGCNp3vWyyM7Z6crTfhoiV4ZOAAqxwL1i+mk1la VQOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com; 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 s4si8322861oib.127.2017.06.01.07.35.33; Thu, 01 Jun 2017 07:35: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; 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 S1751272AbdFAOfJ (ORCPT + 25 others); Thu, 1 Jun 2017 10:35:09 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:42681 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbdFAOfF (ORCPT ); Thu, 1 Jun 2017 10:35:05 -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 v51EYY6T020951; Thu, 1 Jun 2017 09:34:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496327674; bh=bDbAvNtistbxeV9Q8LsJVh882nh/y3HjLyhyltfogPo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TvMSE+O0MfZ57azHSene1yA7F6w6ojDxo/bdUuLmoOvV6Lmq4YzaSXCfmW4+D5ZiZ CBBQ6vF/gEwtMvjDIRT/BxLNmZacwOC3wY4szVAXQ0tlXOSovVmLyBMKGx4Ug+b3R5 suvpjAVTHbzHoMeCSWyjvlEIDckBeH+vV09V2m44= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EYYQA001684; Thu, 1 Jun 2017 09:34:34 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Thu, 1 Jun 2017 09:34:33 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EY7Em003521; Thu, 1 Jun 2017 09:34:30 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , Rob Herring , CC: Russell King , , , , , , Subject: [PATCH 7/7] ARM: OMAP2+: Add pdata-quirks for MMC/SD on DRA74x EVM Date: Thu, 1 Jun 2017 20:04:01 +0530 Message-ID: <20170601143401.16852-8-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601143401.16852-1-kishon@ti.com> References: <20170601143401.16852-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sekhar Nori DRA74x EVM Rev H EVM comes with revision 2.0 silicon. However, earlier versions of EVM can come with either revision 1.1 or revision 1.0 of silicon. The device-tree file is written to support rev 2.0 of silicon. pdata quirks are used to then override the settings needed for PG 1.1 silicon. PG 1.1 silicon has limitations w.r.t frequencies at which MMC1/2/3 can operate as well as different IOdelay numbers. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- arch/arm/mach-omap2/pdata-quirks.c | 31 +++++++++++++++++++++++++++++++ include/linux/platform_data/hsmmc-omap.h | 3 +++ 2 files changed, 34 insertions(+) -- 2.11.0 diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 9700a8ef0f16..6b433fce65a5 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -434,6 +434,26 @@ static void __init omap5_uevm_legacy_init(void) } #endif +#ifdef CONFIG_SOC_DRA7XX +static struct omap_hsmmc_platform_data dra7_hsmmc_data_mmc1; +static struct omap_hsmmc_platform_data dra7_hsmmc_data_mmc2; +static struct omap_hsmmc_platform_data dra7_hsmmc_data_mmc3; + +static void __init dra7x_evm_mmc_quirk(void) +{ + if (omap_rev() == DRA752_REV_ES1_1 || omap_rev() == DRA752_REV_ES1_0) { + dra7_hsmmc_data_mmc1.version = "rev11"; + dra7_hsmmc_data_mmc1.max_freq = 96000000; + + dra7_hsmmc_data_mmc2.version = "rev11"; + dra7_hsmmc_data_mmc2.max_freq = 48000000; + + dra7_hsmmc_data_mmc3.version = "rev11"; + dra7_hsmmc_data_mmc3.max_freq = 48000000; + } +} +#endif + static struct pcs_pdata pcs_pdata; void omap_pcs_legacy_init(int irq, void (*rearm)(void)) @@ -561,6 +581,14 @@ static struct of_dev_auxdata omap_auxdata_lookup[] __initdata = { OF_DEV_AUXDATA("ti,omap4-iommu", 0x55082000, "55082000.mmu", &omap4_iommu_pdata), #endif +#ifdef CONFIG_SOC_DRA7XX + OF_DEV_AUXDATA("ti,dra7-hsmmc", 0x4809c000, "4809c000.mmc", + &dra7_hsmmc_data_mmc1), + OF_DEV_AUXDATA("ti,dra7-hsmmc", 0x480b4000, "480b4000.mmc", + &dra7_hsmmc_data_mmc2), + OF_DEV_AUXDATA("ti,dra7-hsmmc", 0x480ad000, "480ad000.mmc", + &dra7_hsmmc_data_mmc3), +#endif /* Common auxdata */ OF_DEV_AUXDATA("pinctrl-single", 0, NULL, &pcs_pdata), { /* sentinel */ }, @@ -590,6 +618,9 @@ static struct pdata_init pdata_quirks[] __initdata = { #ifdef CONFIG_SOC_OMAP5 { "ti,omap5-uevm", omap5_uevm_legacy_init, }, #endif +#ifdef CONFIG_SOC_DRA7XX + { "ti,dra7-evm", dra7x_evm_mmc_quirk, }, +#endif { /* sentinel */ }, }; diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h index 8e981be2e2c2..67bded22eae4 100644 --- a/include/linux/platform_data/hsmmc-omap.h +++ b/include/linux/platform_data/hsmmc-omap.h @@ -70,6 +70,9 @@ struct omap_hsmmc_platform_data { #define HSMMC_HAS_HSPE_SUPPORT (1 << 2) unsigned features; + /* string specifying a particular variant of hardware */ + char *version; + int gpio_cd; /* gpio (card detect) */ int gpio_cod; /* gpio (cover detect) */ int gpio_wp; /* gpio (write protect) */