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
2019-06-26 22:36:15 +02:00
2026-01-11 18:52:28 +01:00
2018-08-23 21:44:22 +02:00

postmarketOS aports repository

This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.

There are many more packages defined in the Alpine Linux aports on which these packages depend.

Helpful resources:

Git Hooks

You can find some useful git hooks in the .githooks directory. To use them, run the following command after cloning this repository:

git config --local core.hooksPath .githooks
S
Description
No description provided
Readme GPL-3.0
95 MiB
Languages
Shell 95.8%
Python 2.5%
C 1.2%
Batchfile 0.3%
Jinja 0.2%