From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Tony Lindgren <tony@atomide.com>, linux-omap@vger.kernel.org
Cc: Matthijs van Duin <matthijsvanduin@gmail.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Philipp Rosenberger <ilu@linutronix.de>,
Delio Brignoli <dbrignoli@audioscience.com>,
Brian Hutchinson <b.hutchman@gmail.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 7/7] ARM: dts: Enable emmc on hp t410
Date: Fri, 4 Dec 2015 11:20:57 +0200 [thread overview]
Message-ID: <56615AF9.5000208@ti.com> (raw)
In-Reply-To: <1449192335-10137-8-git-send-email-tony@atomide.com>
On 12/04/2015 03:25 AM, Tony Lindgren wrote:
> There's a 2GB emmc on hp t410 that's wired to the sd_2 interface.
> Note that we also need to configure the evtmux using edma_xbar for
> edma channels.
>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
One question inlined for the mmc3, other than that:
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> arch/arm/boot/dts/dm8148-t410.dts | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dm8148-t410.dts b/arch/arm/boot/dts/dm8148-t410.dts
> index 79838dd..d1927a7 100644
> --- a/arch/arm/boot/dts/dm8148-t410.dts
> +++ b/arch/arm/boot/dts/dm8148-t410.dts
> @@ -15,6 +15,13 @@
> device_type = "memory";
> reg = <0x80000000 0x40000000>; /* 1 GB */
> };
> +
> + vmmcsd_fixed: fixedregulator@0 {
> + compatible = "regulator-fixed";
> + regulator-name = "vmmcsd_fixed";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + };
> };
>
> &cpsw_emac0 {
> @@ -26,3 +33,31 @@
> phy_id = <&davinci_mdio>, <1>;
> phy-mode = "rgmii";
> };
> +
> +&mmc3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&sd2_pins>;
> + vmmc-supply = <&vmmcsd_fixed>;
> + bus-width = <8>;
> + dmas = <&edma_xbar 8 0 1 /* use SDTXEVT1 instead of MCASP0TX */
> + &edma_xbar 9 0 2>; /* use SDRXEVT1 instead of MCASP0RX */
> + dma-names = "tx", "rx";
Do you happened to know how the audio is connected on the board?
The DM814x-EVM seams to be using McASP2 with aic3106 so it is possible that HP
copied the design from there...
> +};
> +
> +&pincntl {
> + sd2_pins: pinmux_sd2_pins {
> + pinctrl-single,pins = <
> + DM814X_IOPAD(0x09c0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[7] */
> + DM814X_IOPAD(0x09c4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[6] */
> + DM814X_IOPAD(0x09c8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[5] */
> + DM814X_IOPAD(0x09cc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[4] */
> + DM814X_IOPAD(0x09d0, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[3] */
> + DM814X_IOPAD(0x09d4, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[2] */
> + DM814X_IOPAD(0x09d8, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[1] */
> + DM814X_IOPAD(0x09dc, PIN_INPUT_PULLUP | 0x1) /* SD2_DAT[0] */
> + DM814X_IOPAD(0x09e0, PIN_INPUT | 0x1) /* SD2_CLK */
> + DM814X_IOPAD(0x09f4, PIN_INPUT_PULLUP | 0x2) /* SD2_CMD */
> + DM814X_IOPAD(0x0920, PIN_INPUT | 40) /* SD2_SDCD */
> + >;
> + };
> +};
>
--
Péter
next prev parent reply other threads:[~2015-12-04 9:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 1:25 [PATCH 0/7] Add mmc support for dm814x and dra62x Tony Lindgren
2015-12-04 1:25 ` [PATCH 1/7] ARM: dts: Add pinctrl macros for dm814x Tony Lindgren
2015-12-04 1:25 ` [PATCH 2/7] ARM: dts: Update edma bindings on dm814x to use edma_xbar Tony Lindgren
2015-12-04 9:18 ` Peter Ujfalusi
2015-12-04 1:25 ` [PATCH 3/7] ARM: OMAP2+: Add mmc hwmod entries for dm814x Tony Lindgren
2015-12-04 1:25 ` [PATCH 4/7] ARM: dts: Add mmc device " Tony Lindgren
2015-12-04 1:25 ` [PATCH 5/7] ARM: dts: Add mmc support for dm8148-evm Tony Lindgren
2015-12-04 1:25 ` [PATCH 6/7] ARM: dts: Add mmc support for dra62x j5-eco evm Tony Lindgren
2015-12-04 1:25 ` [PATCH 7/7] ARM: dts: Enable emmc on hp t410 Tony Lindgren
2015-12-04 9:20 ` Peter Ujfalusi [this message]
2015-12-04 16:00 ` 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=56615AF9.5000208@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=b.hutchman@gmail.com \
--cc=dbrignoli@audioscience.com \
--cc=ilu@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=matthijsvanduin@gmail.com \
--cc=narmstrong@baylibre.com \
--cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).