diff for duplicates of <20181116184417.1259889b@archlinux> diff --git a/a/1.txt b/N1/1.txt index d837677..050ed1d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,7 +2,7 @@ On Tue, 13 Nov 2018 13:22:18 +0200 Stefan Popa <stefan.popa@analog.com> wrote: > Add support for Analog Devices AD7124 4-channels and 8-channels ADC. ->=20 +> > Signed-off-by: Stefan Popa <stefan.popa@analog.com> Looks good to me. Will wait on that DT review of patch 2 (and perhaps this one as well) @@ -16,26 +16,20 @@ Jonathan > - Nothing changed. > Changes in v3: > - Removed the "adi,channels" property. -> - Used the "reg" property to get the channel number and "adi,diff-channe= -ls" -> for the differential pins. The "adi,channel-number" property was remov= -ed. +> - Used the "reg" property to get the channel number and "adi,diff-channels" +> for the differential pins. The "adi,channel-number" property was removed. > - adi,bipolar is of boolean type. > Changes in v4: -> - Used the bipolar and diff-channels properties defined in the new adc.t= -xt doc. +> - Used the bipolar and diff-channels properties defined in the new adc.txt doc. > Changes in v5: > - Removed the gain and odr properties from the example. ->=20 -> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++= -++++++ +> +> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 76 insertions(+) -> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.= -txt ->=20 -> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/D= -ocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt +> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt +> +> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt > new file mode 100644 > index 0000000..416273d > --- /dev/null @@ -52,28 +46,25 @@ ocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt > + see: Documentation/devicetree/bindings/clock/clock-bindings.txt > + - clock-names: Must be "mclk". > + - interrupts: IRQ line for the ADC -> + see: Documentation/devicetree/bindings/interrupt-controller/interrupts= -.txt +> + see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt > + > + Required properties: > + * #address-cells: Must be 1. > + * #size-cells: Must be 0. > + -> + Subnode(s) represent the external channels which are connected to the= - ADC. +> + Subnode(s) represent the external channels which are connected to the ADC. > + Each subnode represents one channel and has the following properties: > + Required properties: > + * reg: The channel number. It can have up to 4 channels on ad7124-4 > + and 8 channels on ad7124-8, numbered from 0 to 15. -> + * diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.t= -xt +> + * diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.txt > + > + Optional properties: > + * bipolar: see: Documentation/devicetree/bindings/iio/adc/adc.txt > + * adi,reference-select: Select the reference source to use when > + converting on the the specific channel. Valid values are: -> + 0: REFIN1(+)/REFIN1(=E2=88=92). -> + 1: REFIN2(+)/REFIN2(=E2=88=92). +> + 0: REFIN1(+)/REFIN1(−). +> + 1: REFIN2(+)/REFIN2(−). > + 3: AVDD > + If this field is left empty, internal reference is selected. > + @@ -84,39 +75,39 @@ xt > + > +Example: > + adc@0 { -> + compatible =3D "adi,ad7124-4"; -> + reg =3D <0>; -> + spi-max-frequency =3D <5000000>; -> + interrupts =3D <25 2>; -> + interrupt-parent =3D <&gpio>; -> + refin1-supply =3D <&adc_vref>; -> + clocks =3D <&ad7124_mclk>; -> + clock-names =3D "mclk"; +> + compatible = "adi,ad7124-4"; +> + reg = <0>; +> + spi-max-frequency = <5000000>; +> + interrupts = <25 2>; +> + interrupt-parent = <&gpio>; +> + refin1-supply = <&adc_vref>; +> + clocks = <&ad7124_mclk>; +> + clock-names = "mclk"; > + -> + #address-cells =3D <1>; -> + #size-cells =3D <0>; +> + #address-cells = <1>; +> + #size-cells = <0>; > + > + channel@0 { -> + reg =3D <0>; -> + diff-channels =3D <0 1>; -> + adi,reference-select =3D <0>; +> + reg = <0>; +> + diff-channels = <0 1>; +> + adi,reference-select = <0>; > + }; > + > + channel@1 { -> + reg =3D <1>; +> + reg = <1>; > + bipolar; -> + diff-channels =3D <2 3>; -> + adi,reference-select =3D <0>; +> + diff-channels = <2 3>; +> + adi,reference-select = <0>; > + }; > + > + channel@2 { -> + reg =3D <2>; -> + diff-channels =3D <4 5>; +> + reg = <2>; +> + diff-channels = <4 5>; > + }; > + > + channel@3 { -> + reg =3D <3>; -> + diff-channels =3D <6 7>; +> + reg = <3>; +> + diff-channels = <6 7>; > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS @@ -128,6 +119,6 @@ xt > S: Supported > F: drivers/iio/adc/ad7124.c > +F: Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt -> =20 +> > ANALOG DEVICES INC AD9389B DRIVER > M: Hans Verkuil <hans.verkuil@cisco.com> diff --git a/a/content_digest b/N1/content_digest index 2e7125d..ee51d2c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,23 +3,23 @@ "Subject\0Re: [PATCH v5 4/4] dt-bindings: iio: adc: Add docs for ad7124\0" "Date\0Fri, 16 Nov 2018 18:44:17 +0000\0" "To\0Stefan Popa <stefan.popa@analog.com>\0" - "Cc\0<robh+dt@kernel.org>" - <mark.rutland@arm.com> - <knaack.h@gmx.de> - <lars@metafoo.de> - <pmeerw@pmeerw.net> - <Michael.Hennerich@analog.com> - <gregkh@linuxfoundation.org> - <linux-iio@vger.kernel.org> - <devicetree@vger.kernel.org> - " <linux-kernel@vger.kernel.org>\0" + "Cc\0robh+dt@kernel.org" + mark.rutland@arm.com + knaack.h@gmx.de + lars@metafoo.de + pmeerw@pmeerw.net + Michael.Hennerich@analog.com + gregkh@linuxfoundation.org + linux-iio@vger.kernel.org + devicetree@vger.kernel.org + " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" "On Tue, 13 Nov 2018 13:22:18 +0200\n" "Stefan Popa <stefan.popa@analog.com> wrote:\n" "\n" "> Add support for Analog Devices AD7124 4-channels and 8-channels ADC.\n" - ">=20\n" + "> \n" "> Signed-off-by: Stefan Popa <stefan.popa@analog.com>\n" "Looks good to me. Will wait on that DT review of patch 2 (and perhaps\n" "this one as well)\n" @@ -33,26 +33,20 @@ "> \t- Nothing changed.\n" "> Changes in v3:\n" "> \t- Removed the \"adi,channels\" property.\n" - "> \t- Used the \"reg\" property to get the channel number and \"adi,diff-channe=\n" - "ls\"\n" - "> \t for the differential pins. The \"adi,channel-number\" property was remov=\n" - "ed.\n" + "> \t- Used the \"reg\" property to get the channel number and \"adi,diff-channels\"\n" + "> \t for the differential pins. The \"adi,channel-number\" property was removed.\n" "> \t- adi,bipolar is of boolean type.\n" "> Changes in v4:\n" - "> \t- Used the bipolar and diff-channels properties defined in the new adc.t=\n" - "xt doc.\n" + "> \t- Used the bipolar and diff-channels properties defined in the new adc.txt doc.\n" "> Changes in v5:\n" "> \t- Removed the gain and odr properties from the example.\n" - ">=20\n" - "> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++=\n" - "++++++\n" + "> \n" + "> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++++++++\n" "> MAINTAINERS | 1 +\n" "> 2 files changed, 76 insertions(+)\n" - "> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.=\n" - "txt\n" - ">=20\n" - "> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/D=\n" - "ocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" + "> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" + "> \n" + "> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" "> new file mode 100644\n" "> index 0000000..416273d\n" "> --- /dev/null\n" @@ -69,28 +63,25 @@ "> +\t\tsee: Documentation/devicetree/bindings/clock/clock-bindings.txt\n" "> +\t- clock-names: Must be \"mclk\".\n" "> +\t- interrupts: IRQ line for the ADC\n" - "> +\t\tsee: Documentation/devicetree/bindings/interrupt-controller/interrupts=\n" - ".txt\n" + "> +\t\tsee: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt\n" "> +\n" "> +\t Required properties:\n" "> +\t\t* #address-cells: Must be 1.\n" "> +\t\t* #size-cells: Must be 0.\n" "> +\n" - "> +\t Subnode(s) represent the external channels which are connected to the=\n" - " ADC.\n" + "> +\t Subnode(s) represent the external channels which are connected to the ADC.\n" "> +\t Each subnode represents one channel and has the following properties:\n" "> +\t\tRequired properties:\n" "> +\t\t\t* reg: The channel number. It can have up to 4 channels on ad7124-4\n" "> +\t\t\t and 8 channels on ad7124-8, numbered from 0 to 15.\n" - "> +\t\t\t* diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.t=\n" - "xt\n" + "> +\t\t\t* diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.txt\n" "> +\n" "> +\t\tOptional properties:\n" "> +\t\t\t* bipolar: see: Documentation/devicetree/bindings/iio/adc/adc.txt\n" "> +\t\t\t* adi,reference-select: Select the reference source to use when\n" "> +\t\t\t converting on the the specific channel. Valid values are:\n" - "> +\t\t\t 0: REFIN1(+)/REFIN1(=E2=88=92).\n" - "> +\t\t\t 1: REFIN2(+)/REFIN2(=E2=88=92).\n" + "> +\t\t\t 0: REFIN1(+)/REFIN1(\342\210\222).\n" + "> +\t\t\t 1: REFIN2(+)/REFIN2(\342\210\222).\n" "> +\t\t\t 3: AVDD\n" "> +\t\t\t If this field is left empty, internal reference is selected.\n" "> +\n" @@ -101,39 +92,39 @@ "> +\n" "> +Example:\n" "> +\tadc@0 {\n" - "> +\t\tcompatible =3D \"adi,ad7124-4\";\n" - "> +\t\treg =3D <0>;\n" - "> +\t\tspi-max-frequency =3D <5000000>;\n" - "> +\t\tinterrupts =3D <25 2>;\n" - "> +\t\tinterrupt-parent =3D <&gpio>;\n" - "> +\t\trefin1-supply =3D <&adc_vref>;\n" - "> +\t\tclocks =3D <&ad7124_mclk>;\n" - "> +\t\tclock-names =3D \"mclk\";\n" + "> +\t\tcompatible = \"adi,ad7124-4\";\n" + "> +\t\treg = <0>;\n" + "> +\t\tspi-max-frequency = <5000000>;\n" + "> +\t\tinterrupts = <25 2>;\n" + "> +\t\tinterrupt-parent = <&gpio>;\n" + "> +\t\trefin1-supply = <&adc_vref>;\n" + "> +\t\tclocks = <&ad7124_mclk>;\n" + "> +\t\tclock-names = \"mclk\";\n" "> +\n" - "> +\t\t#address-cells =3D <1>;\n" - "> +\t\t#size-cells =3D <0>;\n" + "> +\t\t#address-cells = <1>;\n" + "> +\t\t#size-cells = <0>;\n" "> +\n" "> +\t\tchannel@0 {\n" - "> +\t\t\treg =3D <0>;\n" - "> +\t\t\tdiff-channels =3D <0 1>;\n" - "> +\t\t\tadi,reference-select =3D <0>;\n" + "> +\t\t\treg = <0>;\n" + "> +\t\t\tdiff-channels = <0 1>;\n" + "> +\t\t\tadi,reference-select = <0>;\n" "> +\t\t};\n" "> +\n" "> +\t\tchannel@1 {\n" - "> +\t\t\treg =3D <1>;\n" + "> +\t\t\treg = <1>;\n" "> +\t\t\tbipolar;\n" - "> +\t\t\tdiff-channels =3D <2 3>;\n" - "> +\t\t\tadi,reference-select =3D <0>;\n" + "> +\t\t\tdiff-channels = <2 3>;\n" + "> +\t\t\tadi,reference-select = <0>;\n" "> +\t\t};\n" "> +\n" "> +\t\tchannel@2 {\n" - "> +\t\t\treg =3D <2>;\n" - "> +\t\t\tdiff-channels =3D <4 5>;\n" + "> +\t\t\treg = <2>;\n" + "> +\t\t\tdiff-channels = <4 5>;\n" "> +\t\t};\n" "> +\n" "> +\t\tchannel@3 {\n" - "> +\t\t\treg =3D <3>;\n" - "> +\t\t\tdiff-channels =3D <6 7>;\n" + "> +\t\t\treg = <3>;\n" + "> +\t\t\tdiff-channels = <6 7>;\n" "> +\t\t};\n" "> +\t};\n" "> diff --git a/MAINTAINERS b/MAINTAINERS\n" @@ -145,8 +136,8 @@ "> S:\tSupported\n" "> F:\tdrivers/iio/adc/ad7124.c\n" "> +F:\tDocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" - "> =20\n" + "> \n" "> ANALOG DEVICES INC AD9389B DRIVER\n" "> M:\tHans Verkuil <hans.verkuil@cisco.com>" -82dff6705f16650067fe6c5a19c40b2719b4dd27630bc6a2d87faf74e79c2b24 +53308c9b8f463fb69adb8297b2573afa29ba0611a3d26ba77052ae8a625d8b91
diff --git a/a/1.txt b/N2/1.txt index d837677..050ed1d 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -2,7 +2,7 @@ On Tue, 13 Nov 2018 13:22:18 +0200 Stefan Popa <stefan.popa@analog.com> wrote: > Add support for Analog Devices AD7124 4-channels and 8-channels ADC. ->=20 +> > Signed-off-by: Stefan Popa <stefan.popa@analog.com> Looks good to me. Will wait on that DT review of patch 2 (and perhaps this one as well) @@ -16,26 +16,20 @@ Jonathan > - Nothing changed. > Changes in v3: > - Removed the "adi,channels" property. -> - Used the "reg" property to get the channel number and "adi,diff-channe= -ls" -> for the differential pins. The "adi,channel-number" property was remov= -ed. +> - Used the "reg" property to get the channel number and "adi,diff-channels" +> for the differential pins. The "adi,channel-number" property was removed. > - adi,bipolar is of boolean type. > Changes in v4: -> - Used the bipolar and diff-channels properties defined in the new adc.t= -xt doc. +> - Used the bipolar and diff-channels properties defined in the new adc.txt doc. > Changes in v5: > - Removed the gain and odr properties from the example. ->=20 -> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++= -++++++ +> +> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 76 insertions(+) -> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.= -txt ->=20 -> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/D= -ocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt +> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt +> +> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt > new file mode 100644 > index 0000000..416273d > --- /dev/null @@ -52,28 +46,25 @@ ocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt > + see: Documentation/devicetree/bindings/clock/clock-bindings.txt > + - clock-names: Must be "mclk". > + - interrupts: IRQ line for the ADC -> + see: Documentation/devicetree/bindings/interrupt-controller/interrupts= -.txt +> + see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt > + > + Required properties: > + * #address-cells: Must be 1. > + * #size-cells: Must be 0. > + -> + Subnode(s) represent the external channels which are connected to the= - ADC. +> + Subnode(s) represent the external channels which are connected to the ADC. > + Each subnode represents one channel and has the following properties: > + Required properties: > + * reg: The channel number. It can have up to 4 channels on ad7124-4 > + and 8 channels on ad7124-8, numbered from 0 to 15. -> + * diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.t= -xt +> + * diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.txt > + > + Optional properties: > + * bipolar: see: Documentation/devicetree/bindings/iio/adc/adc.txt > + * adi,reference-select: Select the reference source to use when > + converting on the the specific channel. Valid values are: -> + 0: REFIN1(+)/REFIN1(=E2=88=92). -> + 1: REFIN2(+)/REFIN2(=E2=88=92). +> + 0: REFIN1(+)/REFIN1(−). +> + 1: REFIN2(+)/REFIN2(−). > + 3: AVDD > + If this field is left empty, internal reference is selected. > + @@ -84,39 +75,39 @@ xt > + > +Example: > + adc@0 { -> + compatible =3D "adi,ad7124-4"; -> + reg =3D <0>; -> + spi-max-frequency =3D <5000000>; -> + interrupts =3D <25 2>; -> + interrupt-parent =3D <&gpio>; -> + refin1-supply =3D <&adc_vref>; -> + clocks =3D <&ad7124_mclk>; -> + clock-names =3D "mclk"; +> + compatible = "adi,ad7124-4"; +> + reg = <0>; +> + spi-max-frequency = <5000000>; +> + interrupts = <25 2>; +> + interrupt-parent = <&gpio>; +> + refin1-supply = <&adc_vref>; +> + clocks = <&ad7124_mclk>; +> + clock-names = "mclk"; > + -> + #address-cells =3D <1>; -> + #size-cells =3D <0>; +> + #address-cells = <1>; +> + #size-cells = <0>; > + > + channel@0 { -> + reg =3D <0>; -> + diff-channels =3D <0 1>; -> + adi,reference-select =3D <0>; +> + reg = <0>; +> + diff-channels = <0 1>; +> + adi,reference-select = <0>; > + }; > + > + channel@1 { -> + reg =3D <1>; +> + reg = <1>; > + bipolar; -> + diff-channels =3D <2 3>; -> + adi,reference-select =3D <0>; +> + diff-channels = <2 3>; +> + adi,reference-select = <0>; > + }; > + > + channel@2 { -> + reg =3D <2>; -> + diff-channels =3D <4 5>; +> + reg = <2>; +> + diff-channels = <4 5>; > + }; > + > + channel@3 { -> + reg =3D <3>; -> + diff-channels =3D <6 7>; +> + reg = <3>; +> + diff-channels = <6 7>; > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS @@ -128,6 +119,6 @@ xt > S: Supported > F: drivers/iio/adc/ad7124.c > +F: Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt -> =20 +> > ANALOG DEVICES INC AD9389B DRIVER > M: Hans Verkuil <hans.verkuil@cisco.com> diff --git a/a/content_digest b/N2/content_digest index 2e7125d..6df267f 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -19,7 +19,7 @@ "Stefan Popa <stefan.popa@analog.com> wrote:\n" "\n" "> Add support for Analog Devices AD7124 4-channels and 8-channels ADC.\n" - ">=20\n" + "> \n" "> Signed-off-by: Stefan Popa <stefan.popa@analog.com>\n" "Looks good to me. Will wait on that DT review of patch 2 (and perhaps\n" "this one as well)\n" @@ -33,26 +33,20 @@ "> \t- Nothing changed.\n" "> Changes in v3:\n" "> \t- Removed the \"adi,channels\" property.\n" - "> \t- Used the \"reg\" property to get the channel number and \"adi,diff-channe=\n" - "ls\"\n" - "> \t for the differential pins. The \"adi,channel-number\" property was remov=\n" - "ed.\n" + "> \t- Used the \"reg\" property to get the channel number and \"adi,diff-channels\"\n" + "> \t for the differential pins. The \"adi,channel-number\" property was removed.\n" "> \t- adi,bipolar is of boolean type.\n" "> Changes in v4:\n" - "> \t- Used the bipolar and diff-channels properties defined in the new adc.t=\n" - "xt doc.\n" + "> \t- Used the bipolar and diff-channels properties defined in the new adc.txt doc.\n" "> Changes in v5:\n" "> \t- Removed the gain and odr properties from the example.\n" - ">=20\n" - "> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++=\n" - "++++++\n" + "> \n" + "> .../devicetree/bindings/iio/adc/adi,ad7124.txt | 75 ++++++++++++++++++++++\n" "> MAINTAINERS | 1 +\n" "> 2 files changed, 76 insertions(+)\n" - "> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.=\n" - "txt\n" - ">=20\n" - "> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/D=\n" - "ocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" + "> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" + "> \n" + "> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" "> new file mode 100644\n" "> index 0000000..416273d\n" "> --- /dev/null\n" @@ -69,28 +63,25 @@ "> +\t\tsee: Documentation/devicetree/bindings/clock/clock-bindings.txt\n" "> +\t- clock-names: Must be \"mclk\".\n" "> +\t- interrupts: IRQ line for the ADC\n" - "> +\t\tsee: Documentation/devicetree/bindings/interrupt-controller/interrupts=\n" - ".txt\n" + "> +\t\tsee: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt\n" "> +\n" "> +\t Required properties:\n" "> +\t\t* #address-cells: Must be 1.\n" "> +\t\t* #size-cells: Must be 0.\n" "> +\n" - "> +\t Subnode(s) represent the external channels which are connected to the=\n" - " ADC.\n" + "> +\t Subnode(s) represent the external channels which are connected to the ADC.\n" "> +\t Each subnode represents one channel and has the following properties:\n" "> +\t\tRequired properties:\n" "> +\t\t\t* reg: The channel number. It can have up to 4 channels on ad7124-4\n" "> +\t\t\t and 8 channels on ad7124-8, numbered from 0 to 15.\n" - "> +\t\t\t* diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.t=\n" - "xt\n" + "> +\t\t\t* diff-channels: see: Documentation/devicetree/bindings/iio/adc/adc.txt\n" "> +\n" "> +\t\tOptional properties:\n" "> +\t\t\t* bipolar: see: Documentation/devicetree/bindings/iio/adc/adc.txt\n" "> +\t\t\t* adi,reference-select: Select the reference source to use when\n" "> +\t\t\t converting on the the specific channel. Valid values are:\n" - "> +\t\t\t 0: REFIN1(+)/REFIN1(=E2=88=92).\n" - "> +\t\t\t 1: REFIN2(+)/REFIN2(=E2=88=92).\n" + "> +\t\t\t 0: REFIN1(+)/REFIN1(\342\210\222).\n" + "> +\t\t\t 1: REFIN2(+)/REFIN2(\342\210\222).\n" "> +\t\t\t 3: AVDD\n" "> +\t\t\t If this field is left empty, internal reference is selected.\n" "> +\n" @@ -101,39 +92,39 @@ "> +\n" "> +Example:\n" "> +\tadc@0 {\n" - "> +\t\tcompatible =3D \"adi,ad7124-4\";\n" - "> +\t\treg =3D <0>;\n" - "> +\t\tspi-max-frequency =3D <5000000>;\n" - "> +\t\tinterrupts =3D <25 2>;\n" - "> +\t\tinterrupt-parent =3D <&gpio>;\n" - "> +\t\trefin1-supply =3D <&adc_vref>;\n" - "> +\t\tclocks =3D <&ad7124_mclk>;\n" - "> +\t\tclock-names =3D \"mclk\";\n" + "> +\t\tcompatible = \"adi,ad7124-4\";\n" + "> +\t\treg = <0>;\n" + "> +\t\tspi-max-frequency = <5000000>;\n" + "> +\t\tinterrupts = <25 2>;\n" + "> +\t\tinterrupt-parent = <&gpio>;\n" + "> +\t\trefin1-supply = <&adc_vref>;\n" + "> +\t\tclocks = <&ad7124_mclk>;\n" + "> +\t\tclock-names = \"mclk\";\n" "> +\n" - "> +\t\t#address-cells =3D <1>;\n" - "> +\t\t#size-cells =3D <0>;\n" + "> +\t\t#address-cells = <1>;\n" + "> +\t\t#size-cells = <0>;\n" "> +\n" "> +\t\tchannel@0 {\n" - "> +\t\t\treg =3D <0>;\n" - "> +\t\t\tdiff-channels =3D <0 1>;\n" - "> +\t\t\tadi,reference-select =3D <0>;\n" + "> +\t\t\treg = <0>;\n" + "> +\t\t\tdiff-channels = <0 1>;\n" + "> +\t\t\tadi,reference-select = <0>;\n" "> +\t\t};\n" "> +\n" "> +\t\tchannel@1 {\n" - "> +\t\t\treg =3D <1>;\n" + "> +\t\t\treg = <1>;\n" "> +\t\t\tbipolar;\n" - "> +\t\t\tdiff-channels =3D <2 3>;\n" - "> +\t\t\tadi,reference-select =3D <0>;\n" + "> +\t\t\tdiff-channels = <2 3>;\n" + "> +\t\t\tadi,reference-select = <0>;\n" "> +\t\t};\n" "> +\n" "> +\t\tchannel@2 {\n" - "> +\t\t\treg =3D <2>;\n" - "> +\t\t\tdiff-channels =3D <4 5>;\n" + "> +\t\t\treg = <2>;\n" + "> +\t\t\tdiff-channels = <4 5>;\n" "> +\t\t};\n" "> +\n" "> +\t\tchannel@3 {\n" - "> +\t\t\treg =3D <3>;\n" - "> +\t\t\tdiff-channels =3D <6 7>;\n" + "> +\t\t\treg = <3>;\n" + "> +\t\t\tdiff-channels = <6 7>;\n" "> +\t\t};\n" "> +\t};\n" "> diff --git a/MAINTAINERS b/MAINTAINERS\n" @@ -145,8 +136,8 @@ "> S:\tSupported\n" "> F:\tdrivers/iio/adc/ad7124.c\n" "> +F:\tDocumentation/devicetree/bindings/iio/adc/adi,ad7124.txt\n" - "> =20\n" + "> \n" "> ANALOG DEVICES INC AD9389B DRIVER\n" "> M:\tHans Verkuil <hans.verkuil@cisco.com>" -82dff6705f16650067fe6c5a19c40b2719b4dd27630bc6a2d87faf74e79c2b24 +61e52c3e79d71c13a346a3ff676c22d6b5b05107cd724bfaa6a42e898f41a43c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.