linux-postmarketos-qcom-msm8974: battery support for oneplus-bacon (MR 2154)

BQ27541 is used as fuelgauge/charger on oneplus-bacon.

[ci:skip-build] Already built on CI
This commit is contained in:
Oleg `Kanedias` Chernovskiy 2021-05-06 19:40:04 +03:00 committed by Alexey Min
parent 8c3b2b519b
commit e07b778502
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448
2 changed files with 7 additions and 5 deletions

View file

@ -4,8 +4,8 @@ _config="config-$_flavor.$CARCH"
pkgname=linux-$_flavor
pkgver=5.11.10
pkgrel=0
_commit="901cb33cc2ea167dbb1de7032815ea65fd49d81f"
pkgrel=1
_commit="6596dc8d512c7c102077913c85cdec16d21c855b"
pkgdesc="Kernel close to mainline with extra patches for Qualcomm MSM8974 devices"
arch="armv7"
_carch="arm"
@ -53,5 +53,5 @@ package() {
"$pkgdir/usr/share/kernel/$_flavor/kernel.release"
}
sha512sums="27393de29fb1e08867f6572194625453a220cc0fb2d884c73da7f12ebef86912bf96ba1cac881639e44b6b3da9d3cbd44951488b2e019f5b0d597b284588f39f linux-postmarketos-901cb33cc2ea167dbb1de7032815ea65fd49d81f.tar.gz
19846a0d7c0e51de89bdfd517acaebc94a1478f0e7e1ff8d7666e7d9cc5a0dc5d7edf09fb413aeb37448aabe80b5457c6c07ece9f825c9507110b1588e7ce5a2 config-postmarketos-qcom-msm8974.armv7"
sha512sums="1a2f045860315b64b4983ac8c98e8befd27c1a82b109f12190f7dc70e7dc2584adbddbf982486d5b8db914e445a4fa015c747bf68881fd579d2690487fb795dc linux-postmarketos-$_commit.tar.gz
2e12bb87e4193acf99709630266c133f78ef5ab982f6ab313c5c0bbd0be400c05cb9c9279d302378f96c9e99c9adaf2e5fc52a0f252492937997d572524c76f5 config-postmarketos-qcom-msm8974.armv7"

View file

@ -2800,7 +2800,9 @@ CONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_MANAGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
CONFIG_BATTERY_BQ27XXX=m
CONFIG_BATTERY_BQ27XXX_I2C=m
# CONFIG_BATTERY_BQ27XXX_DT_UPDATES_NVM is not set
CONFIG_BATTERY_MAX17040=m
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set