-
Pu
chevron_right
Purism and Linux 5.11
pubsub.do.nohost.me / Purism · Tuesday, 23 February, 2021 - 12:03 · 2 minutes
Following up on our report for Linux 5.9 and 5.10 , this summarizes the progress on mainline support for the Librem 5 phone and its development kit during the 5.11 development cycle.
Librem 5 and Devkit updates
In order to maintain support for the devkit and the phone, we continuously update the mainline default configuration:
Power management
The mainline solution to dynamically scale internal bus frequencies relies on the interconnect (and devfreq) framework. We found a small piece that has been missing for imx8mq:
Librem 5 LCD panel
The display panel driver saw some minor updates:
- dt-binding: display: Require two resets on mantix panel
- drm/panel: mantix: Fix panel reset
- drm/panel: mantix: Don’t dereference NULL mode
Librem 5 fuel gauge
With the experience with using the phone for the last couple of months, we could improve the battery fuel gauge driver a bit:
- power: supply: max17042_battery: Export charge termination current property
- power: supply: max17042_battery: Take r_sns value into account in charge_counter
- power: supply: max17042_battery: Improve accuracy of current_now and current_avg readings
- power: supply: max17042_battery: Fix current_avg,now hiding with no current sense
- power: supply: bq25890: Use the correct range for IILIM register
Librem 5 USB Type-C and PD controller
Our work to make sure we can properly charge the phone and use its Type-C feature like Displayport resulted in the following additions during this development period:
- usb: typec: tps6598x: Export some power supply properties
- usb: typec: tps6598x: Select USB_ROLE_SWITCH and REGMAP_I2C
Other additions and fixes
Equally important are the changes to a regulator device that allow one to turn off the GPU regulator, to the mxsfb display driver and to the etnaviv GPU driver. Read the commit messages for more details.
- regulator: bd718x7: Add enable times
- drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge
- drm/etnaviv: Add lockdep annotations for context lock
Code review
During these rounds, we contributed 6 Reviewed-by: or Tested-by: tags to patches by other authors. We would also like to thank everybody who reviewed our patches and helped us support the hardware in mainline Linux.
Sources
Have a look at our Linux tree to see what is currently being worked on and tested (or help if you feel like joining the fun).
Discover the Librem 5
Purism believes building the Librem 5 is just one step on the road to launching a digital rights movement, where we—the-people stand up for our digital rights, where we place the control of your data and your family’s data back where it belongs: in your own hands.
The post Purism and Linux 5.11 appeared first on Purism .