[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61df8371-c5ef-9e68-f9ae-19c8d20c64dc@kernel.org>
Date: Sat, 12 Mar 2022 12:41:35 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>,
Johan Hovold <johan@...nel.org>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH 2/4] dt-bindings: gnss: Modify u-blox to use common
bindings
On 12/03/2022 00:51, Linus Walleij wrote:
> This modifies the existing U-Blox GNSS bindings to reference
> the common GNSS YAML bindings.
>
> Fixed an unrelated whitespace error while at it.
>
> Cc: devicetree@...r.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
> ---
> .../devicetree/bindings/gnss/u-blox,neo-6m.yaml | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
> index 396101a223e7..5dffe722777f 100644
> --- a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
> +++ b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
> @@ -6,6 +6,9 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> title: U-blox GNSS Receiver Device Tree Bindings
>
> +allOf:
> + - $ref: gnss-common.yaml#
> +
> maintainers:
> - Johan Hovold <johan@...nel.org>
>
> @@ -29,16 +32,13 @@ properties:
> description: >
> Main voltage regulator
>
> - timepulse-gpios:
> - maxItems: 1
> - description: >
> - Time pulse GPIO
> + timepulse-gpios: true
>
> u-blox,extint-gpios:
> maxItems: 1
> description: >
> GPIO connected to the "external interrupt" input pin
> -
> +
> v-bckp-supply:
> description: >
> Backup voltage regulator
I propose to change additionalProperties->unevaluatedProperties and
remove current-speed and timepulse-gpios. This way also new properties
from gnss-common can be easily used.
Best regards,
Krzysztof
Powered by blists - more mailing lists