Skip to content

Add hy28b 2017 model device tree overlay - #2721

Merged
pelwell merged 2 commits into
raspberrypi:rpi-4.14.yfrom
warlo:hy28b-2017-overlay
Oct 16, 2018
Merged

pelwell merged 2 commits into
raspberrypi:rpi-4.14.yfrom
warlo:hy28b-2017-overlay

Conversation

@warlo

@warlo warlo commented Oct 16, 2018

Copy link
Copy Markdown

The HY28B is shipped with a newer ILI9325 D chip, which uses another initialisation code as provided here.

I added a new dt-overlay which seemingly works – I do atleast get text on the screen using
dtoverlay=hy28b-2017,rotate=90 in boot/config.txt after building it according to the instructions from fbtft here.

@pelwell

pelwell commented Oct 16, 2018

Copy link
Copy Markdown
Contributor

Every overlay requires an entry in the README (which you can largely copy from the original hy28b) and a line in the Makefile, without which it won't be built. You should probably update the comments in the source file as well.

It would be nice if you had done a bit more testing, but as this device is currently unsupported I can live with a best-guess first attempt.

@warlo

warlo commented Oct 16, 2018

Copy link
Copy Markdown
Author

Right, I have done some changes now!

Maybe I was a bit vague, I have built (outside of the kernel) and verified that the overlay works using the instructions from the fbtft archive. Kind of felt that more excessive testing wasn't critical, since this is only initialisation changes. If the pre-2017 hy28b overlay works – this overlay should work as well. 🙂

Let me know if there is anything else

@pelwell

pelwell commented Oct 16, 2018

Copy link
Copy Markdown
Contributor

That looks good. Finally, do you have a name and email address for the Signed-off-by: line? I can apply it in the merge provided I know what it is. For example, mine would be:

Signed-off-by: Phil Elwell <phil@raspberrypi.org>

@warlo

warlo commented Oct 16, 2018

Copy link
Copy Markdown
Author
Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>

@pelwell
pelwell merged commit 7c063ed into raspberrypi:rpi-4.14.y Oct 16, 2018
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Oct 19, 2018
kernel: Add hy28b 2017 model device tree overlay
See: raspberrypi/linux#2721
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Oct 19, 2018
kernel: Add hy28b 2017 model device tree overlay
See: raspberrypi/linux#2721
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
pelwell pushed a commit to pelwell/linux that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
pelwell pushed a commit that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 13, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 15, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 19, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 21, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 23, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 28, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Nov 28, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 4, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 4, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 6, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 10, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 10, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 14, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 17, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 17, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 21, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Dec 24, 2018
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Jan 1, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Jan 9, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Jan 14, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Jan 22, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Jan 23, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Feb 4, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Feb 12, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Feb 18, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Feb 24, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Mar 6, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Mar 12, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Mar 15, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Mar 21, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Apr 2, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Apr 8, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
Gadgetoid pushed a commit to Gadgetoid/linux that referenced this pull request Apr 10, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Apr 23, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Apr 30, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request Apr 30, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request May 7, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
popcornmix pushed a commit that referenced this pull request May 13, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
TiejunChina pushed a commit that referenced this pull request Jun 19, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
TiejunChina pushed a commit that referenced this pull request Jul 23, 2019
The 2017 version of the hy28b display requires a different
initialisation sequence.

Signed-off-by: Hans-Wilhelm Warlo <hw@warlo.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants