This is an overview of the amount of code in the Linux derived Android kernels compared to the Linux stable branch they are based on. Android SoC and device vendors carry many many drivers and changes which are of too low quality to be upstreamed to enable support for their devices.
The data in this table was generated on 2021-12-10T01:03:12.891687, ordering is random.
Kernel |
OnePlus 6 downstream
|
Branch/Tag |
lineage-18.1 |
Branched from |
v4.9.227 |
Total changes |
+5,655,241
-29,256
|
WiFi |
|
Clock system |
+77,515
-167
- drivers/clk
- drivers/clk/msm
- drivers/clk/msm/mdss
- drivers/clk/qcom
- drivers/clk/qcom/mdss
|
Storage |
+36,770
-2,822
- drivers/mmc
- drivers/mmc/card
- drivers/mmc/core
- drivers/mmc/host
- drivers/mtd/devices
- drivers/mtd
- drivers/mtd/nand
- drivers/mtd/ubi
- drivers/scsi/fcoe
- drivers/scsi/mpt3sas
- drivers/scsi
- drivers/scsi/ufs
|
Device trees |
+208,553
-215
- arch/arm/boot/dts/qcom
- arch/arm64/boot/dts/qcom
- drivers/of
|
Voltage and frequency scaling |
|
Low speed internal busses |
|
Other drivers |
|
Display |
+357,803
-557
- drivers/gpu/drm
- drivers/gpu/drm/bridge
- drivers/gpu/drm/msm
- drivers/gpu/drm/msm/adreno
- drivers/gpu/drm/msm/dp
- drivers/gpu/drm/msm/dsi-staging
- drivers/gpu/drm/msm/dsi
- drivers/gpu/drm/msm/edp
- drivers/gpu/drm/msm/hdmi
- drivers/gpu/drm/msm/mdp/mdp4
- drivers/gpu/drm/msm/mdp/mdp5
- drivers/gpu/drm/msm/mdp
- drivers/gpu/drm/msm/sde
- drivers/gpu/drm/ttm
- drivers/gpu/msm
- drivers/video
- drivers/video/adf
- drivers/video/backlight
- drivers/video/console
- drivers/video/fbdev
- drivers/video/fbdev/core
- drivers/video/fbdev/msm
- drivers/video/fbdev/msm/msm_dba
|
Media/Camera |
|
Network |
+7,603
-31
- drivers/net
- drivers/net/can/spi
- drivers/net/phy
- drivers/net/ppp
- drivers/net/usb
|
Sensors |
+17,380
-1
- drivers/iio
- drivers/iio/adc
- drivers/iio/imu
- drivers/iio/imu/inv_icm20602
- drivers/iio/imu/inv_mpu
- drivers/iio/imu/inv_mpu/iam20680
- drivers/iio/imu/inv_mpu/inv_test
- drivers/iio/imu/st_asm330lhh
|
Kernel ARM core |
|
NFC |
+4,051
-5
- drivers/nfc
- drivers/nfc/fdp
- drivers/nfc/nxp/ese
- drivers/nfc/nxp/nfc
- drivers/nfc/st21nfca
|
PCI |
+6,909
-2
- drivers/pci
- drivers/pci/host
- drivers/pci/pcie
|
USB |
+61,472
-2,590
- drivers/usb
- drivers/usb/core
- drivers/usb/dwc3
- drivers/usb/gadget
- drivers/usb/gadget/function
- drivers/usb/gadget/legacy
- drivers/usb/gadget/udc
- drivers/usb/host
- drivers/usb/misc
- drivers/usb/mon
- drivers/usb/pd
- drivers/usb/phy
- drivers/usb/serial
|
Bluetooth |
+2,610
-19
- drivers/bluetooth
- net/bluetooth
|
Power control |
+145,626
-82
- drivers/power
- drivers/power/qcom
- drivers/power/reset
- drivers/power/supply
- drivers/power/supply/qcom
- drivers/regulator
|
Core systems |
+156,455
-134
- drivers/bus
- drivers/bus/mhi/controllers
- drivers/bus/mhi/core
- drivers/bus/mhi/devices
- drivers/mailbox
- drivers/pinctrl
- drivers/pinctrl/qcom
- drivers/soc/qcom
- drivers/soc/qcom/memshare
- drivers/soc/qcom/msm_bus
- drivers/soc/qcom/qdsp6v2
- drivers/soc/qcom/wcnss
|
Core drivers |
+860
-140
- drivers/base
- drivers/base/power
- drivers/base/power/opp
- drivers/base/regmap
|
Unknown |
|
Input |
+234,972
-8
- drivers/input
- drivers/input/keyboard
- drivers/input/misc
- drivers/input/misc/vl53l0x/inc
- drivers/input/misc/vl53l0x/src
- drivers/input/misc/vl53l0x
- drivers/input/sensors/bmi160
- drivers/input/sensors/smi130
- drivers/input/touchscreen
- drivers/input/touchscreen/cyttsp5
- drivers/input/touchscreen/ektf3xxx
- drivers/input/touchscreen/focaltech_touch
- drivers/input/touchscreen/focaltech_touch/focaltech_flash
- drivers/input/touchscreen/gt9xx_v2.8
- drivers/input/touchscreen/hxchipset
- drivers/input/touchscreen/raydium_wt030
- drivers/input/touchscreen/synaptics_dsx
- drivers/input/touchscreen/synaptics_dsx_2.6
|
CPU clockspeed control |
|
Thermal management |
+13,357
-401
- drivers/thermal
- drivers/thermal/qcom
|
Audio |
+334,865
-352
- sound/core
- sound/pci
- sound/soc
- sound/soc/codecs
- sound/usb
- techpack/audio
- techpack/audio/asoc/codecs
- techpack/audio/asoc/codecs/fsa4840
- techpack/audio/asoc/codecs/max
- techpack/audio/asoc/codecs/msm_sdw
- techpack/audio/asoc/codecs/sdm660_cdc
- techpack/audio/asoc/codecs/tfa9874
- techpack/audio/asoc/codecs/wcd934x
- techpack/audio/asoc
- techpack/audio/config
- techpack/audio/dsp
- techpack/audio/dsp/codecs
- techpack/audio/include/asoc
- techpack/audio/include/dsp
- techpack/audio/include/ipc
- techpack/audio/include/soc
- techpack/audio/include/uapi
- techpack/audio/include/uapi/linux
- techpack/audio/include/uapi/sound
- techpack/audio/ipc
- techpack/audio/soc
- techpack/stub/include/uapi
- techpack/stub
|
Realtime clock |
|