# LPC kernel module on ls1028a

**URL:** <https://community.mnt.re/t/lpc-kernel-module-on-ls1028a/1923>\
**Category:** MNT Reform\
**Created:** [March 9, 2024, 5:05pm UTC](https://community.mnt.re/t/lpc-kernel-module-on-ls1028a/1923 "2024-03-09T17:05:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vimja](https://community.mnt.re/user_avatar/community.mnt.re/vimja/32/429_2.png) [@vimja](https://community.mnt.re/u/vimja)\
**Post date:** [March 9, 2024, 5:05pm UTC](https://community.mnt.re/t/lpc-kernel-module-on-ls1028a/1923/1 "2024-03-09T17:05:02Z")

</div>

I have recently received my LS1028A powered mnt reform and am very happy with it.

Using it for a bit, I’ve found that loading the [LPC kernel module](https://source.mnt.re/reform/reform-tools/-/tree/main/lpc) won’t do anything (`/sys/class/power_supply` remains emty).

Looking into it, I’ve found that the device tree for the i.MX8MQ contains [code to make this work](https://source.mnt.re/reform/reform-debian-packages/-/blob/main/linux/imx8mq-mnt-reform2-hdmi.dts?ref_type=heads#L793)

Looking at the [ls1028a device tree](https://source.mnt.re/reform/reform-debian-packages/-/blob/main/linux/fsl-ls1028a-mnt-reform2.dts?ref_type=heads) I can’t find an equivalent. (That might just be me though, I know very little about such things…)

Is that an oversight, or are there technical limitations dictating this?

---

<div class="post-metadata">

**Author:** ![josch](https://community.mnt.re/user_avatar/community.mnt.re/josch/32/1003_2.png) [@josch](https://community.mnt.re/u/josch)\
**Post date:** [March 9, 2024, 5:22pm UTC](https://community.mnt.re/t/lpc-kernel-module-on-ls1028a/1923/2 "2024-03-09T17:22:58Z")

</div>

Two days ago, @ehenter noticed the same thing and @minute wrote on IRC:

> hmm, looks like spi is still disabled in our ls1028a dts  
> will have to look at that next week  
> so far then you can only get the battery status via the oled display @ ls1028a

See [2024-03-07.log](https://mntre.com/reform-irc-logs/2024-03-07.log.html#t23:05:01)

---

<div class="post-metadata">

**Author:** ![vimja](https://community.mnt.re/user_avatar/community.mnt.re/vimja/32/429_2.png) [@vimja](https://community.mnt.re/u/vimja)\
**Post date:** [March 30, 2024, 8:24pm UTC](https://community.mnt.re/t/lpc-kernel-module-on-ls1028a/1923/3 "2024-03-30T20:24:40Z")

</div>

[CyReVolt](https://mastodon.social/@CyReVolt) helped me patch the device tree. I opened a merge request: [fsl-ls1028a-mnt-reform2.dts: add nodes for EC (!30) · Merge requests · Reform / reform-debian-packages · GitLab](https://source.mnt.re/reform/reform-debian-packages/-/merge_requests/30)
