This driver is for BeaglePlay by BeagleBoard.org. It communicates with
BeaglePlay CC1352 co-processor which serves as Greybus SVC [1]. This
replaces the old setup with bcfserial, wpanusb and GBridge.
This driver also contains async HDLC code since communication with
CC1352 take place over UART using HDLC.
Since this is my first driver, I expect there to be some mistakes, so
feel free to give feedback and point out things I might have missed or
might not be aware of.
This driver has been created as a part of my Google Summer of Code 2023.
For more information, take a look at my blog [2]
[1]: https://git.beagleboard.org/gsoc/greybus/cc1352-firmware
[2]: https://programmershideaway.xyz/tags/gsoc23/
Ayush Singh (4):
Add beagleplaygreybus to devicetree
Add beagleplay greybus driver
Add HDLC helper for beagleplay driver
Allow building beagleplay greybus driver
.../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 +
drivers/staging/greybus/Kconfig | 9 +
drivers/staging/greybus/Makefile | 5 +
.../greybus/beagleplay-greybus-driver.c | 264 ++++++++++++++++++
.../greybus/beagleplay-greybus-driver.h | 28 ++
drivers/staging/greybus/hdlc.c | 229 +++++++++++++++
drivers/staging/greybus/hdlc.h | 137 +++++++++
7 files changed, 676 insertions(+)
create mode 100644 drivers/staging/greybus/beagleplay-greybus-driver.c
create mode 100644 drivers/staging/greybus/beagleplay-greybus-driver.h
create mode 100644 drivers/staging/greybus/hdlc.c
create mode 100644 drivers/staging/greybus/hdlc.h
--
2.41.0
Hello everyone. This is my first patch to linux kernel. Once I get the
hang of this process, I will be sending patches form GSoC 2023 greybus
driver. Feel free to tell me if I am doing something wrong here
Ayush Singh (1):
Remove extra newline
drivers/greybus/es2.c | 1 -
1 file changed, 1 deletion(-)
--
2.41.0
A few ALSA control API helpers like snd_ctl_rename(), snd_ctl_remove()
and snd_ctl_find_*() suppose the callers taking card->controls_rwsem.
But it's error-prone and fragile. This patch set tries to change
those API functions to take the card->controls>rwsem internally by
themselves, so that the drivers don't need to take care of lockings.
After applying this patch set, only a couple of places still touch
card->controls_rwsem (which are OK-ish as they need for traversing the
control linked list).
Takashi
===
Takashi Iwai (11):
ALSA: control: Take card->controls_rwsem in snd_ctl_rename()
staging: greybus: audio_helper: Use snd_ctl_remove_id()
ASoC: atmel: mchp-pdmc: Use snd_ctl_remove_id()
ALSA: control: Take controls_rwsem lock in snd_ctl_remove()
ALSA: control: Add lockdep warning to internal functions
ASoC: sigmadsp: Simplify with snd_ctl_activate_id()
staging: greybus: Avoid abusing controls_rwsem
ALSA: control: Make snd_ctl_find_id() argument const
ALSA: control: Introduce unlocked version for snd_ctl_find_*() helpers
ALSA: control: Take lock in snd_ctl_find_id() and snd_ctl_find_numid()
ALSA: emu10k1: Go back and simplify with snd_ctl_find_id()
drivers/staging/greybus/audio_codec.c | 18 ++--
drivers/staging/greybus/audio_codec.h | 1 +
drivers/staging/greybus/audio_helper.c | 20 +---
include/sound/control.h | 6 +-
sound/core/control.c | 126 ++++++++++++++++++++-----
sound/core/control_compat.c | 2 +-
sound/core/control_led.c | 2 +-
sound/core/jack.c | 2 -
sound/core/oss/mixer_oss.c | 10 +-
sound/core/pcm.c | 2 -
sound/isa/sb/emu8000.c | 2 -
sound/isa/sb/sb16_csp.c | 2 -
sound/pci/emu10k1/emufx.c | 5 -
sound/pci/hda/hda_codec.c | 2 -
sound/soc/atmel/mchp-pdmc.c | 12 +--
sound/soc/codecs/sigmadsp.c | 25 +----
sound/soc/soc-topology.c | 3 -
17 files changed, 129 insertions(+), 111 deletions(-)
--
2.35.3