Sebastian Hesselbarth schrieb am Fri, 22. Jul
18:59:
> On 16.07.2016 17:07, Andreas Klinger wrote:
> >On Marvell mv88f6180 with pin control driver one can not use multi
> >purpose pins 35 through 44.
> >I'm using this controller on an embedded board and i found that
f changes
- improved distinction of sensor types
Andreas Klinger (5):
iio: srf08: add device tree binding for srf02 and srf10
iio: srf08: add device tree table
iio: srf08: add triggered buffer support
iio: srf08: add sensor type srf10
iio: srf08: add support for srf02 in i2c mode
.../dev
add trivial device tree binding "devantech,srf02" and "devantech,srf10"
Signed-off-by: Andreas Klinger
Acked-by: Jonathan Cameron
---
Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/
Added MODULE_DEVICE_TABLE for device tree bindings.
It used to work without it by using the i2c_device_id table, but adding the
table makes everything clear and documented.
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf08.c | 8
1 file changed, 8 insertions(+)
diff
range
and values of register gain (in the driver it's call sensitivity).
Therefore the array of it is extended and dependent of the sensor type.
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 4 +-
drivers/iio/proximity/srf08.c
srf02 added with support for i2c interface
Attributes for setting max range or sensitivity are omitted for the case of
srf02 type sensor, because they are not supported by the hardware.
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 8 ++---
drivers/iio/proximity/srf08.c
Add support for triggered buffers.
Data format is quite simple:
distance 16 Bit
alignment48 Bit
timestamp64 Bit
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf08.c | 60 ---
1 file changed, 57 insertions(+), 3 deletions
roved distinction of sensor types
Andreas Klinger (5):
iio: srf08: add device tree binding for srf02 and srf10
iio: srf08: add device tree table
iio: srf08: add triggered buffer support
iio: srf08: add sensor type srf10
iio: srf08: add support for srf02 in i2c mode
.../devicetree/bindings
add trivial device tree binding "devantech,srf02" and "devantech,srf10"
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/trivial-devices.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.
Added MODULE_DEVICE_TABLE for device tree bindings.
It used to work without it by using the i2c_device_id table, but adding the
table makes everything clear and documented.
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf08.c | 8
1 file changed, 8 insertions(+)
diff
range
and values of register gain (in the driver it's call sensitivity).
Therefore the array of it is extended and dependent of the sensor type.
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 4 +-
drivers/iio/proximity/srf08.c
srf02 added with support for i2c interface
Attributes for setting max range or sensitivity are omitted for the case of
srf02 type sensor, because they are not supported by the hardware.
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 8 ++---
drivers/iio/proximity/srf08.c
Add support for triggered buffers.
Data format is quite simple:
distance 16 Bit
alignment48 Bit
timestamp64 Bit
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf08.c | 60 ---
1 file changed, 57 insertions(+), 3 deletions
This patch adds an additional property in the device tree for adjusting the
delay between a rising edge on PD_SCK until data is ready on DOUT.
This is necessary because of parasitic capacities on different systems.
Furthermore a maintainer for this driver is added.
Andreas Klinger (3):
iio
add data-ready-delay-ns property for hx711 ADC
this is the delay after rising PD_SCK until DOUT is read and assumed to be
ready
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a
maximum PD_SCK high time which
is corresponding to the datasheet 5 ns.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 9430b54121e0..41e26ef324ee
add a maintainer for driver hx711
Signed-off-by: Andreas Klinger
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4b65225d443a..cfb8a08777ac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2535,6 +2535,13 @@ S: Maintained
F
Hi Jonathan,
Jonathan Cameron schrieb am Sun, 24. Jun 14:10:
> On Sat, 23 Jun 2018 20:54:21 +0200
> Andreas Klinger wrote:
>
> > add data-ready-delay-ns property for hx711 ADC
> > this is the delay after rising PD_SCK until DOUT is read and assumed to be
> > r
fix of dtc warning if someone is using the
given example
Andreas Klinger (4):
iio: hx711: add data-ready-delay-ns property in DT
iio: hx711: add delay until DOUT is ready
iio: hx711: add maintainer for driver
iio: hx711: warning in dt binding example doc
.../devicetree/bindings/iio/adc
add data-ready-delay-ns property for hx711 ADC
this is the delay after rising PD_SCK until DOUT is read and assumed to be
ready
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation
maximum PD_SCK high time which
is corresponding to the datasheet 5 ns.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 9430b54121e0..41e26ef324ee
add a maintainer for driver hx711
Signed-off-by: Andreas Klinger
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4b65225d443a..cfb8a08777ac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2535,6 +2535,13 @@ S: Maintained
F
device tree compiler (dtc) gives a warning if a device node has "@" with a
following number as it's name but no reg property.
fix the example in the documentation of avia,hx711 to conform to dtc
behavior
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio
Functions for triggered buffer support are needed by this module.
If they are not defined accidentally by another driver, there's an error
thrown out while linking.
Add a select of IIO_BUFFER and IIO_TRIGGERED_BUFFER in the Kconfig file.
Signed-off-by: Andreas Klinger
---
drivers/iio/prox
example
Changes against v2:
- added suggestion of Jonathan to add vendor prefix in device tree setting
Andreas Klinger (3):
iio: hx711: add data-ready-delay-ns property in DT
iio: hx711: add delay until DOUT is ready
iio: hx711: warning in dt binding example doc
.../devicetree/bindings/iio
add avia,data-ready-delay-ns property for hx711 ADC
this is the delay after rising PD_SCK until DOUT is read and assumed to be
ready
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a
maximum PD_SCK high time which
is corresponding to the datasheet 5 ns.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 9430b54121e0..d944d1abedac
device tree compiler (dtc) gives a warning if a device node has "@" with a
following number as it's name but no reg property.
fix the example in the documentation of avia,hx711 to conform to dtc
behavior
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio
Add clock-frequency property for hx711 ADC. This is the frequency of
PD_SCK.
After PD_SCK goes high DOUT is read just before PD_SCK goes down again.
This is necessary because of parasitic capacitance on the wiring.
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio/adc
prefix in device tree setting
Andreas Klinger (3):
iio: hx711: add clock-frequency property in DT
iio: hx711: add delay until DOUT is ready
iio: hx711: fix spurious unit-address in example
.../devicetree/bindings/iio/adc/avia-hx711.txt | 8 -
drivers/iio/adc/hx711.c
the maximum PD_SCK high time which
is corresponding to the datasheet 5 ns.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 9430b54121e0
Device tree compiler (dtc) gives a warning if a device node has "@" with a
following number as it's name but no reg property.
Fix the example in the documentation of avia,hx711 to conform to dtc
behavior.
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio
workqueue. Supported are letters and digits.
With the file dot_unit the minimal time unit can be adjusted in
milliseconds.
Signed-off-by: Andreas Klinger
---
drivers/leds/trigger/Kconfig | 10 ++
drivers/leds/trigger/Makefile| 1 +
drivers/leds/trigger/ledtrig-mor
gt; > The trigger will be called "morse"
> >
> > The string to be send is written into the file morse_string and sent out
> > with a workqueue. Supported are letters and digits.
> >
> > With the file dot_unit the minimal time unit can be adjusted in
> > mill
;
> >
> > The string to be send is written into the file morse_string and sent out
> > with a workqueue. Supported are letters and digits.
> >
> > With the file dot_unit the minimal time unit can be adjusted in
> > milliseconds.
> >
> > Signed-off-by:
Hi,
Pavel Machek schrieb am Thu, 28. Jun 22:45:
> On Thu 2018-06-28 22:29:57, Andreas Klinger wrote:
> > Hi Pavel,
> >
> > Pavel Machek schrieb am Thu, 28. Jun 20:56:
> > > Hi!
> > >
> > > > Send out a morse code by using LEDs.
> > &
workqueue. Supported are letters and digits.
With the file dot_unit the minimal time unit can be adjusted in
milliseconds.
Also add documentation for the morse led trigger
Thanks to Greg and Geert for suggesting improvements
Signed-off-by: Andreas Klinger
---
.../ABI/testing/sysfs-class-led-tri
example
Changes against v3:
- added suggestion of Rob to rename the new attribute to clock-frequency
Changes against v2:
- added suggestion of Jonathan to add vendor prefix in device tree setting
Andreas Klinger (3):
iio: hx711: add clock-frequency property in DT
iio: hx711: add delay until DOUT
maximum PD_SCK high time which
is corresponding to the datasheet 5 ns.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 9430b54121e0
again.
This is necessary because of parasitic capacities on the wiring.
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt
b
device tree compiler (dtc) gives a warning if a device node has "@" with a
following number as it's name but no reg property.
fix the example in the documentation of avia,hx711 to conform to dtc
behavior
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/iio
Hi Rob,
please see explanation below. Thanks.
Rob Herring schrieb am Thu, 05. Jul 15:30:
> On Wed, Jul 04, 2018 at 02:36:38PM +0200, Andreas Klinger wrote:
> > Add clock-frequency property for hx711 ADC
> >
> > This is the frequency of PD_SCK. It affects only the high val
Document properties reg and interrupts for OMAP GPIO controller bindings
Also add unit address in node name of the example
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/gpio/gpio-omap.txt | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a
documentation
- use directly __be16 datatype to read directly from i2c
- use s16 as return value from mb12x2_read_distance()
Andreas Klinger (4):
dt-bindings: Add vendor prefix for MaxBotix
dt-bindings: maxbotix,i2cxl: Add MaxBotix i2c ultrasonic rangers
mb12x2.c: add distance iio sensor with i2c
Add MaxBotix, which is a vendor of ultrasonic rangers in different
varieties and interfaces.
Signed-off-by: Andreas Klinger
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 11 ++
drivers/iio/proximity/Makefile | 1 +
drivers/iio/proximity/mb12x2.c | 283 +
3 files changed, 295 insertions(+)
create mode 100644 drivers/iio/proximity/mb12x2.c
diff --git a
Add doc for dt binding maxbotix,i2cxl. This binding is for MaxBotix
I2CXL-MaxSonar ultrasonic rangers which share a common i2c interface.
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/maxbotix,i2cxl.txt | 21 +
1 file changed, 21 insertions(+)
create
add a maintainer for the newly created ultrasonic driver family of maxbotix
Signed-off-by: Andreas Klinger
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9919840d54cd..0807d9239e1a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9226,6
use yaml description language to document Devantech SRF04 ultrasonic iio
proximity driver
Andreas Klinger (2):
devantech-srf04.yaml: transform DT binding to YAML
devantech-srf04.txt: remove old DT documentation
.../bindings/iio/proximity/devantech-srf04.txt | 28 --
.../bindings
use devantech-srf04.txt and transform binding into yaml
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/devantech-srf04.yaml| 62 ++
1 file changed, 62 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml
remove the outdated DT documentation of devantech srf04 iio driver which
is replaced by devantech-srf04.yaml
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/devantech-srf04.txt | 28 --
1 file changed, 28 deletions(-)
delete mode 100644
Documentation
devantech-srf04.yaml: yaml devicetree binding for iio ultrasonic
proximity driver of devantech srf04
use devantech-srf04.txt, transform binding into yaml and remove the
outdated DT documentation
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/devantech-srf04.txt | 28
replace avia-hx711.txt by avia-hx711.yaml as yaml devicetree
documentation for avia hx711 iio adc sensor
Signed-off-by: Andreas Klinger
---
.../devicetree/bindings/iio/adc/avia-hx711.txt | 24
.../devicetree/bindings/iio/adc/avia-hx711.yaml| 66 ++
2 files
use bmp085.txt and change it into yaml format
fix links to datasheets in replaced documentation
Signed-off-by: Andreas Klinger
---
.../devicetree/bindings/iio/pressure/bmp085.txt| 27 -
.../devicetree/bindings/iio/pressure/bmp085.yaml | 70 ++
2 files changed
.
This patch series needs the formerly submitted
"[PATCH v2] devantech-srf04.yaml: transform DT binding to YAML"
because it relies on the yaml documentation of devantech-srf04.yaml
Andreas Klinger (3):
srf04.c: add maxbotix ultrasonic sensors
devantech-srf04.yaml: add Maxbotix ultr
add Maxbotix LV ultrasonic sensor types mb1000, mb1010, mb1020, mb1030
and mb1040
add a configuration struct with the different trigger pulse lengths
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf04.c | 38 +-
1 file changed, 29 insertions
add compatibles for Maxbotix ultrasonic iio sensor types to yaml
documentation
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/devantech-srf04.yaml| 25 ++
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git
a/Documentation/devicetree/bindings/iio
reword configuration option for SRF04
list supported types in help text
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
index
list and dt doc into two patches
- merge driver source and Kconfig/Makefile change into one patch
- reword dt documentation
- use directly __be16 datatype to read directly from i2c
- use s16 as return value from mb12x2_read_distance()
Andreas Klinger (4):
dt-bindings: Add vendor prefix for MaxBotix
Add MaxBotix, which is a vendor of ultrasonic rangers in different
varieties and interfaces.
Signed-off-by: Andreas Klinger
Reviewed-by: Andreas Färber
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a
Add doc for dt binding maxbotix,mb1232. This binding is for MaxBotix
I2CXL-MaxSonar ultrasonic rangers which share a common i2c interface.
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/maxbotix,mb1232.txt | 31 ++
1 file changed, 31 insertions(+)
create
mb1232 driver to Kconfig and Makefile
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 12 ++
drivers/iio/proximity/Makefile | 1 +
drivers/iio/proximity/mb1232.c | 274 +
3 files changed, 287 insertions(+)
create mode 100644 drivers
add a maintainer for the newly created ultrasonic driver family of maxbotix
Signed-off-by: Andreas Klinger
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index dce5c099f43c..fa054f8cc7fb 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9234,6
.cvut.cz
> Department of Telecommunications Engineering
> Faculty of Electrical Engineering
>
> > On 26 Jun 2019, at 21:49, Jonathan Cameron wrote:
> >
> > No rush, it's a clear fix anyway so we can queue this up
> > in the rc phase of the next kernel cycle!
>
without a
Suggested-By or something similar.
Andreas Klinger (3):
iio: adc: hx711: optimize sampling of data
iio: adc: hx711: remove unnecessary read cycle
iio: adc: hx711: remove unnecessary returns
drivers/iio/adc/hx711.c | 40
1 file changed, 12
.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 88c7fe15003b..0678964dbd21 100644
--- a/drivers/iio/adc/hx711.c
+++ b/drivers/iio/adc/hx711.c
DOUT is not down.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 23 +--
1 file changed, 5 insertions(+), 18 deletions(-)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index 0678964dbd21..c8686558429b 100644
--- a/drivers/iio/adc/hx711.c
+++ b
Optimize use of return in hx711_set_gain_for_channel().
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index c8686558429b..20c249f502c0 100644
--- a/drivers
optimization which prevents unneded reads. There is no
bug which is fixed by it.
I'll send out the patch set with more detailed commit messages.
Thanks,
Andreas
Jonathan Cameron schrieb am So, 08. Sep 14:49:
> On Sat, 7 Sep 2019 12:18:00 +0200
> Andreas Klinger wrote:
>
> >
without a
Suggested-By or something similar.
Changes in v2:
- Clarify which part of the patch queue fixes a certain bug and which one
is an optimization of the driver without an underlying bug.
Andreas Klinger (3):
iio: adc: hx711: fix bug in sampling of data
iio: adc: hx711: optimize
cycle when DOUT is not down.
This is a performance optimization which allows to query the sensor with
a higher frequency.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 23 +--
1 file changed, 5 insertions(+), 18 deletions(-)
diff --git a/drivers/iio/adc/hx711.c
point of time which is at the end of PD_SCK low period.
This bug exists in the driver since it's initial addition. The more
interrupts on the system the higher is the probability that it happens.
Fixes: c3b2fdd0ea7e ("iio: adc: hx711: Add IIO driver for AVIA HX711")
Signed-off-by:
Optimize use of return in hx711_set_gain_for_channel().
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/hx711.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c
index c8686558429b..20c249f502c0 100644
--- a/drivers
ull the maximum
> distance parameter as a variable?
>
> Anyway, the change made works.
>
> Zbynek
> ---
> email: zbynek.ko...@fel.cvut.cz
> phone: +420 224 354 054
> web: http://www.fel.cvut.cz
> Department of Telecommunications Engineering
> Faculty of Electrical
transform existing documentation of maxbotix,mb1232 ultrasonic ranger
from text documentation format into yaml.
Changes in v2:
- removed description of reg property
- added a line:
additionalProperties: false
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/maxbotix,mb1232.txt
distance range.
Changes in v2:
- Added a Tested-by
Suggested-by: Zbyněk Kocur
Tested-by: Zbyněk Kocur
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf04.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/drivers/iio/proximity/srf04.c
maxbotix,mb1232.yaml
CHKDT [...]
But anyway i've fixed and send it out again.
Andreas
Rob Herring schrieb am Mo, 07. Okt 07:42:
> On Sun, Oct 6, 2019 at 9:27 AM Andreas Klinger wrote:
> >
> > transform existing documentation of maxbotix,mb1232 ultrasonic ranger
> > f
reg property
- added a line:
additionalProperties: false
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/maxbotix,mb1232.txt | 29 ---
.../bindings/iio/proximity/maxbotix,mb1232.yaml| 60 ++
2 files changed, 60 insertions(+), 29 deletions
transform existing documentation of maxbotix,mb1232 ultrasonic ranger
from text documentation format into yaml.
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/maxbotix,mb1232.txt | 29 ---
.../bindings/iio/proximity/maxbotix,mb1232.yaml| 56
Output of humidity compensation is limited to the range between 0 and
100 percent. Add this to the compensation formula as described in the
datasheet chapter 4.2.3.
Change to v1:
Thanks to Tomasz for suggesting the easier to use function clamp_val()
which is now used.
Signed-off-by: Andreas
replace avia-hx711.txt by avia-hx711.yaml as yaml devicetree documentation
for avia hx711 iio adc sensor
Signed-off-by: Andreas Klinger
---
.../devicetree/bindings/iio/adc/avia-hx711.txt | 24
.../devicetree/bindings/iio/adc/avia-hx711.yaml| 67 ++
2 files
use bmp085.txt and change it into yaml format
fix links to datasheets in replaced documentation
Signed-off-by: Andreas Klinger
---
.../devicetree/bindings/iio/pressure/bmp085.txt| 27
.../devicetree/bindings/iio/pressure/bmp085.yaml | 71 ++
2 files changed
distance range.
Suggested-by: Zbyněk Kocur
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/srf04.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/drivers/iio/proximity/srf04.c b/drivers/iio/proximity/srf04.c
index 8b50d56b0a03
mmc cards on mmc1 are not detected because of wrong card detect (cd) level.
Change cd from GPIO_ACTIVE_HIGH to GPIO_ACTIVE_LOW.
This is necessary because of commit e63201f19438 ("mmc: omap_hsmmc:
Delete platform data GPIO CD and WP")
Signed-off-by: Andreas Klinger
---
arch/arm/boot/
completion of ranging
Andreas Klinger (4):
maxbotix,mb12x2.txt: add dt doc for maxbotix,mb12x2
iio/proximity: add mb12x2 driver to Kconfig and Makefile
mb12x2.c: add mb12x2 ultrasonic distance iio sensor
MAINTAINERS: add maintainer for maxbotix ultrasonic driver
.../bindings/iio/proximity
add dt doc for maxbotix,mb12x2 and also a new vendor prefix maxbotix
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/maxbotix,mb12x2.txt | 22 ++
.../devicetree/bindings/vendor-prefixes.txt| 1 +
2 files changed, 23 insertions(+)
create mode
Makefile and Kconfig: add configuration for mb12x2 ultrasonic proximity
driver
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 11 +++
drivers/iio/proximity/Makefile | 1 +
2 files changed, 12 insertions(+)
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio
Add MaxSonar-I2CXL ultrasonic distance sensors of type family mb12x2
using the i2c interface
Implemented functionality:
- reading the distance via in_distance_raw
- buffered mode with trigger
- make use of status gpio to announce completion of ranging
Signed-off-by: Andreas Klinger
---
drivers
add a maintainer for the newly created ultrasonic driver familiy of
maxbotix
Signed-off-by: Andreas Klinger
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9919840d54cd..bbf1860d4227 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9226,6
wer management
- reduced channel spec to what is actually used
- added error handling in case reset of chip not possible
Andreas Klinger (2):
iio: adc: hx711: Add DT binding for avia,hx711
iio: adc: hx711: Add IIO driver for AVIA HX711
.../devicetree/bindings/iio/adc/avia-hx711.txt | 1
and scale it.
Signed-off-by: Andreas Klinger
---
drivers/iio/adc/Kconfig | 19 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/hx711.c | 531 +++
3 files changed, 551 insertions(+)
create mode 100644 drivers/iio/adc/hx711.c
diff --git a
Add DT bindings for avia,hx711
Add vendor avia to vendor list
Signed-off-by: Andreas Klinger
Acked-by: Rob Herring
---
[PATCH v3 1/2] of this patch was Acked-by: Rob Herring
In v4 the regulator (avdd-supply) was added
.../devicetree/bindings/iio/adc/avia-hx711.txt | 18
Hi Jonathan,
[...]
> >> For the range, it's an interesting one. Again the term range could
> >> mean too many things within the wider ABI. We need to make it more
> >> specific.
> >>
> >> Actually reading the datasheet, I think this is fundamentally about the
> >> maximum sampling frequency rath
n Makefile
- use of u8 while accessing registers
- avoid endianness problems with 16 bit values
- missing return value checks
- some explaining documentation added
Andreas Klinger (3):
iio: distance: srf08: add trivial DT binding
iio: distance: srf08: add IIO driver for us ranger
Add DT binding for devantech,srf08
Add vendor devantech to vendor list
Signed-off-by: Andreas Klinger
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
2 files changed, 2 insertions
Signed-off-by: Andreas Klinger
---
.../ABI/testing/sysfs-bus-iio-distance-srf08 | 27 ++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-distance-srf08
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08
b
t;Proximity and distance sensors"
Signed-off-by: Andreas Klinger
---
drivers/iio/proximity/Kconfig | 13 +-
drivers/iio/proximity/Makefile | 1 +
drivers/iio/proximity/srf08.c | 405 +
3 files changed, 418 insertions(+), 1 deletion(-)
create mod
Hi Jonathan,
see comments below.
Andreas
Jonathan Cameron schrieb am Sat, 14. Jan 12:17:
> On 10/01/17 18:48, Andreas Klinger wrote:
> > This is the IIO driver for devantech srf08 ultrasonic ranger which can be
> > used to measure the distances to an object.
> >
> &
This patch adds dt binding for devantech ultrasonic ranger srf04.
The vendor "devantech" was already added to the vendor list with
"[PATCH v4 1/3] iio: distance: srf08: add trivial DT binding"
Signed-off-by: Andreas Klinger
---
.../bindings/iio/proximity/devantec
ime accepted as valid ultrasonic response
- removed dev_info(); it was there for debugging reasons and is no longer
needed
- usage of devm_request_irq() and iio_device_register()
Andreas Klinger (2):
iio: distance: add dt binding for devantech-srf04
iio: distance: add devantech
1 - 100 of 170 matches
Mail list logo