pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so it can easily be edited and the diff remains readable in gitlab * Added patch to build the new dtb * Added the ST LIS3MDL to the new dtb (Magnetometer) * Added the SensorTek STK3335 to the new dtb (Proximity and ambient light sensor) * InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope) * Added CSI bus and OV5640 camera Remaining issues: * The STK3310 module doesn't load automatically * Camera doesn't want to capture but does show up as /dev/video0 [ci:skip-build]: doesn't finish in time
This commit is contained in:
parent
5aa8866347
commit
9353bca73f
7 changed files with 708 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname="device-pine-dontbeevil"
|
||||
pkgdesc="PINE64 PinePhone Don't be evil devkit"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -50,7 +50,7 @@ nonfree_firmware() {
|
|||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="11e95b4fb8a0739559a03a21d6ab63a158538b8d6f0a97e324723b62f9c2de800fa4bd9bd0783584d723ab286a44886e745cfe620fd308cef72c5e558f18651e deviceinfo
|
||||
sha512sums="a13743f37c982d0ba4524c9e3a3b8a1bb95dceeefe3f9aac01c893128c70b5a7f3e501dd3995fcfe231c1fbb59857af79508a14181263c9ea53a5f1109097a4b deviceinfo
|
||||
ef7d21144b8c33f80968a6a089dcc6b568abd54f66f30d21d5befc10e51217484440aa8edb1065cd871ffba7bc599f44502bb6d240ee01f59dc92706ec6eabfd uboot-script.cmd
|
||||
c4c57d1627dd451213e1ef20d89de9266cd4edcc2d33a69aa9a1f13e16d9f9742036b69dc149fd910d7213f7525c41eb79576d4457bc85cc96eba0d986382d27 weston.ini
|
||||
f86ef35730b89bcc8160c08db7a7fcd0970adf60c0b77af68bac397de49c0d1783e6b8db1762380c9bf874aff2d030c6f44ecb75c803d69e79ede11376409369 xorg.conf"
|
||||
|
|
|
@ -6,7 +6,7 @@ deviceinfo_name="PINE64 PinePhone Don't be evil devkit"
|
|||
deviceinfo_manufacturer="PINE64"
|
||||
deviceinfo_codename="pine-dontbeevil"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_dtb="allwinner/sun50i-a64-sopine-baseboard"
|
||||
deviceinfo_dtb="allwinner/sun50i-a64-dontbeevil"
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ _config="config-${_flavor}.${CARCH}"
|
|||
pkgname=linux-${_flavor}
|
||||
|
||||
pkgver=5.0.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
|
||||
arch="aarch64"
|
||||
pkgdesc="Kernel fork with PinePhone Don't be evil patches"
|
||||
|
@ -17,6 +17,9 @@ _commit="a91169202e61c4876dde06a5548d76a385306d05"
|
|||
source="
|
||||
${pkgname}-${_commit}.tar.gz::https://gitlab.com/pine64-org/linux/-/archive/${_commit}/linux-${_commit}.tar.gz
|
||||
config-${_flavor}.aarch64
|
||||
dtb-add.patch
|
||||
stk3335.patch
|
||||
sun50i-a64-dontbeevil.dts
|
||||
"
|
||||
|
||||
subpackages=""
|
||||
|
@ -38,6 +41,9 @@ builddir="$srcdir/linux-${_commit}"
|
|||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cp "$srcdir"/sun50i-a64-dontbeevil.dts "$builddir"/arch/arm64/boot/dts/allwinner/
|
||||
|
||||
REPLACE_GCCH=0 \
|
||||
downstreamkernel_prepare "$srcdir" "$builddir" "$_config" "$_carch" "$HOSTCC"
|
||||
}
|
||||
|
@ -82,4 +88,7 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="4ae10aa5f141aa82610c65d0a5100bd86551a6323b67e4316ad43b2b5f1a6a1ff6f08e9747865b65381696385d4366f22eff5591ef8bc6fc988ac3978392dbc9 linux-postmarketos-allwinner-a91169202e61c4876dde06a5548d76a385306d05.tar.gz
|
||||
232204692e8c2daae12cb8e2f12acab6a07fc14cdd59e5d9e2fb7435d9a31f150f2d05ee97b403f9ff96e6d02d314fdeb059e4528fab782d4870dcb6f3733fdb config-postmarketos-allwinner.aarch64"
|
||||
788dc7a75875e884aff0b35db9ddf437ecbe58617eb7c937ba7381ed215188c950e0e95e7e4cd74142fff775bffcb3034b8bd6f3c38b540fe4b0f6e7b989a097 config-postmarketos-allwinner.aarch64
|
||||
3b5580adb3c8a4c88da5cd23d1cfdb7bfad9f544207c21d7d80b2086733460a627d9a49f4d67ac4b1d954f078af655580c7fa0b8d75980ea08df319ff3e757be dtb-add.patch
|
||||
1333d303e4259b4e5a9a30b0a9c7295453b61f37af8413c84fdbdb794da882ba4b5764211ab50aa0beecc580a38373b4473c3f7bffd0f22e02b186555a39be16 stk3335.patch
|
||||
f8e956b6044df719e2e3fe884624668418d9525565dc425004937bb7e06e3b86c90b5897c6910714844411032e088587760d9e751e3230b456f933e52aa94d49 sun50i-a64-dontbeevil.dts"
|
||||
|
|
|
@ -2287,7 +2287,7 @@ CONFIG_TOUCHSCREEN_GOODIX=y
|
|||
# CONFIG_TOUCHSCREEN_INEXIO is not set
|
||||
# CONFIG_TOUCHSCREEN_MK712 is not set
|
||||
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
|
||||
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
|
||||
CONFIG_TOUCHSCREEN_EDT_FT5X06=m
|
||||
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
|
||||
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
|
||||
# CONFIG_TOUCHSCREEN_PIXCIR is not set
|
||||
|
@ -3307,45 +3307,152 @@ CONFIG_VIDEOBUF2_VMALLOC=m
|
|||
#
|
||||
# Media ancillary drivers (tuners, sensors, i2c, spi, frontends)
|
||||
#
|
||||
CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
|
||||
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
||||
CONFIG_MEDIA_ATTACH=y
|
||||
CONFIG_VIDEO_IR_I2C=m
|
||||
# CONFIG_VIDEO_IR_I2C is not set
|
||||
|
||||
#
|
||||
# I2C Encoders, decoders, sensors and other helper chips
|
||||
#
|
||||
|
||||
#
|
||||
# Audio decoders, processors and mixers
|
||||
#
|
||||
# CONFIG_VIDEO_TVAUDIO is not set
|
||||
# CONFIG_VIDEO_TDA7432 is not set
|
||||
# CONFIG_VIDEO_TDA9840 is not set
|
||||
# CONFIG_VIDEO_TDA1997X is not set
|
||||
# CONFIG_VIDEO_TEA6415C is not set
|
||||
# CONFIG_VIDEO_TEA6420 is not set
|
||||
# CONFIG_VIDEO_MSP3400 is not set
|
||||
# CONFIG_VIDEO_CS3308 is not set
|
||||
# CONFIG_VIDEO_CS5345 is not set
|
||||
# CONFIG_VIDEO_CS53L32A is not set
|
||||
# CONFIG_VIDEO_TLV320AIC23B is not set
|
||||
# CONFIG_VIDEO_UDA1342 is not set
|
||||
# CONFIG_VIDEO_WM8775 is not set
|
||||
# CONFIG_VIDEO_WM8739 is not set
|
||||
# CONFIG_VIDEO_VP27SMPX is not set
|
||||
# CONFIG_VIDEO_SONY_BTF_MPX is not set
|
||||
|
||||
#
|
||||
# RDS decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6588 is not set
|
||||
|
||||
#
|
||||
# Video decoders
|
||||
#
|
||||
# CONFIG_VIDEO_ADV7180 is not set
|
||||
# CONFIG_VIDEO_ADV7183 is not set
|
||||
# CONFIG_VIDEO_ADV748X is not set
|
||||
# CONFIG_VIDEO_ADV7604 is not set
|
||||
# CONFIG_VIDEO_ADV7842 is not set
|
||||
# CONFIG_VIDEO_BT819 is not set
|
||||
# CONFIG_VIDEO_BT856 is not set
|
||||
# CONFIG_VIDEO_BT866 is not set
|
||||
# CONFIG_VIDEO_KS0127 is not set
|
||||
# CONFIG_VIDEO_ML86V7667 is not set
|
||||
# CONFIG_VIDEO_AD5820 is not set
|
||||
# CONFIG_VIDEO_AK7375 is not set
|
||||
# CONFIG_VIDEO_DW9714 is not set
|
||||
# CONFIG_VIDEO_DW9807_VCM is not set
|
||||
# CONFIG_VIDEO_SAA7110 is not set
|
||||
# CONFIG_VIDEO_SAA711X is not set
|
||||
# CONFIG_VIDEO_TC358743 is not set
|
||||
# CONFIG_VIDEO_TVP514X is not set
|
||||
# CONFIG_VIDEO_TVP5150 is not set
|
||||
# CONFIG_VIDEO_TVP7002 is not set
|
||||
# CONFIG_VIDEO_TW2804 is not set
|
||||
# CONFIG_VIDEO_TW9903 is not set
|
||||
# CONFIG_VIDEO_TW9906 is not set
|
||||
# CONFIG_VIDEO_TW9910 is not set
|
||||
# CONFIG_VIDEO_VPX3220 is not set
|
||||
|
||||
#
|
||||
# Video and audio decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA717X is not set
|
||||
# CONFIG_VIDEO_CX25840 is not set
|
||||
|
||||
#
|
||||
# Video encoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA7127 is not set
|
||||
# CONFIG_VIDEO_SAA7185 is not set
|
||||
# CONFIG_VIDEO_ADV7170 is not set
|
||||
# CONFIG_VIDEO_ADV7175 is not set
|
||||
# CONFIG_VIDEO_ADV7343 is not set
|
||||
# CONFIG_VIDEO_ADV7393 is not set
|
||||
# CONFIG_VIDEO_ADV7511 is not set
|
||||
# CONFIG_VIDEO_AD9389B is not set
|
||||
# CONFIG_VIDEO_AK881X is not set
|
||||
# CONFIG_VIDEO_THS8200 is not set
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
# CONFIG_VIDEO_IMX214 is not set
|
||||
# CONFIG_VIDEO_IMX258 is not set
|
||||
# CONFIG_VIDEO_IMX274 is not set
|
||||
# CONFIG_VIDEO_IMX319 is not set
|
||||
# CONFIG_VIDEO_IMX355 is not set
|
||||
# CONFIG_VIDEO_OV2640 is not set
|
||||
# CONFIG_VIDEO_OV2659 is not set
|
||||
# CONFIG_VIDEO_OV2680 is not set
|
||||
# CONFIG_VIDEO_OV2685 is not set
|
||||
CONFIG_VIDEO_OV5640=m
|
||||
# CONFIG_VIDEO_OV5645 is not set
|
||||
# CONFIG_VIDEO_OV5647 is not set
|
||||
# CONFIG_VIDEO_OV6650 is not set
|
||||
# CONFIG_VIDEO_OV5670 is not set
|
||||
# CONFIG_VIDEO_OV5695 is not set
|
||||
# CONFIG_VIDEO_OV7251 is not set
|
||||
# CONFIG_VIDEO_OV772X is not set
|
||||
# CONFIG_VIDEO_OV7640 is not set
|
||||
# CONFIG_VIDEO_OV7670 is not set
|
||||
# CONFIG_VIDEO_OV7740 is not set
|
||||
# CONFIG_VIDEO_OV9640 is not set
|
||||
# CONFIG_VIDEO_OV9650 is not set
|
||||
# CONFIG_VIDEO_OV13858 is not set
|
||||
# CONFIG_VIDEO_VS6624 is not set
|
||||
# CONFIG_VIDEO_MT9M032 is not set
|
||||
# CONFIG_VIDEO_MT9M111 is not set
|
||||
# CONFIG_VIDEO_MT9P031 is not set
|
||||
# CONFIG_VIDEO_MT9T001 is not set
|
||||
# CONFIG_VIDEO_MT9T112 is not set
|
||||
# CONFIG_VIDEO_MT9V011 is not set
|
||||
# CONFIG_VIDEO_MT9V032 is not set
|
||||
# CONFIG_VIDEO_MT9V111 is not set
|
||||
# CONFIG_VIDEO_SR030PC30 is not set
|
||||
# CONFIG_VIDEO_NOON010PC30 is not set
|
||||
# CONFIG_VIDEO_M5MOLS is not set
|
||||
# CONFIG_VIDEO_RJ54N1 is not set
|
||||
# CONFIG_VIDEO_S5K6AA is not set
|
||||
# CONFIG_VIDEO_S5K6A3 is not set
|
||||
# CONFIG_VIDEO_S5K4ECGX is not set
|
||||
# CONFIG_VIDEO_S5K5BAF is not set
|
||||
# CONFIG_VIDEO_SMIAPP is not set
|
||||
# CONFIG_VIDEO_ET8EK8 is not set
|
||||
# CONFIG_VIDEO_S5C73M3 is not set
|
||||
|
||||
#
|
||||
# Flash devices
|
||||
#
|
||||
# CONFIG_VIDEO_ADP1653 is not set
|
||||
# CONFIG_VIDEO_LM3560 is not set
|
||||
# CONFIG_VIDEO_LM3646 is not set
|
||||
|
||||
#
|
||||
# Video improvement chips
|
||||
#
|
||||
# CONFIG_VIDEO_UPD64031A is not set
|
||||
# CONFIG_VIDEO_UPD64083 is not set
|
||||
|
||||
#
|
||||
# Audio/Video compression chips
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6752HS is not set
|
||||
|
||||
#
|
||||
# SDR tuner chips
|
||||
|
@ -3354,74 +3461,231 @@ CONFIG_VIDEO_IR_I2C=m
|
|||
#
|
||||
# Miscellaneous helper chips
|
||||
#
|
||||
# CONFIG_VIDEO_THS7303 is not set
|
||||
# CONFIG_VIDEO_M52790 is not set
|
||||
# CONFIG_VIDEO_I2C is not set
|
||||
|
||||
#
|
||||
# Sensors used on soc_camera driver
|
||||
#
|
||||
|
||||
#
|
||||
# SPI helper chips
|
||||
#
|
||||
# CONFIG_VIDEO_GS1662 is not set
|
||||
|
||||
#
|
||||
# Media SPI Adapters
|
||||
#
|
||||
# CONFIG_CXD2880_SPI_DRV is not set
|
||||
CONFIG_MEDIA_TUNER=m
|
||||
|
||||
#
|
||||
# Customize TV tuners
|
||||
#
|
||||
CONFIG_MEDIA_TUNER_SIMPLE=m
|
||||
CONFIG_MEDIA_TUNER_TDA18250=m
|
||||
CONFIG_MEDIA_TUNER_TDA8290=m
|
||||
CONFIG_MEDIA_TUNER_TDA827X=m
|
||||
CONFIG_MEDIA_TUNER_TDA18271=m
|
||||
CONFIG_MEDIA_TUNER_TDA9887=m
|
||||
CONFIG_MEDIA_TUNER_TEA5761=m
|
||||
CONFIG_MEDIA_TUNER_TEA5767=m
|
||||
CONFIG_MEDIA_TUNER_MSI001=m
|
||||
CONFIG_MEDIA_TUNER_MT20XX=m
|
||||
CONFIG_MEDIA_TUNER_MT2060=m
|
||||
CONFIG_MEDIA_TUNER_MT2063=m
|
||||
CONFIG_MEDIA_TUNER_MT2266=m
|
||||
CONFIG_MEDIA_TUNER_MT2131=m
|
||||
CONFIG_MEDIA_TUNER_QT1010=m
|
||||
CONFIG_MEDIA_TUNER_XC2028=m
|
||||
CONFIG_MEDIA_TUNER_XC5000=m
|
||||
CONFIG_MEDIA_TUNER_XC4000=m
|
||||
CONFIG_MEDIA_TUNER_MXL5005S=m
|
||||
CONFIG_MEDIA_TUNER_MXL5007T=m
|
||||
CONFIG_MEDIA_TUNER_MC44S803=m
|
||||
CONFIG_MEDIA_TUNER_MAX2165=m
|
||||
CONFIG_MEDIA_TUNER_TDA18218=m
|
||||
CONFIG_MEDIA_TUNER_FC0011=m
|
||||
CONFIG_MEDIA_TUNER_FC0012=m
|
||||
CONFIG_MEDIA_TUNER_FC0013=m
|
||||
CONFIG_MEDIA_TUNER_TDA18212=m
|
||||
CONFIG_MEDIA_TUNER_E4000=m
|
||||
CONFIG_MEDIA_TUNER_FC2580=m
|
||||
CONFIG_MEDIA_TUNER_M88RS6000T=m
|
||||
CONFIG_MEDIA_TUNER_TUA9001=m
|
||||
CONFIG_MEDIA_TUNER_SI2157=m
|
||||
CONFIG_MEDIA_TUNER_IT913X=m
|
||||
CONFIG_MEDIA_TUNER_R820T=m
|
||||
CONFIG_MEDIA_TUNER_MXL301RF=m
|
||||
CONFIG_MEDIA_TUNER_QM1D1C0042=m
|
||||
CONFIG_MEDIA_TUNER_QM1D1B0004=m
|
||||
|
||||
#
|
||||
# Customise DVB Frontends
|
||||
#
|
||||
|
||||
#
|
||||
# Multistandard (satellite) frontends
|
||||
#
|
||||
CONFIG_DVB_STB0899=m
|
||||
CONFIG_DVB_STB6100=m
|
||||
CONFIG_DVB_STV090x=m
|
||||
CONFIG_DVB_STV0910=m
|
||||
CONFIG_DVB_STV6110x=m
|
||||
CONFIG_DVB_STV6111=m
|
||||
CONFIG_DVB_MXL5XX=m
|
||||
CONFIG_DVB_M88DS3103=m
|
||||
|
||||
#
|
||||
# Multistandard (cable + terrestrial) frontends
|
||||
#
|
||||
CONFIG_DVB_DRXK=m
|
||||
CONFIG_DVB_TDA18271C2DD=m
|
||||
CONFIG_DVB_SI2165=m
|
||||
CONFIG_DVB_MN88472=m
|
||||
CONFIG_DVB_MN88473=m
|
||||
|
||||
#
|
||||
# DVB-S (satellite) frontends
|
||||
#
|
||||
CONFIG_DVB_CX24110=m
|
||||
CONFIG_DVB_CX24123=m
|
||||
CONFIG_DVB_MT312=m
|
||||
CONFIG_DVB_ZL10036=m
|
||||
CONFIG_DVB_ZL10039=m
|
||||
CONFIG_DVB_S5H1420=m
|
||||
CONFIG_DVB_STV0288=m
|
||||
CONFIG_DVB_STB6000=m
|
||||
CONFIG_DVB_STV0299=m
|
||||
CONFIG_DVB_STV6110=m
|
||||
CONFIG_DVB_STV0900=m
|
||||
CONFIG_DVB_TDA8083=m
|
||||
CONFIG_DVB_TDA10086=m
|
||||
CONFIG_DVB_TDA8261=m
|
||||
CONFIG_DVB_VES1X93=m
|
||||
CONFIG_DVB_TUNER_ITD1000=m
|
||||
CONFIG_DVB_TUNER_CX24113=m
|
||||
CONFIG_DVB_TDA826X=m
|
||||
CONFIG_DVB_TUA6100=m
|
||||
CONFIG_DVB_CX24116=m
|
||||
CONFIG_DVB_CX24117=m
|
||||
CONFIG_DVB_CX24120=m
|
||||
CONFIG_DVB_SI21XX=m
|
||||
CONFIG_DVB_TS2020=m
|
||||
CONFIG_DVB_DS3000=m
|
||||
CONFIG_DVB_MB86A16=m
|
||||
CONFIG_DVB_TDA10071=m
|
||||
|
||||
#
|
||||
# DVB-T (terrestrial) frontends
|
||||
#
|
||||
CONFIG_DVB_SP8870=m
|
||||
CONFIG_DVB_SP887X=m
|
||||
CONFIG_DVB_CX22700=m
|
||||
CONFIG_DVB_CX22702=m
|
||||
CONFIG_DVB_S5H1432=m
|
||||
CONFIG_DVB_DRXD=m
|
||||
CONFIG_DVB_L64781=m
|
||||
CONFIG_DVB_TDA1004X=m
|
||||
CONFIG_DVB_NXT6000=m
|
||||
CONFIG_DVB_MT352=m
|
||||
CONFIG_DVB_ZL10353=m
|
||||
CONFIG_DVB_DIB3000MB=m
|
||||
CONFIG_DVB_DIB3000MC=m
|
||||
CONFIG_DVB_DIB7000M=m
|
||||
CONFIG_DVB_DIB7000P=m
|
||||
CONFIG_DVB_DIB9000=m
|
||||
CONFIG_DVB_TDA10048=m
|
||||
CONFIG_DVB_AF9013=m
|
||||
CONFIG_DVB_EC100=m
|
||||
CONFIG_DVB_STV0367=m
|
||||
CONFIG_DVB_CXD2820R=m
|
||||
CONFIG_DVB_CXD2841ER=m
|
||||
CONFIG_DVB_RTL2830=m
|
||||
CONFIG_DVB_RTL2832=m
|
||||
CONFIG_DVB_SI2168=m
|
||||
CONFIG_DVB_ZD1301_DEMOD=m
|
||||
CONFIG_DVB_CXD2880=m
|
||||
|
||||
#
|
||||
# DVB-C (cable) frontends
|
||||
#
|
||||
CONFIG_DVB_VES1820=m
|
||||
CONFIG_DVB_TDA10021=m
|
||||
CONFIG_DVB_TDA10023=m
|
||||
CONFIG_DVB_STV0297=m
|
||||
|
||||
#
|
||||
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
|
||||
#
|
||||
CONFIG_DVB_NXT200X=m
|
||||
CONFIG_DVB_OR51211=m
|
||||
CONFIG_DVB_OR51132=m
|
||||
CONFIG_DVB_BCM3510=m
|
||||
CONFIG_DVB_LGDT330X=m
|
||||
CONFIG_DVB_LGDT3305=m
|
||||
CONFIG_DVB_LGDT3306A=m
|
||||
CONFIG_DVB_LG2160=m
|
||||
CONFIG_DVB_S5H1409=m
|
||||
CONFIG_DVB_AU8522=m
|
||||
CONFIG_DVB_AU8522_DTV=m
|
||||
CONFIG_DVB_AU8522_V4L=m
|
||||
CONFIG_DVB_S5H1411=m
|
||||
|
||||
#
|
||||
# ISDB-T (terrestrial) frontends
|
||||
#
|
||||
CONFIG_DVB_S921=m
|
||||
CONFIG_DVB_DIB8000=m
|
||||
CONFIG_DVB_MB86A20S=m
|
||||
|
||||
#
|
||||
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
|
||||
#
|
||||
CONFIG_DVB_TC90522=m
|
||||
CONFIG_DVB_MN88443X=m
|
||||
|
||||
#
|
||||
# Digital terrestrial only tuners/PLL
|
||||
#
|
||||
CONFIG_DVB_PLL=m
|
||||
CONFIG_DVB_TUNER_DIB0070=m
|
||||
CONFIG_DVB_TUNER_DIB0090=m
|
||||
|
||||
#
|
||||
# SEC control devices for DVB-S
|
||||
#
|
||||
CONFIG_DVB_DRX39XYJ=m
|
||||
CONFIG_DVB_LNBH25=m
|
||||
CONFIG_DVB_LNBH29=m
|
||||
CONFIG_DVB_LNBP21=m
|
||||
CONFIG_DVB_LNBP22=m
|
||||
CONFIG_DVB_ISL6405=m
|
||||
CONFIG_DVB_ISL6421=m
|
||||
CONFIG_DVB_ISL6423=m
|
||||
CONFIG_DVB_A8293=m
|
||||
CONFIG_DVB_LGS8GL5=m
|
||||
CONFIG_DVB_LGS8GXX=m
|
||||
CONFIG_DVB_ATBM8830=m
|
||||
CONFIG_DVB_TDA665x=m
|
||||
CONFIG_DVB_IX2505V=m
|
||||
CONFIG_DVB_M88RS2000=m
|
||||
CONFIG_DVB_AF9033=m
|
||||
CONFIG_DVB_HORUS3A=m
|
||||
CONFIG_DVB_ASCOT2E=m
|
||||
CONFIG_DVB_HELENE=m
|
||||
|
||||
#
|
||||
# Common Interface (EN50221) controller drivers
|
||||
#
|
||||
CONFIG_DVB_CXD2099=m
|
||||
CONFIG_DVB_SP2=m
|
||||
|
||||
#
|
||||
# Tools to develop new frontends
|
||||
#
|
||||
# CONFIG_DVB_DUMMY_FE is not set
|
||||
|
||||
#
|
||||
# Graphics support
|
||||
|
@ -4858,6 +5122,9 @@ CONFIG_IIO_CROS_EC_SENSORS=m
|
|||
# SSP Sensor Common
|
||||
#
|
||||
# CONFIG_IIO_SSP_SENSORHUB is not set
|
||||
CONFIG_IIO_ST_SENSORS_I2C=m
|
||||
CONFIG_IIO_ST_SENSORS_SPI=m
|
||||
CONFIG_IIO_ST_SENSORS_CORE=m
|
||||
|
||||
#
|
||||
# Counters
|
||||
|
@ -4961,7 +5228,8 @@ CONFIG_IIO_CROS_EC_SENSORS=m
|
|||
# CONFIG_BMI160_I2C is not set
|
||||
# CONFIG_BMI160_SPI is not set
|
||||
# CONFIG_KMX61 is not set
|
||||
# CONFIG_INV_MPU6050_I2C is not set
|
||||
CONFIG_INV_MPU6050_IIO=m
|
||||
CONFIG_INV_MPU6050_I2C=m
|
||||
# CONFIG_INV_MPU6050_SPI is not set
|
||||
# CONFIG_IIO_ST_LSM6DSX is not set
|
||||
|
||||
|
@ -4993,7 +5261,7 @@ CONFIG_IIO_CROS_EC_LIGHT_PROX=m
|
|||
# CONFIG_PA12203001 is not set
|
||||
# CONFIG_SI1133 is not set
|
||||
# CONFIG_SI1145 is not set
|
||||
# CONFIG_STK3310 is not set
|
||||
CONFIG_STK3310=m
|
||||
# CONFIG_ST_UVIS25 is not set
|
||||
# CONFIG_TCS3414 is not set
|
||||
# CONFIG_TCS3472 is not set
|
||||
|
@ -5018,7 +5286,9 @@ CONFIG_IIO_CROS_EC_LIGHT_PROX=m
|
|||
# CONFIG_BMC150_MAGN_SPI is not set
|
||||
# CONFIG_MAG3110 is not set
|
||||
# CONFIG_MMC35240 is not set
|
||||
# CONFIG_IIO_ST_MAGN_3AXIS is not set
|
||||
CONFIG_IIO_ST_MAGN_3AXIS=m
|
||||
CONFIG_IIO_ST_MAGN_I2C_3AXIS=m
|
||||
CONFIG_IIO_ST_MAGN_SPI_3AXIS=m
|
||||
# CONFIG_SENSORS_HMC5843_I2C is not set
|
||||
# CONFIG_SENSORS_HMC5843_SPI is not set
|
||||
# CONFIG_SENSORS_RM3100_I2C is not set
|
||||
|
|
12
main/linux-postmarketos-allwinner/dtb-add.patch
Normal file
12
main/linux-postmarketos-allwinner/dtb-add.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
|
||||
index 0b0917111099..34f686f3b2a0 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/Makefile
|
||||
+++ b/arch/arm64/boot/dts/allwinner/Makefile
|
||||
@@ -7,6 +7,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-orangepi-win.dtb
|
||||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pine64-lts.dtb
|
||||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pine64-plus.dtb sun50i-a64-pine64.dtb
|
||||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinebook.dtb
|
||||
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-dontbeevil.dtb
|
||||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb
|
||||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb
|
||||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb
|
38
main/linux-postmarketos-allwinner/stk3335.patch
Normal file
38
main/linux-postmarketos-allwinner/stk3335.patch
Normal file
|
@ -0,0 +1,38 @@
|
|||
diff --git a/drivers/iio/light/stk3310.c b/drivers/iio/light/stk3310.c
|
||||
index 6e2a169da950..a25cc35f334e 100644
|
||||
--- a/drivers/iio/light/stk3310.c
|
||||
+++ b/drivers/iio/light/stk3310.c
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#define STK3310_CHIP_ID_VAL 0x13
|
||||
#define STK3311_CHIP_ID_VAL 0x1D
|
||||
+#define STK3335_CHIP_ID_VAL 0x51
|
||||
#define STK3310_PSINT_EN 0x01
|
||||
#define STK3310_PS_MAX_VAL 0xFFFF
|
||||
|
||||
@@ -454,7 +455,8 @@ static int stk3310_init(struct iio_dev *indio_dev)
|
||||
return ret;
|
||||
|
||||
if (chipid != STK3310_CHIP_ID_VAL &&
|
||||
- chipid != STK3311_CHIP_ID_VAL) {
|
||||
+ chipid != STK3311_CHIP_ID_VAL &&
|
||||
+ chipid != STK3335_CHIP_ID_VAL) {
|
||||
dev_err(&client->dev, "invalid chip id: 0x%x\n", chipid);
|
||||
return -ENODEV;
|
||||
}
|
||||
@@ -666,6 +668,7 @@ static SIMPLE_DEV_PM_OPS(stk3310_pm_ops, stk3310_suspend, stk3310_resume);
|
||||
static const struct i2c_device_id stk3310_i2c_id[] = {
|
||||
{"STK3310", 0},
|
||||
{"STK3311", 0},
|
||||
+ {"STK3335", 0},
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, stk3310_i2c_id);
|
||||
@@ -673,6 +676,7 @@ MODULE_DEVICE_TABLE(i2c, stk3310_i2c_id);
|
||||
static const struct acpi_device_id stk3310_acpi_id[] = {
|
||||
{"STK3310", 0},
|
||||
{"STK3311", 0},
|
||||
+ {"STK3335", 0},
|
||||
{}
|
||||
};
|
||||
|
368
main/linux-postmarketos-allwinner/sun50i-a64-dontbeevil.dts
Normal file
368
main/linux-postmarketos-allwinner/sun50i-a64-dontbeevil.dts
Normal file
|
@ -0,0 +1,368 @@
|
|||
/*
|
||||
* Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.xyz>
|
||||
*
|
||||
* Based on sun50i-a64-pine64.dts, which is:
|
||||
* Copyright (c) 2016 ARM Ltd.
|
||||
*
|
||||
* This file is dual-licensed: you can use it either under the terms
|
||||
* of the GPL or the X11 license, at your option. Note that this dual
|
||||
* licensing only applies to this file, and not this project as a
|
||||
* whole.
|
||||
*
|
||||
* a) This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* Or, alternatively,
|
||||
*
|
||||
* b) Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
* sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sun50i-a64-sopine.dtsi"
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
|
||||
/ {
|
||||
model = "PinePhone Don't be evil development kit";
|
||||
compatible = "pine64,sopine-baseboard", "pine64,sopine",
|
||||
"allwinner,sun50i-a64";
|
||||
|
||||
aliases {
|
||||
ethernet0 = &emac;
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
i2c-csi {
|
||||
compatible = "i2c-gpio";
|
||||
sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; /* CSI0-SDA: PE13 */
|
||||
scl-gpios = <&pio 4 12 GPIO_ACTIVE_HIGH>; /* CSI0-SCK: PE12 */
|
||||
i2c-gpio,delay-us = <5>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
ov5640: camera@3c {
|
||||
compatible = "ovti,ov5640";
|
||||
reg = <0x3c>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&csi_mclk_pin>;
|
||||
clocks = <&ccu CLK_CSI_MCLK>;
|
||||
clock-names = "xclk";
|
||||
|
||||
AVDD-supply = <®_dldo3>;
|
||||
DOVDD-supply = <®_aldo1>;
|
||||
DVDD-supply = <®_eldo3>;
|
||||
reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* CSI0-RST: PE16 */
|
||||
powerdown-gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* CSI0-PWDN: PE17 */
|
||||
|
||||
port {
|
||||
ov5640_ep: endpoint {
|
||||
remote-endpoint = <&csi_ep>;
|
||||
bus-width = <8>;
|
||||
hsync-active = <1>; /* Active high */
|
||||
vsync-active = <0>; /* Active low */
|
||||
data-active = <1>; /* Active high */
|
||||
pclk-sample = <1>; /* Rising */
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
hdmi-connector {
|
||||
compatible = "hdmi-connector";
|
||||
type = "a";
|
||||
|
||||
port {
|
||||
hdmi_con_in: endpoint {
|
||||
remote-endpoint = <&hdmi_out_con>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
reg_vcc1v8: vcc1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc1v8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&r_pwm 0 50000 PWM_POLARITY_INVERTED>;
|
||||
brightness-levels = <0 1 2 4 8 16 32 64 128 512>;
|
||||
default-brightness-level = <2>;
|
||||
enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* LCD-BL-EN: PH10 */
|
||||
};
|
||||
};
|
||||
|
||||
&ac_power_supply {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&battery_power_supply {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&codec {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&codec_analog {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&csi {
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
csi_ep: endpoint {
|
||||
remote-endpoint = <&ov5640_ep>;
|
||||
bus-width = <8>;
|
||||
hsync-active = <1>; /* Active high */
|
||||
vsync-active = <0>; /* Active low */
|
||||
data-active = <1>; /* Active high */
|
||||
pclk-sample = <1>; /* Rising */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dai {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&de {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dphy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
®_ldo_io0 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "vcc-ctp";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi {
|
||||
vcc-dsi-supply = <®_dldo1>; /* VCC3V3-DSI */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
panel@0 {
|
||||
compatible = "pinephone,jd9365da";
|
||||
reg = <0>;
|
||||
avdd-supply = <®_dc1sw>; /* VCC-LCD */
|
||||
dvdd-supply = <®_dldo2>; /* VCC-MIPI */
|
||||
cvdd-supply = <®_ldo_io0>; /* VCC-CTP: GPIO0-LDO */
|
||||
reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
|
||||
backlight = <&backlight>;
|
||||
};
|
||||
};
|
||||
|
||||
&r_pwm {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&r_pwm_pin>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&emac {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii_pins>;
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <&ext_rgmii_phy>;
|
||||
phy-supply = <®_dc1sw>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
hvcc-supply = <®_dldo1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&hdmi_out {
|
||||
hdmi_out_con: endpoint {
|
||||
remote-endpoint = <&hdmi_con_in>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
&i2c0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_pins>;
|
||||
status = "okay";
|
||||
|
||||
ft6236@38 {
|
||||
compatible = "focaltech,ft6236", "edt,edt-6236";
|
||||
reg = <0x38>;
|
||||
// pinctrl-names = "default";
|
||||
// pinctrl-0 = <&pinctrl_lcd_ctp_int>;
|
||||
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <7 4 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
touchscreen-size-x = <720>;
|
||||
touchscreen-size-y = <1440>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
status = "okay";
|
||||
|
||||
mpu6050@68 {
|
||||
compatible = "invensense,mpu6050";
|
||||
reg = <0x68>;
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <7 5 IRQ_TYPE_EDGE_FALLING>; /* PH5 */
|
||||
orientation = <0xff 0 0 0 1 0 0 0 0xff>;
|
||||
};
|
||||
|
||||
lis3mdl@1e {
|
||||
compatible = "st,lis3mdl-magn";
|
||||
reg = <0x1e>;
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <1 1 IRQ_TYPE_EDGE_FALLING>; /* PB1 */
|
||||
};
|
||||
|
||||
stk3335@47 {
|
||||
compatible = "sensortek,STK3335";
|
||||
reg = <0x47>;
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */
|
||||
};
|
||||
};
|
||||
|
||||
&mdio {
|
||||
ext_rgmii_phy: ethernet-phy@1 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc2_pins>;
|
||||
vmmc-supply = <®_dcdc1>;
|
||||
vqmmc-supply = <®_vcc1v8>;
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
cap-mmc-hw-reset;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
®_dc1sw {
|
||||
regulator-name = "vcc-lcd";
|
||||
};
|
||||
|
||||
®_dldo1 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "vcc-hdmi";
|
||||
};
|
||||
|
||||
®_dldo2 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "vcc-mipi";
|
||||
};
|
||||
|
||||
®_dldo4 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "vcc-wifi";
|
||||
};
|
||||
|
||||
&simplefb_hdmi {
|
||||
vcc-hdmi-supply = <®_dldo1>;
|
||||
};
|
||||
|
||||
&sound {
|
||||
simple-audio-card,aux-devs = <&codec_analog>;
|
||||
simple-audio-card,widgets = "Microphone", "Microphone Jack",
|
||||
"Headphone", "Headphone Jack";
|
||||
simple-audio-card,routing =
|
||||
"Left DAC", "AIF1 Slot 0 Left",
|
||||
"Right DAC", "AIF1 Slot 0 Right",
|
||||
"Headphone Jack", "HP",
|
||||
"AIF1 Slot 0 Left ADC", "Left ADC",
|
||||
"AIF1 Slot 0 Right ADC", "Right ADC",
|
||||
"MIC2", "Microphone Jack";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_pb_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_otg {
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbphy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tcon1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&hdmi_phy {
|
||||
status = "disabled";
|
||||
};
|
Loading…
Reference in a new issue