Skip to content

Commit 6e56186

Browse files
gtrainaviciuspelwell
authored andcommitted
Adding Pisound Micro kernel module
Signed-off-by: Giedrius Trainavičius <giedrius@blokas.io>
1 parent 6504024 commit 6e56186

27 files changed

+7165
-2
lines changed

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ axis Axis Communications AB
5757
bananapi BIPAI KEJI LIMITED
5858
bhf Beckhoff Automation GmbH & Co. KG
5959
bitmain Bitmain Technologies
60+
blokas Vilniaus Blokas UAB
6061
blokaslabs Vilniaus Blokas UAB
6162
boe BOE Technology Group Co., Ltd.
6263
bosch Bosch Sensortec GmbH

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ patternProperties:
222222
description: Bitmain Technologies
223223
"^blaize,.*":
224224
description: Blaize, Inc.
225-
"^blokaslabs,.*":
225+
"^blokas(labs)?,.*":
226226
description: Vilniaus Blokas UAB
227227
"^blutek,.*":
228228
description: BluTek Power

sound/drivers/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,13 @@ config SND_PIMIDI
273273
To compile this driver as a module, choose M here: the module
274274
will be called snd-pimidi.
275275

276+
config SND_PISOUND_MICRO
277+
tristate "Pisound Micro driver"
278+
depends on SND_SEQUENCER && CRC8
279+
help
280+
Say Y here to include support for Blokas Pisound Micro.
281+
282+
To compile this driver as modules, choose M here: the modules
283+
will be called snd-soc-upisnd-ctrl and snd-soc-upisnd-codec.
284+
276285
endif # SND_DRIVERS

sound/drivers/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ obj-$(CONFIG_SND_MTS64) += snd-mts64.o
2727
obj-$(CONFIG_SND_PIMIDI) += snd-pimidi.o
2828
obj-$(CONFIG_SND_PORTMAN2X4) += snd-portman2x4.o
2929

30-
obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/ pcsp/
30+
obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/ pcsp/ upisnd/

sound/drivers/upisnd/Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Pisound Micro Linux kernel module.
2+
# Copyright (C) 2017-2025 Vilniaus Blokas UAB, https://blokas.io/
3+
#
4+
# This program is free software; you can redistribute it and/or
5+
# modify it under the terms of the GNU General Public License
6+
# as published by the Free Software Foundation; version 2 of the
7+
# License.
8+
#
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
#
14+
15+
-include $(shell pwd)/Makefile.dev
16+
17+
ifdef M
18+
-include $(M)/Makefile.dev
19+
endif
20+
21+
obj-$(CONFIG_SND_PISOUND_MICRO) := snd-soc-upisnd-ctrl.o snd-soc-upisnd-codec.o
22+
snd-soc-upisnd-ctrl-objs := upisnd_module.o upisnd_ctrl.o upisnd_comm.o upisnd_sound.o upisnd_midi.o upisnd_pins.o upisnd_gpio.o upisnd_sysfs.o upisnd_utils.o
23+
snd-soc-upisnd-codec-objs := upisnd_codec.o

0 commit comments

Comments
 (0)