aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio90
-rw-r--r--Documentation/devicetree/bindings/iio/dac/ad7303.txt23
-rw-r--r--Documentation/devicetree/bindings/iio/frequency/adf4350.txt86
-rw-r--r--Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt18
-rw-r--r--Documentation/devicetree/bindings/staging/imx-drm/ldb.txt99
5 files changed, 271 insertions, 45 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 2e33dc6b2346..dda81ffae5cf 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -690,45 +690,45 @@ Description:
690 Actually start the buffer capture up. Will start trigger 690 Actually start the buffer capture up. Will start trigger
691 if first device and appropriate. 691 if first device and appropriate.
692 692
693What: /sys/bus/iio/devices/iio:deviceX/buffer/scan_elements 693What: /sys/bus/iio/devices/iio:deviceX/scan_elements
694KernelVersion: 2.6.37 694KernelVersion: 2.6.37
695Contact: linux-iio@vger.kernel.org 695Contact: linux-iio@vger.kernel.org
696Description: 696Description:
697 Directory containing interfaces for elements that will be 697 Directory containing interfaces for elements that will be
698 captured for a single triggered sample set in the buffer. 698 captured for a single triggered sample set in the buffer.
699 699
700What: /sys/.../buffer/scan_elements/in_accel_x_en 700What: /sys/.../iio:deviceX/scan_elements/in_accel_x_en
701What: /sys/.../buffer/scan_elements/in_accel_y_en 701What: /sys/.../iio:deviceX/scan_elements/in_accel_y_en
702What: /sys/.../buffer/scan_elements/in_accel_z_en 702What: /sys/.../iio:deviceX/scan_elements/in_accel_z_en
703What: /sys/.../buffer/scan_elements/in_anglvel_x_en 703What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_en
704What: /sys/.../buffer/scan_elements/in_anglvel_y_en 704What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_en
705What: /sys/.../buffer/scan_elements/in_anglvel_z_en 705What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
706What: /sys/.../buffer/scan_elements/in_magn_x_en 706What: /sys/.../iio:deviceX/scan_elements/in_magn_x_en
707What: /sys/.../buffer/scan_elements/in_magn_y_en 707What: /sys/.../iio:deviceX/scan_elements/in_magn_y_en
708What: /sys/.../buffer/scan_elements/in_magn_z_en 708What: /sys/.../iio:deviceX/scan_elements/in_magn_z_en
709What: /sys/.../buffer/scan_elements/in_timestamp_en 709What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en
710What: /sys/.../buffer/scan_elements/in_voltageY_supply_en 710What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
711What: /sys/.../buffer/scan_elements/in_voltageY_en 711What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en
712What: /sys/.../buffer/scan_elements/in_voltageY-voltageZ_en 712What: /sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en
713What: /sys/.../buffer/scan_elements/in_incli_x_en 713What: /sys/.../iio:deviceX/scan_elements/in_incli_x_en
714What: /sys/.../buffer/scan_elements/in_incli_y_en 714What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en
715What: /sys/.../buffer/scan_elements/in_pressureY_en 715What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en
716What: /sys/.../buffer/scan_elements/in_pressure_en 716What: /sys/.../iio:deviceX/scan_elements/in_pressure_en
717KernelVersion: 2.6.37 717KernelVersion: 2.6.37
718Contact: linux-iio@vger.kernel.org 718Contact: linux-iio@vger.kernel.org
719Description: 719Description:
720 Scan element control for triggered data capture. 720 Scan element control for triggered data capture.
721 721
722What: /sys/.../buffer/scan_elements/in_accel_type 722What: /sys/.../iio:deviceX/scan_elements/in_accel_type
723What: /sys/.../buffer/scan_elements/in_anglvel_type 723What: /sys/.../iio:deviceX/scan_elements/in_anglvel_type
724What: /sys/.../buffer/scan_elements/in_magn_type 724What: /sys/.../iio:deviceX/scan_elements/in_magn_type
725What: /sys/.../buffer/scan_elements/in_incli_type 725What: /sys/.../iio:deviceX/scan_elements/in_incli_type
726What: /sys/.../buffer/scan_elements/in_voltageY_type 726What: /sys/.../iio:deviceX/scan_elements/in_voltageY_type
727What: /sys/.../buffer/scan_elements/in_voltage_type 727What: /sys/.../iio:deviceX/scan_elements/in_voltage_type
728What: /sys/.../buffer/scan_elements/in_voltageY_supply_type 728What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
729What: /sys/.../buffer/scan_elements/in_timestamp_type 729What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type
730What: /sys/.../buffer/scan_elements/in_pressureY_type 730What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type
731What: /sys/.../buffer/scan_elements/in_pressure_type 731What: /sys/.../iio:deviceX/scan_elements/in_pressure_type
732KernelVersion: 2.6.37 732KernelVersion: 2.6.37
733Contact: linux-iio@vger.kernel.org 733Contact: linux-iio@vger.kernel.org
734Description: 734Description:
@@ -752,29 +752,29 @@ Description:
752 For other storage combinations this attribute will be extended 752 For other storage combinations this attribute will be extended
753 appropriately. 753 appropriately.
754 754
755What: /sys/.../buffer/scan_elements/in_accel_type_available 755What: /sys/.../iio:deviceX/scan_elements/in_accel_type_available
756KernelVersion: 2.6.37 756KernelVersion: 2.6.37
757Contact: linux-iio@vger.kernel.org 757Contact: linux-iio@vger.kernel.org
758Description: 758Description:
759 If the type parameter can take one of a small set of values, 759 If the type parameter can take one of a small set of values,
760 this attribute lists them. 760 this attribute lists them.
761 761
762What: /sys/.../buffer/scan_elements/in_voltageY_index 762What: /sys/.../iio:deviceX/scan_elements/in_voltageY_index
763What: /sys/.../buffer/scan_elements/in_voltageY_supply_index 763What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index
764What: /sys/.../buffer/scan_elements/in_accel_x_index 764What: /sys/.../iio:deviceX/scan_elements/in_accel_x_index
765What: /sys/.../buffer/scan_elements/in_accel_y_index 765What: /sys/.../iio:deviceX/scan_elements/in_accel_y_index
766What: /sys/.../buffer/scan_elements/in_accel_z_index 766What: /sys/.../iio:deviceX/scan_elements/in_accel_z_index
767What: /sys/.../buffer/scan_elements/in_anglvel_x_index 767What: /sys/.../iio:deviceX/scan_elements/in_anglvel_x_index
768What: /sys/.../buffer/scan_elements/in_anglvel_y_index 768What: /sys/.../iio:deviceX/scan_elements/in_anglvel_y_index
769What: /sys/.../buffer/scan_elements/in_anglvel_z_index 769What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
770What: /sys/.../buffer/scan_elements/in_magn_x_index 770What: /sys/.../iio:deviceX/scan_elements/in_magn_x_index
771What: /sys/.../buffer/scan_elements/in_magn_y_index 771What: /sys/.../iio:deviceX/scan_elements/in_magn_y_index
772What: /sys/.../buffer/scan_elements/in_magn_z_index 772What: /sys/.../iio:deviceX/scan_elements/in_magn_z_index
773What: /sys/.../buffer/scan_elements/in_incli_x_index 773What: /sys/.../iio:deviceX/scan_elements/in_incli_x_index
774What: /sys/.../buffer/scan_elements/in_incli_y_index 774What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index
775What: /sys/.../buffer/scan_elements/in_timestamp_index 775What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index
776What: /sys/.../buffer/scan_elements/in_pressureY_index 776What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index
777What: /sys/.../buffer/scan_elements/in_pressure_index 777What: /sys/.../iio:deviceX/scan_elements/in_pressure_index
778KernelVersion: 2.6.37 778KernelVersion: 2.6.37
779Contact: linux-iio@vger.kernel.org 779Contact: linux-iio@vger.kernel.org
780Description: 780Description:
diff --git a/Documentation/devicetree/bindings/iio/dac/ad7303.txt b/Documentation/devicetree/bindings/iio/dac/ad7303.txt
new file mode 100644
index 000000000000..914610f0556e
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/ad7303.txt
@@ -0,0 +1,23 @@
1Analog Devices AD7303 DAC device driver
2
3Required properties:
4 - compatible: Must be "adi,ad7303"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 30000000)
7 - Vdd-supply: Phandle to the Vdd power supply
8
9Optional properties:
10 - REF-supply: Phandle to the external reference voltage supply. This should
11 only be set if there is an external reference voltage connected to the REF
12 pin. If the property is not set Vdd/2 is used as the reference voltage.
13
14Example:
15
16 ad7303@4 {
17 compatible = "adi,ad7303";
18 reg = <4>;
19 spi-max-frequency = <10000000>;
20 Vdd-supply = <&vdd_supply>;
21 adi,use-external-reference;
22 REF-supply = <&vref_supply>;
23 };
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4350.txt b/Documentation/devicetree/bindings/iio/frequency/adf4350.txt
new file mode 100644
index 000000000000..f8c181d81d2d
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/frequency/adf4350.txt
@@ -0,0 +1,86 @@
1Analog Devices ADF4350/ADF4351 device driver
2
3Required properties:
4 - compatible: Should be one of
5 * "adi,adf4350": When using the ADF4350 device
6 * "adi,adf4351": When using the ADF4351 device
7 - reg: SPI chip select numbert for the device
8 - spi-max-frequency: Max SPI frequency to use (< 20000000)
9 - clocks: From common clock binding. Clock is phandle to clock for
10 ADF435x Reference Clock (CLKIN).
11
12Optional properties:
13 - gpios: GPIO Lock detect - If set with a valid phandle and GPIO number,
14 pll lock state is tested upon read.
15 - adi,channel-spacing: Channel spacing in Hz (influences MODULUS).
16 - adi,power-up-frequency: If set in Hz the PLL tunes to
17 the desired frequency on probe.
18 - adi,reference-div-factor: If set the driver skips dynamic calculation
19 and uses this default value instead.
20 - adi,reference-doubler-enable: Enables reference doubler.
21 - adi,reference-div2-enable: Enables reference divider.
22 - adi,phase-detector-polarity-positive-enable: Enables positive phase
23 detector polarity. Default = negative.
24 - adi,lock-detect-precision-6ns-enable: Enables 6ns lock detect precision.
25 Default = 10ns.
26 - adi,lock-detect-function-integer-n-enable: Enables lock detect
27 for integer-N mode. Default = factional-N mode.
28 - adi,charge-pump-current: Charge pump current in mA.
29 Default = 2500mA.
30 - adi,muxout-select: On chip multiplexer output selection.
31 Valid values for the multiplexer output are:
32 0: Three-State Output (default)
33 1: DVDD
34 2: DGND
35 3: R-Counter output
36 4: N-Divider output
37 5: Analog lock detect
38 6: Digital lock detect
39 - adi,low-spur-mode-enable: Enables low spur mode.
40 Default = Low noise mode.
41 - adi,cycle-slip-reduction-enable: Enables cycle slip reduction.
42 - adi,charge-cancellation-enable: Enabled charge pump
43 charge cancellation for integer-N modes.
44 - adi,anti-backlash-3ns-enable: Enables 3ns antibacklash pulse width
45 for integer-N modes.
46 - adi,band-select-clock-mode-high-enable: Enables faster band
47 selection logic.
48 - adi,12bit-clk-divider: Clock divider value used when
49 adi,12bit-clkdiv-mode != 0
50 - adi,clk-divider-mode:
51 Valid values for the clkdiv mode are:
52 0: Clock divider off (default)
53 1: Fast lock enable
54 2: Phase resync enable
55 - adi,aux-output-enable: Enables auxiliary RF output.
56 - adi,aux-output-fundamental-enable: Selects fundamental VCO output on
57 the auxiliary RF output. Default = Output of RF dividers.
58 - adi,mute-till-lock-enable: Enables Mute-Till-Lock-Detect function.
59 - adi,output-power: Output power selection.
60 Valid values for the power mode are:
61 0: -4dBm (default)
62 1: -1dBm
63 2: +2dBm
64 3: +5dBm
65 - adi,aux-output-power: Auxiliary output power selection.
66 Valid values for the power mode are:
67 0: -4dBm (default)
68 1: -1dBm
69 2: +2dBm
70 3: +5dBm
71
72
73Example:
74 lo_pll0_rx_adf4351: adf4351-rx-lpc@4 {
75 compatible = "adi,adf4351";
76 reg = <4>;
77 spi-max-frequency = <10000000>;
78 clocks = <&clk0_ad9523 9>;
79 clock-names = "clkin";
80 adi,channel-spacing = <10000>;
81 adi,power-up-frequency = <2400000000>;
82 adi,phase-detector-polarity-positive-enable;
83 adi,charge-pump-current = <2500>;
84 adi,output-power = <3>;
85 adi,mute-till-lock-enable;
86 };
diff --git a/Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt b/Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
new file mode 100644
index 000000000000..011679f1a425
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
@@ -0,0 +1,18 @@
1* AsahiKASEI AK8975 magnetometer sensor
2
3Required properties:
4
5 - compatible : should be "asahi-kasei,ak8975"
6 - reg : the I2C address of the magnetometer
7
8Optional properties:
9
10 - gpios : should be device tree identifier of the magnetometer DRDY pin
11
12Example:
13
14ak8975@0c {
15 compatible = "asahi-kasei,ak8975";
16 reg = <0x0c>;
17 gpios = <&gpj0 7 0>;
18};
diff --git a/Documentation/devicetree/bindings/staging/imx-drm/ldb.txt b/Documentation/devicetree/bindings/staging/imx-drm/ldb.txt
new file mode 100644
index 000000000000..ed9377811ee2
--- /dev/null
+++ b/Documentation/devicetree/bindings/staging/imx-drm/ldb.txt
@@ -0,0 +1,99 @@
1Device-Tree bindings for LVDS Display Bridge (ldb)
2
3LVDS Display Bridge
4===================
5
6The LVDS Display Bridge device tree node contains up to two lvds-channel
7nodes describing each of the two LVDS encoder channels of the bridge.
8
9Required properties:
10 - #address-cells : should be <1>
11 - #size-cells : should be <0>
12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb".
13 Both LDB versions are similar, but i.MX6 has an additional
14 multiplexer in the front to select any of the four IPU display
15 interfaces as input for each LVDS channel.
16 - gpr : should be <&gpr> on i.MX53 and i.MX6q.
17 The phandle points to the iomuxc-gpr region containing the LVDS
18 control register.
19- clocks, clock-names : phandles to the LDB divider and selector clocks and to
20 the display interface selector clocks, as described in
21 Documentation/devicetree/bindings/clock/clock-bindings.txt
22 The following clocks are expected on i.MX53:
23 "di0_pll" - LDB LVDS channel 0 mux
24 "di1_pll" - LDB LVDS channel 1 mux
25 "di0" - LDB LVDS channel 0 gate
26 "di1" - LDB LVDS channel 1 gate
27 "di0_sel" - IPU1 DI0 mux
28 "di1_sel" - IPU1 DI1 mux
29 On i.MX6q the following additional clocks are needed:
30 "di2_sel" - IPU2 DI0 mux
31 "di3_sel" - IPU2 DI1 mux
32 The needed clock numbers for each are documented in
33 Documentation/devicetree/bindings/clock/imx5-clock.txt, and in
34 Documentation/devicetree/bindings/clock/imx6q-clock.txt.
35
36Optional properties:
37 - pinctrl-names : should be "default" on i.MX53, not used on i.MX6q
38 - pinctrl-0 : a phandle pointing to LVDS pin settings on i.MX53,
39 not used on i.MX6q
40 - fsl,dual-channel : boolean. if it exists, only LVDS channel 0 should
41 be configured - one input will be distributed on both outputs in dual
42 channel mode
43
44LVDS Channel
45============
46
47Each LVDS Channel has to contain a display-timings node that describes the
48video timings for the connected LVDS display. For detailed information, also
49have a look at Documentation/devicetree/bindings/video/display-timing.txt.
50
51Required properties:
52 - reg : should be <0> or <1>
53 - crtcs : a list of phandles with index pointing to the IPU display interfaces
54 that can be used as video source for this channel.
55 - fsl,data-mapping : should be "spwg" or "jeida"
56 This describes how the color bits are laid out in the
57 serialized LVDS signal.
58 - fsl,data-width : should be <18> or <24>
59
60example:
61
62gpr: iomuxc-gpr@53fa8000 {
63 /* ... */
64};
65
66ldb: ldb@53fa8008 {
67 #address-cells = <1>;
68 #size-cells = <0>;
69 compatible = "fsl,imx53-ldb";
70 gpr = <&gpr>;
71 clocks = <&clks 122>, <&clks 120>,
72 <&clks 115>, <&clks 116>,
73 <&clks 123>, <&clks 85>;
74 clock-names = "di0_pll", "di1_pll",
75 "di0_sel", "di1_sel",
76 "di0", "di1";
77
78 lvds-channel@0 {
79 reg = <0>;
80 crtcs = <&ipu 0>;
81 fsl,data-mapping = "spwg";
82 fsl,data-width = <24>;
83
84 display-timings {
85 /* ... */
86 };
87 };
88
89 lvds-channel@1 {
90 reg = <1>;
91 crtcs = <&ipu 1>;
92 fsl,data-mapping = "spwg";
93 fsl,data-width = <24>;
94
95 display-timings {
96 /* ... */
97 };
98 };
99};