From: kettenis Date: Fri, 3 Feb 2023 14:48:57 +0000 (+0000) Subject: enable sncodec(4) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=616f8839ef8dc5bd01323a600c51ebca49c760b7;p=openbsd enable sncodec(4) --- diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC index f79a7944f82..e18d6c93584 100644 --- a/sys/arch/arm64/conf/GENERIC +++ b/sys/arch/arm64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.254 2023/01/24 21:48:04 jcs Exp $ +# $OpenBSD: GENERIC,v 1.255 2023/02/03 14:48:57 kettenis Exp $ # # GENERIC machine description file # @@ -555,6 +555,7 @@ pcfrtc* at iic? # PCF8523 RTC pcxrtc* at iic? # PCF8563 RTC pcyrtc* at iic? # PCF85063A/TP RTC rkpmic* at iic? # RK808 PMIC +sncodec* at iic? # TAS2764 audio codec sypwr* at iic? # SY8106A regulator tascodec* at iic? # TAS2770 audio codec tcpci* at iic? # USB Type-C controller diff --git a/sys/dev/fdt/files.fdt b/sys/dev/fdt/files.fdt index 45a680b86a8..f884754fd0c 100644 --- a/sys/dev/fdt/files.fdt +++ b/sys/dev/fdt/files.fdt @@ -1,4 +1,4 @@ -# $OpenBSD: files.fdt,v 1.175 2023/01/16 20:12:38 patrick Exp $ +# $OpenBSD: files.fdt,v 1.176 2023/02/03 14:48:57 kettenis Exp $ # # Config file and device description for machine-independent FDT code. # Included by ports that need it. @@ -627,6 +627,10 @@ device gpiorestart attach gpiorestart at fdt file dev/fdt/gpiorestart.c gpiorestart +device sncodec +attach sncodec at i2c +file dev/fdt/sncodec.c sncodec + device tascodec attach tascodec at i2c file dev/fdt/tascodec.c tascodec