dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema
Subsystems (4)
PATCH v3 1/1 dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].
[0] Documentation/devicetree/bindings/net/btusb.txt
--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml new file +79 -0
@@ -0,0 +1,79 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/marvell,sd8897-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell 8897/8997 (sd8897/sd8997) bluetooth devices (SDIO) + +maintainers: + - Ariel D'Alessandro <[email protected]> + +allOf: + - $ref: /schemas/net/bluetooth/bluetooth-controller.yaml# + +properties: + compatible: + enum: + - marvell,sd8897-bt + - marvell,sd8997-bt + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + marvell,cal-data: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: + Calibration data downloaded to the device during initialization. + maxItems: 28 + + marvell,wakeup-pin: + $ref: /schemas/types.yaml#/definitions/uint16 + description: + Wakeup pin number of the bluetooth chip. Used by firmware to wakeup host + system. + + marvell,wakeup-gap-ms: + $ref: /schemas/types.yaml#/definitions/uint16 + description: + Wakeup latency of the host platform. Required by the chip sleep feature. + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + + mmc { + vmmc-supply = <&wlan_en_reg>; + bus-width = <4>; + cap-power-off-card; + keep-power-in-suspend; + + #address-cells = <1>; + #size-cells = <0>; + + bluetooth@2 { + compatible = "marvell,sd8897-bt"; + reg = <2>; + interrupt-parent = <&pio>; + interrupts = <119 IRQ_TYPE_LEVEL_LOW>; + + marvell,cal-data = /bits/ 8 < + 0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02 + 0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00 + 0x00 0x00 0xf0 0x00>; + marvell,wakeup-pin = /bits/ 16 <0x0d>; + marvell,wakeup-gap-ms = /bits/ 16 <0x64>; + }; + }; + +...
Documentation/devicetree/bindings/net/btusb.txt +1 -1
@@ -14,7 +14,7 @@ Required properties: Also, vendors that use btusb may have device additional properties, e.g: -Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt +Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml Optional properties:
Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt deleted +0 -83
83 lines not on this page · raw message
Signature · 1 line
2.51.0
Quoted 8 lines · Ariel D'Alessandro
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txt
Quoted 9 lines
Signed-off-by Ariel D'Alessandro <[email protected]>--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
You'll probably have to resend this after rc1.
Luiz Augusto von Dentz
maintainerHi,
Quoted 21 lines · Rob Herring (Arm)
Quoted 8 lines · Ariel D'Alessandro
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txtQuoted 9 lines
Signed-off-by Ariel D'Alessandro <[email protected]>--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
Quoted 3 lines
Reviewed-by Rob Herring (Arm) <[email protected]>You'll probably have to resend this after rc1.
In that case I'd like to have a Fixes tag so I can remember to send it as rc1 is tagged.
Signature · 1 line
Luiz Augusto von Dentz
Rob Herring
maintainerQuoted 25 lines · Luiz Augusto von Dentz
Hi,
Quoted 21 lines · Rob Herring (Arm)
Quoted 17 lines · Ariel D'Alessandro
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txtSigned-off-by Ariel D'Alessandro <[email protected]>--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
Quoted 6 lines
Quoted 3 lines
Reviewed-by Rob Herring (Arm) <[email protected]>You'll probably have to resend this after rc1.
In that case I'd like to have a Fixes tag so I can remember to send it as rc1 is tagged.
A Fixes tag is not appropriate for a conversion to DT schema.
Rob
Luiz Augusto von Dentz
maintainerHi Rob,
Quoted 28 lines · Rob Herring
Quoted 25 lines · Luiz Augusto von Dentz
Hi,
Quoted 21 lines · Rob Herring (Arm)
Quoted 17 lines · Ariel D'Alessandro
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txtSigned-off-by Ariel D'Alessandro <[email protected]>--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Reviewed-by Rob Herring (Arm) <[email protected]>You'll probably have to resend this after rc1.
In that case I'd like to have a Fixes tag so I can remember to send it as rc1 is tagged.
A Fixes tag is not appropriate for a conversion to DT schema.
Ok, but then how do you justify merging it for an RC? Or I'm misunderstanding and that should just be merged to bluetooth-next and wait for the next merge window? In that case I can just merge it right away.
Quoted 1 line
Rob
Signature · 1 line
Luiz Augusto von Dentz
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Reviewed-by Rob Herring (Arm) <[email protected]>You'll probably have to resend this after rc1.
In that case I'd like to have a Fixes tag so I can remember to send it as rc1 is tagged.
Quoted 6 lines
Quoted 1 line
A Fixes tag is not appropriate for a conversion to DT schema.
Ok, but then how do you justify merging it for an RC? Or I'm misunderstanding and that should just be merged to bluetooth-next and wait for the next merge window? In that case I can just merge it right away.
Most subsystems don't accept new patches during the merge window because they will need to do a rebase when -rc1 is pushed. And rebasing of patches is frowned upon.
By requesting the developers to repost after -rc1 is out, and the subsystem tree has been updated to -rc1, the Maintainers avoids the rebase, and pushes the work to the developer to rebase and retest, leaving the Maintainers to do more useful work.
Andrew
Rob Herring
maintainerQuoted 34 lines · Luiz Augusto von Dentz
Hi Rob,
Quoted 30 lines · Rob Herring
Quoted 27 lines · Luiz Augusto von Dentz
Hi,
Quoted 23 lines · Rob Herring (Arm)
Quoted 8 lines · Ariel D'Alessandro
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txtQuoted 9 lines
Signed-off-by Ariel D'Alessandro <[email protected]>--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txtReviewed-by Rob Herring (Arm) <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
You'll probably have to resend this after rc1.
In that case I'd like to have a Fixes tag so I can remember to send it as rc1 is tagged.
A Fixes tag is not appropriate for a conversion to DT schema.
Ok, but then how do you justify merging it for an RC?
I don't.
Quoted 3 lines
Or I'm
misunderstanding and that should just be merged to bluetooth-next and wait for the next merge window?
Yes, this is 6.19 material.
Quoted 2 lines
In that case I can just merge it right
away.
That's up to you.
Rob
Rob Herring
maintainerQuoted 52 lines · Rob Herring
Quoted 34 lines · Luiz Augusto von Dentz
Hi Rob,
Quoted 30 lines · Rob Herring
Quoted 27 lines · Luiz Augusto von Dentz
Hi,
Quoted 23 lines · Rob Herring (Arm)
Quoted 8 lines · Ariel D'Alessandro
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txtQuoted 9 lines
Signed-off-by Ariel D'Alessandro <[email protected]>--- .../net/bluetooth/marvell,sd8897-bt.yaml | 79 ++++++++++++++++++ .../devicetree/bindings/net/btusb.txt | 2 +- .../bindings/net/marvell-bt-8xxx.txt | 83 ------------------- 3 files changed, 80 insertions(+), 84 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txtReviewed-by Rob Herring (Arm) <[email protected]>Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
You'll probably have to resend this after rc1.
In that case I'd like to have a Fixes tag so I can remember to send it as rc1 is tagged.
A Fixes tag is not appropriate for a conversion to DT schema.
Ok, but then how do you justify merging it for an RC?
I don't.
Quoted 3 lines
Or I'm
misunderstanding and that should just be merged to bluetooth-next and wait for the next merge window?
Quoted 6 lines
Yes, this is 6.19 material.
Quoted 2 lines
In that case I can just merge it right
away.That's up to you.
Luiz, Are you going to pick this up or do you want it resent?
Rob
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 9 lines · On Wed, 1 Oct 2025 15:33:20 -0300 you wrote:
Convert the existing text-based DT bindings for Marvell 8897/8997 (sd8897/sd8997) bluetooth devices controller to a DT schema.
While here, bindings for "usb1286,204e" (USB interface) are dropped from
the DT schema definition as these are currently documented in file [0].[0]
Documentation/devicetree/bindings/net/btusb.txt[...]
Here is the summary with links:
- [v3] dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema
https://git.kernel.org/bluetooth/bluetooth-next/c/f63037a3f252
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html