Skip to content

Commit 094b10c

Browse files
Linus Walleijrobherring
authored andcommitted
dt-bindings: gnss: Add two more chips
The CSR GSD4t is a CSR product using the SiRFstarIV core, and the CSR CSRG05TA03-ICJE-R is a CSR product using the SiRFstarV core. These chips have a SRESETN line that can be pulled low to hard reset the chip and in some designs this is connected to a GPIO, so add this as an optional property. Update the example with a reset line so users see that it need to be tagged as active low. Cc: devicetree@vger.kernel.org Cc: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220317225844.1262643-4-linus.walleij@linaro.org
1 parent 5505409 commit 094b10c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Documentation/devicetree/bindings/gnss/sirfstar.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ allOf:
2525
properties:
2626
compatible:
2727
enum:
28+
- csr,gsd4t
29+
- csr,csrg05ta03-icje-r
2830
- fastrax,uc430
2931
- linx,r4
3032
- wi2wi,w2sg0004
@@ -39,6 +41,11 @@ properties:
3941
description:
4042
Main voltage regulator, pin names such as 3V3_IN, VCC, VDD.
4143

44+
reset-gpios:
45+
maxItems: 1
46+
description: An optional active low reset line, should be flagged with
47+
GPIO_ACTIVE_LOW.
48+
4249
sirf,onoff-gpios:
4350
maxItems: 1
4451
description: GPIO used to power on and off device, pin name ON_OFF.
@@ -61,6 +68,7 @@ examples:
6168
gnss {
6269
compatible = "wi2wi,w2sg0084i";
6370
vcc-supply = <&gnss_vcc_reg>;
71+
reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
6472
sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
6573
sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
6674
current-speed = <38400>;

0 commit comments

Comments
 (0)