Re: [PATCH v2 2/3] dt-bindings: net: bluetooth: Add NXP bluetooth support

From: Rob Herring
Date: Mon Jan 30 2023 - 20:52:42 EST


On Mon, Jan 30, 2023 at 11:35:03PM +0530, Neeraj Sanjay Kale wrote:
> Add binding document for generic and legacy NXP bluetooth
> chipsets.
>
> Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@xxxxxxx>
> ---
> v2: Resolved dt_binding_check errors. (Rob Herring)
> v2: Modified description, added specific compatibility devices,
> corrected indentations. (Krzysztof Kozlowski)
> ---
> .../bindings/net/bluetooth/nxp-bluetooth.yaml | 40 +++++++++++++++++++
> MAINTAINERS | 6 +++
> 2 files changed, 46 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/bluetooth/nxp-bluetooth.yaml
>
> diff --git a/Documentation/devicetree/bindings/net/bluetooth/nxp-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/nxp-bluetooth.yaml
> new file mode 100644
> index 000000000000..9c8a25396b49
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/bluetooth/nxp-bluetooth.yaml
> @@ -0,0 +1,40 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/bluetooth/nxp-bluetooth.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP Bluetooth chips
> +
> +description:
> + This binding describes UART-attached NXP bluetooth chips.
> +
> +maintainers:
> + - Neeraj Sanjay Kale <neeraj.sanjaykale@xxxxxxx>
> +
> +properties:
> + compatible:
> + enum:
> + - nxp,w8987-bt
> + - nxp,w8997-bt
> + - nxp,w9098-bt
> + - nxp,iw416-bt
> + - nxp,iw612-bt
> +
> + firmware-name:
> + description:
> + Specify firmware file name.

default?


No interrupts or power supplies on these chips?

> +
> +required:
> + - compatible
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + uart2 {

serial {

> + bluetooth {
> + compatible = "nxp,iw416-bt";
> + firmware-name = "uartuart_n61x_v1.bin";
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 32dd41574930..d465c1124699 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -22835,6 +22835,12 @@ L: linux-mm@xxxxxxxxx
> S: Maintained
> F: mm/zswap.c
>
> +NXP BLUETOOTH WIRELESS DRIVERS
> +M: Amitkumar Karwar <amitkumar.karwar@xxxxxxx>
> +M: Neeraj Kale <neeraj.sanjaykale@xxxxxxx>
> +S: Maintained
> +F: Documentation/devicetree/bindings/net/bluetooth/nxp-bluetooth.yaml
> +
> THE REST
> M: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> L: linux-kernel@xxxxxxxxxxxxxxx
> --
> 2.34.1
>