* [PATCH v2 00/19] Fix broken documentation file references
@ 2021-04-07 8:20 Mauro Carvalho Chehab
2021-04-07 8:20 ` [PATCH v2 06/19] dt-bindings: don't use ../dir for doc references Mauro Carvalho Chehab
2021-04-07 8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
0 siblings, 2 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2021-04-07 8:20 UTC (permalink / raw)
To: Linux Doc Mailing List, Jonathan Corbet
Cc: Mauro Carvalho Chehab, linux-kernel, Przemysław Gaj,
Akira Yokosawa, Alexandre Belloni, Daniel Lustig, Daniel Vetter,
David Airlie, Dmitry Torokhov, Federico Vaga, Guenter Roeck,
Harry Wei, Jean Delvare, Joel Fernandes, Lars-Peter Clausen,
Matthias Brugger, Mauro Carvalho Chehab, Peter Meerwald-Stadler,
Rob Herring, Sebastian Reichel, Vitor Soares, devicetree,
dri-devel, kvm, linux-arch, linux-arm-kernel, linux-hwmon,
linux-i3c, linux-iio, linux-input, linux-media, linux-mediatek,
linux-pm
Hi Jon,
As files keep being moved around and DT bindings are
converted and renamed to yaml, their doc references get
outdated, pointing to an invalid places.
This series address those. It is based on the top of docs-next tree,
and most patches here are independent from the other ones.
v2:
- Dropped patches that were already applied, Most of those
will be following via Jonathan Cameron's iio tree;
- Dropped patches that don't apply on the top of docs next.
- Added some new patches fixing other breakages.
PS.:
I placed the dropped patches on a separate branch. I'll track
them and re-submit any missing ones after -rc1.
Mauro Carvalho Chehab (19):
MAINTAINERS: update ste,mcde.yaml reference
MAINTAINERS: update brcm,bcm-v3d.yaml reference
MAINTAINERS: update fsl,dpaa2-console.yaml reference
MAINTAINERS: update mtk-sd.yaml reference
MAINTAINERS: update snps,dw-axi-dmac.yaml reference
dt-bindings: don't use ../dir for doc references
dt-bindings: fix references for iio-bindings.txt
dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references
dt-bindings: i3c: update i3c.yaml references
dt-bindings:iio:adc: update motorola,cpcap-adc.yaml reference
dt-bindings:iio:adc: update dlg,da9150-gpadc.yaml reference
dt-bindings: power: supply: da9150: update da9150-charger.txt
reference
dt-bindings: power: supply: da9150: update da9150-fg.txt reference
docs: update sysfs-platform_profile.rst reference
docs: update rcu_dereference.rst reference
docs: vcpu-requests.rst: fix reference for atomic ops
docs: replace transation references for reporting-bugs.rst
docs: translations/zh_CN: fix a typo at 8.Conclusion.rst
docs: sched-bwc.rst: fix a typo on a doc name
.../bindings/display/mediatek/mediatek,disp.txt | 2 +-
.../devicetree/bindings/hwmon/ntc_thermistor.txt | 2 +-
.../devicetree/bindings/i3c/cdns,i3c-master.txt | 6 +++---
.../bindings/i3c/snps,dw-i3c-master.txt | 6 +++---
.../devicetree/bindings/iio/adc/ingenic,adc.yaml | 5 +++--
.../devicetree/bindings/input/adc-joystick.yaml | 4 +++-
.../input/touchscreen/resistive-adc-touch.txt | 5 ++++-
.../bindings/media/mediatek-jpeg-decoder.txt | 2 +-
.../bindings/media/mediatek-jpeg-encoder.txt | 2 +-
.../devicetree/bindings/media/mediatek-mdp.txt | 2 +-
.../bindings/media/mediatek-vcodec.txt | 2 +-
Documentation/devicetree/bindings/mfd/ab8500.txt | 4 +++-
Documentation/devicetree/bindings/mfd/da9150.txt | 8 ++++----
.../devicetree/bindings/mfd/motorola-cpcap.txt | 16 ++++++++--------
.../bindings/power/supply/da9150-charger.txt | 2 +-
Documentation/scheduler/sched-bwc.rst | 2 +-
.../translations/it_IT/process/howto.rst | 2 +-
Documentation/translations/ja_JP/howto.rst | 2 +-
Documentation/translations/zh_CN/SecurityBugs | 2 +-
.../zh_CN/admin-guide/reporting-issues.rst | 4 ++--
.../translations/zh_CN/process/8.Conclusion.rst | 2 +-
.../translations/zh_CN/process/howto.rst | 2 +-
Documentation/virt/kvm/vcpu-requests.rst | 2 +-
MAINTAINERS | 10 +++++-----
include/linux/platform_profile.h | 2 +-
tools/memory-model/Documentation/glossary.txt | 2 +-
26 files changed, 54 insertions(+), 46 deletions(-)
--
2.30.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 06/19] dt-bindings: don't use ../dir for doc references
2021-04-07 8:20 [PATCH v2 00/19] Fix broken documentation file references Mauro Carvalho Chehab
@ 2021-04-07 8:20 ` Mauro Carvalho Chehab
2021-04-07 8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
1 sibling, 0 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2021-04-07 8:20 UTC (permalink / raw)
To: Linux Doc Mailing List
Cc: Mauro Carvalho Chehab, Jonathan Corbet, Dmitry Torokhov,
Lee Jones, Rob Herring, devicetree, linux-input, linux-kernel
As documents have been renamed and moved around, their
references will break, but this will be unnoticed, as the
script which checks for it won't handle "../" references.
So, replace them by the full patch.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
.../input/touchscreen/resistive-adc-touch.txt | 2 +-
Documentation/devicetree/bindings/mfd/da9150.txt | 8 ++++----
.../devicetree/bindings/mfd/motorola-cpcap.txt | 16 ++++++++--------
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
index 51456c0e9a27..fee0da12474e 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
@@ -5,7 +5,7 @@ Required properties:
- compatible: must be "resistive-adc-touch"
The device must be connected to an ADC device that provides channels for
position measurement and optional pressure.
-Refer to ../iio/iio-bindings.txt for details
+Refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details
- 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
have the right index as the ADC device registers them. These channels
diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
index f09b41fbdf47..763e0b639a82 100644
--- a/Documentation/devicetree/bindings/mfd/da9150.txt
+++ b/Documentation/devicetree/bindings/mfd/da9150.txt
@@ -15,13 +15,13 @@ Required properties:
- reg: Specifies the I2C slave address
- interrupts: IRQ line info for da9150 chip.
- interrupt-controller: da9150 has internal IRQs (own IRQ domain).
- (See ../interrupt-controller/interrupts.txt for
+ (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
further information relating to interrupt properties)
Sub-devices:
-- da9150-gpadc: See ../iio/adc/da9150-gpadc.txt
-- da9150-charger: See ../power/da9150-charger.txt
-- da9150-fg: See ../power/da9150-fg.txt
+- da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
+- da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
+- da9150-fg: See Documentation/devicetree/bindings/power/da9150-fg.txt
Example:
diff --git a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
index 5ddcc8f4febc..ebdccfb600b9 100644
--- a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
+++ b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
@@ -16,14 +16,14 @@ Optional subnodes:
The sub-functions of CPCAP get their own node with their own compatible values,
which are described in the following files:
-- ../power/supply/cpcap-battery.txt
-- ../power/supply/cpcap-charger.txt
-- ../regulator/cpcap-regulator.txt
-- ../phy/phy-cpcap-usb.txt
-- ../input/cpcap-pwrbutton.txt
-- ../rtc/cpcap-rtc.txt
-- ../leds/leds-cpcap.txt
-- ../iio/adc/cpcap-adc.txt
+- Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
+- Documentation/devicetree/bindings/power/supply/cpcap-charger.txt
+- Documentation/devicetree/bindings/regulator/cpcap-regulator.txt
+- Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt
+- Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt
+- Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
+- Documentation/devicetree/bindings/leds/leds-cpcap.txt
+- Documentation/devicetree/bindings/iio/adc/cpcap-adc.txt
The only exception is the audio codec. Instead of a compatible value its
node must be named "audio-codec".
--
2.30.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt
2021-04-07 8:20 [PATCH v2 00/19] Fix broken documentation file references Mauro Carvalho Chehab
2021-04-07 8:20 ` [PATCH v2 06/19] dt-bindings: don't use ../dir for doc references Mauro Carvalho Chehab
@ 2021-04-07 8:20 ` Mauro Carvalho Chehab
2021-04-07 10:18 ` Jonathan Cameron
` (2 more replies)
1 sibling, 3 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2021-04-07 8:20 UTC (permalink / raw)
To: Linux Doc Mailing List
Cc: Mauro Carvalho Chehab, Jonathan Corbet, Artur Rojek,
Dmitry Torokhov, Guenter Roeck, Jean Delvare, Jonathan Cameron,
Lars-Peter Clausen, Lee Jones, Peter Meerwald-Stadler,
Rob Herring, Sebastian Reichel, devicetree, linux-hwmon,
linux-iio, linux-input, linux-kernel, linux-pm
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: dba91f82d580 ("dt-bindings:iio:iio-binding.txt Drop file as content now in dt-schema")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt | 2 +-
Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml | 5 +++--
Documentation/devicetree/bindings/input/adc-joystick.yaml | 4 +++-
.../bindings/input/touchscreen/resistive-adc-touch.txt | 5 ++++-
Documentation/devicetree/bindings/mfd/ab8500.txt | 4 +++-
.../devicetree/bindings/power/supply/da9150-charger.txt | 2 +-
6 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
index 37f18d684f6a..4c5c3712970e 100644
--- a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
+++ b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
@@ -32,7 +32,7 @@ Optional node properties:
- "#thermal-sensor-cells" Used to expose itself to thermal fw.
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:
ncp15wb473@0 {
diff --git a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
index 9f414dbdae86..433a3fb55a2e 100644
--- a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
@@ -14,8 +14,9 @@ description: >
Industrial I/O subsystem bindings for ADC controller found in
Ingenic JZ47xx SoCs.
- ADC clients must use the format described in iio-bindings.txt, giving
- a phandle and IIO specifier pair ("io-channels") to the ADC controller.
+ ADC clients must use the format described in
+ 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:
compatible:
diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml b/Documentation/devicetree/bindings/input/adc-joystick.yaml
index 054406bbd22b..721878d5b7af 100644
--- a/Documentation/devicetree/bindings/input/adc-joystick.yaml
+++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml
@@ -24,7 +24,9 @@ properties:
description: >
List of phandle and IIO specifier pairs.
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':
const: 1
diff --git a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
index fee0da12474e..af5223bb5bdd 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
@@ -5,7 +5,10 @@ Required properties:
- compatible: must be "resistive-adc-touch"
The device must be connected to an ADC device that provides channels for
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.
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
diff --git a/Documentation/devicetree/bindings/mfd/ab8500.txt b/Documentation/devicetree/bindings/mfd/ab8500.txt
index d2a6e835c257..937b3e5505e0 100644
--- a/Documentation/devicetree/bindings/mfd/ab8500.txt
+++ b/Documentation/devicetree/bindings/mfd/ab8500.txt
@@ -72,7 +72,9 @@ Required child device properties:
pwm|regulator|rtc|sysctrl|usb]";
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
temperatures.
diff --git a/Documentation/devicetree/bindings/power/supply/da9150-charger.txt b/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
index f3906663c454..033a9b6e1dd5 100644
--- a/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
+++ b/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
@@ -7,7 +7,7 @@ Optional properties:
- io-channels: List of phandle and IIO specifier pairs
- io-channel-names: List of channel names used by charger
["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
- (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
+ (See https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml for further info)
Example:
--
2.30.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt
2021-04-07 8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
@ 2021-04-07 10:18 ` Jonathan Cameron
2021-04-07 10:39 ` Sebastian Reichel
2021-04-07 12:15 ` Guenter Roeck
2 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2021-04-07 10:18 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Linux Doc Mailing List, Jonathan Corbet, Artur Rojek,
Dmitry Torokhov, Guenter Roeck, Jean Delvare, Jonathan Cameron,
Lars-Peter Clausen, Lee Jones, Peter Meerwald-Stadler,
Rob Herring, Sebastian Reichel, devicetree, linux-hwmon,
linux-iio, linux-input, linux-kernel, linux-pm
On Wed, 7 Apr 2021 10:20:46 +0200
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote:
> 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: dba91f82d580 ("dt-bindings:iio:iio-binding.txt Drop file as content now in dt-schema")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Given the spread of this one across various other binding docs, perhaps this is one
for Rob to pick up?
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
> Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt | 2 +-
> Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml | 5 +++--
> Documentation/devicetree/bindings/input/adc-joystick.yaml | 4 +++-
> .../bindings/input/touchscreen/resistive-adc-touch.txt | 5 ++++-
> Documentation/devicetree/bindings/mfd/ab8500.txt | 4 +++-
> .../devicetree/bindings/power/supply/da9150-charger.txt | 2 +-
> 6 files changed, 15 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
> index 37f18d684f6a..4c5c3712970e 100644
> --- a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
> +++ b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
> @@ -32,7 +32,7 @@ Optional node properties:
> - "#thermal-sensor-cells" Used to expose itself to thermal fw.
>
> 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:
> ncp15wb473@0 {
> diff --git a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
> index 9f414dbdae86..433a3fb55a2e 100644
> --- a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
> @@ -14,8 +14,9 @@ description: >
> Industrial I/O subsystem bindings for ADC controller found in
> Ingenic JZ47xx SoCs.
>
> - ADC clients must use the format described in iio-bindings.txt, giving
> - a phandle and IIO specifier pair ("io-channels") to the ADC controller.
> + ADC clients must use the format described in
> + 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:
> compatible:
> diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml b/Documentation/devicetree/bindings/input/adc-joystick.yaml
> index 054406bbd22b..721878d5b7af 100644
> --- a/Documentation/devicetree/bindings/input/adc-joystick.yaml
> +++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml
> @@ -24,7 +24,9 @@ properties:
> description: >
> List of phandle and IIO specifier pairs.
> 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':
> const: 1
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
> index fee0da12474e..af5223bb5bdd 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
> +++ b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
> @@ -5,7 +5,10 @@ Required properties:
> - compatible: must be "resistive-adc-touch"
> The device must be connected to an ADC device that provides channels for
> 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.
> 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
> diff --git a/Documentation/devicetree/bindings/mfd/ab8500.txt b/Documentation/devicetree/bindings/mfd/ab8500.txt
> index d2a6e835c257..937b3e5505e0 100644
> --- a/Documentation/devicetree/bindings/mfd/ab8500.txt
> +++ b/Documentation/devicetree/bindings/mfd/ab8500.txt
> @@ -72,7 +72,9 @@ Required child device properties:
> pwm|regulator|rtc|sysctrl|usb]";
>
> 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
> temperatures.
> diff --git a/Documentation/devicetree/bindings/power/supply/da9150-charger.txt b/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
> index f3906663c454..033a9b6e1dd5 100644
> --- a/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
> +++ b/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
> @@ -7,7 +7,7 @@ Optional properties:
> - io-channels: List of phandle and IIO specifier pairs
> - io-channel-names: List of channel names used by charger
> ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
> - (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
> + (See https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml for further info)
>
>
> Example:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt
2021-04-07 8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
2021-04-07 10:18 ` Jonathan Cameron
@ 2021-04-07 10:39 ` Sebastian Reichel
2021-04-07 12:15 ` Guenter Roeck
2 siblings, 0 replies; 6+ messages in thread
From: Sebastian Reichel @ 2021-04-07 10:39 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Linux Doc Mailing List, Jonathan Corbet, Artur Rojek,
Dmitry Torokhov, Guenter Roeck, Jean Delvare, Jonathan Cameron,
Lars-Peter Clausen, Lee Jones, Peter Meerwald-Stadler,
Rob Herring, devicetree, linux-hwmon, linux-iio, linux-input,
linux-kernel, linux-pm
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
Hi,
On Wed, Apr 07, 2021 at 10:20:46AM +0200, Mauro Carvalho Chehab wrote:
> 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: dba91f82d580 ("dt-bindings:iio:iio-binding.txt Drop file as content now in dt-schema")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
[...]
> .../devicetree/bindings/power/supply/da9150-charger.txt | 2 +-
This file got converted to YAML in my tree and no longer exists in
linux-next. The new YAML file no longer references iio-bindings.txt.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt
2021-04-07 8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
2021-04-07 10:18 ` Jonathan Cameron
2021-04-07 10:39 ` Sebastian Reichel
@ 2021-04-07 12:15 ` Guenter Roeck
2 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2021-04-07 12:15 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Linux Doc Mailing List
Cc: Jonathan Corbet, Artur Rojek, Dmitry Torokhov, Jean Delvare,
Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
Peter Meerwald-Stadler, Rob Herring, Sebastian Reichel,
devicetree, linux-hwmon, linux-iio, linux-input, linux-kernel,
linux-pm
On 4/7/21 1:20 AM, Mauro Carvalho Chehab wrote:
> 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: dba91f82d580 ("dt-bindings:iio:iio-binding.txt Drop file as content now in dt-schema")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
> Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt | 2 +-
Acked-by: Guenter Roeck <linux@roeck-us.net>
> Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml | 5 +++--
> Documentation/devicetree/bindings/input/adc-joystick.yaml | 4 +++-
> .../bindings/input/touchscreen/resistive-adc-touch.txt | 5 ++++-
> Documentation/devicetree/bindings/mfd/ab8500.txt | 4 +++-
> .../devicetree/bindings/power/supply/da9150-charger.txt | 2 +-
> 6 files changed, 15 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
> index 37f18d684f6a..4c5c3712970e 100644
> --- a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
> +++ b/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt
> @@ -32,7 +32,7 @@ Optional node properties:
> - "#thermal-sensor-cells" Used to expose itself to thermal fw.
>
> 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:
> ncp15wb473@0 {
> diff --git a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
> index 9f414dbdae86..433a3fb55a2e 100644
> --- a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
> @@ -14,8 +14,9 @@ description: >
> Industrial I/O subsystem bindings for ADC controller found in
> Ingenic JZ47xx SoCs.
>
> - ADC clients must use the format described in iio-bindings.txt, giving
> - a phandle and IIO specifier pair ("io-channels") to the ADC controller.
> + ADC clients must use the format described in
> + 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:
> compatible:
> diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml b/Documentation/devicetree/bindings/input/adc-joystick.yaml
> index 054406bbd22b..721878d5b7af 100644
> --- a/Documentation/devicetree/bindings/input/adc-joystick.yaml
> +++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml
> @@ -24,7 +24,9 @@ properties:
> description: >
> List of phandle and IIO specifier pairs.
> 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':
> const: 1
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
> index fee0da12474e..af5223bb5bdd 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
> +++ b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
> @@ -5,7 +5,10 @@ Required properties:
> - compatible: must be "resistive-adc-touch"
> The device must be connected to an ADC device that provides channels for
> 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.
> 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
> diff --git a/Documentation/devicetree/bindings/mfd/ab8500.txt b/Documentation/devicetree/bindings/mfd/ab8500.txt
> index d2a6e835c257..937b3e5505e0 100644
> --- a/Documentation/devicetree/bindings/mfd/ab8500.txt
> +++ b/Documentation/devicetree/bindings/mfd/ab8500.txt
> @@ -72,7 +72,9 @@ Required child device properties:
> pwm|regulator|rtc|sysctrl|usb]";
>
> 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
> temperatures.
> diff --git a/Documentation/devicetree/bindings/power/supply/da9150-charger.txt b/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
> index f3906663c454..033a9b6e1dd5 100644
> --- a/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
> +++ b/Documentation/devicetree/bindings/power/supply/da9150-charger.txt
> @@ -7,7 +7,7 @@ Optional properties:
> - io-channels: List of phandle and IIO specifier pairs
> - io-channel-names: List of channel names used by charger
> ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
> - (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
> + (See https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml for further info)
>
>
> Example:
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-07 12:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 8:20 [PATCH v2 00/19] Fix broken documentation file references Mauro Carvalho Chehab
2021-04-07 8:20 ` [PATCH v2 06/19] dt-bindings: don't use ../dir for doc references Mauro Carvalho Chehab
2021-04-07 8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
2021-04-07 10:18 ` Jonathan Cameron
2021-04-07 10:39 ` Sebastian Reichel
2021-04-07 12:15 ` Guenter Roeck
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).