Skip to contentSkip to conversation

dt-bindings: net: bluetooth: update broadcom-bluetooth

PATCH Superseded Marcel Holtmann 2 participants 2 messages Nov 23, 2019 – Nov 25, 2019

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 3/4 dt-bindings: net: bluetooth: update broadcom-bluetooth

From: Abhishek Pandit-Subedi <[email protected]>

Add documentation for brcm,bt-pcm-int-params vendor specific configuration of the SCO PCM settings.

---
 .../devicetree/bindings/net/broadcom-bluetooth.txt         | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +7 -0
index f16b99571af1..065f2e117eca 100644
@@ -30,6 +30,12 @@ Optional properties:
    - "lpo": external low power 32.768 kHz clock
  - vbat-supply: phandle to regulator supply for VBAT
  - vddio-supply: phandle to regulator supply for VDDIO
+ - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
+    - sco-routing: PCM, Transport, Codec, I2S
+    - pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
+    - pcm-frame-type: short, long
+    - pcm-sync-mode: slave, master
+    - pcm-clock-mode: slave, master
 
 
 Example:
@@ -41,5 +47,6 @@ Example:
        bluetooth {
                compatible = "brcm,bcm43438-bt";
                max-speed = <921600>;
+               brcm,bt-pcm-int-params = [1 2 0 1 1];
        };
 };
Signature · 1 line
2.23.0
#1 lore raw
Quoted 17 lines · Marcel Holtmann

From: Abhishek Pandit-Subedi <[email protected]>

Add documentation for brcm,bt-pcm-int-params vendor specific configuration of the SCO PCM settings.

---
 .../devicetree/bindings/net/broadcom-bluetooth.txt         | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +0 -0
index f16b99571af1..065f2e117eca 100644

Documentation/devicetree/bindings/net/broadcom-bluetooth.txt Optional properties: · line 34

Quoted 5 lines
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +2 -0
@@ -30,6 +30,12 @@ Optional properties:
    - "lpo": external low power 32.768 kHz clock
  - vbat-supply: phandle to regulator supply for VBAT
  - vddio-supply: phandle to regulator supply for VDDIO
+ - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
+    - sco-routing: PCM, Transport, Codec, I2S

Consider, 0 = PCM to show 0-indexing.

Quoted 15 lines
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +5 -1
+    - pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
+    - pcm-frame-type: short, long
+    - pcm-sync-mode: slave, master
+    - pcm-clock-mode: slave, master
 
 
 Example:
@@ -41,5 +47,6 @@ Example:
        bluetooth {
                compatible = "brcm,bcm43438-bt";
                max-speed = <921600>;
+               brcm,bt-pcm-int-params = [1 2 0 1 1];
        };
 };
--
Quoted 2 lines

2.23.0

Looks mostly good.