From: Rob Herring <robh@kernel.org>
To: Manjunatha Venkatesh <manjunatha.venkatesh@nxp.com>
Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
will@kernel.org, axboe@kernel.dk, mb@lightnvm.io,
ckeepax@opensource.cirrus.com, arnd@arndb.d, mst@redhat.com,
javier@javigon.com, mikelley@microsoft.com, jasowang@redhat.com,
sunilmut@microsoft.com, bjorn.andersson@linaro.org,
krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org,
ashish.deshpande@nxp.com, rvmanjumce@gmail.com
Subject: Re: [PATCH v5 1/2] dt-bindings: uwb: Device tree information for Nxp SR1XX SOCs
Date: Fri, 16 Sep 2022 14:26:46 -0500 [thread overview]
Message-ID: <20220916192646.GA1112472-robh@kernel.org> (raw)
In-Reply-To: <20220914142944.576482-2-manjunatha.venkatesh@nxp.com>
On Wed, Sep 14, 2022 at 07:59:43PM +0530, Manjunatha Venkatesh wrote:
> Ultra-wideband (UWB) is a short-range wireless communication protocol.
>
> NXP has SR1XX family of UWB Subsystems (UWBS) devices. SR1XX SOCs
> are FiRa Compliant. SR1XX SOCs are flash less devices and they need
> Firmware Download on every device boot. More details on the SR1XX Family
> can be found at https://www.nxp.com/products/:UWB-TRIMENSION
>
> The sr1xx driver work the SR1XX Family of UWBS, and uses UWB Controller
> Interface (UCI). The corresponding details are available in the FiRa
> Consortium Website (https://www.firaconsortium.org/).
>
> Link: https://lore.kernel.org/r/20220527184351.3829543-2-manjunatha.venkatesh@nxp.com
> Signed-off-by: Manjunatha Venkatesh <manjunatha.venkatesh@nxp.com>
> ---
> Changes since v4:
> - Devicetree documentation updated as per the review comments
> - Text Aligment related issues are addressed
>
> .../bindings/uwb/nxp,uwb-sr1xx.yaml | 63 +++++++++++++++++++
Use compatible string for filename.
> 1 file changed, 63 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/uwb/nxp,uwb-sr1xx.yaml
>
> diff --git a/Documentation/devicetree/bindings/uwb/nxp,uwb-sr1xx.yaml b/Documentation/devicetree/bindings/uwb/nxp,uwb-sr1xx.yaml
> new file mode 100644
> index 000000000000..0f8c774b8306
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/uwb/nxp,uwb-sr1xx.yaml
> @@ -0,0 +1,63 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
Why 3 clause? Everywhere else for bindings is using BSD-2-Clause
> +
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/uwb/nxp,uwb-sr1xx.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Ultra Wide Band(UWB)driver support for NXP SR1XX SOCs family
Bindings describe h/w devices, not drivers.
> +
> +description: The nxp-sr1xx driver works for the NXP SR1XX series of Ultra Wide
> + Band devices namely, SR150 and SR100T devices, and uses UWB Controller Interface (UCI).
> + The corresponding details are available in the FiRa Consortium Website.
> + (https://www.firaconsortium.org/). More details on the SR1XX Family can be
> + found at https://www.nxp.com/products/:UWB-TRIMENSION
Blank line.
> +maintainers:
> + - Manjunatha Venkatesh <manjunatha.venkatesh@nxp.com>
> +
> +properties:
> + compatible:
> + enum:
> + - nxp,sr1xx
> +
> + reg:
> + maxItems: 1
> +
> + spi-max-frequency:
> + maximum: 45000000
> +
> +required:
> + - compatible
> + - reg
> + - spi-max-frequency
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + /* for Raspberry Pi with pin control stuff for GPIO irq */
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/gpio/gpio.h>
> +
> + fragment@1 {
> + target = <&spi0>;
> + __overlay__ {
Remove overlay details from example. This should be just 'spi {'.
The schemas ignore '__' nodes so your example is not getting tested (and
has errors).
> + /* needed to avoid dtc warning */
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
Examples should be enabled. Drop.
> +
> + sr1xx: sr1xx@0 {
> + compatible = "nxp,sr1xx";
> + reg = <0>; /* CE0 */
> + /* GPIO_24 (PIN 18) Host Irq*/
> + nxp,sr1xx-irq-gpio = <&gpio 24 0>;
Use 'interrupts'. Also, not documented.
> + /* GPIO_18(PIN 12) Chip Enable*/
> + nxp,sr1xx-ce-gpio = <&gpio 18 0>;
-gpios is the preferred form.
> + /* GPIO_23(PIN 16) Read Indication from Host to SR1xx*/
> + nxp,sr1xx-ri-gpio = <&gpio 23 0>;
> + /*max supported frequency */
> + spi-max-frequency = <20000000>;
> + };
> + };
> + };
> --
> 2.37.2
>
>
next prev parent reply other threads:[~2022-09-16 19:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 14:29 [PATCH v5 0/2] Uwb: Nxp: Driver for SR1XX SOCs Patch Series Manjunatha Venkatesh
2022-09-14 14:29 ` [PATCH v5 1/2] dt-bindings: uwb: Device tree information for Nxp SR1XX SOCs Manjunatha Venkatesh
2022-09-14 14:36 ` Arnd Bergmann
2022-10-07 11:39 ` [EXT] " Manjunatha Venkatesh
2022-10-07 12:30 ` Krzysztof Kozlowski
2022-09-16 19:26 ` Rob Herring [this message]
2022-09-14 14:29 ` [PATCH v5 2/2] misc: nxp-sr1xx: UWB driver support for sr1xx series chip Manjunatha Venkatesh
2022-09-14 14:53 ` Greg KH
2022-11-30 3:40 ` [EXT] " Manjunatha Venkatesh
2022-11-30 7:27 ` Greg KH
2022-12-20 14:09 ` Manjunatha Venkatesh
2022-12-20 14:30 ` Greg KH
2022-12-20 14:43 ` Manjunatha Venkatesh
2022-09-14 14:55 ` Greg KH
2022-10-07 14:19 ` [EXT] " Manjunatha Venkatesh
2022-09-14 15:09 ` Arnd Bergmann
[not found] ` <cd397721-f549-5c65-2c65-35b09c3ea7f9@nxp.com>
2022-10-07 14:11 ` [EXT] " Arnd Bergmann
2022-11-30 3:55 ` Manjunatha Venkatesh
2022-10-07 14:57 ` Greg Kroah-Hartman
2022-11-30 4:09 ` Manjunatha Venkatesh
2022-11-30 7:23 ` Greg Kroah-Hartman
2022-12-20 14:33 ` Manjunatha Venkatesh
2022-12-20 14:51 ` Greg Kroah-Hartman
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=20220916192646.GA1112472-robh@kernel.org \
--to=robh@kernel.org \
--cc=arnd@arndb.d \
--cc=ashish.deshpande@nxp.com \
--cc=axboe@kernel.dk \
--cc=bjorn.andersson@linaro.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jasowang@redhat.com \
--cc=javier@javigon.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manjunatha.venkatesh@nxp.com \
--cc=mb@lightnvm.io \
--cc=mikelley@microsoft.com \
--cc=mst@redhat.com \
--cc=rvmanjumce@gmail.com \
--cc=sunilmut@microsoft.com \
--cc=will@kernel.org \
/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).