All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Filip Matijević" <filip.matijevic.pz@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>,
	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
Subject: Re: 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another
Date: Fri, 27 Oct 2017 14:58:16 +0200	[thread overview]
Message-ID: <65ad0b63-cfae-f7ac-f916-32fd0c7c540a@gmail.com> (raw)
In-Reply-To: <20171027101905.GA4287@amd>


> If someone knows how to fix the backlight, it would still be useful.

In panel-dsi-cm.c it's set to maximum with

dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 0xff);

Sebastian suggested the same but used 100 instead of 0xff, which might
be a bit too low. You can also add msleep(1000) after

dsicm_dcs_write_0(ddata, MIPI_DCS_SET_DISPLAY_ON);

to see if brightness gets overwritten, the whole display goes into sleep
mode, is turned off or similar somewhere down the line.

I'm still unable to make N9 panel to cooperate (despite having "the
right" clocks and able to send image to panel with
MIPI_DCS_WRITE_MEMORY_START/MIPI_DCS_READ_MEMORY_CONTINUE) so I hope
you'll have more luck than me!

Filip

WARNING: multiple messages have this Message-ID (diff)
From: filip.matijevic.pz@gmail.com (Filip Matijević)
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: Fri, 27 Oct 2017 14:58:16 +0200	[thread overview]
Message-ID: <65ad0b63-cfae-f7ac-f916-32fd0c7c540a@gmail.com> (raw)
In-Reply-To: <20171027101905.GA4287@amd>


> If someone knows how to fix the backlight, it would still be useful.

In panel-dsi-cm.c it's set to maximum with

dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 0xff);

Sebastian suggested the same but used 100 instead of 0xff, which might
be a bit too low. You can also add msleep(1000) after

dsicm_dcs_write_0(ddata, MIPI_DCS_SET_DISPLAY_ON);

to see if brightness gets overwritten, the whole display goes into sleep
mode, is turned off or similar somewhere down the line.

I'm still unable to make N9 panel to cooperate (despite having "the
right" clocks and able to send image to panel with
MIPI_DCS_WRITE_MEMORY_START/MIPI_DCS_READ_MEMORY_CONTINUE) so I hope
you'll have more luck than me!

Filip

  reply	other threads:[~2017-10-27 12:58 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ć [this message]
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
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=65ad0b63-cfae-f7ac-f916-32fd0c7c540a@gmail.com \
    --to=filip.matijevic.pz@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=abcloriens@gmail.com \
    --cc=clayton@craftyguy.net \
    --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=pavel@ucw.cz \
    --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: link
Be 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.