Re: [PATCH 1/3] dt-bindings: net: realtek-bluetooth: Add RTL8822BS

From: Krzysztof Kozlowski
Date: Sun May 14 2023 - 05:53:16 EST


On 14/05/2023 09:47, Rudi Heitbaum wrote:
> Add compatible string for RTL8822BS for existing Realtek Bluetooth
> driver.
>
> Signed-off-by: Rudi Heitbaum <rudi@xxxxxxxxxxxx>
> ---
> .../devicetree/bindings/net/realtek-bluetooth.yaml | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
> index 8cc2b9924680..d2103931fc1c 100644
> --- a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
> +++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
> @@ -4,16 +4,16 @@
> $id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS Bluetooth
> +title: RTL8723BS/RTL8723CS/RTL8821CS/RTL8822BS/RTL8822CS Bluetooth
>
> maintainers:
> - Vasily Khoruzhick <anarsoul@xxxxxxxxx>
> - Alistair Francis <alistair@xxxxxxxxxxxxx>
>
> description:
> - RTL8723CS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part
> - is connected over SDIO, while BT is connected over serial. It speaks
> - H5 protocol with few extra commands to upload firmware and change
> + RTL8723CS/RTL8723CS/RTL8821CS/RTL8822BS/RTL8822CS is a WiFi + BT chip.
> + WiFi part is connected over SDIO, while BT is connected over serial. It
> + speaks H5 protocol with few extra commands to upload firmware and change
> module speed.
>
> properties:
> @@ -23,11 +23,14 @@ properties:
> - realtek,rtl8723bs-bt
> - realtek,rtl8723cs-bt
> - realtek,rtl8723ds-bt
> + - realtek,rtl8822bs-bt
> - realtek,rtl8822cs-bt
> - items:
> - enum:
> - realtek,rtl8821cs-bt
> - - const: realtek,rtl8822cs-bt
> + - const:
> + - realtek,rtl8822bs-bt
> + - realtek,rtl8822cs-bt

This won't work, wasn't tested and does not actually make sense.
Depending on your goal this could be added to the enum above... or
anything else.

Best regards,
Krzysztof