bringing rpi3 POE hat fan to the mainline kernel?

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

bringing rpi3 POE hat fan to the mainline kernel?

Postby greyltc » Thu Jan 10, 2019 4:08 pm

The fan on my rpi3's poe hat[1] doesn't magically work with the linux-aarch64 mainline kernel like it does with the linux-raspberrypi kernel. Anyone know what it might take to get working in mainline?

I've looked around and found this that might be helpful[2].

[1]: https://www.raspberrypi.org/products/poe-hat/
[2]: https://github.com/raspberrypi/linux/bl ... verlay.dts
greyltc
 
Posts: 6
Joined: Fri Mar 04, 2016 8:51 pm

Re: bringing rpi3 POE hat fan to the mainline kernel?

Postby lategoodbye » Thu Jan 10, 2019 9:35 pm

In case your interested in a "works for me" solution, take a look at this branch (last 2 patches):
https://github.com/lategoodbye/rpi-zero ... pi-poe-hat

Since mainline doesn't have full overlay support, you need to modify the DTS of your target board according to the example in the binding document.

Disclaimer: i don't own this hardware so i never tested it.
lategoodbye
 
Posts: 124
Joined: Sat Dec 29, 2018 1:24 am

Re: bringing rpi3 POE hat fan to the mainline kernel?

Postby summers » Fri Jan 11, 2019 11:41 am

Overlays can be done in mainline using $this->bbcode_second_pass_code('', 'fdt apply') in uboot. See https://archlinuxarm.org/forum/viewtopic.php?f=23&t=12635&start=10#p58062,

This needs uboot compiled with the right flags, but I'd expect that to be the case on boards which often have overlays ...
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests