On Thursday, November 23, 2017 3:29:20 PM CET Andreas Färber wrote:
Hi Daniel,
Let's move the discussion to opensuse-arm list.
Am 23.11.2017 um 12:07 schrieb Daniel Molkentin:
On 11/22/2017 06:31 PM, Andreas Färber wrote:
Am 22.11.2017 um 04:25 schrieb Dominique Leuenberger:
==== kernel-source ==== Version update (4.13.12 -> 4.14.0) Subpackages: kernel-default kernel-default-devel kernel-devel kernel-docs kernel-macros kernel-syms
- Update to 4.14-final.
On the aarch64 based Pine64 board it has been observed that the updated dtb-allwinner package now requires the axp20x-regulator module in the initrd for using the MMC driver, and its parent module axp20x-rsb does not get loaded automatically even if added to the initrd.
I would prefer if that would be fixed in the kernel by adding the proper dependencies. Is there any chance for that?
There's multiple issues at play here:
[...]
- axp20x-rsb driver does have MODULE_DEVICE_TABLE(of, ...), so it is
unclear to me why the DT -> module resolution for auto-loading is not working here.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/driv ers/mfd/axp20x-rsb.c?h=v4.14
It is almost certainly an upstream kernel issue, possibly in sunxi-rsb bus driver. Stefan has already reported this on #linux-sunxi.
The driver is missing a uevent trigger, without udev does not load any dependent drivers.
Just sent a patch upstream, you can try this package: https://build.opensuse.org/package/binaries/ home:StefanBruens:branches:devel:ARM:Factory:Contrib:Pine64/kernel-sunxi64? repository=standard
You still need to add "sunxi-rsb axp20x-regulator axp20x-rsb" to add_drivers.
Kind regards,
Stefan