From: Chaotian Jing <chaotian.jing-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> To: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Chris Ball <chris-OsFVWbfNK3isTnJN9+BGXg@public.gmane.org>, Ulf Hansson <ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>, James Liao <jamesjj.liao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>, srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hongzhou Yang <hongzhou.yang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>, Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>, bin.zhang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Chaotian Jing <chaotian.jing-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>, Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>, "Joe.C" <yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>, Eddie Huang <eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Subject: [PATCH v2 1/5] mmc: dt-bindings: add Mediatek MMC bindings Date: Tue, 17 Mar 2015 11:13:51 +0800 [thread overview] Message-ID: <1426562035-16709-2-git-send-email-chaotian.jing@mediatek.com> (raw) In-Reply-To: <1426562035-16709-1-git-send-email-chaotian.jing-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> Document the device-tree binding of Mediatek MMC host Signed-off-by: Chaotian Jing <chaotian.jing-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/mtk-sd.txt diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt new file mode 100644 index 0000000..ac43f77 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt @@ -0,0 +1,33 @@ +* MTK MMC controller + +The MTK MSDC can act as a MMC controller +to support MMC, SD, and SDIO types of memory cards. + +This file documents differences between the core properties in mmc.txt +and the properties used by the msdc driver. + +Required properties: +- compatible: Should be "mediatek,mt8173-mmc","mediatek,mt8135-mmc". +- interrupts: Should contain MSDC interrupt number +- clocks: MSDC source clock +- clock-names: "source" +- pinctrl-names: should be "default", "state_uhs" +- pinctrl-0: should contain default/high speed pin ctrl +- pinctrl-1: should contain uhs mode pin ctrl + +Optional properties: +- vmmc-supply: power to the Core +- vqmmc-supply: power to the IO(for SD/SDIO) + +Examples: +mmc0: mmc@11230000 { + compatible = "mediatek,mt8173-mmc","mediatek,mt8135-mmc"; + reg = <0 0x11230000 0 0x108>; + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_LOW>; + vmmc-supply = <&mt6397_vemc_3v3_reg>; + clocks = <&pericfg PERI_MSDC20_1_CK>; + clock-names = "source"; + pinctrl-names = "default", "state_uhs"; + pinctrl-0 = <&mmc0_pins_default>; + pinctrl-1 = <&mmc0_pins_uhs>; +}; -- 1.8.1.1.dirty
WARNING: multiple messages have this Message-ID (diff)
From: chaotian.jing@mediatek.com (Chaotian Jing) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/5] mmc: dt-bindings: add Mediatek MMC bindings Date: Tue, 17 Mar 2015 11:13:51 +0800 [thread overview] Message-ID: <1426562035-16709-2-git-send-email-chaotian.jing@mediatek.com> (raw) In-Reply-To: <1426562035-16709-1-git-send-email-chaotian.jing@mediatek.com> Document the device-tree binding of Mediatek MMC host Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com> --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/mtk-sd.txt diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt b/Documentation/devicetree/bindings/mmc/mtk-sd.txt new file mode 100644 index 0000000..ac43f77 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt @@ -0,0 +1,33 @@ +* MTK MMC controller + +The MTK MSDC can act as a MMC controller +to support MMC, SD, and SDIO types of memory cards. + +This file documents differences between the core properties in mmc.txt +and the properties used by the msdc driver. + +Required properties: +- compatible: Should be "mediatek,mt8173-mmc","mediatek,mt8135-mmc". +- interrupts: Should contain MSDC interrupt number +- clocks: MSDC source clock +- clock-names: "source" +- pinctrl-names: should be "default", "state_uhs" +- pinctrl-0: should contain default/high speed pin ctrl +- pinctrl-1: should contain uhs mode pin ctrl + +Optional properties: +- vmmc-supply: power to the Core +- vqmmc-supply: power to the IO(for SD/SDIO) + +Examples: +mmc0: mmc at 11230000 { + compatible = "mediatek,mt8173-mmc","mediatek,mt8135-mmc"; + reg = <0 0x11230000 0 0x108>; + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_LOW>; + vmmc-supply = <&mt6397_vemc_3v3_reg>; + clocks = <&pericfg PERI_MSDC20_1_CK>; + clock-names = "source"; + pinctrl-names = "default", "state_uhs"; + pinctrl-0 = <&mmc0_pins_default>; + pinctrl-1 = <&mmc0_pins_uhs>; +}; -- 1.8.1.1.dirty
next prev parent reply other threads:[~2015-03-17 3:13 UTC|newest] Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-17 3:13 [PATCH v2 0/5] Add Mediatek MMC driver Chaotian Jing 2015-03-17 3:13 ` Chaotian Jing [not found] ` <1426562035-16709-1-git-send-email-chaotian.jing-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> 2015-03-17 3:13 ` Chaotian Jing [this message] 2015-03-17 3:13 ` [PATCH v2 1/5] mmc: dt-bindings: add Mediatek MMC bindings Chaotian Jing 2015-04-20 8:31 ` Sascha Hauer 2015-04-20 8:31 ` Sascha Hauer 2015-03-17 3:13 ` [PATCH v2 2/5] mmc: mediatek: Add Mediatek MMC driver Chaotian Jing 2015-03-17 3:13 ` Chaotian Jing [not found] ` <1426562035-16709-3-git-send-email-chaotian.jing-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> 2015-03-31 12:23 ` Ulf Hansson 2015-03-31 12:23 ` Ulf Hansson 2015-03-31 12:23 ` Ulf Hansson [not found] ` <CAPDyKFoUg1snXeOwCiKPF_daxAAfcWE0nUbRAj23Z=k9z5FCyA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-04-03 7:22 ` 答复: " Chaotian Jing (井朝天) 2015-04-03 7:22 ` Chaotian Jing (井朝天) 2015-04-03 7:22 ` Chaotian Jing (井朝天) 2015-04-08 10:38 ` Ulf Hansson 2015-04-08 10:38 ` Ulf Hansson [not found] ` <CAPDyKFrM94E8xXN_q0OqciOHC8WBC+fTOroSnnm+HDTOmWg6Gw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-04-10 3:17 ` chaotian.jing 2015-04-10 3:17 ` chaotian.jing 2015-04-17 9:12 ` Sascha Hauer 2015-04-17 9:12 ` Sascha Hauer 2015-04-17 9:12 ` Sascha Hauer 2015-04-17 9:37 ` Ulf Hansson 2015-04-17 9:37 ` Ulf Hansson 2015-04-17 9:37 ` Ulf Hansson 2015-04-07 14:01 ` Matthias Brugger 2015-04-07 14:01 ` Matthias Brugger 2015-04-07 14:01 ` Matthias Brugger [not found] ` <CABuKBe+MFHJO8GXRg5KYs2t+j6U4Ynv_hCeW0YQCrS_eZ-fuLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-04-08 6:39 ` chaotian.jing 2015-04-08 6:39 ` chaotian.jing 2015-04-17 13:45 ` Sascha Hauer 2015-04-17 13:45 ` Sascha Hauer [not found] ` <20150417134547.GN4946-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 2015-04-19 3:22 ` chaotian.jing 2015-04-19 3:22 ` chaotian.jing 2015-03-17 3:13 ` [PATCH v2 3/5] mmc: mediatek: Add PM support for " Chaotian Jing 2015-03-17 3:13 ` Chaotian Jing 2015-03-31 14:46 ` Ulf Hansson 2015-03-31 14:46 ` Ulf Hansson 2015-03-31 14:46 ` Ulf Hansson 2015-04-03 8:27 ` 答复: " Chaotian Jing (井朝天) 2015-04-03 8:27 ` Chaotian Jing (井朝天) 2015-04-03 8:27 ` Chaotian Jing (井朝天) 2015-04-20 6:49 ` Sascha Hauer 2015-04-20 6:49 ` Sascha Hauer 2015-04-20 6:52 ` Sascha Hauer 2015-04-20 6:52 ` Sascha Hauer 2015-03-17 3:13 ` [PATCH v2 4/5] arm64: mediatek: Add Mediatek MMC support in defconfig Chaotian Jing 2015-03-17 3:13 ` Chaotian Jing 2015-03-17 3:13 ` [PATCH v2 5/5] arm64: dts: mediatek: Add MT8173 MMC dts Chaotian Jing 2015-03-17 3:13 ` Chaotian Jing
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=1426562035-16709-2-git-send-email-chaotian.jing@mediatek.com \ --to=chaotian.jing-nus5lvnupcjwk0htik3j/w@public.gmane.org \ --cc=arnd-r2nGTMty4D4@public.gmane.org \ --cc=bin.zhang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \ --cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \ --cc=chris-OsFVWbfNK3isTnJN9+BGXg@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \ --cc=hongzhou.yang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \ --cc=jamesjj.liao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \ --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \ --cc=matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \ --cc=ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \ --cc=will.deacon-5wv7dgnIgG8@public.gmane.org \ --cc=yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \ /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: linkBe 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.