mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
27 lines
892 B
Diff
27 lines
892 B
Diff
From 6fac5d5ed6d023733ef7304afc88c8d89467a204 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 27 Nov 2023 12:16:04 +0000
|
|
Subject: [PATCH] ASoC: dwc: Permit sample rates up to 384kHz
|
|
|
|
The BCM2835 I2S block advertises clock rates up to 384kHz, and there's
|
|
no reason why RP1's DWC I2S block shouldn't do the same.
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/5748
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
sound/soc/dwc/dwc-i2s.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/sound/soc/dwc/dwc-i2s.c
|
|
+++ b/sound/soc/dwc/dwc-i2s.c
|
|
@@ -667,7 +667,7 @@ static int dw_configure_dai_by_dt(struct
|
|
if (WARN_ON(idx >= ARRAY_SIZE(bus_widths)))
|
|
return -EINVAL;
|
|
|
|
- ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_192000);
|
|
+ ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_384000);
|
|
if (ret < 0)
|
|
return ret;
|
|
|