From: Uri Mashiach <uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> To: tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org, igor.grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org Subject: [PATCH 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Date: Tue, 27 Oct 2015 14:14:58 +0200 [thread overview] Message-ID: <1445948100-16446-5-git-send-email-uri.mashiach@compulab.co.il> (raw) In-Reply-To: <1445948100-16446-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> From: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> Add pinmux configuration for MMC0 pins. Add fixed regulator 'vmmc_fixed'. Enable MMC0 in 4-bit mode. Acked-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> Signed-off-by: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> Signed-off-by: Uri Mashiach <uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> --- arch/arm/boot/dts/am335x-cm-t335.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/am335x-cm-t335.dts b/arch/arm/boot/dts/am335x-cm-t335.dts index 9d6117a..976c330 100644 --- a/arch/arm/boot/dts/am335x-cm-t335.dts +++ b/arch/arm/boot/dts/am335x-cm-t335.dts @@ -31,6 +31,14 @@ linux,default-trigger = "heartbeat"; }; }; + + /* regulator for mmc */ + vmmc_fixed: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-name = "vmmc_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &am33xx_pinmux { @@ -104,6 +112,23 @@ 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) >; }; + + mmc1_pins: pinmux_mmc1_pins { + pinctrl-single,pins = < + /* mmc0_dat3.mmc0_dat3 */ + 0xf0 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_dat2.mmc0_dat2 */ + 0xf4 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_dat1.mmc0_dat1 */ + 0xf8 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_dat0.mmc0_dat0 */ + 0xfc (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_clk.mmc0_clk */ + 0x100 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_cmd.mmc0_cmd */ + 0x104 (PIN_INPUT_PULLUP | MUX_MODE0) + >; + }; }; &uart0 { @@ -203,3 +228,11 @@ status = "okay"; }; +&mmc1 { + status = "okay"; + vmmc-supply = <&vmmc_fixed>; + bus-width = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; +}; + -- 2.6.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: uri.mashiach@compulab.co.il (Uri Mashiach) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Date: Tue, 27 Oct 2015 14:14:58 +0200 [thread overview] Message-ID: <1445948100-16446-5-git-send-email-uri.mashiach@compulab.co.il> (raw) In-Reply-To: <1445948100-16446-1-git-send-email-uri.mashiach@compulab.co.il> From: Ilya Ledvich <ilya@compulab.co.il> Add pinmux configuration for MMC0 pins. Add fixed regulator 'vmmc_fixed'. Enable MMC0 in 4-bit mode. Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Ilya Ledvich <ilya@compulab.co.il> Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> --- arch/arm/boot/dts/am335x-cm-t335.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/am335x-cm-t335.dts b/arch/arm/boot/dts/am335x-cm-t335.dts index 9d6117a..976c330 100644 --- a/arch/arm/boot/dts/am335x-cm-t335.dts +++ b/arch/arm/boot/dts/am335x-cm-t335.dts @@ -31,6 +31,14 @@ linux,default-trigger = "heartbeat"; }; }; + + /* regulator for mmc */ + vmmc_fixed: fixedregulator at 0 { + compatible = "regulator-fixed"; + regulator-name = "vmmc_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &am33xx_pinmux { @@ -104,6 +112,23 @@ 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) >; }; + + mmc1_pins: pinmux_mmc1_pins { + pinctrl-single,pins = < + /* mmc0_dat3.mmc0_dat3 */ + 0xf0 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_dat2.mmc0_dat2 */ + 0xf4 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_dat1.mmc0_dat1 */ + 0xf8 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_dat0.mmc0_dat0 */ + 0xfc (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_clk.mmc0_clk */ + 0x100 (PIN_INPUT_PULLUP | MUX_MODE0) + /* mmc0_cmd.mmc0_cmd */ + 0x104 (PIN_INPUT_PULLUP | MUX_MODE0) + >; + }; }; &uart0 { @@ -203,3 +228,11 @@ status = "okay"; }; +&mmc1 { + status = "okay"; + vmmc-supply = <&vmmc_fixed>; + bus-width = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; +}; + -- 2.6.0
next prev parent reply other threads:[~2015-10-27 12:14 UTC|newest] Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-10-27 12:14 [PATCH 0/6] ARM: OMAP2+: dts: cm-t335: initial support Uri Mashiach 2015-10-27 12:14 ` Uri Mashiach [not found] ` <1445948100-16446-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-10-27 12:14 ` [PATCH 1/6] ARM: OMAP2+: dts: cm-t335: add " Uri Mashiach 2015-10-27 12:14 ` Uri Mashiach [not found] ` <1445948100-16446-2-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-11 17:32 ` Uri Mashiach 2015-11-11 17:32 ` Uri Mashiach 2015-11-13 10:19 ` Igor Grinberg 2015-11-13 10:19 ` Igor Grinberg 2015-10-27 12:14 ` [PATCH 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C Uri Mashiach 2015-10-27 12:14 ` Uri Mashiach [not found] ` <1445948100-16446-3-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-11 17:32 ` Uri Mashiach 2015-11-11 17:32 ` Uri Mashiach 2015-10-27 12:14 ` [PATCH 3/6] ARM: OMAP2+: dts: cm-t335: add support for NAND flash Uri Mashiach 2015-10-27 12:14 ` Uri Mashiach [not found] ` <1445948100-16446-4-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-11 17:32 ` Uri Mashiach 2015-11-11 17:32 ` Uri Mashiach 2015-10-27 12:14 ` Uri Mashiach [this message] 2015-10-27 12:14 ` [PATCH 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Uri Mashiach [not found] ` <1445948100-16446-5-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-11 17:33 ` Uri Mashiach 2015-11-11 17:33 ` Uri Mashiach 2015-10-27 12:14 ` [PATCH 5/6] ARM: OMAP2+: dts: cm-t335: add support for network device Uri Mashiach 2015-10-27 12:14 ` Uri Mashiach [not found] ` <1445948100-16446-6-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-10-27 13:14 ` Mugunthan V N 2015-10-27 13:14 ` Mugunthan V N 2015-11-11 17:33 ` Uri Mashiach 2015-11-11 17:33 ` Uri Mashiach 2015-10-27 12:15 ` [PATCH 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight Uri Mashiach 2015-10-27 12:15 ` Uri Mashiach [not found] ` <1445948100-16446-7-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-11 17:33 ` Uri Mashiach 2015-11-11 17:33 ` Uri Mashiach 2015-11-11 17:32 ` [PATCH 0/6] ARM: OMAP2+: dts: cm-t335: initial support Uri Mashiach 2015-11-11 17:32 ` Uri Mashiach [not found] ` <56437BA1.8030807-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-11 17:50 ` Tony Lindgren 2015-11-11 17:50 ` Tony Lindgren 2015-11-24 14:02 ` [PATCH v2 " Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach [not found] ` <1448373733-5839-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-24 14:02 ` [PATCH v2 1/6] ARM: OMAP2+: dts: cm-t335: add " Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach [not found] ` <1448373733-5839-2-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-11-25 22:44 ` Rob Herring 2015-11-25 22:44 ` Rob Herring 2015-11-30 19:51 ` Tony Lindgren 2015-11-30 19:51 ` Tony Lindgren [not found] ` <20151130195123.GP2517-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> 2015-12-02 10:44 ` Uri Mashiach 2015-12-02 10:44 ` Uri Mashiach 2015-11-24 14:02 ` [PATCH v2 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach 2015-11-24 14:02 ` [PATCH v2 3/6] ARM: OMAP2+: dts: cm-t335: add support for NAND flash Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach 2015-11-24 14:02 ` [PATCH v2 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach 2015-11-24 14:02 ` [PATCH v2 5/6] ARM: OMAP2+: dts: cm-t335: add support for network device Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach 2015-11-24 14:02 ` [PATCH v2 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight Uri Mashiach 2015-11-24 14:02 ` Uri Mashiach 2015-12-13 8:55 ` [PATCH 0/5] ARM: dts: cm-t335: add peripheral support Uri Mashiach 2015-12-13 8:55 ` Uri Mashiach [not found] ` <1449996939-13901-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-13 8:55 ` [PATCH 1/5] ARM: dts: cm-t335: add support for USB0 Uri Mashiach 2015-12-13 8:55 ` Uri Mashiach 2015-12-13 8:55 ` [PATCH 2/5] ARM: dts: cm-t335: add support for SBC-T335 Uri Mashiach 2015-12-13 8:55 ` Uri Mashiach [not found] ` <1449996939-13901-3-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> 2015-12-14 1:25 ` Rob Herring 2015-12-14 1:25 ` Rob Herring 2015-12-17 18:05 ` Tony Lindgren 2015-12-17 18:05 ` Tony Lindgren 2015-12-13 8:55 ` [PATCH 3/5] ARM: dts: cm-t335: add support for I2C GPIO expander Uri Mashiach 2015-12-13 8:55 ` Uri Mashiach 2015-12-13 8:55 ` [PATCH 4/5] ARM: dts: cm-t335: add support for DVI/LCD Uri Mashiach 2015-12-13 8:55 ` Uri Mashiach 2015-12-13 8:55 ` [PATCH 5/5] ARM: dts: cm-t335: add support for bluetooth Uri Mashiach 2015-12-13 8:55 ` Uri Mashiach
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=1445948100-16446-5-git-send-email-uri.mashiach@compulab.co.il \ --to=uri.mashiach-utxizqzc01rs1mouv/rt9w@public.gmane.org \ --cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=igor.grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \ --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \ --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@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.