Hi,

Am 24.04.2017 um 17:55 schrieb Michal Suchánek:
> On Mon, 24 Apr 2017 13:59:12 +0200
> Andreas Färber <[email protected]> wrote:
>> Am 24.04.2017 um 12:49 schrieb Eric Curtin:
>>> I recently bought a display that depends on the following driver:
>>>
>>> https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging/+/master/drivers/staging/fbtft/
>>>
>>> Could I get these drivers added to the kernel build for:
>>>
>>> http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/appliances/openSUSE-Leap42.2-ARM-XFCE-raspberrypi3.aarch64.raw.xz
>>>   
>>
>> Looking at kernel.opensuse.org, kernel-source.git master branch has
>> CONFIG_FB_TFT=m set in config/arm64/default, and so does stable
>> branch. So before we discuss making changes to Leap releases, please
>> verify that it works with a Kernel:stable (i.e., Tumbleweed) or even
>> better Kernel:HEAD kernel-default. The latter is where new and
>> experimental drivers get enabled. I need to know exactly which config
>> options you need, as I do not have any MIPI DSI displays myself -
>> there's several CONFIG_FB_TFT_* sub-options available.
>>
>> If it does work, the next question is, are all options available on
>> openSUSE-42.2 branch. If so, you'll need to open a Bugzilla ticket.
>> Ways to contribute yourself would be sending a patch to
>> opensuse-kernel list or doing a pull request on GitHub (may need a
>> ping on the list), but for stable branches a boo# is required.
>> Whether kernel maintainers agree to enable new options for 42.2 now
>> is out of our control; note that 42.3 is in the works.
>>
> 
> You will probably need a devicetree overlay for the display as well.
> These are typically not autoconfigured.

True. The Leap 42.2 version of u-boot-rpi3 did not enable support for
"fdt apply", but the Tumbleweed version does, and in Base:System:Staging
I have now enabled that feature for all boards and am waiting for anyone
to complain. :)

The Wiki links to overlay file examples in my GitHub repo for several
expansion boards as inspiration. For our dtbs I have updated packaging
branch, but it hasn't been merged into master yet, so I am testing a
branch; without -@ full target-path needs to be used, and phandle
references won't work beyond the local file, making pinctrl and gpio
usage somewhat hard. -> upstream discussion and patches

The older alternative of using individual "fdt" commands in U-Boot, that
could be used in Leap 42.2, is still documented for some expansion
boards, but may still have an endianness bug for phandles in Leap 42.2.

Cheers,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to