From: Sebastian Reichel <sre@debian.org> To: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: "Benoît Cousson" <bcousson@baylibre.com>, "Tony Lindgren" <tony@atomide.com>, "Rob Herring" <rob.herring@calxeda.com>, "Pawel Moll" <pawel.moll@arm.com>, "Mark Rutland" <mark.rutland@arm.com>, "Stephen Warren" <swarren@wwwdotorg.org>, "Ian Campbell" <ijc+devicetree@hellion.org.uk>, "Rob Landley" <rob@landley.net>, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel Date: Wed, 18 Dec 2013 22:55:37 +0100 [thread overview] Message-ID: <20131218215536.GA23674@earth.universe> (raw) In-Reply-To: <52B089FE.8060704@ti.com> [-- Attachment #1: Type: text/plain, Size: 1977 bytes --] On Tue, Dec 17, 2013 at 07:29:34PM +0200, Tomi Valkeinen wrote: > >> I added N900 display DT support on top of my v2 series, including > >> pinmuxing. Can you check if it looks right and works? > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git work/dss-dt > > > > I just tried it and it does not work. On a first look the pinmuxing > > looks fishy: 0x0d4 is muxed two times. > > Hmm, so it is. > > I'm not really familiar with SDI, I just muxed all the SDI pins, except > datapair3. I previously thought that there's only the data and clock > pairs for SDI, but the TRM revealed more sdi pins, so I included them. > It is well possible that these can be removed: > > 0x0d0 (PIN_OUTPUT | MUX_MODE1) /* dss_data18.sdi_vsync */ > 0x0d2 (PIN_OUTPUT | MUX_MODE1) /* dss_data19.sdi_hsync */ > 0x0d4 (PIN_OUTPUT | MUX_MODE1) /* dss_data20.sdi_den */ > 0x0d6 (PIN_OUTPUT | MUX_MODE1) /* dss_data21.sdi_stp */ Just removing the dss_data20.sdi_den pin was enough to get a working display. I don't know if the other pins are needed, because the display pins are already muxed correctly by the bootloader. -- Sebastian diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 39e5e50..33f29ac 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -163,7 +163,7 @@ 0x0d0 (PIN_OUTPUT | MUX_MODE1) /* dss_data18.sdi_vsync */ 0x0d2 (PIN_OUTPUT | MUX_MODE1) /* dss_data19.sdi_hsync */ - 0x0d4 (PIN_OUTPUT | MUX_MODE1) /* dss_data20.sdi_den */ + //0x0d4 (PIN_OUTPUT | MUX_MODE1) /* dss_data20.sdi_den */ 0x0d6 (PIN_OUTPUT | MUX_MODE1) /* dss_data21.sdi_stp */ 0x0d8 (PIN_OUTPUT | MUX_MODE1) /* dss_data22.sdi_clkp */ 0x0da (PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Sebastian Reichel <sre@debian.org> To: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: "Benoît Cousson" <bcousson@baylibre.com>, "Tony Lindgren" <tony@atomide.com>, "Rob Herring" <rob.herring@calxeda.com>, "Pawel Moll" <pawel.moll@arm.com>, "Mark Rutland" <mark.rutland@arm.com>, "Stephen Warren" <swarren@wwwdotorg.org>, "Ian Campbell" <ijc+devicetree@hellion.org.uk>, "Rob Landley" <rob@landley.net>, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel Date: Wed, 18 Dec 2013 21:55:37 +0000 [thread overview] Message-ID: <20131218215536.GA23674@earth.universe> (raw) In-Reply-To: <52B089FE.8060704@ti.com> [-- Attachment #1: Type: text/plain, Size: 1977 bytes --] On Tue, Dec 17, 2013 at 07:29:34PM +0200, Tomi Valkeinen wrote: > >> I added N900 display DT support on top of my v2 series, including > >> pinmuxing. Can you check if it looks right and works? > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git work/dss-dt > > > > I just tried it and it does not work. On a first look the pinmuxing > > looks fishy: 0x0d4 is muxed two times. > > Hmm, so it is. > > I'm not really familiar with SDI, I just muxed all the SDI pins, except > datapair3. I previously thought that there's only the data and clock > pairs for SDI, but the TRM revealed more sdi pins, so I included them. > It is well possible that these can be removed: > > 0x0d0 (PIN_OUTPUT | MUX_MODE1) /* dss_data18.sdi_vsync */ > 0x0d2 (PIN_OUTPUT | MUX_MODE1) /* dss_data19.sdi_hsync */ > 0x0d4 (PIN_OUTPUT | MUX_MODE1) /* dss_data20.sdi_den */ > 0x0d6 (PIN_OUTPUT | MUX_MODE1) /* dss_data21.sdi_stp */ Just removing the dss_data20.sdi_den pin was enough to get a working display. I don't know if the other pins are needed, because the display pins are already muxed correctly by the bootloader. -- Sebastian diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 39e5e50..33f29ac 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -163,7 +163,7 @@ 0x0d0 (PIN_OUTPUT | MUX_MODE1) /* dss_data18.sdi_vsync */ 0x0d2 (PIN_OUTPUT | MUX_MODE1) /* dss_data19.sdi_hsync */ - 0x0d4 (PIN_OUTPUT | MUX_MODE1) /* dss_data20.sdi_den */ + //0x0d4 (PIN_OUTPUT | MUX_MODE1) /* dss_data20.sdi_den */ 0x0d6 (PIN_OUTPUT | MUX_MODE1) /* dss_data21.sdi_stp */ 0x0d8 (PIN_OUTPUT | MUX_MODE1) /* dss_data22.sdi_clkp */ 0x0da (PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-12-18 21:55 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-12-13 18:17 [PATCH 0/4] OMAPDSS: DT support for N900 panel Sebastian Reichel 2013-12-13 18:17 ` Sebastian Reichel 2013-12-13 18:17 ` [PATCH 1/4] OMAPDSS: Add DT support to SDI Sebastian Reichel 2013-12-13 18:17 ` Sebastian Reichel 2013-12-13 18:17 ` [PATCH 2/4] OMAPDSS: ACX565AKM: Add DT support Sebastian Reichel 2013-12-13 18:17 ` Sebastian Reichel 2013-12-13 18:17 ` [PATCH 3/4] ARM: OMAP: rx51: DT boot: disable legacy dss init Sebastian Reichel 2013-12-13 18:17 ` Sebastian Reichel 2013-12-13 18:17 ` [PATCH 4/4] ARM: dts: omap3-n900: Add display support Sebastian Reichel 2013-12-13 18:17 ` Sebastian Reichel 2013-12-17 7:37 ` [PATCH 0/4] OMAPDSS: DT support for N900 panel Tomi Valkeinen 2013-12-17 7:37 ` Tomi Valkeinen 2013-12-17 17:14 ` Sebastian Reichel 2013-12-17 17:14 ` Sebastian Reichel 2013-12-17 17:29 ` Tomi Valkeinen 2013-12-17 17:29 ` Tomi Valkeinen 2013-12-18 21:55 ` Sebastian Reichel [this message] 2013-12-18 21:55 ` Sebastian Reichel 2013-12-19 0:51 ` Sebastian Reichel 2013-12-19 0:51 ` Sebastian Reichel 2013-12-19 5:30 ` Tomi Valkeinen 2013-12-19 5:30 ` Tomi Valkeinen 2013-12-19 10:08 ` Sebastian Reichel 2013-12-19 10:08 ` Sebastian Reichel [not found] ` <20131219100840.GA923-SfvFxonMDyemK9LvCR3Hrw@public.gmane.org> 2013-12-19 13:56 ` Sebastian Reichel 2013-12-19 13:56 ` Sebastian Reichel 2013-12-19 16:42 ` Tony Lindgren 2013-12-19 16:42 ` Tony Lindgren 2013-12-19 17:00 ` Sebastian Reichel 2013-12-19 17:00 ` Sebastian Reichel 2013-12-19 18:34 ` Tony Lindgren 2013-12-19 18:34 ` 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=20131218215536.GA23674@earth.universe \ --to=sre@debian.org \ --cc=bcousson@baylibre.com \ --cc=devicetree@vger.kernel.org \ --cc=ijc+devicetree@hellion.org.uk \ --cc=linux-fbdev@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=pawel.moll@arm.com \ --cc=rob.herring@calxeda.com \ --cc=rob@landley.net \ --cc=swarren@wwwdotorg.org \ --cc=tomi.valkeinen@ti.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: 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.