Re: [PATCH v6 01/17] dt-bindings: net: wireless: cc33xx: Add ti,cc33xx.yaml
From: Rob Herring
Date: Thu Dec 03 2026 - 13:27:41 EST
On Thu, Dec 03, 2026 at 12:38:50PM +0530, Ramesh Ramalingam wrote:
> From: Michael Nemanov <michael.nemanov@xxxxxx>
>
sashiko is correct about the subject.
> Add device-tree bindings for the CC33xx family.
>
> Signed-off-by: Michael Nemanov <michael.nemanov@xxxxxx>
> Signed-off-by: Ramesh Ramalingam <r-ramalingam@xxxxxx>
> ---
> .../bindings/net/wireless/ti,cc33xx.yaml | 56 +++++++++++++++++++
> 1 file changed, 56 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml b/Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml
> new file mode 100644
> index 000000000000..cf2c9a0e87c9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml
> @@ -0,0 +1,56 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/wireless/ti,cc33xx.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments CC33xx Wireless LAN Controller
> +
> +maintainers:
> + - Ramesh Ramalingam <r-ramalingam@xxxxxx>
> +
> +description:
> + The CC33xx is a family of IEEE 802.11ax chips from Texas Instruments.
> + These chips must be connected via SDIO and support in-band / out-of-band IRQ.
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: ti,cc3300
> + - items:
> + - enum:
> + - ti,cc3301
> + - ti,cc3350
> + - ti,cc3351
> + - const: ti,cc3300
> +
> + reg:
> + const: 2
> +
> + interrupts:
> + description:
> + The out-of-band interrupt line.
> + Can be IRQ_TYPE_EDGE_RISING or IRQ_TYPE_LEVEL_HIGH.
> + If property is omitted, SDIO in-band IRQ will be used.
Is this 3 paragraphs or 1? If 1, line wrapping is not correct. Wrap at
80 chars. If 3, you need '>' and blank line between paragraphs.
Supporting both IRQ_TYPE_EDGE_RISING and IRQ_TYPE_LEVEL_HIGH is
generally not correct unless this is configurable or varies by chip.
Rising kind of works on high level interrupts. If the irq stays asserted
until you do something to clear it, that is level. Edge is a pulse.
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
Standard properties aren't allowed? It should reference:
schemas/net/wireless/wireless-controller.yaml
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + mmc {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + wifi@2 {
> + compatible = "ti,cc3300";
> + reg = <2>;
> + interrupts = <19 IRQ_TYPE_EDGE_RISING>;
> + };
> + };
> --
> 2.34.1
>