Re: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding

2018-04-26 Thread Johan Hovold
On Wed, Apr 25, 2018 at 01:25:26PM -0500, Rob Herring wrote:
> On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold  wrote:
> > Add binding for SiRFstar-based GNSS receivers.
> >
> > Note that while four compatible-strings are initially added representing
> > devices which differ in which I/O interfaces they support, they
> > otherwise essentially share the same feature set.
> >
> > Pin and supply names (and some recommended timings) vary slightly, but
> > the binding recommends using a common set of names.
> >
> > Note that the wakeup gpio is not intended to be as a wakeup source, but
> > rather to detect the current power state of the device (active or
> > hibernate).
> >
> > Signed-off-by: Johan Hovold 
> > ---
> >  .../devicetree/bindings/gnss/sirfstar.txt | 38 +++
> >  .../devicetree/bindings/vendor-prefixes.txt   |  3 ++
> >  2 files changed, 41 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/gnss/sirfstar.txt
> 
> One nit below, otherwise:
> 
> Reviewed-by: Rob Herring 

> > @@ -390,6 +392,7 @@ vivante Vivante Corporation
> >  vocore VoCore Studio
> >  voipac Voipac Technologies s.r.o.
> >  votVision Optical Technology Co., Ltd.
> > +wi2wi  Wi2Wi
> 
> Wrong spot.

Duh. I had first misspelled this w2wi (which happens to be a different
company), and then forgot to move the entry when I corrected my mistake.

> >  wd Western Digital Corp.
> >  wetek  WeTek Electronics, limited.
> >  wexler Wexler

Thanks,
Johan


Re: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding

2018-04-26 Thread Johan Hovold
On Wed, Apr 25, 2018 at 01:25:26PM -0500, Rob Herring wrote:
> On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold  wrote:
> > Add binding for SiRFstar-based GNSS receivers.
> >
> > Note that while four compatible-strings are initially added representing
> > devices which differ in which I/O interfaces they support, they
> > otherwise essentially share the same feature set.
> >
> > Pin and supply names (and some recommended timings) vary slightly, but
> > the binding recommends using a common set of names.
> >
> > Note that the wakeup gpio is not intended to be as a wakeup source, but
> > rather to detect the current power state of the device (active or
> > hibernate).
> >
> > Signed-off-by: Johan Hovold 
> > ---
> >  .../devicetree/bindings/gnss/sirfstar.txt | 38 +++
> >  .../devicetree/bindings/vendor-prefixes.txt   |  3 ++
> >  2 files changed, 41 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/gnss/sirfstar.txt
> 
> One nit below, otherwise:
> 
> Reviewed-by: Rob Herring 

> > @@ -390,6 +392,7 @@ vivante Vivante Corporation
> >  vocore VoCore Studio
> >  voipac Voipac Technologies s.r.o.
> >  votVision Optical Technology Co., Ltd.
> > +wi2wi  Wi2Wi
> 
> Wrong spot.

Duh. I had first misspelled this w2wi (which happens to be a different
company), and then forgot to move the entry when I corrected my mistake.

> >  wd Western Digital Corp.
> >  wetek  WeTek Electronics, limited.
> >  wexler Wexler

Thanks,
Johan


Re: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding

2018-04-25 Thread Rob Herring
On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold  wrote:
> Add binding for SiRFstar-based GNSS receivers.
>
> Note that while four compatible-strings are initially added representing
> devices which differ in which I/O interfaces they support, they
> otherwise essentially share the same feature set.
>
> Pin and supply names (and some recommended timings) vary slightly, but
> the binding recommends using a common set of names.
>
> Note that the wakeup gpio is not intended to be as a wakeup source, but
> rather to detect the current power state of the device (active or
> hibernate).
>
> Signed-off-by: Johan Hovold 
> ---
>  .../devicetree/bindings/gnss/sirfstar.txt | 38 +++
>  .../devicetree/bindings/vendor-prefixes.txt   |  3 ++
>  2 files changed, 41 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/gnss/sirfstar.txt

One nit below, otherwise:

Reviewed-by: Rob Herring 

> diff --git a/Documentation/devicetree/bindings/gnss/sirfstar.txt 
> b/Documentation/devicetree/bindings/gnss/sirfstar.txt
> new file mode 100644
> index ..5e6a02aec49a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gnss/sirfstar.txt
> @@ -0,0 +1,38 @@
> +SiRFstar-based GNSS Receiver DT binding
> +
> +SiRFstar chipsets are used in GNSS-receiver modules produced by several
> +vendors and can use UART, SPI or I2C interfaces.
> +
> +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
> +properties.
> +
> +Required Properties:
> +
> +- compatible   : Must be one of
> +
> +   "fastrax,uc430"
> +   "linx,r4"
> +   "wi2wi,w2sg0008i"
> +   "wi2wi,w2sg0084i"
> +
> +- vcc-supply   : Main voltage regulator (3V3_IN, VDD, VCC)
> +
> +Optional Properties:
> +
> +- enable-gpios : GPIO used to power on and off device (ON_OFF)
> +- wakeup-gpios : GPIO used to determine device power state (WAKEUP, RFPWRUP)
> +- timepulse-gpios  : Timepulse (e.g 1PPS) GPIO (1PPS, TM)
> +
> +Example:
> +
> +serial@1234 {
> +   compatible = "ns16550a";
> +
> +   gnss {
> +   compatible = "wi2wi,w2sg0084i";
> +
> +   vcc-supply = <_reg>;
> +   enable-gpios = < 16 GPIO_ACTIVE_HIGH>;
> +   wakeup-gpios = < 17 GPIO_ACTIVE_HIGH>;
> +   };
> +};
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt 
> b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 2128dfdf73f1..ddd81c82082d 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -120,6 +120,7 @@ excito  Excito
>  ezchip EZchip Semiconductor
>  fairphone  Fairphone B.V.
>  faradayFaraday Technology Corporation
> +fastraxFastrax Oy
>  fcsFairchild Semiconductor
>  fireflyFirefly
>  focaltech  FocalTech Systems Co.,Ltd
> @@ -197,6 +198,7 @@ licheepiLichee Pi
>  linaro Linaro Limited
>  linksysBelkin International, Inc. (Linksys)
>  linux  Linux-specific binding
> +linx   Linx Technologies
>  lltc   Linear Technology Corporation
>  lsiLSI Corp. (LSI Logic)
>  lwnLiebherr-Werk Nenzing GmbH
> @@ -390,6 +392,7 @@ vivante Vivante Corporation
>  vocore VoCore Studio
>  voipac Voipac Technologies s.r.o.
>  votVision Optical Technology Co., Ltd.
> +wi2wi  Wi2Wi

Wrong spot.

>  wd Western Digital Corp.
>  wetek  WeTek Electronics, limited.
>  wexler Wexler
> --
> 2.17.0
>


Re: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding

2018-04-25 Thread Rob Herring
On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold  wrote:
> Add binding for SiRFstar-based GNSS receivers.
>
> Note that while four compatible-strings are initially added representing
> devices which differ in which I/O interfaces they support, they
> otherwise essentially share the same feature set.
>
> Pin and supply names (and some recommended timings) vary slightly, but
> the binding recommends using a common set of names.
>
> Note that the wakeup gpio is not intended to be as a wakeup source, but
> rather to detect the current power state of the device (active or
> hibernate).
>
> Signed-off-by: Johan Hovold 
> ---
>  .../devicetree/bindings/gnss/sirfstar.txt | 38 +++
>  .../devicetree/bindings/vendor-prefixes.txt   |  3 ++
>  2 files changed, 41 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/gnss/sirfstar.txt

One nit below, otherwise:

Reviewed-by: Rob Herring 

> diff --git a/Documentation/devicetree/bindings/gnss/sirfstar.txt 
> b/Documentation/devicetree/bindings/gnss/sirfstar.txt
> new file mode 100644
> index ..5e6a02aec49a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gnss/sirfstar.txt
> @@ -0,0 +1,38 @@
> +SiRFstar-based GNSS Receiver DT binding
> +
> +SiRFstar chipsets are used in GNSS-receiver modules produced by several
> +vendors and can use UART, SPI or I2C interfaces.
> +
> +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
> +properties.
> +
> +Required Properties:
> +
> +- compatible   : Must be one of
> +
> +   "fastrax,uc430"
> +   "linx,r4"
> +   "wi2wi,w2sg0008i"
> +   "wi2wi,w2sg0084i"
> +
> +- vcc-supply   : Main voltage regulator (3V3_IN, VDD, VCC)
> +
> +Optional Properties:
> +
> +- enable-gpios : GPIO used to power on and off device (ON_OFF)
> +- wakeup-gpios : GPIO used to determine device power state (WAKEUP, RFPWRUP)
> +- timepulse-gpios  : Timepulse (e.g 1PPS) GPIO (1PPS, TM)
> +
> +Example:
> +
> +serial@1234 {
> +   compatible = "ns16550a";
> +
> +   gnss {
> +   compatible = "wi2wi,w2sg0084i";
> +
> +   vcc-supply = <_reg>;
> +   enable-gpios = < 16 GPIO_ACTIVE_HIGH>;
> +   wakeup-gpios = < 17 GPIO_ACTIVE_HIGH>;
> +   };
> +};
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt 
> b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 2128dfdf73f1..ddd81c82082d 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -120,6 +120,7 @@ excito  Excito
>  ezchip EZchip Semiconductor
>  fairphone  Fairphone B.V.
>  faradayFaraday Technology Corporation
> +fastraxFastrax Oy
>  fcsFairchild Semiconductor
>  fireflyFirefly
>  focaltech  FocalTech Systems Co.,Ltd
> @@ -197,6 +198,7 @@ licheepiLichee Pi
>  linaro Linaro Limited
>  linksysBelkin International, Inc. (Linksys)
>  linux  Linux-specific binding
> +linx   Linx Technologies
>  lltc   Linear Technology Corporation
>  lsiLSI Corp. (LSI Logic)
>  lwnLiebherr-Werk Nenzing GmbH
> @@ -390,6 +392,7 @@ vivante Vivante Corporation
>  vocore VoCore Studio
>  voipac Voipac Technologies s.r.o.
>  votVision Optical Technology Co., Ltd.
> +wi2wi  Wi2Wi

Wrong spot.

>  wd Western Digital Corp.
>  wetek  WeTek Electronics, limited.
>  wexler Wexler
> --
> 2.17.0
>