From: Krzysztof Kozlowski <krzk@kernel.org>
To: Alejandro Enrique <alejandroe1@geotab.com>
Cc: Johan Hovold <johan@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: gnss: u-blox: add "safeboot-gpios" binding
Date: Wed, 21 May 2025 11:27:25 +0200 [thread overview]
Message-ID: <20250521-qualified-smart-myna-bddfc8@kuoka> (raw)
In-Reply-To: <20250514-ubx-safeboot-v1-1-1ae771335356@geotab.com>
On Wed, May 14, 2025 at 03:54:41PM GMT, Alejandro Enrique wrote:
> U-Blox M8/M9 chip have a pin to start it in safeboot mode, to be used
> to recover from situations where the flash content has become
> corrupted and needs to be restored. Introduce a binding to support
> this safeboot pin.
>
> Signed-off-by: Alejandro Enrique <alejandroe1@geotab.com>
> ---
> Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
> index 7d4b6d49e5eea2201ac05ba6d54b1c1721172f26..16d922279def99257c194520a7ac820f2a26e9c7 100644
> --- a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
> +++ b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
> @@ -32,6 +32,9 @@ properties:
> reset-gpios:
> maxItems: 1
>
> + safeboot-gpios:
> + maxItems: 1
> +
You need if:then: disallowing (:false) this for 6m and 8. Move entire allOf down
and add there new if: clause. (see example schema)
> vcc-supply:
> description: >
> Main voltage regulator
> @@ -61,5 +64,6 @@ examples:
> v-bckp-supply = <&gnss_v_bckp_reg>;
> vcc-supply = <&gnss_vcc_reg>;
> reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
> + safeboot-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
Thats 8, not 8m?
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-05-21 9:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-14 13:54 [PATCH 0/2] Add support for safeboot pin to UBlox GNSS driver Alejandro Enrique via B4 Relay
2025-05-14 13:54 ` [PATCH 1/2] dt-bindings: gnss: u-blox: add "safeboot-gpios" binding Alejandro Enrique via B4 Relay
2025-05-21 9:27 ` Krzysztof Kozlowski [this message]
2025-05-22 16:32 ` Alejandro Enrique
2025-05-14 13:54 ` [PATCH 2/2] gnss: ubx: add support for the safeboot gpio Alejandro Enrique via B4 Relay
2025-05-21 9:29 ` Krzysztof Kozlowski
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=20250521-qualified-smart-myna-bddfc8@kuoka \
--to=krzk@kernel.org \
--cc=alejandroe1@geotab.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=johan@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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
all inboxes | Powered by JetHome®