Commit 8235ef15 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Rob Herring

dt-bindings: fix references for iio-bindings.txt

The iio-bindings.txt was converted into two files and merged
at the dt-schema git tree at:

	https://github.com/devicetree-org/dt-schema

Yet, some documents still refer to the old file. Fix their
references, in order to point to the right URL.

Fixes: dba91f82 ("dt-bindings:iio:iio-binding.txt Drop file as content now in dt-schema")
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/4efd81eca266ca0875d3bf9d1672097444146c69.1617972339.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent f6d6c699
...@@ -32,7 +32,7 @@ Optional node properties: ...@@ -32,7 +32,7 @@ Optional node properties:
- "#thermal-sensor-cells" Used to expose itself to thermal fw. - "#thermal-sensor-cells" Used to expose itself to thermal fw.
Read more about iio bindings at Read more about iio bindings at
Documentation/devicetree/bindings/iio/iio-bindings.txt https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/
Example: Example:
ncp15wb473@0 { ncp15wb473@0 {
......
...@@ -14,8 +14,9 @@ description: > ...@@ -14,8 +14,9 @@ description: >
Industrial I/O subsystem bindings for ADC controller found in Industrial I/O subsystem bindings for ADC controller found in
Ingenic JZ47xx SoCs. Ingenic JZ47xx SoCs.
ADC clients must use the format described in iio-bindings.txt, giving ADC clients must use the format described in
a phandle and IIO specifier pair ("io-channels") to the ADC controller. https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml,
giving a phandle and IIO specifier pair ("io-channels") to the ADC controller.
properties: properties:
compatible: compatible:
......
...@@ -24,7 +24,9 @@ properties: ...@@ -24,7 +24,9 @@ properties:
description: > description: >
List of phandle and IIO specifier pairs. List of phandle and IIO specifier pairs.
Each pair defines one ADC channel to which a joystick axis is connected. Each pair defines one ADC channel to which a joystick axis is connected.
See Documentation/devicetree/bindings/iio/iio-bindings.txt for details. See
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
for details.
'#address-cells': '#address-cells':
const: 1 const: 1
......
...@@ -5,7 +5,10 @@ Required properties: ...@@ -5,7 +5,10 @@ Required properties:
- compatible: must be "resistive-adc-touch" - compatible: must be "resistive-adc-touch"
The device must be connected to an ADC device that provides channels for The device must be connected to an ADC device that provides channels for
position measurement and optional pressure. position measurement and optional pressure.
Refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details Refer to
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
for details
- iio-channels: must have at least two channels connected to an ADC device. - iio-channels: must have at least two channels connected to an ADC device.
These should correspond to the channels exposed by the ADC device and should These should correspond to the channels exposed by the ADC device and should
have the right index as the ADC device registers them. These channels have the right index as the ADC device registers them. These channels
......
...@@ -72,7 +72,9 @@ Required child device properties: ...@@ -72,7 +72,9 @@ Required child device properties:
pwm|regulator|rtc|sysctrl|usb]"; pwm|regulator|rtc|sysctrl|usb]";
A few child devices require ADC channels from the GPADC node. Those follow the A few child devices require ADC channels from the GPADC node. Those follow the
standard bindings from iio/iio-bindings.txt and iio/adc/adc.txt standard bindings from
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
and Documentation/devicetree/bindings/iio/adc/adc.yaml
abx500-temp : io-channels "aux1" and "aux2" for measuring external abx500-temp : io-channels "aux1" and "aux2" for measuring external
temperatures. temperatures.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment