Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
Changes since last version:
* use 'reg_3p3v' instead of custom regulator
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 40a5f98c1190..e3cc0e0e73cc 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -392,6 +392,13 @@ &scif1 {
pinctrl-names = "default";
status = "okay";
+
+ gnss {
+ compatible = "u-blox,neo-m8";
+ reset-gpios = <&gpio_exp_75 6 GPIO_ACTIVE_LOW>;
+ vcc-supply = <®_3p3v>;
+ current-speed = <9600>;
+ };
};
&sdhi3 {
--
2.39.2
Hi Wolfram,
On Wed, Jan 17, 2024 at 2:18 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> Changes since last version:
>
> * use 'reg_3p3v' instead of custom regulator
Thanks for the update!
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -392,6 +392,13 @@ &scif1 {
> pinctrl-names = "default";
>
> status = "okay";
> +
> + gnss {
> + compatible = "u-blox,neo-m8";
> + reset-gpios = <&gpio_exp_75 6 GPIO_ACTIVE_LOW>;
> + vcc-supply = <®_3p3v>;
> + current-speed = <9600>;
> + };
> };
>
> &sdhi3 {
LGTM, so
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Before I queue this, I have one remaining question.
The device is also connected to I2C bus i2c@7 aka AUDIO_S{DA,CL}.
Can it be used over I2C too? Is there some strapping to select the
interface used? I couldn't find that in the documentation.
(It does support clock stretching! ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
> Can it be used over I2C too? Is there some strapping to select the > interface used? I couldn't find that in the documentation. It looks to me they both work at the same time. I was able to write and read via I2C (thus not very meaningful data) while serial port was doing the real work. I am not aware of a full GNSS implementation supporting the I2C interface, so I considered it good at that point.
Hi Wolfram,
On Fri, Jan 26, 2024 at 4:05 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> > Can it be used over I2C too? Is there some strapping to select the
> > interface used? I couldn't find that in the documentation.
>
> It looks to me they both work at the same time. I was able to write and
> read via I2C (thus not very meaningful data) while serial port was doing
> the real work. I am not aware of a full GNSS implementation supporting
> the I2C interface, so I considered it good at that point.
Indeed, drivers/gnss/ seems to have no support for I2C yet.
Queuing in renesas-devel for v6.9.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
> Indeed, drivers/gnss/ seems to have no support for I2C yet. Neither does GPSD. But looking again, I found a I2C->virtualSerial script to do it: https://github.com/MaffooClock/gpsd-i2c Everything exists! :)
© 2016 - 2025 Red Hat, Inc.