Commit Graph
58 Commits
Author SHA1 Message Date
Sicelo A. Mhlongo 33cea5f892 linux-postmarketos-omap: Add accessibility kconfigs
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8471>
2026-05-09 18:29:24 +00:00
Sicelo A. Mhlongo 6b6306918c linux-postmarketos-omap: add CFI compatibility patch
omap4_finish_suspend is defined in arm assembly and is thus invisible to CFI,
causing errors when called directly as .finish_suspend. Wrap it in a function
which calls the assembly function.

The goal is to upstream the patch.

Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8471>
2026-05-09 18:29:24 +00:00
Sicelo A. Mhlongo 66f3535d7a linux-postmarketos-omap: add upstreamable hsi fix
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8471>
2026-05-09 18:29:21 +00:00
Sicelo A. Mhlongo 75141b778c linux-postmarketos-omap: upgrade to 7.0.5
In addition to the version upgrade:
 1. Drop DTS patch for volume keys. These will be handled via hwdb
 2. Drop CONFIG_FW_LOADER_USER_HELPER. It was required by the LED controller
    (lp5523) driver until Linux 6.19
 3. Restore TWL4030_PWRBUTTON, and make it built-in (in readiness for plymouth)
 4. Drop HSI patch. To be replaced with a better quality patch which will be
    upstreamed
 5. The remainder of changes are from kconfig migrate

 Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8471>
2026-05-09 18:29:17 +00:00
Mithil Bavishi 8a77fc7f0a linux-postmarketos-omap: upgrade to 6.19.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8301>
2026-04-07 23:23:49 +00:00
Mithil Bavishi 550ea91eee linux-postmarketos-omap: Rebase patch for 6.19
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8301>
2026-04-07 23:23:49 +00:00
Mithil Bavishi 887b1b6416 linux-postmarketos-omap: Remove N900 idle config patch
Upstreamed: https://lore.kernel.org/all/20250914192516.164629-4-jihed.chaibi.dev@gmail.com/
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8301>
2026-04-07 23:23:49 +00:00
Mithil Bavishi 0e6f192a80 linux-postmarketos-omap: Remove driver for twl6030-pwrbutton
Upstreamed: https://lore.kernel.org/all/20251106-twl6030-button-v4-0-fdf1aa6e1e9a@kernel.org/
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8301>
2026-04-07 23:23:49 +00:00
Scott C a204d8e335 linux-postmarketos-omap: barnesnoble-encore: Add pinctrls, update panel section, enable touchscreen, wifi, poweroff, and more
Get touchscreen going by using correct hex value as i2c address

Update display panel / DSS sections:
- Add comment to 'dss' section to explain need for a kernel configuration setting
  which in an ideal world could be set in devicetree
- Set rotation property, panel-timing values, and comment on panel section in mcspi4

Set pinctrl entries for the device:
- Entries initially based on older u-boot and kernel board files and code, then
  revised based on similar devices
- Add pinctrl values in &omap3_pmx_core and &omap3_pmx_core2 sections
- add pinctrl-names and pinctrl-0 entries for most devices

Start to get sound card / codec set up, although not working yet:
- Set correct codec compatible entry.
  Device uses 'ti,tlv320dac3100', not 'ti,tlv320aic310x'
- Attempt to set sys_clkout2 clock for audio codec, but this is not working yet
- Add 'simple-audio-card' section
- Add &mcbsp2 section
- Add two regulators

Enable/ revise wifi section (mmc3 -> wifi)

Add vaux2 regulator section, used by mmc3/wifi
- Other devices have more comprehensive entries for the vmmc-supply and
  vqmmc-supply values for wifi which should likely be used for this device as
  well, but not implemented yet.

Allow device to actually turn off by setting system-power-controller property on
twl4030
- Add power ("ti,twl4030-power-idle-osc-off") section in twl, this seems to set
  suspend/low power commands

Add/ update some items based on similar devices, such as:
- hfclk_26m - set on twl4030
- vpll2 - set regulator to always-on, supposedly for dss/dpi

Set some unused components as disabled: gpmc, mcspi1, mcspi2, mcspi3, uart3, uart4
- uart2 is disabled since bluetooth hasn't been tested. Device does not have
  antenna for bluetooth

Many smaller updates:
- add pclk-sample property to lvds-encoder
- Correct accelerometer mount-matrix
- Set max8903_charger as power-supply for max17042 fuel gauge
- corrected touchscreen-size-.. properties to match 'native' orientation
- Add manufacturer model number to model string
- Revise max8903_charger section/ comments

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8144>
2026-03-20 11:31:06 -04:00
Mithil Bavishi 61001d4233 device/community: Update maintainer details
Use correct name and email address for devices I maintain

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8180>
2026-03-15 10:43:05 +00:00
Scott C 39dc15dc4a linux-postmarketos-omap: panel-lg-ld070ws1: Mode, Orientation, Devicetree Updates, Many Cleanups
Many updates made throughout to bring this driver from the rough initial state
previously committed to something much more comprehensive and correct/ final.

Make various updates to allow setting the panel mode from the device tree:

- add functionality to be able to read a display mode / panel-timing from the
  device tree
  - wanted to add this to make explicit that nook color requires building
    kernel with a certain dss flag/value set also requiring
    that pixel clock to be <= functional clock / 4
- make bus_flags in device tree fail probe
- Allow setting panel orientation

Update spi init function to modernize bit handling and remove older redundant function

Facilitate apparent need for min FCK / PCK = 4 with Barnes & Noble Encore / Nook Color

- switch the default display mode to match the apparent
  need for min FCK / PCK = 4 with Barnes & Noble Encore / Nook Color
- tweak the modes array and remove the sizing since that is actually set elsewhere

Clean-Up All Over:

- Clean up logging to hopefully be close to kernel norms/ standards.
  - Driver now only generates logs when probe completes and when panel
    is powered off / on.
  - Some additional logging is generated when debug is enabled.
- Remove extra/unnecessary code from enable function that was added when
  initially developing
- Remove commented code and updated formatting
- Tweake mode names to not include @ sign
- remove some likely unnecessary bus flags

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7882>
2026-02-13 12:49:19 +00:00
Achill Gilgenast ecd710af96 */*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00
Jens Reidel 22d9d86b1d linux-postmarketos-omap: Build with LLVM
[ci:skip-kconfigcheck]: Bulk toolchain change

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7229>
2025-11-30 16:42:44 +00:00
Sicelo A. Mhlongo aa0879310e */: sicelo: drop and transfer maintainership
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6993>
2025-09-06 23:44:49 +02:00
Sicelo A. Mhlongo a0d53ce669 linux-postmarketos-omap: upgrade to 6.15
Some patches are now merged in 6.15. Drop.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6557
[ci:skip-build]: already built successfully in CI
2025-05-26 22:25:07 +02:00
Scott C b7bb10cbe4 linux-postmarketos-omap: add support for barnesnoble-encore
Add device tree and initial stab at panel driver for the new barnesnoble-encore device.

 Changes to be committed:
	new file:   device/community/linux-postmarketos-omap/0013-arm-dts-Add-barnesnoble-encore-support.patch
	new file:   device/community/linux-postmarketos-omap/0014-panel-Add-lg-ld070ws1-for-barnesnoble-encore.patch
	modified:   device/community/linux-postmarketos-omap/APKBUILD
	modified:   device/community/linux-postmarketos-omap/config-postmarketos-omap.armv7

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6486
[ci:skip-build]: already built successfully in CI
2025-05-12 19:15:15 +02:00
Sicelo A. Mhlongo 7721e2d8b5 linux-postmarketos-omap: upgrade to 6.13 (MR 6071)
- Add upstream patch enabling bq2415x_charger to report events to userspace
 - Add upstream patch to fix SPI bus regression [1]. For N900, it breaks the
   screen and WLAN

 [1] https://lore.kernel.org/linux-spi/Z5HXoq8XlduURWmw@tp440p.steeds.sam/T/#mbd2ca8fb3b214819623197325b37fce182dddce7
2025-01-30 15:35:18 -08:00
Luca Weiss 972d39afe9 device/*: comply to updated kconfig checks (MR 6087)
This was done in 7 steps:
* prepare by running pmbootstrap kconfig migrate
* fix up kconfig category:uefi
* fix up kconfig category:zram
* fix up kconfig category:default
* fix up kconfig category:default (NULL_TTY)
* fix up kconfig category:input
* bump pkgrels

[ci:skip-build]
[ci:ignore-count]
2025-01-29 17:38:06 +01:00
Anjandev Momi d506dbcb30 kconfigcheck: enable CRYPTO_MD4 for iwd (MR 5943)
see: #3386

[ci:skip-build]
2024-12-24 13:06:32 +01:00
Sicelo A. Mhlongo a092ed546a linux-postmarketos-omap: make AES builtin (MR 5925)
With AES built as a module, it is not possible to unlock the rootfs, at least
on the Nokia N900.

[ci:skip-build]: already built successfully in CI
2024-12-19 11:58:58 +02:00
Sicelo A. Mhlongo f7f49b3416 linux-postmarketos-omap: n900: bq27xxx: generate events in changes to status flags (MR 5857)
bq27xxx_battery has a check for status flags in order to detect changes
and report to userspace. However, the cached flags are updated before
checking for changes, hence no flag-related events are ever sent. This
patch fixes this behavior, and has been sent upstream.

[ci:skip-build]: already built successfully in CI
2024-11-28 20:51:10 +01:00
Oliver Smith 2602662717 linux-postmarketos-omap: enable ZRAM_BACKEND_ZSTD (MR 5846)
[ci:skip-build]: I've built it locally
2024-11-24 11:03:40 +01:00
Mithil Bavishi c3bac23fd3 linux-postmarketos-omap: upgrade to 6.12.1 (MR 5846)
[ci:skip-build]: already built successfully in CI
2024-11-24 10:52:36 +01:00
MightyM17 0bf67c68ec linux-postamrketos-omap: Reduce config options to reduce kernel size (MR 5716)
[ci:skip-build]: already built successfully in CI
2024-10-31 16:25:48 -07:00
Luca Weiss 3c55399f10 device/*: enable new options for community kconfig check (MR 5544)
[ci:skip-build]
2024-09-11 16:34:20 +02:00
Mighty dc430f8a21 linux-postmarketos-omap: upgrade to 6.10 (MR 5530) 2024-08-27 23:00:41 +09:00
Stefan Hansson 508ed4b4cf linux-postmarketos-omap: enable zstd firmware compression support (MR 5405)
See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5380

[ci:skip-build]: already built successfully in CI
2024-07-30 22:14:12 +02:00
Caleb Connolly 3ed9591e41 treewide: drop PMOS_NO_OUTPUT_REDIRECT (MR 5240)
This cmdline argument is now a no-op. Drop it everywhere and add a new
CI check to enforce this.

Adjust the deprecated "minimal" initramfs variant to use
pmos.debug-shell to enable logging instead. It doesn't /support/
dropping to a shell, so the variable takes on a different meaning. But
that's ok since it's at least more consistent.

[ci:ignore-count]
[ci:skip-vercheck]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: kernel builds are very likely to go through now
2024-06-23 14:48:20 +02:00
Mighty 65679fec40 linux-postmarketos-omap: upgrade to 6.9.3 (MR 5216)
* Use upstreamed power controller for espresso
  Related issue: https://gitlab.com/postmarketOS/pmaports/-/issues/2825

* Include patch for iio-rescale logic
  Related: https://lore.kernel.org/all/20220524075448.140238-1-linus.walleij@linaro.org/

* Enable CONFIG_NLS_ASCII
  Related: https://gitlab.com/postmarketOS/pmaports/-/issues/2874

* espresso-common: Remove twl6030 import and use upstreamed clk32kg for wlan

[ci:skip-build]: already built successfully in CI
Tweaked-By: Oliver Smith <ollieparanoid@postmarketos.org>
2024-06-10 19:56:01 +02:00
Sicelo A. Mhlongo 8d570a7847 linux-postmarketos-omap: upgrade to 6.9.0 (MR 5127)
[ci:skip-build]: already built successfully in CI
2024-05-14 09:06:29 +02:00
Clayton Craft c0b5f13420 {main,community}/linux-*: unset CONFIG_RT_GROUP_SCHED (MR 5088)
fixes #2652

[ci:skip-build] too many kernels to build, CI will never finish
[ci:ignore-count]
2024-05-06 10:24:48 -07:00
Sicelo A. Mhlongo 22dfc72571 linux-postmarketos-omap: upgrade to 6.8.0 (MR 4871)
[ci:skip-build]: already built successfully in CI
2024-03-11 14:29:23 -07:00
Sicelo A. Mhlongo c38e4643da linux-postmarketos-omap: fix version parsing logic (MR 4871)
Remove the need for an extra $_kernver variable when handling rc kernels
2024-03-11 14:29:23 -07:00
Sicelo A. Mhlongo cab1114ce2 linux-postmarketos-omap: fix n900 battery & charger (MR 4871)
Two changes are already upstream:
 * Battery: fix reporting of full state
     - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/power/supply?id=8fbb11162504f2de167a8ccd2d2c55a849d2c5ea
 * Charger: report online state
     - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/power/supply?h=next-20240301&id=9a451f1b028e116d037a93bf13eb8f8620994205

 * The other change (950mA charger current limit) will be included starting
   with 6.9-rc1. We previously had it in pmOS but it was dropped during the
   transition to a common OMAP kernel
    - https://lore.kernel.org/linux-devicetree/ZeBB1GYb31UAW886@tp440p.steeds.sam/T/#t
2024-03-11 14:29:23 -07:00
Luca Weiss 6c30cb42a4 linux-postmarketos-omap: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Sicelo A. Mhlongo aa289aa350 linux-postmarketos-omap: upgrade to 6.6.3 (MR 4578)
[ci:skip-build]: already built successfully in CI
2023-12-01 08:58:08 +01:00
Sicelo A. Mhlongo 6f3262d477 linux-postmarketos-omap: upgrade to 6.6.0 (MR 4521)
[ci:skip-build] already built successfully in CI
2023-10-30 20:39:09 -07:00
Sicelo A. Mhlongo 4b54fc7f83 linux-postmarketos-omap: add N900 battery capacity estimation (MR 4388)
Provide a rough battery capacity estimation for the bq27200 fuel gauge inside
Nokia N900. This is useful when the fuel gauge is out of calibration and a
learning cycle cannot take place due to broken USB/charging port on the device.

[ci:skip-build]: Already built successfully in CI
2023-09-11 19:38:37 +02:00
Mighty 2150879f9f linux-postmarketos-omap: upgrade to 6.5 (MR 4360)
[ci:skip-build]: already built successfully in CI
2023-09-05 09:18:54 +02:00
Sicelo A. Mhlongo 56ad1cd821 linux-postmarketos-omap: re-add twl for basic soc reset (MR 4321)
Fix shutdown regression introduced with 3e737241ba ("linux-postmarketos-omap:
N900: disable twl off idle features"). After that commit, shutdown never
completes.

[ci:skip-build]: Already built successfully in CI
2023-08-10 10:44:54 +02:00
Sicelo A. Mhlongo 3e737241ba linux-postmarketos-omap: N900: disable twl off idle features (MR 4317)
Disable twl pmic off-idle configuration for Nokia N900. An ugly patch to do
this was lost during the migration from linux-nokia-n900 to the shared omap
kernel.

Fixes #2161

[ci:skip-build]: Already built successfully in CI
2023-08-09 09:59:06 +02:00
pedja bffe5d95ac linux-postmarketos-omap: adjust Kconfig to fix nokia-modem (MR 4282)
Added CONFIG_GPIO_SYSFS, this is required for nokia-modem module
GPIO_SYSFS depends on EXPERT which in turn sets DEBUG*

[ci:skip-build]: already built successfully in CI
2023-08-01 08:28:41 +02:00
Mighty 62b4175130 linux-postmarketos-omap: Remove _pkgver variable (MR 4253)
[ci:skip-build]: Already built successfully in CI
2023-07-19 12:17:00 +02:00
Mighty 50e1216a1f linux-postmarketos-omap: upgrade to 6.4.3 (MR 4253)
Also remove CONFIG_NO_HZ
https://lore.kernel.org/lkml/20220825162034.5901-1-newbie13xd@gmail.com/T/
2023-07-19 12:16:57 +02:00
Sicelo A. Mhlongo 62d4d0c62a linux-postmarketos-omap: Fix volume keys on N900 (MR 4228)
The N900 volume keys were configured to produce F7 and F8 in Maemo Fremantle.
Set them to normal volume keys to restore expected behavior

[ci:skip-build]: Already built successfully in CI
2023-07-05 21:51:08 +02:00
Sicelo A. Mhlongo d58b8a182f linux-postmarketos-omap: tty and cmdline fixes, upgrade to 6.3.5 (MR 4152)
- make CONFIG_DRM_DISPLAY_CONNECTOR built-in. This resolves 'slow' tty
  initialization that breaks pbsplash on N900
- use CONFIG_CMDLINE_FROM_BOOTLOADER instead of CONFIG_CMDLINE_FORCE, to allow
  kernel to boot with u-boot provided parameters such as
  PMOS_FORCE_PARTITION_RESIZE
- upgrade to 6.3.5

[ci:skip-build]: already built successfully in CI
2023-06-06 18:08:37 +02:00
Mighty eeb6fb22eb linux-postmarketos-omap: upgrade to 6.3.4 (MR 4124)
[ci:skip-build]: already built successfully in CI
2023-05-27 21:44:54 +05:30
Luca Weiss 8ddef357b3 community/linux-postmarketos-omap: adjust kconfig for usb_gadgets (MR 4028) 2023-05-02 08:33:03 +02:00
Oliver Smith cac809dc31 linux-postmarketos-omap: update waydroid opts (MR 3901) 2023-03-19 15:52:44 -07:00
Sicelo A. Mhlongo 615d6f0ebe linux-postmarketos-omap: support nokia n900 (MR 3956)
- enable OMAP 3430 SoC features
- enable drivers for N900 peripherals

[ci:skip-build]: Already built successfully in CI
2023-03-16 23:11:46 +01:00