summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-08-31 16:11:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-08-31 16:11:00 +0000
commit87499867f16cfe2a516072144adccf0a707dc86d (patch)
tree9b32e4082013cc0d95bf2ae922902f8990bafaa0 /sys/arch
parenta40e21c32c258fa36087de5a95867f4c8a76fc02 (diff)
Add qcgpio(4) and qciic(4), drivers for the Qualcomm GPIO and I2C controllers
found on the SC8280XP SoC. Together these drivers make the keyboard, trackpoint and touchpad work on the x13s. ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/conf/GENERIC14
-rw-r--r--sys/arch/arm64/conf/RAMDISK10
2 files changed, 22 insertions, 2 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC
index 7022efa803d..6f4d180c9a1 100644
--- a/sys/arch/arm64/conf/GENERIC
+++ b/sys/arch/arm64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.235 2022/08/31 14:47:22 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.236 2022/08/31 16:10:59 kettenis Exp $
#
# GENERIC machine description file
#
@@ -300,6 +300,11 @@ rkdwusb* at fdt?
dwmmc* at fdt?
sdmmc* at dwmmc?
+# Qualcomm SoCs
+qcgpio* at acpi?
+qciic* at acpi?
+iic* at qciic?
+
# Sunxi SoCs
sxipio* at fdt? early 1 # GPIO pins for leds & PHYs
gpio* at sxipio?
@@ -506,6 +511,13 @@ dsxrtc* at iic? # DS3231 RTC
escodec* at iic? # ES8316 audio codec
fanpwr* at iic? # FAN53555 regulator
fusbtc* at iic? # USB Type-C controller
+ihidev* at iic? # HID-over-I2C
+ikbd* at ihidev? # HID-over-I2C keyboard
+wskbd* at ikbd? mux 1
+ims* at ihidev? # HID-over-I2C mouse/trackpad
+wsmouse* at ims? mux 0
+imt* at ihidev? # HID-over-I2C multitouch trackpad
+wsmouse* at imt? mux 0
ipmi* at iic? # IPMI (SIIF)
islrtc* at iic? # ISL1208 RTC
maxrtc* at iic? # DS1307 RTC
diff --git a/sys/arch/arm64/conf/RAMDISK b/sys/arch/arm64/conf/RAMDISK
index 94977fdff7d..6995754684d 100644
--- a/sys/arch/arm64/conf/RAMDISK
+++ b/sys/arch/arm64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.174 2022/06/26 20:05:06 sthen Exp $
+# $OpenBSD: RAMDISK,v 1.175 2022/08/31 16:10:59 kettenis Exp $
machine arm64
maxusers 4
@@ -226,6 +226,11 @@ rkdwusb* at fdt?
dwmmc* at fdt?
sdmmc* at dwmmc?
+# Qualcomm SoCs
+qcgpio* at acpi?
+qciic* at acpi?
+iic* at qciic?
+
# Sunxi SoCs
sxipio* at fdt? early 1 # GPIO pins for leds & PHYs
gpio* at sxipio?
@@ -336,6 +341,9 @@ urlphy* at mii? # Realtek RTL8150L internal PHY
abcrtc* at iic? # Abracon x80x RTC
dsxrtc* at iic? # DS3231 RTC
fusbtc* at iic? # USB Type-C controller
+ihidev* at iic? # HID-over-I2C
+ikbd* at ihidev? # HID-over-I2C keyboard
+wskbd* at ikbd? mux 1
islrtc* at iic? # ISL1208 RTC
maxrtc* at iic? # DS1307 RTC
mcprtc* at iic? # MCP794XX RTC