From: Pavel Machek <pavel@ucw.cz> To: Sebastian Reichel <sre@kernel.org> Cc: Tony Lindgren <tony@atomide.com>, pali.rohar@gmail.com, kernel list <linux-kernel@vger.kernel.org>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>, linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com, filip.matijevic.pz@gmail.com Subject: Re: 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another Date: Mon, 30 Oct 2017 08:51:35 +0100 [thread overview] Message-ID: <20171030075135.GB32041@amd> (raw) In-Reply-To: <20171026093115.4bc6ctxjx72ng7ld@earth> [-- Attachment #1: Type: text/plain, Size: 1601 bytes --] Hi! > > I got "uncompressing Linux 4.13" on serial console now, debug LEDs > > blinking, and if I use a flashlight, I see output on the screen, too. > > > > (What do I need to do to get the backlight working?) > > Glad you got it working :) For backlight you can add this > in drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c: > > add the following code at the end of dsicm_probe: > > ----------------------------------------------------------- > mutex_unlock(&ddata->lock); > mutex_lock(&ddata->lock); > ddata->in->ops.dsi->bus_lock(ddata->in); > r = dsicm_wake_up(ddata); > if (!r) > r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 100); > ddata->in->ops.dsi->bus_unlock(ddata->in); > mutex_unlock(&ddata->lock); > ----------------------------------------------------------- That one did not work; but after some help from Filip, this did: Best regards, Pavel diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index b5ea8e5..2cb74cc 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c @@ -385,7 +385,7 @@ static int dsicm_bl_update_status(struct backlight_device *dev) r = dsicm_wake_up(ddata); if (!r) - r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, level); + r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 0xff /* level */); in->ops.dsi->bus_unlock(in); } -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: pavel@ucw.cz (Pavel Machek) To: linux-arm-kernel@lists.infradead.org Subject: 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another Date: Mon, 30 Oct 2017 08:51:35 +0100 [thread overview] Message-ID: <20171030075135.GB32041@amd> (raw) In-Reply-To: <20171026093115.4bc6ctxjx72ng7ld@earth> Hi! > > I got "uncompressing Linux 4.13" on serial console now, debug LEDs > > blinking, and if I use a flashlight, I see output on the screen, too. > > > > (What do I need to do to get the backlight working?) > > Glad you got it working :) For backlight you can add this > in drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c: > > add the following code at the end of dsicm_probe: > > ----------------------------------------------------------- > mutex_unlock(&ddata->lock); > mutex_lock(&ddata->lock); > ddata->in->ops.dsi->bus_lock(ddata->in); > r = dsicm_wake_up(ddata); > if (!r) > r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 100); > ddata->in->ops.dsi->bus_unlock(ddata->in); > mutex_unlock(&ddata->lock); > ----------------------------------------------------------- That one did not work; but after some help from Filip, this did: Best regards, Pavel diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index b5ea8e5..2cb74cc 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c @@ -385,7 +385,7 @@ static int dsicm_bl_update_status(struct backlight_device *dev) r = dsicm_wake_up(ddata); if (!r) - r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, level); + r = dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 0xff /* level */); in->ops.dsi->bus_unlock(in); } -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171030/88422386/attachment.sig>
next prev parent reply other threads:[~2017-10-30 7:51 UTC|newest] Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-10-25 20:34 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another Pavel Machek 2017-10-25 20:34 ` Pavel Machek 2017-10-25 21:28 ` Tony Lindgren 2017-10-25 21:28 ` Tony Lindgren 2017-10-25 21:34 ` Aaro Koskinen 2017-10-25 21:34 ` Aaro Koskinen 2017-10-25 21:34 ` Aaro Koskinen 2017-10-26 7:16 ` Pavel Machek 2017-10-26 7:16 ` Pavel Machek 2017-10-26 7:34 ` Filip Matijević 2017-10-26 7:34 ` Filip Matijević 2017-10-26 8:49 ` Pavel Machek 2017-10-26 8:49 ` Pavel Machek 2017-10-26 9:13 ` Pavel Machek 2017-10-26 9:13 ` Pavel Machek 2017-10-26 9:31 ` Sebastian Reichel 2017-10-26 9:31 ` Sebastian Reichel 2017-10-26 9:57 ` Pavel Machek 2017-10-26 9:57 ` Pavel Machek 2017-10-26 12:01 ` Sebastian Reichel 2017-10-26 12:01 ` Sebastian Reichel 2017-10-26 16:28 ` Pavel Machek 2017-10-26 16:28 ` Pavel Machek 2017-10-27 10:19 ` Pavel Machek 2017-10-27 10:19 ` Pavel Machek 2017-10-27 12:58 ` Filip Matijević 2017-10-27 12:58 ` Filip Matijević 2017-10-30 19:43 ` n950: mmc fails to work, omap_hsmmc 480b4000.mmc: RX DMA channel request failed ? was " Pavel Machek 2017-10-30 19:43 ` Pavel Machek 2017-10-30 20:02 ` Pavel Machek 2017-10-30 20:02 ` Pavel Machek 2017-10-27 20:27 ` Backlight on Nokia N900 " Pavel Machek 2017-10-27 20:27 ` Pavel Machek 2017-10-27 20:27 ` Pavel Machek 2017-10-30 7:51 ` Pavel Machek [this message] 2017-10-30 7:51 ` Pavel Machek 2017-10-26 9:53 ` Pavel Machek 2017-10-26 9:53 ` Pavel Machek 2017-10-26 6:25 ` Filip Matijević 2017-10-26 6:25 ` Filip Matijević 2017-10-26 7:08 ` Pavel Machek 2017-10-26 7:08 ` Pavel Machek 2017-10-26 7:21 ` Pali Rohár 2017-10-26 7:21 ` Pali Rohár 2017-10-26 7:27 ` Pavel Machek 2017-10-26 7:27 ` Pavel Machek 2017-10-26 7:32 ` Pali Rohár 2017-10-26 7:32 ` Pali Rohár 2017-10-26 8:24 ` Pavel Machek 2017-10-26 8:24 ` Pavel Machek
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=20171030075135.GB32041@amd \ --to=pavel@ucw.cz \ --cc=aaro.koskinen@iki.fi \ --cc=abcloriens@gmail.com \ --cc=clayton@craftyguy.net \ --cc=filip.matijevic.pz@gmail.com \ --cc=ivo.g.dimitrov.75@gmail.com \ --cc=khilman@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=martijn@brixit.nl \ --cc=pali.rohar@gmail.com \ --cc=patrikbachan@gmail.com \ --cc=sakari.ailus@linux.intel.com \ --cc=serge@hallyn.com \ --cc=sre@kernel.org \ --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.