All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sekhar Nori <nsekhar@ti.com>
To: Chris Ball <cjb@laptop.org>, Benoit Cousson <bcousson@baylibre.com>
Cc: Grant Likely <grant.likely@linaro.org>,
	Rob Herring <rob.herring@calxeda.com>,
	Device Tree Mailing List <devicetree@vger.kernel.org>,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
	Koen Kooi <koen@dominion.thruhere.net>,
	Linux MMC Mailing List <linux-mmc@vger.kernel.org>,
	Sekhar Nori <nsekhar@ti.com>
Subject: [PATCH 1/3] mmc: omap_hsmmc: remove TI specific DT binding for non removable cards
Date: Fri, 13 Sep 2013 15:39:44 +0530	[thread overview]
Message-ID: <a62bc46e3672482d8a7c94610c4bdb020d84dfcd.1379066249.git.nsekhar@ti.com> (raw)
In-Reply-To: <cover.1379066249.git.nsekhar@ti.com>

Remove the vendor specific "ti,non-removable" DT binding and
support the generic binding "non-removable" instead.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt |    5 ++---
 drivers/mmc/host/omap_hsmmc.c                           |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
index 8c8908a..0d463b8 100644
--- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
+++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
@@ -17,7 +17,6 @@ Optional properties:
 ti,dual-volt: boolean, supports dual voltage cards
 <supply-name>-supply: phandle to the regulator device tree node
 "supply-name" examples are "vmmc", "vmmc_aux" etc
-ti,non-removable: non-removable slot (like eMMC)
 ti,needs-special-reset: Requires a special softreset sequence
 ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed
 dmas: List of DMA specifiers with the controller specific format
@@ -38,7 +37,7 @@ Examples:
 		ti,dual-volt;
 		bus-width = <4>;
 		vmmc-supply = <&vmmc>; /* phandle to regulator node */
-		ti,non-removable;
+		non-removable;
 	};
 
 [generic DMA request binding]
@@ -50,7 +49,7 @@ Examples:
 		ti,dual-volt;
 		bus-width = <4>;
 		vmmc-supply = <&vmmc>; /* phandle to regulator node */
-		ti,non-removable;
+		non-removable;
 		dmas = <&edma 24
 			&edma 25>;
 		dma-names = "tx", "rx";
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 6ac63df..0cb06ff 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1738,7 +1738,7 @@ static struct omap_mmc_platform_data *of_get_hsmmc_pdata(struct device *dev)
 	pdata->slots[0].switch_pin = cd_gpio;
 	pdata->slots[0].gpio_wp = wp_gpio;
 
-	if (of_find_property(np, "ti,non-removable", NULL)) {
+	if (of_find_property(np, "non-removable", NULL)) {
 		pdata->slots[0].nonremovable = true;
 		pdata->slots[0].no_regulator_off_init = true;
 	}
-- 
1.7.10.1


  reply	other threads:[~2013-09-13 10:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 10:09 [PATCH 0/3] mmc: omap_hsmmc: get rid of ti,non-removable Sekhar Nori
2013-09-13 10:09 ` Sekhar Nori [this message]
     [not found] ` <cover.1379066249.git.nsekhar-l0cyMroinI0@public.gmane.org>
2013-09-13 10:09   ` [PATCH 2/3] ARM: OMAP2+: DT: start using generic binding for non-removable mmc cards Sekhar Nori
2013-09-13 10:09   ` [PATCH 3/3] ARM: OMAP2+: BBB DT: mark eMMC as non removable Sekhar Nori
     [not found]     ` <f77adcf96d225b43e38058ddadcab76a9df6914a.1379066249.git.nsekhar-l0cyMroinI0@public.gmane.org>
2013-09-13 10:11       ` Koen Kooi
2013-09-13 11:03       ` Sekhar Nori
2013-09-13 15:37   ` [PATCH 0/3] mmc: omap_hsmmc: get rid of ti,non-removable Tony Lindgren
     [not found]     ` <20130913153732.GO7189-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2013-09-13 22:07       ` Balaji T K
     [not found]         ` <52338CB2.1040100-l0cyMroinI0@public.gmane.org>
2013-09-16 12:35           ` Sekhar Nori
2013-09-16 12:25       ` Sekhar Nori
2013-09-18 18:58         ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a62bc46e3672482d8a7c94610c4bdb020d84dfcd.1379066249.git.nsekhar@ti.com \
    --to=nsekhar@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=cjb@laptop.org \
    --cc=devicetree@vger.kernel.org \
    --cc=grant.likely@linaro.org \
    --cc=koen@dominion.thruhere.net \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=rob.herring@calxeda.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.