* [PATCH v3 0/3] gnss: ubx: updates to support the Renesas KingFisher board
@ 2023-09-21 13:31 Wolfram Sang
2023-09-21 13:32 ` [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding Wolfram Sang
0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2023-09-21 13:31 UTC (permalink / raw)
To: linux-renesas-soc; +Cc: Wolfram Sang, devicetree, Johan Hovold, linux-kernel
For that, we need "reset-gpio" support (patches 2+3). But first,
simplify regulator handling with a new helper (patch 1).
Changes since v2:
* rebased to 6.6-rc2
* added tags from Conor & Geert (Thanks!)
Wolfram Sang (3):
gnss: ubx: use new helper to remove open coded regulator handling
dt-bindings: gnss: u-blox: add "reset-gpios" binding
gnss: ubx: add support for the reset gpio
.../bindings/gnss/u-blox,neo-6m.yaml | 5 +++
drivers/gnss/ubx.c | 35 ++++++++-----------
2 files changed, 20 insertions(+), 20 deletions(-)
--
2.35.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding
2023-09-21 13:31 [PATCH v3 0/3] gnss: ubx: updates to support the Renesas KingFisher board Wolfram Sang
@ 2023-09-21 13:32 ` Wolfram Sang
2023-10-16 13:43 ` Johan Hovold
0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2023-09-21 13:32 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Wolfram Sang, Conor Dooley, Geert Uytterhoeven, Johan Hovold,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-kernel
Needed to enable this chip on a Renesas KingFisher board. Description
copied over from the Mediatek driver which already supports it.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
index 4835a280b3bf..8e97e475613f 100644
--- a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
+++ b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
@@ -41,6 +41,9 @@ properties:
description: >
Backup voltage regulator
+ reset-gpios:
+ maxItems: 1
+
required:
- compatible
- vcc-supply
@@ -49,10 +52,12 @@ unevaluatedProperties: false
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
serial {
gnss {
compatible = "u-blox,neo-8";
v-bckp-supply = <&gnss_v_bckp_reg>;
vcc-supply = <&gnss_vcc_reg>;
+ reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
--
2.35.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding
2023-09-21 13:32 ` [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding Wolfram Sang
@ 2023-10-16 13:43 ` Johan Hovold
2023-10-23 6:52 ` Wolfram Sang
0 siblings, 1 reply; 5+ messages in thread
From: Johan Hovold @ 2023-10-16 13:43 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Conor Dooley, Geert Uytterhoeven, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
On Thu, Sep 21, 2023 at 03:32:00PM +0200, Wolfram Sang wrote:
> Needed to enable this chip on a Renesas KingFisher board.
What is needed? Please make the commit message self-contained.
And what GNSS chip/module is this? This should also be included in the
commit message.
Do you have a link to a datasheet?
None of the u-blox modules I've seen have a reset line so I'd like to
where this came from and how it is intended to be used.
> Description
> copied over from the Mediatek driver which already supports it.
The mediatek driver does not support managing a reset line, but the
binding includes a description of this pin for completeness. Also you
don't seem include any description of the property below (which is fine)
so perhaps you can just drop this sentence.
Johan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding
2023-10-16 13:43 ` Johan Hovold
@ 2023-10-23 6:52 ` Wolfram Sang
2023-11-06 14:14 ` Johan Hovold
0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2023-10-23 6:52 UTC (permalink / raw)
To: Johan Hovold
Cc: linux-renesas-soc, Conor Dooley, Geert Uytterhoeven, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
Hi Johan,
> And what GNSS chip/module is this? This should also be included in the
> commit message.
Ok. UBlox Neo-M8.
> Do you have a link to a datasheet?
https://www.u-blox.com/sites/default/files/NEO-M8-FW3_DataSheet_UBX-15031086.pdf
> None of the u-blox modules I've seen have a reset line so I'd like to
> where this came from and how it is intended to be used.
I didn't know that old modules did not have the reset pin. I thought
they were simply not used, so far. This one has. Check pin8 in chapter
2.1 in the datasheet.
> The mediatek driver does not support managing a reset line, but the
> binding includes a description of this pin for completeness. Also you
> don't seem include any description of the property below (which is fine)
> so perhaps you can just drop this sentence.
Correct.
Kind regards,
Wolfram
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding
2023-10-23 6:52 ` Wolfram Sang
@ 2023-11-06 14:14 ` Johan Hovold
0 siblings, 0 replies; 5+ messages in thread
From: Johan Hovold @ 2023-11-06 14:14 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Conor Dooley, Geert Uytterhoeven, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
On Mon, Oct 23, 2023 at 08:52:25AM +0200, Wolfram Sang wrote:
> > And what GNSS chip/module is this? This should also be included in the
> > commit message.
>
> Ok. UBlox Neo-M8.
>
> > Do you have a link to a datasheet?
>
> https://www.u-blox.com/sites/default/files/NEO-M8-FW3_DataSheet_UBX-15031086.pdf
>
> > None of the u-blox modules I've seen have a reset line so I'd like to
> > where this came from and how it is intended to be used.
>
> I didn't know that old modules did not have the reset pin. I thought
> they were simply not used, so far. This one has. Check pin8 in chapter
> 2.1 in the datasheet.
Indeed. I must have looked at the datasheet of the older neo-6, which
does not have a reset pin, before replying.
Johan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-06 14:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 13:31 [PATCH v3 0/3] gnss: ubx: updates to support the Renesas KingFisher board Wolfram Sang
2023-09-21 13:32 ` [PATCH v3 2/3] dt-bindings: gnss: u-blox: add "reset-gpios" binding Wolfram Sang
2023-10-16 13:43 ` Johan Hovold
2023-10-23 6:52 ` Wolfram Sang
2023-11-06 14:14 ` Johan Hovold
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).