This brings in necessary config options from the upstream defconfig to
enable devices such as Lenovo Thinkpad X13s to work out of the box.
Specifically CAMCC, DISPCC, GPUCC, and LPASSCC are brought in to provide
clocks to camera, display, gpu, and audio functions.
The pmic_glink and GPIO SBU mux provides the necessary dependencies for
display to show up.
Together with the Qualcomm battery manager, pmic_glink, provides battery
status.
The LPASS pinctrl and WSA883x drivers provides the missing pieces for
audio.
The QSEECOM and UEFI secapp, provides EFI variable access.
Lastly the SPMI SDAM driver provides persistent storage of RTC offset
from the read-only RTC found in the PMIC.
EDIT BY GRAYSKY: fixup config
Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Fix drop-ins for mkinitcpio by shipping ALL_config comment out
in inux.preset. With this line defined, *.conf placed in
/etc/mkinitcpio.conf.d/ are ignored in my testing.
Remove etc/mkinitcpio.d/${pkgbase}.preset from backup array
since having it there will cause breakage of mkinitcpio if
the user modified the preset. This is due to our hard-coding
the kernel version in the file. Closes#2029
Changed logic for gathering dtb list to just use a wildcard for boards
that we're interested in.
Changed generate_chromebook_its.sh logic to just take in scattered dtb
files.
Compressed all input files that go into the .its
Here are some comparisons:
none: 37M
lz4: 17M < chosen in this commit
lzma: ~10M but boots 1 second slower
Since it's compressed the .its now had to include external compatible
properties, used `fdtget .dtb / compatible`.