diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-08-21 10:54:34 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-08-21 19:07:07 +0200 |
commit | 8299d1f057439f94c6a4412e2e5c5082b82a30c9 (patch) | |
tree | 1bf678d61f11f7394493be464c7876e496f7faed /target/linux/bcm27xx/patches-5.10/950-0626-Fixes-an-onboard-clock-detection-problem-of-the-PRO-.patch | |
parent | 33b6885975ce376ff075362b7f0890326043111b (diff) | |
download | upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.tar.gz upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.tar.bz2 upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.zip |
bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0626-Fixes-an-onboard-clock-detection-problem-of-the-PRO-.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.10/950-0626-Fixes-an-onboard-clock-detection-problem-of-the-PRO-.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0626-Fixes-an-onboard-clock-detection-problem-of-the-PRO-.patch b/target/linux/bcm27xx/patches-5.10/950-0626-Fixes-an-onboard-clock-detection-problem-of-the-PRO-.patch new file mode 100644 index 0000000000..cde587d00d --- /dev/null +++ b/target/linux/bcm27xx/patches-5.10/950-0626-Fixes-an-onboard-clock-detection-problem-of-the-PRO-.patch @@ -0,0 +1,38 @@ +From d2a6770500f0f284850834ec08fbee5fd6aaee3e Mon Sep 17 00:00:00 2001 +From: Joerg Schambacher <joerg@i2audio.com> +Date: Thu, 10 Jun 2021 13:14:05 +0200 +Subject: [PATCH] Fixes an onboard clock detection problem of the PRO + versions + +Increasing the sleep time after clock selection to 3-4ms +allows the correct detection of all combinations of DAC+ Pro +and DAC+ADC Pro sound cards and the various PI revisions. + +Signed-off-by: Joerg Schambacher <joerg@hifiberry.com> +--- + sound/soc/bcm/hifiberry_dacplus.c | 2 +- + sound/soc/bcm/hifiberry_dacplusadcpro.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/sound/soc/bcm/hifiberry_dacplus.c ++++ b/sound/soc/bcm/hifiberry_dacplus.c +@@ -111,7 +111,7 @@ static void snd_rpi_hifiberry_dacplus_se + snd_soc_component_update_bits(component, PCM512x_GPIO_CONTROL_1, 0x24, 0x04); + break; + } +- usleep_range(2000, 2100); ++ usleep_range(3000, 4000); + } + + static void snd_rpi_hifiberry_dacplus_clk_gpio(struct snd_soc_component *component) +--- a/sound/soc/bcm/hifiberry_dacplusadcpro.c ++++ b/sound/soc/bcm/hifiberry_dacplusadcpro.c +@@ -190,7 +190,7 @@ static void snd_rpi_hifiberry_dacplusadc + PCM512x_GPIO_CONTROL_1, 0x24, 0x04); + break; + } +- usleep_range(2000, 2100); ++ usleep_range(3000, 4000); + } + + static void snd_rpi_hifiberry_dacplusadcpro_clk_gpio(struct snd_soc_component *component) |