Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #60462
| From | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#892786: linux,arm64: please enable modules needed for teres-i OSHW laptop |
| Date | 2018-03-13 15:10 +0100 |
| Message-ID | <vsSMN-6WK-1@gated-at.bofh.it> (permalink) |
| References | <vsD1o-4Ft-7@gated-at.bofh.it> <vsD1o-4Ft-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Control: tag 892786 + pending On Mon, Mar 12, 2018 at 10:06:37PM +0100, Harald Geyer wrote: > Please enable the following configuration symbols for arm64 builds: > > 1) Relevant to all A64 based systems and other SoCs using the AXP803 > PMIC: > at least: > CONFIG_MFD_AXP20X=y > CONFIG_MFD_AXP20X_RSB=y > CONFIG_REGULATOR_AXP20X=m > CONFIG_INPUT_AXP20X_PEK=m > > (note about builtin vs. module: This is the combination I tested. It should > be possible to have everything as modules so long as mkinitramfs puts > them into the initrd. In theory we also need the regulator module in the > initrd to power up the supply chain of the MMC hosts. In practice MMCs > are already powered up by the boot loader, but we need at least the mfd > part of the pmic driver, to get the kernel probing the devices. > > You might want to draw the line between builtin and module drivers in a > saner way. I can test your configuration, once you have made up your mind.) > > probably also (untested yet, but will be demanded in the future obviously): > CONFIG_PINCTRL_AXP209=m > CONFIG_CHARGER_AXP20X=m > CONFIG_BATTERY_AXP20X=m > CONFIG_AXP20X_POWER=m > CONFIG_AXP288_FUEL_GAUGE=m > CONFIG_AXP20X_ADC=m > CONFIG_AXP288_ADC=m > > 2) Relevant to A64 based systems, driver available since long and likely > going to be enabled by default in upstream devicetrees starting with 4.17: > CONFIG_SUNXI_WATCHDOG=m > > 3) Relevant at least to A64 based systems with backlight. Probably at the > moment only the teres-i laptop: > CONFIG_PWM_SUN4I=m > CONFIG_BACKLIGHT_PWM=m > > 4) Maybe not relevant at the moment, but might be a sane default to include > anyway: > CONFIG_LEDS_PWM=m I enabled them all as modules, see https://deb.li/RhEe. > BTW, as you might have inferred from my message, I'm a bit unsure how > you decide which drivers to enable. Do you have a script, that scan's the > device trees for required drivers (if so it clearly failed to find the > drivers listed in (1)), or do you rely solely on users speaking up when > something is missing? Any hints on how to efficiently report missing > drivers or upcoming upstream changes would be appreciated. I think we rely on people reporting problems. Reporting a bug as you did is fine, if you're lucky comming into the irc channel #debian-kernel and mentioning there what you need to have enabled might be good enough, too. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#892786: linux,arm64: please enable modules needed for teres-i OSHW laptop Harald Geyer <harald@ccbib.org> - 2018-03-12 22:20 +0100 Bug#892786: linux,arm64: please enable modules needed for teres-i OSHW laptop Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2018-03-13 15:10 +0100 Processed: Re: Bug#892786: linux,arm64: please enable modules needed for teres-i OSHW laptop "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-03-13 15:10 +0100
csiph-web