linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: pressure: bmp280: remove unused options from device tree documentation
@ 2018-07-11  1:33 Brian Masney
  2018-07-15  8:59 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Masney @ 2018-07-11  1:33 UTC (permalink / raw)
  To: jic23, robh+dt, mark.rutland, linux-iio, devicetree
  Cc: lars, pmeerw, linux-kernel

There are several options in the device tree documentation that are
no longer relevant for the current in-kernel bmp280 driver so this patch
removes them.

Signed-off-by: Brian Masney <masneyb@onstation.org>
---
 Documentation/devicetree/bindings/iio/pressure/bmp085.txt | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/pressure/bmp085.txt b/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
index c7198a03c906..abcab02504fb 100644
--- a/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
+++ b/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
@@ -8,10 +8,6 @@ Required properties:
   "bosch,bme280"
 
 Optional properties:
-- chip-id: configurable chip id for non-default chip revisions
-- temp-measurement-period: temperature measurement period (milliseconds)
-- default-oversampling: default oversampling value to be used at startup,
-  value range is 0-3 with rising sensitivity.
 - interrupt-parent: should be the phandle for the interrupt controller
 - interrupts: interrupt mapping for IRQ
 - reset-gpios: a GPIO line handling reset of the sensor: as the line is
@@ -24,9 +20,6 @@ Example:
 pressure@77 {
 	compatible = "bosch,bmp085";
 	reg = <0x77>;
-	chip-id = <10>;
-	temp-measurement-period = <100>;
-	default-oversampling = <2>;
 	interrupt-parent = <&gpio0>;
 	interrupts = <25 IRQ_TYPE_EDGE_RISING>;
 	reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: pressure: bmp280: remove unused options from device tree documentation
  2018-07-11  1:33 [PATCH] iio: pressure: bmp280: remove unused options from device tree documentation Brian Masney
@ 2018-07-15  8:59 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2018-07-15  8:59 UTC (permalink / raw)
  To: Brian Masney
  Cc: robh+dt, mark.rutland, linux-iio, devicetree, lars, pmeerw, linux-kernel

On Tue, 10 Jul 2018 21:33:45 -0400
Brian Masney <masneyb@onstation.org> wrote:

> There are several options in the device tree documentation that are
> no longer relevant for the current in-kernel bmp280 driver so this patch
> removes them.
> 
> Signed-off-by: Brian Masney <masneyb@onstation.org>
Fair enough I guess - though this may confuse anyone looking at
new docs and running an old kernel with the misc driver still there.

Applied to the togreg branch of iio.git
> ---
>  Documentation/devicetree/bindings/iio/pressure/bmp085.txt | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/pressure/bmp085.txt b/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
> index c7198a03c906..abcab02504fb 100644
> --- a/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
> +++ b/Documentation/devicetree/bindings/iio/pressure/bmp085.txt
> @@ -8,10 +8,6 @@ Required properties:
>    "bosch,bme280"
>  
>  Optional properties:
> -- chip-id: configurable chip id for non-default chip revisions
> -- temp-measurement-period: temperature measurement period (milliseconds)
> -- default-oversampling: default oversampling value to be used at startup,
> -  value range is 0-3 with rising sensitivity.
>  - interrupt-parent: should be the phandle for the interrupt controller
>  - interrupts: interrupt mapping for IRQ
>  - reset-gpios: a GPIO line handling reset of the sensor: as the line is
> @@ -24,9 +20,6 @@ Example:
>  pressure@77 {
>  	compatible = "bosch,bmp085";
>  	reg = <0x77>;
> -	chip-id = <10>;
> -	temp-measurement-period = <100>;
> -	default-oversampling = <2>;
>  	interrupt-parent = <&gpio0>;
>  	interrupts = <25 IRQ_TYPE_EDGE_RISING>;
>  	reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-15  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-11  1:33 [PATCH] iio: pressure: bmp280: remove unused options from device tree documentation Brian Masney
2018-07-15  8:59 ` Jonathan Cameron

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).