diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-23 12:32:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-23 12:32:02 -0300 |
commit | bf8ebd444cd4780af7e031c1fc1ec5a1141bc9ab (patch) | |
tree | 2a5e77951748fe427be25cb7614df1373fdd35a3 /Documentation | |
parent | 5d969334204ade2828ba6de4ccfa2e9ef3d4c893 (diff) | |
parent | 8cdf1a0d812974ed33868a4c74f62b8d128feff2 (diff) | |
download | linux-3.10-bf8ebd444cd4780af7e031c1fc1ec5a1141bc9ab.tar.gz linux-3.10-bf8ebd444cd4780af7e031c1fc1ec5a1141bc9ab.tar.bz2 linux-3.10-bf8ebd444cd4780af7e031c1fc1ec5a1141bc9ab.zip |
Merge remote-tracking branch 'tizen/tizen' into tizen-media-backports
* tizen/tizen: (119 commits)
arm: odroid: cpufreq: Support for frequency up to 1.7 GHz
cpufreq: BOOST: Adjust setting of BOOST frequency just before first valid freq
s5p-mfc: fix handling for MPEG2 decoding with IOMMU
arm: tizen_odroid_defconfig: enable pwm-fan driver
media: s5p_mfc: Check the right pointer after allocation
hwmon: pwm-fan: fix build error
dts: Enable pwm in Exynos4412-odroidu3 and add pwm-fan
hwmon: pwm-fan: Add pwm-fan driver
odroid: disable dmabuf-sync
media: s5p_mfc: remove unnecessary calling to function video_devdata()
arm: tizen_odroid_defconfig: enable MAX77686 RTC driver
ARM: dts: ODROID i2c improvements
ARM: dts: Enable PMIC interrupts on ODROID
ASoC: odroidx2_max98090: Rectify module device table name
ASoC: odroidx2_max98090: Move clock settings from ops to late_probe
ASoC: samsung-i2s: Maintain CDCLK settings across i2s_{shutdown/startup}
usbnet: smsc95xx: add reset_resume function with reset operation
usb: s3c-hsotg: break infinite loop in endpoint disable code
arm: tizen_odroid_defconfig: enable LED heartbeat
USB: add reset resume quirk for usb3503
...
Conflicts:
arch/arm/configs/tizen_odroid_defconfig
drivers/media/v4l2-core/videobuf2-core.c
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/cgroups/net_cls.txt | 5 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 12 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt | 24 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/samsung-i2s.txt | 6 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/usb/exynos-usb.txt | 16 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/usb/usb3503.txt | 8 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/video/samsung-fimd.txt | 43 | ||||
-rw-r--r-- | Documentation/hwmon/pwm-fan | 17 |
8 files changed, 123 insertions, 8 deletions
diff --git a/Documentation/cgroups/net_cls.txt b/Documentation/cgroups/net_cls.txt index 9face6bb578..ec182346dea 100644 --- a/Documentation/cgroups/net_cls.txt +++ b/Documentation/cgroups/net_cls.txt @@ -6,6 +6,8 @@ tag network packets with a class identifier (classid). The Traffic Controller (tc) can be used to assign different priorities to packets from different cgroups. +Also, Netfilter (iptables) can use this tag to perform +actions on such packets. Creating a net_cls cgroups instance creates a net_cls.classid file. This net_cls.classid value is initialized to 0. @@ -32,3 +34,6 @@ tc class add dev eth0 parent 10: classid 10:1 htb rate 40mbit - creating traffic class 10:1 tc filter add dev eth0 parent 10: protocol ip prio 10 handle 1: cgroup + +configuring iptables, basic example: +iptables -A OUTPUT -m cgroup ! --cgroup 0x100001 -j DROP diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt new file mode 100644 index 00000000000..610757ce449 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt @@ -0,0 +1,12 @@ +Bindings for a fan connected to the PWM lines + +Required properties: +- compatible : "pwm-fan" +- pwms : the PWM that is used to control the PWM fan + +Example: + pwm-fan { + compatible = "pwm-fan"; + status = "okay"; + pwms = <&pwm 0 10000 0>; + }; diff --git a/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt index 73a8914ea75..e4bb694398a 100644 --- a/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt +++ b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt @@ -1,11 +1,24 @@ Samsung OdroidX2/U3 audio complex Required properties: - - compatible: - "samsung,odroidx2-audio" - for odroidx2 board - "samsung,odroidu3-audio" - for odroidu3 board - - samsung,i2s-controller: the phandle of the I2S controller - - samsung,audio-codec: the phandle of the max98090 audio codec + - compatible : "samsung,odroidx2-audio" - for odroidx2 board, + "samsung,odroidu3-audio" - for odroidu3 board + - samsung,model : the user-visible name of this sound complex. + - samsung,i2s-controller : the phandle of the I2S controller + - samsung,audio-codec : the phandle of the MAX98090 audio codec + - samsung,audio-routing : a list of the connections between audio + components; each entry is a pair of strings, the first being the + connection's sink, the second being the connection's source; + valid names for sources and sinks are the MAX98090's pins (as + documented in its binding), and the jacks on the board; + For Odroid X2: + * Headphone Jack + * Mic Jack + * DMIC + + For Odroid U3: + * Headphone Jack + * Speakers Example: @@ -14,4 +27,3 @@ sound { samsung,i2s-controller = <&i2s0>; samsung,audio-codec = <&max98090>; }; - diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.txt b/Documentation/devicetree/bindings/sound/samsung-i2s.txt index 3070046da2e..0cda9146303 100644 --- a/Documentation/devicetree/bindings/sound/samsung-i2s.txt +++ b/Documentation/devicetree/bindings/sound/samsung-i2s.txt @@ -2,9 +2,10 @@ Required SoC Specific Properties: -- compatible : "samsung,i2s-v5" +- compatible: "samsung,i2s-v5" - reg: physical base address of the controller and length of memory mapped region. +- interrupts: should contain I2S interrupt number. - dmas: list of DMA controller phandle and DMA request line ordered pairs. - dma-names: identifier string for each DMA request line in the dmas property. These strings correspond 1:1 with the ordered pairs in dmas. @@ -16,7 +17,7 @@ Optional SoC Specific Properties: - samsung,supports-rstclr: This flag should be set if I2S software reset bit control is required. When this flag is set I2S software reset bit will be enabled or disabled based on need. -- samsung,supports-secdai:If I2S block has a secondary FIFO and internal DMA, +- samsung,supports-secdai: If I2S block has a secondary FIFO and internal DMA, then this flag is enabled. - samsung,idma-addr: Internal DMA register base address of the audio sub system(used in secondary sound source). @@ -40,6 +41,7 @@ Example: i2s@03830000 { compatible = "samsung,i2s-v5"; reg = <0x03830000 0x100>; + interrupts = <0 97 0>; dmas = <&pdma0 10 &pdma0 9 &pdma0 8>; diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt index b3abde73601..f7189b4cbce 100644 --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt +++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt @@ -38,6 +38,13 @@ Required properties: - interrupts: interrupt number to the cpu. - clocks: from common clock binding: handle to usb clock. - clock-names: from common clock binding: Shall be "usbhost". + - port: if in the SoC there are OHCI phys, they should be listed here. + One phy per port. Each port should have following entries: + - reg: port number on OHCI controller, e.g + On Exynos5250, port 0 is USB2.0 otg phy + port 1 is HSIC phy0 + port 2 is HSIC phy1 + - phys: from the *Generic PHY* bindings, specifying phy used by port. Example: usb@12120000 { @@ -47,4 +54,13 @@ Example: clocks = <&clock 285>; clock-names = "usbhost"; + + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + phys = <&usb2phy 1>; + status = "disabled"; + }; + }; diff --git a/Documentation/devicetree/bindings/usb/usb3503.txt b/Documentation/devicetree/bindings/usb/usb3503.txt index a018da4a7ad..221ac0dbc67 100644 --- a/Documentation/devicetree/bindings/usb/usb3503.txt +++ b/Documentation/devicetree/bindings/usb/usb3503.txt @@ -15,6 +15,14 @@ Optional properties: - reset-gpios: Should specify GPIO for reset. - initial-mode: Should specify initial mode. (1 for HUB mode, 2 for STANDBY mode) +- refclk: Clock used for driving REFCLK signal (optional, if not provided + the driver assumes that clock signal is always available, its + rate is specified by REF_SEL pins and a value from the primary + reference clock frequencies table is used) +- refclk-frequency: Frequency of the REFCLK signal as defined by REF_SEL + pins (optional, if not provided, driver will not set rate of the + REFCLK signal and assume that a value from the primary reference + clock frequencies table is used) Examples: usb3503@08 { diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt index 778838a0336..a67617acd07 100644 --- a/Documentation/devicetree/bindings/video/samsung-fimd.txt +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt @@ -39,6 +39,49 @@ Required properties: Optional Properties: - samsung,power-domain: a phandle to FIMD power domain node. +- display-timings: timing settings for FIMD, as described in document [1]. + Can be used in case timings cannot be provided otherwise + or to override timings provided by the panel. +- samsung,sysreg: handle to syscon used to control the system registers +- i80-if-timings: timing configuration for lcd i80 interface support. + - cs-setup: clock cycles for the active period of address signal is enabled + until chip select is enabled. + If not specified, the default value(0) will be used. + - wr-setup: clock cycles for the active period of CS signal is enabled until + write signal is enabled. + If not specified, the default value(0) will be used. + - wr-active: clock cycles for the active period of CS is enabled. + If not specified, the default value(1) will be used. + - wr-hold: clock cycles for the active period of CS is disabled until write + signal is disabled. + If not specified, the default value(0) will be used. + + The parameters are defined as: + + VCLK(internal) __|¯¯¯¯¯¯|_____|¯¯¯¯¯¯|_____|¯¯¯¯¯¯|_____|¯¯¯¯¯¯|_____|¯¯ + : : : : : + Address Output --:<XXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XX + | cs-setup+1 | : : : + |<---------->| : : : + Chip Select ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|____________:____________:____________|¯¯ + | wr-setup+1 | | wr-hold+1 | + |<---------->| |<---------->| + Write Enable ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|____________|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ + | wr-active+1| + |<---------->| + Video Data ----------------------------<XXXXXXXXXXXXXXXXXXXXXXXXX>-- + +The device node can contain 'port' child nodes according to the bindings defined +in [2]. The following are properties specific to those nodes: +- reg: (required) port index, can be: + 0 - for CAMIF0 input, + 1 - for CAMIF1 input, + 2 - for CAMIF2 input, + 3 - for parallel output, + 4 - for write-back interface + +[1]: Documentation/devicetree/bindings/video/display-timing.txt +[2]: Documentation/devicetree/bindings/media/video-interfaces.txt Example: diff --git a/Documentation/hwmon/pwm-fan b/Documentation/hwmon/pwm-fan new file mode 100644 index 00000000000..18529d2e3bc --- /dev/null +++ b/Documentation/hwmon/pwm-fan @@ -0,0 +1,17 @@ +Kernel driver pwm-fan +===================== + +This driver enables the use of a PWM module to drive a fan. It uses the +generic PWM interface thus it is hardware independent. It can be used on +many SoCs, as long as the SoC supplies a PWM line driver that exposes +the generic PWM API. + +Author: Kamil Debski <k.debski@samsung.com> + +Description +----------- + +The driver implements a simple interface for driving a fan connected to +a PWM output. It uses the generic PWM interface, thus it can be used with +a range of SoCs. The driver exposes the fan to the user space through +the hwmon's sysfs interface. |