From: Julian Calaby <julian.calaby@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Arend van Spriel <aspriel@gmail.com>,
Franky Lin <franky.lin@broadcom.com>,
Hante Meuleman <hante.meuleman@broadcom.com>,
Chi-hsien Lin <chi-hsien.lin@infineon.com>,
Wright Feng <wright.feng@infineon.com>,
Chung-hsien Hsu <chung-hsien.hsu@infineon.com>,
linux-wireless@vger.kernel.org,
brcm80211-dev-list.pdl@broadcom.com,
SHA-cyfmac-dev-list@infineon.com, linux-mmc@vger.kernel.org,
devicetree <devicetree@vger.kernel.org>
Subject: Re: [PATCH] dt-bindings: Convert the BCM4329 bindings to YAML and extend
Date: Sun, 14 Mar 2021 11:05:17 +1100 [thread overview]
Message-ID: <CAGRGNgU_C6keHC_Ty3iruJc5cwsBGJRRBm8DWH91fHjygPv0fg@mail.gmail.com> (raw)
In-Reply-To: <20210313215302.4076765-1-linus.walleij@linaro.org>
Hi Linus,
On Sun, Mar 14, 2021 at 9:00 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> This converts the BCM4329 family bindings to YAML schema, and
> extends and fixes the bindings like this:
>
> - Name the bindings after the first chip (BCM4329) since
> wildcards like 43xx are nowadays frowned upon by the DT
> binding reviewers. We call this the "BCM4329 family"
> - Add compatible strings for all the variants that seem to
> exist in the wild. (Derived from firmware listings.)
> - Add required reg property (SDIO function number)
> - Add reset-gpios property (some systems wire this to a GPIO
> line).
> - I have only listed Arend as maintainer for now, volunteers
> can be added.
>
> Cc: Arend van Spriel <aspriel@gmail.com>
> Cc: Franky Lin <franky.lin@broadcom.com>
> Cc: Hante Meuleman <hante.meuleman@broadcom.com>
> Cc: Chi-hsien Lin <chi-hsien.lin@infineon.com>
> Cc: Wright Feng <wright.feng@infineon.com>
> Cc: Chung-hsien Hsu <chung-hsien.hsu@infineon.com>
> Cc: brcm80211-dev-list.pdl@broadcom.com
> Cc: SHA-cyfmac-dev-list@infineon.com
> Cc: linux-mmc@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> .../net/wireless/brcm,bcm4329-fmac.yaml | 98 +++++++++++++++++++
> .../net/wireless/brcm,bcm43xx-fmac.txt | 38 -------
> 2 files changed, 98 insertions(+), 38 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> delete mode 100644 Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> new file mode 100644
> index 000000000000..d172ee486cf6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> @@ -0,0 +1,98 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM4329 family fullmac wireless SDIO devices
> +
> +maintainers:
> + - Arend van Spriel <arend@broadcom.com>
> +
> +description:
> + The Broadcom Single chip MAC part for the BCM4329 family and
> + later Cypress chips in the same family named CYW4373 and similar.
> + These chips also have a Bluetooth portion described in a separate
> + binding.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - brcm,bcm43143-fmac
> + - brcm,bcm4341b0-fmac
> + - brcm,bcm4341b4-fmac
> + - brcm,bcm4341b5-fmac
> + - brcm,bcm4329-fmac
> + - brcm,bcm4330-fmac
> + - brcm,bcm4334-fmac
> + - brcm,bcm43340-fmac
> + - brcm,bcm4335-fmac
> + - brcm,bcm43362-fmac
> + - brcm,bcm4339-fmac
> + - brcm,bcm43430a0-fmac
> + - brcm,bcm43430a1-fmac
> + - brcm,bcm43455-fmac
> + - brcm,bcm43456-fmac
> + - brcm,bcm4354-fmac
> + - brcm,bcm4356-fmac
> + - brcm,bcm4359-fmac
> + - cypress,cyw4373-fmac
> + - cypress,cyw43012-fmac
I don't know if this is necessary for SDIO, but should the non-4329
compatibles have the 4329 compatible as an alternative?
Thanks,
--
Julian Calaby
Email: julian.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
next prev parent reply other threads:[~2021-03-14 0:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-13 21:53 [PATCH] dt-bindings: Convert the BCM4329 bindings to YAML and extend Linus Walleij
2021-03-14 0:05 ` Julian Calaby [this message]
2021-03-14 23:43 ` Linus Walleij
2021-03-15 10:40 ` Julian Calaby
2021-03-15 11:04 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGRGNgU_C6keHC_Ty3iruJc5cwsBGJRRBm8DWH91fHjygPv0fg@mail.gmail.com \
--to=julian.calaby@gmail.com \
--cc=SHA-cyfmac-dev-list@infineon.com \
--cc=aspriel@gmail.com \
--cc=brcm80211-dev-list.pdl@broadcom.com \
--cc=chi-hsien.lin@infineon.com \
--cc=chung-hsien.hsu@infineon.com \
--cc=devicetree@vger.kernel.org \
--cc=franky.lin@broadcom.com \
--cc=hante.meuleman@broadcom.com \
--cc=linus.walleij@linaro.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=wright.feng@infineon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).