You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge tag 'media/v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab:
"Brazil's Independence Day pull request :-)
This is one of the biggest media pull requests, with 625 patches
affecting almost all parts of media (RC, DVB, V4L2, CEC, docs).
This contains:
- A lot of new drivers:
* DVB frontends: mxl5xx, stv0910, stv6111;
* camera flash: as3645a led driver;
* HDMI receiver: adv748X;
* camera sensor: Omnivision 6650 5M driver (ov6650);
* HDMI CEC: ao-cec meson driver;
* V4L2: Qualcom camss driver;
* Remote controller: gpio-ir-tx, pwm-ir-tx and zx-irdec drivers.
- The DDbridge DVB driver got a massive update, with makes it in sync
with modern hardware from that vendor;
- There's an important milestone on this series: the DVB
documentation was written in 2003, but only started to be updated
in 2007. It also used to contain several gaps from the time it was
kept out of tree, mentioning error codes and device nodes that
never existed upstream. On this series, it received a massive
update: all non-deprecated digital TV APIs are now in sync with the
current implementation;
- Some DVB APIs that aren't used by any upstream driver got removed;
- Other parts of the media documentation algo got updated, fixing
some bugs on its PDF output and making it compatible with Sphinx
version 1.6.
As the number of hacks required to build PDF output reduced, I hope
we'll have less troubles as newer versions of our documentation
toolchain are released (famous last words);
- As usual, lots of driver cleanups and improvements"
* tag 'media/v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (624 commits)
media: leds: as3645a: add V4L2_FLASH_LED_CLASS dependency
media: get rid of removed DMX_GET_CAPS and DMX_SET_SOURCE leftovers
media: Revert "[media] v4l: async: make v4l2 coexist with devicetree nodes in a dt overlay"
media: staging: atomisp: sh_css_calloc shall return a pointer to the allocated space
media: Revert "[media] lirc_dev: remove superfluous get/put_device() calls"
media: add qcom_camss.rst to v4l-drivers rst file
media: dvb headers: make checkpatch happier
media: dvb uapi: move frontend legacy API to another part of the book
media: pixfmt-srggb12p.rst: better format the table for PDF output
media: docs-rst: media: Don't use \small for V4L2_PIX_FMT_SRGGB10 documentation
media: index.rst: don't write "Contents:" on PDF output
media: pixfmt*.rst: replace a two dots by a comma
media: vidioc-g-fmt.rst: adjust table format
media: vivid.rst: add a blank line to correct ReST format
media: v4l2 uapi book: get rid of driver programming's chapter
media: format.rst: use the right markup for important notes
media: docs-rst: cardlists: change their format to flat-tables
media: em28xx-cardlist.rst: update to reflect last changes
media: v4l2-event.rst: adjust table to fit on PDF output
media: docs: don't show ToC for each part on PDF output
...
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
Analog devices AS3645A device tree bindings
|
||||
|
||||
The AS3645A flash LED controller can drive two LEDs, one high current
|
||||
flash LED and one indicator LED. The high current flash LED can be
|
||||
used in torch mode as well.
|
||||
|
||||
Ranges below noted as [a, b] are closed ranges between a and b, i.e. a
|
||||
and b are included in the range.
|
||||
|
||||
Please also see common.txt in the same directory.
|
||||
|
||||
|
||||
Required properties
|
||||
===================
|
||||
|
||||
compatible : Must be "ams,as3645a".
|
||||
reg : The I2C address of the device. Typically 0x30.
|
||||
|
||||
|
||||
Required properties of the "flash" child node
|
||||
=============================================
|
||||
|
||||
flash-timeout-us: Flash timeout in microseconds. The value must be in
|
||||
the range [100000, 850000] and divisible by 50000.
|
||||
flash-max-microamp: Maximum flash current in microamperes. Has to be
|
||||
in the range between [200000, 500000] and
|
||||
divisible by 20000.
|
||||
led-max-microamp: Maximum torch (assist) current in microamperes. The
|
||||
value must be in the range between [20000, 160000] and
|
||||
divisible by 20000.
|
||||
ams,input-max-microamp: Maximum flash controller input current. The
|
||||
value must be in the range [1250000, 2000000]
|
||||
and divisible by 50000.
|
||||
|
||||
|
||||
Optional properties of the "flash" child node
|
||||
=============================================
|
||||
|
||||
label : The label of the flash LED.
|
||||
|
||||
|
||||
Required properties of the "indicator" child node
|
||||
=================================================
|
||||
|
||||
led-max-microamp: Maximum indicator current. The allowed values are
|
||||
2500, 5000, 7500 and 10000.
|
||||
|
||||
Optional properties of the "indicator" child node
|
||||
=================================================
|
||||
|
||||
label : The label of the indicator LED.
|
||||
|
||||
|
||||
Example
|
||||
=======
|
||||
|
||||
as3645a@30 {
|
||||
reg = <0x30>;
|
||||
compatible = "ams,as3645a";
|
||||
flash {
|
||||
flash-timeout-us = <150000>;
|
||||
flash-max-microamp = <320000>;
|
||||
led-max-microamp = <60000>;
|
||||
ams,input-max-microamp = <1750000>;
|
||||
label = "as3645a:flash";
|
||||
};
|
||||
indicator {
|
||||
led-max-microamp = <10000>;
|
||||
label = "as3645a:indicator";
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
Device tree bindings for IR LED connected through gpio pin which is used as
|
||||
remote controller transmitter.
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "gpio-ir-tx".
|
||||
- gpios : Should specify the IR LED GPIO, see "gpios property" in
|
||||
Documentation/devicetree/bindings/gpio/gpio.txt. Active low LEDs
|
||||
should be indicated using flags in the GPIO specifier.
|
||||
|
||||
Example:
|
||||
irled@0 {
|
||||
compatible = "gpio-ir-tx";
|
||||
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
Device tree bindings for IR LED connected through pwm pin which is used as
|
||||
remote controller transmitter.
|
||||
|
||||
Required properties:
|
||||
- compatible: should be "pwm-ir-tx".
|
||||
- pwms : PWM property to point to the PWM device (phandle)/port (id)
|
||||
and to specify the period time to be used: <&phandle id period_ns>;
|
||||
|
||||
Example:
|
||||
irled {
|
||||
compatible = "pwm-ir-tx";
|
||||
pwms = <&pwm0 0 10000000>;
|
||||
};
|
||||
@@ -0,0 +1,95 @@
|
||||
* Analog Devices ADV748X video decoder with HDMI receiver
|
||||
|
||||
The ADV7481 and ADV7482 are multi format video decoders with an integrated
|
||||
HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB
|
||||
from three input sources HDMI, analog and TTL.
|
||||
|
||||
Required Properties:
|
||||
|
||||
- compatible: Must contain one of the following
|
||||
- "adi,adv7481" for the ADV7481
|
||||
- "adi,adv7482" for the ADV7482
|
||||
|
||||
- reg: I2C slave address
|
||||
|
||||
Optional Properties:
|
||||
|
||||
- interrupt-names: Should specify the interrupts as "intrq1", "intrq2" and/or
|
||||
"intrq3". All interrupts are optional. The "intrq3" interrupt
|
||||
is only available on the adv7481
|
||||
- interrupts: Specify the interrupt lines for the ADV748x
|
||||
|
||||
The device node must contain one 'port' child node per device input and output
|
||||
port, in accordance with the video interface bindings defined in
|
||||
Documentation/devicetree/bindings/media/video-interfaces.txt. The port nodes
|
||||
are numbered as follows.
|
||||
|
||||
Name Type Port
|
||||
---------------------------------------
|
||||
AIN0 sink 0
|
||||
AIN1 sink 1
|
||||
AIN2 sink 2
|
||||
AIN3 sink 3
|
||||
AIN4 sink 4
|
||||
AIN5 sink 5
|
||||
AIN6 sink 6
|
||||
AIN7 sink 7
|
||||
HDMI sink 8
|
||||
TTL sink 9
|
||||
TXA source 10
|
||||
TXB source 11
|
||||
|
||||
The digital output port nodes must contain at least one endpoint.
|
||||
|
||||
Ports are optional if they are not connected to anything at the hardware level.
|
||||
|
||||
Example:
|
||||
|
||||
video-receiver@70 {
|
||||
compatible = "adi,adv7482";
|
||||
reg = <0x70>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
interrupt-parent = <&gpio6>;
|
||||
interrupt-names = "intrq1", "intrq2";
|
||||
interrupts = <30 IRQ_TYPE_LEVEL_LOW>,
|
||||
<31 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
port@7 {
|
||||
reg = <7>;
|
||||
|
||||
adv7482_ain7: endpoint {
|
||||
remote-endpoint = <&cvbs_in>;
|
||||
};
|
||||
};
|
||||
|
||||
port@8 {
|
||||
reg = <8>;
|
||||
|
||||
adv7482_hdmi: endpoint {
|
||||
remote-endpoint = <&hdmi_in>;
|
||||
};
|
||||
};
|
||||
|
||||
port@10 {
|
||||
reg = <10>;
|
||||
|
||||
adv7482_txa: endpoint {
|
||||
clock-lanes = <0>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
remote-endpoint = <&csi40_in>;
|
||||
};
|
||||
};
|
||||
|
||||
port@11 {
|
||||
reg = <11>;
|
||||
|
||||
adv7482_txb: endpoint {
|
||||
clock-lanes = <0>;
|
||||
data-lanes = <1>;
|
||||
remote-endpoint = <&csi20_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
Dongwoon Anatech DW9714 camera voice coil lens driver
|
||||
|
||||
DW9174 is a 10-bit DAC with current sink capability. It is intended
|
||||
for driving voice coil lenses in camera modules.
|
||||
|
||||
Mandatory properties:
|
||||
|
||||
- compatible: "dongwoon,dw9714"
|
||||
- reg: I²C slave address
|
||||
@@ -0,0 +1,28 @@
|
||||
* Amlogic Meson AO-CEC driver
|
||||
|
||||
The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is
|
||||
to handle communication between HDMI connected devices over the CEC bus.
|
||||
|
||||
Required properties:
|
||||
- compatible : value should be following
|
||||
"amlogic,meson-gx-ao-cec"
|
||||
|
||||
- reg : Physical base address of the IP registers and length of memory
|
||||
mapped region.
|
||||
|
||||
- interrupts : AO-CEC interrupt number to the CPU.
|
||||
- clocks : from common clock binding: handle to AO-CEC clock.
|
||||
- clock-names : from common clock binding: must contain "core",
|
||||
corresponding to entry in the clocks property.
|
||||
- hdmi-phandle: phandle to the HDMI controller
|
||||
|
||||
Example:
|
||||
|
||||
cec_AO: cec@100 {
|
||||
compatible = "amlogic,meson-gx-ao-cec";
|
||||
reg = <0x0 0x00100 0x0 0x14>;
|
||||
interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
|
||||
clocks = <&clkc_AO CLKID_AO_CEC_32K>;
|
||||
clock-names = "core";
|
||||
hdmi-phandle = <&hdmi_tx>;
|
||||
};
|
||||
@@ -2,10 +2,14 @@ Device-Tree bindings for Mediatek consumer IR controller
|
||||
found in Mediatek SoC family
|
||||
|
||||
Required properties:
|
||||
- compatible : "mediatek,mt7623-cir"
|
||||
- compatible : Should be
|
||||
"mediatek,mt7623-cir": for MT7623 SoC
|
||||
"mediatek,mt7622-cir": for MT7622 SoC
|
||||
- clocks : list of clock specifiers, corresponding to
|
||||
entries in clock-names property;
|
||||
- clock-names : should contain "clk" entries;
|
||||
- clock-names : should contain
|
||||
- "clk" entries: for MT7623 SoC
|
||||
- "clk", "bus" entries: for MT7622 SoC
|
||||
- interrupts : should contain IR IRQ number;
|
||||
- reg : should contain IO map address for IR.
|
||||
|
||||
|
||||
@@ -0,0 +1,197 @@
|
||||
Qualcomm Camera Subsystem
|
||||
|
||||
* Properties
|
||||
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: Should contain:
|
||||
- "qcom,msm8916-camss"
|
||||
- reg:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: Register ranges as listed in the reg-names property.
|
||||
- reg-names:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: Should contain the following entries:
|
||||
- "csiphy0"
|
||||
- "csiphy0_clk_mux"
|
||||
- "csiphy1"
|
||||
- "csiphy1_clk_mux"
|
||||
- "csid0"
|
||||
- "csid1"
|
||||
- "ispif"
|
||||
- "csi_clk_mux"
|
||||
- "vfe0"
|
||||
- interrupts:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: Interrupts as listed in the interrupt-names property.
|
||||
- interrupt-names:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: Should contain the following entries:
|
||||
- "csiphy0"
|
||||
- "csiphy1"
|
||||
- "csid0"
|
||||
- "csid1"
|
||||
- "ispif"
|
||||
- "vfe0"
|
||||
- power-domains:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: A phandle and power domain specifier pairs to the
|
||||
power domain which is responsible for collapsing
|
||||
and restoring power to the peripheral.
|
||||
- clocks:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: A list of phandle and clock specifier pairs as listed
|
||||
in clock-names property.
|
||||
- clock-names:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: Should contain the following entries:
|
||||
- "camss_top_ahb"
|
||||
- "ispif_ahb"
|
||||
- "csiphy0_timer"
|
||||
- "csiphy1_timer"
|
||||
- "csi0_ahb"
|
||||
- "csi0"
|
||||
- "csi0_phy"
|
||||
- "csi0_pix"
|
||||
- "csi0_rdi"
|
||||
- "csi1_ahb"
|
||||
- "csi1"
|
||||
- "csi1_phy"
|
||||
- "csi1_pix"
|
||||
- "csi1_rdi"
|
||||
- "camss_ahb"
|
||||
- "camss_vfe_vfe"
|
||||
- "camss_csi_vfe"
|
||||
- "iface"
|
||||
- "bus"
|
||||
- vdda-supply:
|
||||
Usage: required
|
||||
Value type: <phandle>
|
||||
Definition: A phandle to voltage supply for CSI2.
|
||||
- iommus:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: A list of phandle and IOMMU specifier pairs.
|
||||
|
||||
* Nodes
|
||||
|
||||
- ports:
|
||||
Usage: required
|
||||
Definition: As described in video-interfaces.txt in same directory.
|
||||
Properties:
|
||||
- reg:
|
||||
Usage: required
|
||||
Value type: <u32>
|
||||
Definition: Selects CSI2 PHY interface - PHY0 or PHY1.
|
||||
Endpoint node properties:
|
||||
- clock-lanes:
|
||||
Usage: required
|
||||
Value type: <u32>
|
||||
Definition: The physical clock lane index. The value
|
||||
must always be <1> as the physical clock
|
||||
lane is lane 1.
|
||||
- data-lanes:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: An array of physical data lanes indexes.
|
||||
Position of an entry determines the logical
|
||||
lane number, while the value of an entry
|
||||
indicates physical lane index. Lane swapping
|
||||
is supported.
|
||||
|
||||
* An Example
|
||||
|
||||
camss: camss@1b00000 {
|
||||
compatible = "qcom,msm8916-camss";
|
||||
reg = <0x1b0ac00 0x200>,
|
||||
<0x1b00030 0x4>,
|
||||
<0x1b0b000 0x200>,
|
||||
<0x1b00038 0x4>,
|
||||
<0x1b08000 0x100>,
|
||||
<0x1b08400 0x100>,
|
||||
<0x1b0a000 0x500>,
|
||||
<0x1b00020 0x10>,
|
||||
<0x1b10000 0x1000>;
|
||||
reg-names = "csiphy0",
|
||||
"csiphy0_clk_mux",
|
||||
"csiphy1",
|
||||
"csiphy1_clk_mux",
|
||||
"csid0",
|
||||
"csid1",
|
||||
"ispif",
|
||||
"csi_clk_mux",
|
||||
"vfe0";
|
||||
interrupts = <GIC_SPI 78 0>,
|
||||
<GIC_SPI 79 0>,
|
||||
<GIC_SPI 51 0>,
|
||||
<GIC_SPI 52 0>,
|
||||
<GIC_SPI 55 0>,
|
||||
<GIC_SPI 57 0>;
|
||||
interrupt-names = "csiphy0",
|
||||
"csiphy1",
|
||||
"csid0",
|
||||
"csid1",
|
||||
"ispif",
|
||||
"vfe0";
|
||||
power-domains = <&gcc VFE_GDSC>;
|
||||
clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
|
||||
<&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI0_AHB_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI0_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI0PHY_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI0PIX_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI0RDI_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI1_AHB_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI1_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI1PHY_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI1PIX_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI1RDI_CLK>,
|
||||
<&gcc GCC_CAMSS_AHB_CLK>,
|
||||
<&gcc GCC_CAMSS_VFE0_CLK>,
|
||||
<&gcc GCC_CAMSS_CSI_VFE0_CLK>,
|
||||
<&gcc GCC_CAMSS_VFE_AHB_CLK>,
|
||||
<&gcc GCC_CAMSS_VFE_AXI_CLK>;
|
||||
clock-names = "camss_top_ahb",
|
||||
"ispif_ahb",
|
||||
"csiphy0_timer",
|
||||
"csiphy1_timer",
|
||||
"csi0_ahb",
|
||||
"csi0",
|
||||
"csi0_phy",
|
||||
"csi0_pix",
|
||||
"csi0_rdi",
|
||||
"csi1_ahb",
|
||||
"csi1",
|
||||
"csi1_phy",
|
||||
"csi1_pix",
|
||||
"csi1_rdi",
|
||||
"camss_ahb",
|
||||
"camss_vfe_vfe",
|
||||
"camss_csi_vfe",
|
||||
"iface",
|
||||
"bus";
|
||||
vdda-supply = <&pm8916_l2>;
|
||||
iommus = <&apps_iommu 3>;
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
csiphy0_ep: endpoint {
|
||||
clock-lanes = <1>;
|
||||
data-lanes = <0 2>;
|
||||
remote-endpoint = <&ov5645_ep>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -40,6 +40,7 @@ To summarize,
|
||||
Required properties of an internal channel:
|
||||
-------------------------------------------
|
||||
- compatible: "renesas,r8a7795-drif" if DRIF controller is a part of R8A7795 SoC.
|
||||
"renesas,r8a7796-drif" if DRIF controller is a part of R8A7796 SoC.
|
||||
"renesas,rcar-gen3-drif" for a generic R-Car Gen3 compatible device.
|
||||
|
||||
When compatible with the generic version, nodes must list the
|
||||
|
||||
@@ -76,6 +76,11 @@ Optional endpoint properties
|
||||
mode horizontal and vertical synchronization signals are provided to the
|
||||
slave device (data source) by the master device (data sink). In the master
|
||||
mode the data source device is also the source of the synchronization signals.
|
||||
- bus-type: data bus type. Possible values are:
|
||||
0 - autodetect based on other properties (MIPI CSI-2 D-PHY, parallel or Bt656)
|
||||
1 - MIPI CSI-2 C-PHY
|
||||
2 - MIPI CSI1
|
||||
3 - CCP2
|
||||
- bus-width: number of data lines actively used, valid for the parallel busses.
|
||||
- data-shift: on the parallel data busses, if bus-width is used to specify the
|
||||
number of data lines, data-shift can be used to specify which data lines are
|
||||
@@ -112,7 +117,8 @@ Optional endpoint properties
|
||||
should be the combined length of data-lanes and clock-lanes properties.
|
||||
If the lane-polarities property is omitted, the value must be interpreted
|
||||
as 0 (normal). This property is valid for serial busses only.
|
||||
|
||||
- strobe: Whether the clock signal is used as clock (0) or strobe (1). Used
|
||||
with CCP2, for instance.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
IR Decoder (IRDEC) on ZTE ZX family SoCs
|
||||
|
||||
Required properties:
|
||||
- compatible: Should be "zte,zx296718-irdec".
|
||||
- reg: Physical base address and length of IRDEC registers.
|
||||
- interrupts: Interrupt number of IRDEC.
|
||||
|
||||
Exmaples:
|
||||
|
||||
irdec: ir-decoder@111000 {
|
||||
compatible = "zte,zx296718-irdec";
|
||||
reg = <0x111000 0x1000>;
|
||||
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
@@ -88,6 +88,7 @@ dlg Dialog Semiconductor
|
||||
dlink D-Link Corporation
|
||||
dmo Data Modul AG
|
||||
domintech Domintech Co., Ltd.
|
||||
dongwoon Dongwoon Anatech
|
||||
dptechnics DPTechnics
|
||||
dragino Dragino Technology Co., Limited
|
||||
ea Embedded Artists AB
|
||||
|
||||
@@ -16,7 +16,6 @@ replace define CA_NDS :c:type:`ca_descr_info`
|
||||
replace define CA_DSS :c:type:`ca_descr_info`
|
||||
|
||||
# some typedefs should point to struct/enums
|
||||
replace typedef ca_pid_t :c:type:`ca_pid`
|
||||
replace typedef ca_slot_info_t :c:type:`ca_slot_info`
|
||||
replace typedef ca_descr_info_t :c:type:`ca_descr_info`
|
||||
replace typedef ca_caps_t :c:type:`ca_caps`
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
.. -*- coding: utf-8; mode: rst -*-
|
||||
|
||||
.. include:: <isonum.txt>
|
||||
|
||||
.. _cec-drivers:
|
||||
|
||||
#################################
|
||||
CEC driver-specific documentation
|
||||
#################################
|
||||
|
||||
**Copyright** |copy| 2017 : LinuxTV Developers
|
||||
|
||||
This documentation is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the Free
|
||||
Software Foundation version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
|
||||
For more details see the file COPYING in the source distribution of Linux.
|
||||
|
||||
.. only:: html
|
||||
|
||||
.. class:: toc-title
|
||||
|
||||
Table of Contents
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 5
|
||||
:numbered:
|
||||
|
||||
pulse8-cec
|
||||
@@ -0,0 +1,11 @@
|
||||
Pulse-Eight CEC Adapter driver
|
||||
==============================
|
||||
|
||||
The pulse8-cec driver implements the following module option:
|
||||
|
||||
``persistent_config``
|
||||
---------------------
|
||||
|
||||
By default this is off, but when set to 1 the driver will store the current
|
||||
settings to the device's internal eeprom and restore it the next time the
|
||||
device is connected to the USB port.
|
||||
@@ -40,27 +40,17 @@ replace enum dmx_input :c:type:`dmx_input`
|
||||
replace symbol DMX_IN_FRONTEND :c:type:`dmx_input`
|
||||
replace symbol DMX_IN_DVR :c:type:`dmx_input`
|
||||
|
||||
# dmx_source_t symbols
|
||||
replace enum dmx_source :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_FRONT0 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_FRONT1 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_FRONT2 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_FRONT3 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_DVR0 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_DVR1 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_DVR2 :c:type:`dmx_source`
|
||||
replace symbol DMX_SOURCE_DVR3 :c:type:`dmx_source`
|
||||
|
||||
|
||||
# Flags for struct dmx_sct_filter_params
|
||||
replace define DMX_CHECK_CRC :c:type:`dmx_sct_filter_params`
|
||||
replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params`
|
||||
replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params`
|
||||
replace define DMX_KERNEL_CLIENT :c:type:`dmx_sct_filter_params`
|
||||
|
||||
# some typedefs should point to struct/enums
|
||||
replace typedef dmx_caps_t :c:type:`dmx_caps`
|
||||
replace typedef dmx_filter_t :c:type:`dmx_filter`
|
||||
replace typedef dmx_pes_type_t :c:type:`dmx_pes_type`
|
||||
replace typedef dmx_input_t :c:type:`dmx_input`
|
||||
replace typedef dmx_source_t :c:type:`dmx_source`
|
||||
|
||||
ignore symbol DMX_OUT_DECODER
|
||||
ignore symbol DMX_OUT_TAP
|
||||
ignore symbol DMX_OUT_TS_TAP
|
||||
ignore symbol DMX_OUT_TSDEMUX_TAP
|
||||
|
||||
@@ -143,7 +143,6 @@ All these ioctls are also valid for the High level CI interface
|
||||
#define CA_GET_MSG _IOR('o', 132, ca_msg_t)
|
||||
#define CA_SEND_MSG _IOW('o', 133, ca_msg_t)
|
||||
#define CA_SET_DESCR _IOW('o', 134, ca_descr_t)
|
||||
#define CA_SET_PID _IOW('o', 135, ca_pid_t)
|
||||
|
||||
|
||||
On querying the device, the device yields information thus:
|
||||
|
||||
@@ -19,7 +19,9 @@ more details.
|
||||
|
||||
For more details see the file COPYING in the source distribution of Linux.
|
||||
|
||||
.. class:: toc-title
|
||||
.. only:: html
|
||||
|
||||
.. class:: toc-title
|
||||
|
||||
Table of Contents
|
||||
|
||||
|
||||
@@ -25,19 +25,9 @@ ignore define DTV_MAX_COMMAND
|
||||
ignore define MAX_DTV_STATS
|
||||
ignore define DTV_IOCTL_MAX_MSGS
|
||||
|
||||
# Stats enum is documented altogether
|
||||
replace enum fecap_scale_params :ref:`frontend-stat-properties`
|
||||
replace symbol FE_SCALE_COUNTER frontend-stat-properties
|
||||
replace symbol FE_SCALE_DECIBEL frontend-stat-properties
|
||||
replace symbol FE_SCALE_NOT_AVAILABLE frontend-stat-properties
|
||||
replace symbol FE_SCALE_RELATIVE frontend-stat-properties
|
||||
|
||||
# the same reference is used for both get and set ioctls
|
||||
replace ioctl FE_SET_PROPERTY :c:type:`FE_GET_PROPERTY`
|
||||
|
||||
# Ignore struct used only internally at Kernel
|
||||
ignore struct dtv_cmds_h
|
||||
|
||||
# Typedefs that use the enum reference
|
||||
replace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage`
|
||||
|
||||
@@ -45,3 +35,178 @@ replace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage`
|
||||
replace define FE_TUNE_MODE_ONESHOT :c:func:`FE_SET_FRONTEND_TUNE_MODE`
|
||||
replace define LNA_AUTO dtv-lna
|
||||
replace define NO_STREAM_ID_FILTER dtv-stream-id
|
||||
|
||||
# Those enums are defined at the frontend.h header, and not externally
|
||||
|
||||
ignore symbol FE_IS_STUPID
|
||||
ignore symbol FE_CAN_INVERSION_AUTO
|
||||
ignore symbol FE_CAN_FEC_1_2
|
||||
ignore symbol FE_CAN_FEC_2_3
|
||||
ignore symbol FE_CAN_FEC_3_4
|
||||
ignore symbol FE_CAN_FEC_4_5
|
||||
ignore symbol FE_CAN_FEC_5_6
|
||||
ignore symbol FE_CAN_FEC_6_7
|
||||
ignore symbol FE_CAN_FEC_7_8
|
||||
ignore symbol FE_CAN_FEC_8_9
|
||||
ignore symbol FE_CAN_FEC_AUTO
|
||||
ignore symbol FE_CAN_QPSK
|
||||
ignore symbol FE_CAN_QAM_16
|
||||
ignore symbol FE_CAN_QAM_32
|
||||
ignore symbol FE_CAN_QAM_64
|
||||
ignore symbol FE_CAN_QAM_128
|
||||
ignore symbol FE_CAN_QAM_256
|
||||
ignore symbol FE_CAN_QAM_AUTO
|
||||
ignore symbol FE_CAN_TRANSMISSION_MODE_AUTO
|
||||
ignore symbol FE_CAN_BANDWIDTH_AUTO
|
||||
ignore symbol FE_CAN_GUARD_INTERVAL_AUTO
|
||||
ignore symbol FE_CAN_HIERARCHY_AUTO
|
||||
ignore symbol FE_CAN_8VSB
|
||||
ignore symbol FE_CAN_16VSB
|
||||
ignore symbol FE_HAS_EXTENDED_CAPS
|
||||
ignore symbol FE_CAN_MULTISTREAM
|
||||
ignore symbol FE_CAN_TURBO_FEC
|
||||
ignore symbol FE_CAN_2G_MODULATION
|
||||
ignore symbol FE_NEEDS_BENDING
|
||||
ignore symbol FE_CAN_RECOVER
|
||||
ignore symbol FE_CAN_MUTE_TS
|
||||
|
||||
ignore symbol QPSK
|
||||
ignore symbol QAM_16
|
||||
ignore symbol QAM_32
|
||||
ignore symbol QAM_64
|
||||
ignore symbol QAM_128
|
||||
ignore symbol QAM_256
|
||||
ignore symbol QAM_AUTO
|
||||
ignore symbol VSB_8
|
||||
ignore symbol VSB_16
|
||||
ignore symbol PSK_8
|
||||
ignore symbol APSK_16
|
||||
ignore symbol APSK_32
|
||||
ignore symbol DQPSK
|
||||
ignore symbol QAM_4_NR
|
||||
|
||||
ignore symbol SEC_VOLTAGE_13
|
||||
ignore symbol SEC_VOLTAGE_18
|
||||
ignore symbol SEC_VOLTAGE_OFF
|
||||
|
||||
ignore symbol SEC_TONE_ON
|
||||
ignore symbol SEC_TONE_OFF
|
||||
|
||||
ignore symbol SEC_MINI_A
|
||||
ignore symbol SEC_MINI_B
|
||||
|
||||
ignore symbol FE_NONE
|
||||
ignore symbol FE_HAS_SIGNAL
|
||||
ignore symbol FE_HAS_CARRIER
|
||||
ignore symbol FE_HAS_VITERBI
|
||||
ignore symbol FE_HAS_SYNC
|
||||
ignore symbol FE_HAS_LOCK
|
||||
ignore symbol FE_REINIT
|
||||
ignore symbol FE_TIMEDOUT
|
||||
|
||||
ignore symbol FEC_NONE
|
||||
ignore symbol FEC_1_2
|
||||
ignore symbol FEC_2_3
|
||||
ignore symbol FEC_3_4
|
||||
ignore symbol FEC_4_5
|
||||
ignore symbol FEC_5_6
|
||||
ignore symbol FEC_6_7
|
||||
ignore symbol FEC_7_8
|
||||
ignore symbol FEC_8_9
|
||||
ignore symbol FEC_AUTO
|
||||
ignore symbol FEC_3_5
|
||||
ignore symbol FEC_9_10
|
||||
ignore symbol FEC_2_5
|
||||
|
||||
ignore symbol TRANSMISSION_MODE_AUTO
|
||||
ignore symbol TRANSMISSION_MODE_1K
|
||||
ignore symbol TRANSMISSION_MODE_2K
|
||||
ignore symbol TRANSMISSION_MODE_8K
|
||||
ignore symbol TRANSMISSION_MODE_4K
|
||||
ignore symbol TRANSMISSION_MODE_16K
|
||||
ignore symbol TRANSMISSION_MODE_32K
|
||||
ignore symbol TRANSMISSION_MODE_C1
|
||||
ignore symbol TRANSMISSION_MODE_C3780
|
||||
ignore symbol TRANSMISSION_MODE_2K
|
||||
ignore symbol TRANSMISSION_MODE_8K
|
||||
|
||||
ignore symbol GUARD_INTERVAL_AUTO
|
||||
ignore symbol GUARD_INTERVAL_1_128
|
||||
ignore symbol GUARD_INTERVAL_1_32
|
||||
ignore symbol GUARD_INTERVAL_1_16
|
||||
ignore symbol GUARD_INTERVAL_1_8
|
||||
ignore symbol GUARD_INTERVAL_1_4
|
||||
ignore symbol GUARD_INTERVAL_19_128
|
||||
ignore symbol GUARD_INTERVAL_19_256
|
||||
ignore symbol GUARD_INTERVAL_PN420
|
||||
ignore symbol GUARD_INTERVAL_PN595
|
||||
ignore symbol GUARD_INTERVAL_PN945
|
||||
|
||||
ignore symbol HIERARCHY_NONE
|
||||
ignore symbol HIERARCHY_AUTO
|
||||
ignore symbol HIERARCHY_1
|
||||
ignore symbol HIERARCHY_2
|
||||
ignore symbol HIERARCHY_4
|
||||
|
||||
ignore symbol INTERLEAVING_NONE
|
||||
ignore symbol INTERLEAVING_AUTO
|
||||
ignore symbol INTERLEAVING_240
|
||||
ignore symbol INTERLEAVING_720
|
||||
|
||||
ignore symbol PILOT_ON
|
||||
ignore symbol PILOT_OFF
|
||||
ignore symbol PILOT_AUTO
|
||||
|
||||
ignore symbol ROLLOFF_35
|
||||
ignore symbol ROLLOFF_20
|
||||
ignore symbol ROLLOFF_25
|
||||
ignore symbol ROLLOFF_AUTO
|
||||
|
||||
ignore symbol INVERSION_ON
|
||||
ignore symbol INVERSION_OFF
|
||||
ignore symbol INVERSION_AUTO
|
||||
|
||||
ignore symbol SYS_UNDEFINED
|
||||
ignore symbol SYS_DVBC_ANNEX_A
|
||||
ignore symbol SYS_DVBC_ANNEX_B
|
||||
ignore symbol SYS_DVBC_ANNEX_C
|
||||
ignore symbol SYS_ISDBC
|
||||
ignore symbol SYS_DVBT
|
||||
ignore symbol SYS_DVBT2
|
||||
ignore symbol SYS_ISDBT
|
||||
ignore symbol SYS_ATSC
|
||||
ignore symbol SYS_ATSCMH
|
||||
ignore symbol SYS_DTMB
|
||||
ignore symbol SYS_DVBS
|
||||
ignore symbol SYS_DVBS2
|
||||
ignore symbol SYS_TURBO
|
||||
ignore symbol SYS_ISDBS
|
||||
ignore symbol SYS_DAB
|
||||
ignore symbol SYS_DSS
|
||||
ignore symbol SYS_CMMB
|
||||
ignore symbol SYS_DVBH
|
||||
|
||||
ignore symbol ATSCMH_SCCC_BLK_SEP
|
||||
ignore symbol ATSCMH_SCCC_BLK_COMB
|
||||
ignore symbol ATSCMH_SCCC_BLK_RES
|
||||
|
||||
ignore symbol ATSCMH_SCCC_CODE_HLF
|
||||
ignore symbol ATSCMH_SCCC_CODE_QTR
|
||||
ignore symbol ATSCMH_SCCC_CODE_RES
|
||||
|
||||
ignore symbol ATSCMH_RSFRAME_ENS_PRI
|
||||
ignore symbol ATSCMH_RSFRAME_ENS_SEC
|
||||
|
||||
ignore symbol ATSCMH_RSFRAME_PRI_ONLY
|
||||
ignore symbol ATSCMH_RSFRAME_PRI_SEC
|
||||
ignore symbol ATSCMH_RSFRAME_RES
|
||||
|
||||
ignore symbol ATSCMH_RSCODE_211_187
|
||||
ignore symbol ATSCMH_RSCODE_223_187
|
||||
ignore symbol ATSCMH_RSCODE_235_187
|
||||
ignore symbol ATSCMH_RSCODE_RES
|
||||
|
||||
ignore symbol FE_SCALE_NOT_AVAILABLE
|
||||
ignore symbol FE_SCALE_DECIBEL
|
||||
ignore symbol FE_SCALE_RELATIVE
|
||||
ignore symbol FE_SCALE_COUNTER
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
Linux Media Subsystem Documentation
|
||||
===================================
|
||||
|
||||
Contents:
|
||||
.. only:: html
|
||||
|
||||
.. class:: toc-title
|
||||
|
||||
Table of Contents
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
@@ -10,6 +14,7 @@ Contents:
|
||||
media_kapi
|
||||
dvb-drivers/index
|
||||
v4l-drivers/index
|
||||
cec-drivers/index
|
||||
|
||||
.. only:: subproject
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user