linux-firmware.lore.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] brcm: Add nvram for the Predia Basic tablet
@ 2021-03-25 22:15 Hans de Goede
  2021-03-25 22:15 ` [PATCH 2/3] brcm: Add nvram for the Chuwi Hi8 (CWI509) tablet Hans de Goede
  2021-03-25 22:15 ` [PATCH 3/3] rtl_bt: Add rtl8723bs_config-OBDA0623.bin symlink Hans de Goede
  0 siblings, 2 replies; 4+ messages in thread
From: Hans de Goede @ 2021-03-25 22:15 UTC (permalink / raw)
  To: Josh Boyer, linux-firmware; +Cc: Hans de Goede

Add a NVRAM file for the brcmfmac43340 wifi/bit chip found on the
predia-basic tablet. This is based on copy of the existing
brcm/brcmfmac43340-sdio.meegopad-t08.txt NVRAM file with some the
calibration values adjusted for the Predia Basic tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 WHENCE                                   |  1 +
 brcm/brcmfmac43340-sdio.predia-basic.txt | 98 ++++++++++++++++++++++++
 2 files changed, 99 insertions(+)
 create mode 100644 brcm/brcmfmac43340-sdio.predia-basic.txt

diff --git a/WHENCE b/WHENCE
index 61fe385..ccef965 100644
--- a/WHENCE
+++ b/WHENCE
@@ -2747,6 +2747,7 @@ Licence: Redistributable. See LICENCE.cypress for details.
 File: "brcm/brcmfmac4330-sdio.Prowise-PT301.txt"
 File: "brcm/brcmfmac43340-sdio.meegopad-t08.txt"
 File: "brcm/brcmfmac43340-sdio.pov-tab-p1006w-data.txt"
+File: "brcm/brcmfmac43340-sdio.predia-basic.txt"
 File: "brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt"
 Link: brcm/brcmfmac43362-sdio.lemaker,bananapro.txt -> brcmfmac43362-sdio.cubietech,cubietruck.txt
 File: "brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt"
diff --git a/brcm/brcmfmac43340-sdio.predia-basic.txt b/brcm/brcmfmac43340-sdio.predia-basic.txt
new file mode 100644
index 0000000..c899475
--- /dev/null
+++ b/brcm/brcmfmac43340-sdio.predia-basic.txt
@@ -0,0 +1,98 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2018 Linaro Ltd
+# NVRAM config file for the Ampak AP6234 43340 WiFi/BT module found on the
+# Predia Basic tablet
+aa2g=1
+ag0=255
+boardflags=0x0090201
+boardnum=22
+boardrev=0x1203
+boardtype=0x0653
+btc_flags=71
+btc_params22=8000
+btc_params83=9000
+btc_params84=4500
+btc_params8=15000
+cck2gpo=0x2222 
+cckPwrOffset=3
+cckpapden=0
+ccode=X2
+dacrate2xen=1
+devid=0x4386
+dlocalidx5g=70
+dlorange_lowlimit=5
+gain=32
+gain_settle_dly_2g=4
+gain_settle_dly_5g=4
+iqcalidx5g=50
+iqlocalidx5g=40
+loflag=0
+lpbckmode5g=1 
+macaddr=00:90:4c:c5:12:38
+manfid=0x2d0
+maxp2ga0=76
+maxp5ga0=68
+maxp5gha0=68
+maxp5gla0=68
+mcs2gpo0=0x5555
+mcs2gpo1=0x5555
+mcs5ghpo0=0x7777
+mcs5ghpo1=0x7777
+mcs5glpo0=0x7777
+mcs5glpo1=0x7777
+mcs5gpo0=0x8888
+mcs5gpo1=0x8888
+nocrc=1
+noise_cal_high_gain_2g=73
+noise_cal_high_gain_5g=73
+noise_cal_nf_substract_val_2g=346
+noise_cal_nf_substract_val_5g=346
+noise_cal_po_2g=-1
+noise_cal_po_40_2g=-1
+noise_cal_po_40_5g=-1
+noise_cal_po_5g=-1
+ofdm2gpo=0x333333333
+ofdm5ghpo=0x66666666
+ofdm5glpo=0x66666666
+ofdm5gpo=0x66666666
+pa0b0=6957 default
+pa0b1=-808
+pa0b2=-178
+pa0itssit=0x20
+pa1b0=5372 
+pa1b1=-671
+pa1b2=-212
+pa1hib0=5620
+pa1hib1=-663
+pa1hib2=-179
+pa1lob0=5859
+pa1lob1=-693
+pa1lob2=-178
+papden2g=1
+papden5g=1
+prodid=0x0653
+rssisav2g=0x1
+rssisav5g=0x3
+rssismc2g=0x8
+rssismc5g=0x7
+rssismf2g=0xf
+rssismf5g=0xf
+rxpo5g=0
+sd_gpdc=0
+sd_gpout=4
+sd_gpval=1
+sromrev=3
+swctrlmap_2g=0x00080008,0x00100010,0x00080008,0x011010,0x11f
+swctrlmap_5g=0x00040004,0x00020002,0x00040004,0x011010,0x2fe
+triso2g=8
+triso5g=8
+tssifloor2g=69
+tssifloor5gh=74
+tssifloor5gl=77
+tssifloor5gm=77
+txalpfbyp=1
+txalpfpu=1
+txiqlopapu2g=0
+txiqlopapu5g=0
+vendid=0x14e4
+xtalfreq=37400
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/3] brcm: Add nvram for the Chuwi Hi8 (CWI509) tablet
  2021-03-25 22:15 [PATCH 1/3] brcm: Add nvram for the Predia Basic tablet Hans de Goede
@ 2021-03-25 22:15 ` Hans de Goede
  2021-03-25 22:15 ` [PATCH 3/3] rtl_bt: Add rtl8723bs_config-OBDA0623.bin symlink Hans de Goede
  1 sibling, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2021-03-25 22:15 UTC (permalink / raw)
  To: Josh Boyer, linux-firmware; +Cc: Hans de Goede

Add a NVRAM file for the brcmfmac43430a0 wifi/bit chip found on the
Chuw Hi8 (CWI509) tablet. This is based on copy of the existing
brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt NVRAM file with some
the calibration values adjusted for the Chuwi Hi8 tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 WHENCE                                   |  1 +
 brcm/brcmfmac43430a0-sdio.ilife-S806.txt | 47 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 brcm/brcmfmac43430a0-sdio.ilife-S806.txt

diff --git a/WHENCE b/WHENCE
index ccef965..4483297 100644
--- a/WHENCE
+++ b/WHENCE
@@ -2750,6 +2750,7 @@ File: "brcm/brcmfmac43340-sdio.pov-tab-p1006w-data.txt"
 File: "brcm/brcmfmac43340-sdio.predia-basic.txt"
 File: "brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt"
 Link: brcm/brcmfmac43362-sdio.lemaker,bananapro.txt -> brcmfmac43362-sdio.cubietech,cubietruck.txt
+File: "brcm/brcmfmac43430a0-sdio.ilife-S806.txt"
 File: "brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt"
 File: "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt"
 File: "brcm/brcmfmac43430-sdio.AP6212.txt"
diff --git a/brcm/brcmfmac43430a0-sdio.ilife-S806.txt b/brcm/brcmfmac43430a0-sdio.ilife-S806.txt
new file mode 100644
index 0000000..c0ec873
--- /dev/null
+++ b/brcm/brcmfmac43430a0-sdio.ilife-S806.txt
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2018 Linaro Ltd
+# NVRAM config file for the 43430a0 WiFi/BT chip found on the Chuwi Hi8 tablet
+aa2g=1
+ag0=255
+AvVmid_c0=0x0,0xc8
+boardflags=0x00404201
+# boardflags3 is not set
+boardnum=22
+boardrev=0x1101
+boardtype=0x0726
+# btc_params is not set
+cckbw202gpo=0
+cckpwroffset0=5
+ccode=X2
+# cldo_pwm is not set
+deadman_to=0xffffffff
+devid=0x43e2
+extpagain2g=0
+il0macaddr=00:90:4c:c5:12:38
+legofdmbw202gpo=0x66111111
+macaddr=00:90:4c:c5:12:38
+manfid=0x2d0
+maxp2ga0=90
+mcsbw202gpo=0x77711111
+muxenab=0x1
+nocrc=1
+ofdmdigfilttype=18
+ofdmdigfilttypebe=18
+pa0itssit=0x20
+pa2ga0=-168,7161,-820
+# pacalidx2g is not set
+# papdendidx is not set
+# papdepsoffset is not set
+papdmode=1
+# papdvalidtest is not set
+prodid=0x0726
+# propbw202gpois not set
+sd_gpdc=0
+sd_gpout=0
+sd_gpval=1
+# spurconfig is not set
+sromrev=11
+txpwrbckof=6
+vendid=0x14e4
+wl0id=0x431b
+xtalfreq=26000
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/3] rtl_bt: Add rtl8723bs_config-OBDA0623.bin symlink
  2021-03-25 22:15 [PATCH 1/3] brcm: Add nvram for the Predia Basic tablet Hans de Goede
  2021-03-25 22:15 ` [PATCH 2/3] brcm: Add nvram for the Chuwi Hi8 (CWI509) tablet Hans de Goede
@ 2021-03-25 22:15 ` Hans de Goede
  2021-04-03 12:30   ` Josh Boyer
  1 sibling, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2021-03-25 22:15 UTC (permalink / raw)
  To: Josh Boyer, linux-firmware; +Cc: Hans de Goede

Some x86/ACPI devices such as the Acer Aspire Switch 10E (SW3-016),
use an alternative ACPI hardware-id (HID) for the BT part of the
RTL8723BS chip.

Instead of using the standard OBDA8723 HID this device uses a HID
of OBDA0623. Despite using a different HID it does work fine with
the default config settings from the rtl8723bs_config-OBDA8723.bin
file. Add a symlink to that file, to fix BT not working on this
device due to a missing config file.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)

diff --git a/WHENCE b/WHENCE
index 4483297..4070103 100644
--- a/WHENCE
+++ b/WHENCE
@@ -3717,6 +3717,7 @@ File: rtl_bt/rtl8723a_fw.bin
 File: rtl_bt/rtl8723b_fw.bin
 File: rtl_bt/rtl8723bs_fw.bin
 File: rtl_bt/rtl8723bs_config-OBDA8723.bin
+Link: rtl_bt/rtl8723bs_config-OBDA0623.bin -> rtl8723bs_config-OBDA8723.bin
 File: rtl_bt/rtl8761a_fw.bin
 File: rtl_bt/rtl8812ae_fw.bin
 File: rtl_bt/rtl8821a_fw.bin
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 3/3] rtl_bt: Add rtl8723bs_config-OBDA0623.bin symlink
  2021-03-25 22:15 ` [PATCH 3/3] rtl_bt: Add rtl8723bs_config-OBDA0623.bin symlink Hans de Goede
@ 2021-04-03 12:30   ` Josh Boyer
  0 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2021-04-03 12:30 UTC (permalink / raw)
  To: Hans de Goede; +Cc: Linux Firmware

All 3 applied and pushed out.

josh

On Thu, Mar 25, 2021 at 6:16 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Some x86/ACPI devices such as the Acer Aspire Switch 10E (SW3-016),
> use an alternative ACPI hardware-id (HID) for the BT part of the
> RTL8723BS chip.
>
> Instead of using the standard OBDA8723 HID this device uses a HID
> of OBDA0623. Despite using a different HID it does work fine with
> the default config settings from the rtl8723bs_config-OBDA8723.bin
> file. Add a symlink to that file, to fix BT not working on this
> device due to a missing config file.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  WHENCE | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/WHENCE b/WHENCE
> index 4483297..4070103 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -3717,6 +3717,7 @@ File: rtl_bt/rtl8723a_fw.bin
>  File: rtl_bt/rtl8723b_fw.bin
>  File: rtl_bt/rtl8723bs_fw.bin
>  File: rtl_bt/rtl8723bs_config-OBDA8723.bin
> +Link: rtl_bt/rtl8723bs_config-OBDA0623.bin -> rtl8723bs_config-OBDA8723.bin
>  File: rtl_bt/rtl8761a_fw.bin
>  File: rtl_bt/rtl8812ae_fw.bin
>  File: rtl_bt/rtl8821a_fw.bin
> --
> 2.30.2
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-03 12:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 22:15 [PATCH 1/3] brcm: Add nvram for the Predia Basic tablet Hans de Goede
2021-03-25 22:15 ` [PATCH 2/3] brcm: Add nvram for the Chuwi Hi8 (CWI509) tablet Hans de Goede
2021-03-25 22:15 ` [PATCH 3/3] rtl_bt: Add rtl8723bs_config-OBDA0623.bin symlink Hans de Goede
2021-04-03 12:30   ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).