From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933030AbdHVNlS (ORCPT ); Tue, 22 Aug 2017 09:41:18 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:19944 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932541AbdHVNkE (ORCPT ); Tue, 22 Aug 2017 09:40:04 -0400 From: Kishon Vijay Abraham I To: Ulf Hansson , Adrian Hunter , Rob Herring , Tony Lindgren CC: Sekhar Nori , Russell King , Ravikumar Kattekola , , , , , , Kishon Vijay Abraham I Subject: [PATCH v2 3/5] dt-bindings: sdhci-omap: Add bindings for the sdhci-omap controller Date: Tue, 22 Aug 2017 19:09:07 +0530 Message-ID: <20170822133907.21549-1-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170821142132.GH6008@atomide.com> References: <20170821142132.GH6008@atomide.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add binding for the TI's sdhci-omap controller. This now includes only a subset of properties documented in ti-omap-hsmmc.txt but will eventually include all the properties. Signed-off-by: Kishon Vijay Abraham I --- Changes from v1: *) Create a new sdhci-omap.txt document for TI's sdhci-omap controller instead of using the ti-omap-hsmmc.txt as suggested by Tony .../devicetree/bindings/mmc/sdhci-omap.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-omap.txt diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt new file mode 100644 index 000000000000..139695ad2d58 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -0,0 +1,22 @@ +* TI OMAP SDHCI Controller + +Refer to mmc.txt for standard MMC bindings. + +Required properties: +- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers +- ti,hwmods: Must be "mmc", is controller instance starting 1 + +Optional properties: +- ti,dual-volt: boolean, supports dual voltage cards +- ti,non-removable: non-removable slot (like eMMC) + +Example: + mmc1: mmc@0x4809c000 { + compatible = "ti,omap4-hsmmc"; + reg = <0x4809c000 0x400>; + ti,hwmods = "mmc1"; + ti,dual-volt; + bus-width = <4>; + vmmc-supply = <&vmmc>; /* phandle to regulator node */ + ti,non-removable; + }; -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kishon Vijay Abraham I Subject: [PATCH v2 3/5] dt-bindings: sdhci-omap: Add bindings for the sdhci-omap controller Date: Tue, 22 Aug 2017 19:09:07 +0530 Message-ID: <20170822133907.21549-1-kishon@ti.com> References: <20170821142132.GH6008@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170821142132.GH6008@atomide.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Ulf Hansson , Adrian Hunter , Rob Herring , Tony Lindgren Cc: devicetree@vger.kernel.org, Kishon Vijay Abraham I , Sekhar Nori , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , Ravikumar Kattekola , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org Add binding for the TI's sdhci-omap controller. This now includes only a subset of properties documented in ti-omap-hsmmc.txt but will eventually include all the properties. Signed-off-by: Kishon Vijay Abraham I --- Changes from v1: *) Create a new sdhci-omap.txt document for TI's sdhci-omap controller instead of using the ti-omap-hsmmc.txt as suggested by Tony .../devicetree/bindings/mmc/sdhci-omap.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-omap.txt diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt new file mode 100644 index 000000000000..139695ad2d58 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -0,0 +1,22 @@ +* TI OMAP SDHCI Controller + +Refer to mmc.txt for standard MMC bindings. + +Required properties: +- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers +- ti,hwmods: Must be "mmc", is controller instance starting 1 + +Optional properties: +- ti,dual-volt: boolean, supports dual voltage cards +- ti,non-removable: non-removable slot (like eMMC) + +Example: + mmc1: mmc@0x4809c000 { + compatible = "ti,omap4-hsmmc"; + reg = <0x4809c000 0x400>; + ti,hwmods = "mmc1"; + ti,dual-volt; + bus-width = <4>; + vmmc-supply = <&vmmc>; /* phandle to regulator node */ + ti,non-removable; + }; -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon@ti.com (Kishon Vijay Abraham I) Date: Tue, 22 Aug 2017 19:09:07 +0530 Subject: [PATCH v2 3/5] dt-bindings: sdhci-omap: Add bindings for the sdhci-omap controller In-Reply-To: <20170821142132.GH6008@atomide.com> References: <20170821142132.GH6008@atomide.com> Message-ID: <20170822133907.21549-1-kishon@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Add binding for the TI's sdhci-omap controller. This now includes only a subset of properties documented in ti-omap-hsmmc.txt but will eventually include all the properties. Signed-off-by: Kishon Vijay Abraham I --- Changes from v1: *) Create a new sdhci-omap.txt document for TI's sdhci-omap controller instead of using the ti-omap-hsmmc.txt as suggested by Tony .../devicetree/bindings/mmc/sdhci-omap.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-omap.txt diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt new file mode 100644 index 000000000000..139695ad2d58 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -0,0 +1,22 @@ +* TI OMAP SDHCI Controller + +Refer to mmc.txt for standard MMC bindings. + +Required properties: +- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers +- ti,hwmods: Must be "mmc", is controller instance starting 1 + +Optional properties: +- ti,dual-volt: boolean, supports dual voltage cards +- ti,non-removable: non-removable slot (like eMMC) + +Example: + mmc1: mmc at 0x4809c000 { + compatible = "ti,omap4-hsmmc"; + reg = <0x4809c000 0x400>; + ti,hwmods = "mmc1"; + ti,dual-volt; + bus-width = <4>; + vmmc-supply = <&vmmc>; /* phandle to regulator node */ + ti,non-removable; + }; -- 2.11.0