Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271633
b: refs/heads/master
c: 1a4ceab
h: refs/heads/master
i:
  271631: ca1c76a
v: v3
  • Loading branch information
Linus Torvalds committed Oct 31, 2011
1 parent 8847868 commit a90df32
Show file tree
Hide file tree
Showing 2,150 changed files with 100,899 additions and 46,061 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a32e4f9dd9219261f8856f817e6655114cfec2f
refs/heads/master: 1a4ceab195e66bce9c1638fdded6d92988100ba4
13 changes: 13 additions & 0 deletions trunk/Documentation/ABI/testing/sysfs-block
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,16 @@ Description:
when a discarded area is read the discard_zeroes_data
parameter will be set to one. Otherwise it will be 0 and
the result of reading a discarded area is undefined.
What: /sys/block/<disk>/alias
Date: Aug 2011
Contact: Nao Nishijima <nao.nishijima.xt@hitachi.com>
Description:
A raw device name of a disk does not always point a same disk
each boot-up time. Therefore, users have to use persistent
device names, which udev creates when the kernel finds a disk,
instead of raw device name. However, kernel doesn't show those
persistent names on its messages (e.g. dmesg).
This file can store an alias of the disk and it would be
appeared in kernel messages if it is set. A disk can have an
alias which length is up to 255bytes. Users can use alphabets,
numbers, "-" and "_" in alias name. This file is writeonce.
72 changes: 72 additions & 0 deletions trunk/Documentation/ABI/testing/sysfs-driver-wacom
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
What: /sys/class/hidraw/hidraw*/device/speed
Date: April 2010
Kernel Version: 2.6.35
Contact: linux-bluetooth@vger.kernel.org
Description:
The /sys/class/hidraw/hidraw*/device/speed file controls
reporting speed of Wacom bluetooth tablet. Reading from
this file returns 1 if tablet reports in high speed mode
or 0 otherwise. Writing to this file one of these values
switches reporting speed.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/led
Date: August 2011
Contact: linux-input@vger.kernel.org
Description:
Attribute group for control of the status LEDs and the OLEDs.
This attribute group is only available for Intuos 4 M, L,
and XL (with LEDs and OLEDs) and Cintiq 21UX2 (LEDs only).
Therefore its presence implicitly signifies the presence of
said LEDs and OLEDs on the tablet device.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status0_luminance
Date: August 2011
Contact: linux-input@vger.kernel.org
Description:
Writing to this file sets the status LED luminance (1..127)
when the stylus does not touch the tablet surface, and no
button is pressed on the stylus. This luminance level is
normally lower than the level when a button is pressed.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status1_luminance
Date: August 2011
Contact: linux-input@vger.kernel.org
Description:
Writing to this file sets the status LED luminance (1..127)
when the stylus touches the tablet surface, or any button is
pressed on the stylus.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status_led0_select
Date: August 2011
Contact: linux-input@vger.kernel.org
Description:
Writing to this file sets which one of the four (for Intuos 4)
or of the right four (for Cintiq 21UX2) status LEDs is active (0..3).
The other three LEDs on the same side are always inactive.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/status_led1_select
Date: September 2011
Contact: linux-input@vger.kernel.org
Description:
Writing to this file sets which one of the left four (for Cintiq 21UX2)
status LEDs is active (0..3). The other three LEDs on the left are always
inactive.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/buttons_luminance
Date: August 2011
Contact: linux-input@vger.kernel.org
Description:
Writing to this file sets the overall luminance level (0..15)
of all eight button OLED displays.

What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/button<n>_rawimg
Date: August 2011
Contact: linux-input@vger.kernel.org
Description:
When writing a 1024 byte raw image in Wacom Intuos 4
interleaving format to the file, the image shows up on Button N
of the device. The image is a 64x32 pixel 4-bit gray image. The
1024 byte binary is split up into 16x 64 byte chunks. Each 64
byte chunk encodes the image data for two consecutive lines on
the display. The low nibble of each byte contains the first
line, and the high nibble contains the second line.
10 changes: 0 additions & 10 deletions trunk/Documentation/ABI/testing/sysfs-wacom

This file was deleted.

36 changes: 21 additions & 15 deletions trunk/Documentation/DocBook/writing-an-alsa-driver.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4288,7 +4288,7 @@ struct _snd_pcm_runtime {
<![CDATA[
struct snd_rawmidi *rmidi;
snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, port, info_flags,
irq, irq_flags, &rmidi);
irq, &rmidi);
]]>
</programlisting>
</informalexample>
Expand Down Expand Up @@ -4343,6 +4343,13 @@ struct _snd_pcm_runtime {
by itself to start processing the output stream in the irq handler.
</para>

<para>
If the MPU-401 interface shares its interrupt with the other logical
devices on the card, set <constant>MPU401_INFO_IRQ_HOOK</constant>
(see <link linkend="midi-interface-interrupt-handler"><citetitle>
below</citetitle></link>).
</para>

<para>
Usually, the port address corresponds to the command port and
port + 1 corresponds to the data port. If not, you may change
Expand Down Expand Up @@ -4375,27 +4382,26 @@ struct _snd_pcm_runtime {
</para>

<para>
The 6th argument specifies the irq number for UART. If the irq
is already allocated, pass 0 to the 7th argument
(<parameter>irq_flags</parameter>). Otherwise, pass the flags
for irq allocation
(<constant>SA_XXX</constant> bits) to it, and the irq will be
reserved by the mpu401-uart layer. If the card doesn't generate
UART interrupts, pass -1 as the irq number. Then a timer
interrupt will be invoked for polling.
The 6th argument specifies the ISA irq number that will be
allocated. If no interrupt is to be allocated (because your
code is already allocating a shared interrupt, or because the
device does not use interrupts), pass -1 instead.
For a MPU-401 device without an interrupt, a polling timer
will be used instead.
</para>
</section>

<section id="midi-interface-interrupt-handler">
<title>Interrupt Handler</title>
<para>
When the interrupt is allocated in
<function>snd_mpu401_uart_new()</function>, the private
interrupt handler is used, hence you don't have anything else to do
than creating the mpu401 stuff. Otherwise, you have to call
<function>snd_mpu401_uart_interrupt()</function> explicitly when
a UART interrupt is invoked and checked in your own interrupt
handler.
<function>snd_mpu401_uart_new()</function>, an exclusive ISA
interrupt handler is automatically used, hence you don't have
anything else to do than creating the mpu401 stuff. Otherwise, you
have to set <constant>MPU401_INFO_IRQ_HOOK</constant>, and call
<function>snd_mpu401_uart_interrupt()</function> explicitly from your
own interrupt handler when it has determined that a UART interrupt
has occurred.
</para>

<para>
Expand Down
4 changes: 3 additions & 1 deletion trunk/Documentation/devicetree/bindings/arm/primecell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ driver matching.

Required properties:

- compatible : should be a specific value for peripheral and "arm,primecell"
- compatible : should be a specific name for the peripheral and
"arm,primecell". The specific name will match the ARM
engineering name for the logic block in the form: "arm,pl???"

Optional properties:

Expand Down
10 changes: 10 additions & 0 deletions trunk/Documentation/devicetree/bindings/gpio/pl061-gpio.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ARM PL061 GPIO controller

Required properties:
- compatible : "arm,pl061", "arm,primecell"
- #gpio-cells : Should be two. The first cell is the pin number and the
second cell is used to specify optional parameters:
- bit 0 specifies polarity (0 for normal, 1 for inverted)
- gpio-controller : Marks the device node as a GPIO controller.
- interrupts : Interrupt mapping for GPIO IRQ.

27 changes: 27 additions & 0 deletions trunk/Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
* NVIDIA Tegra Secure Digital Host Controller

This controller on Tegra family SoCs provides an interface for MMC, SD,
and SDIO types of memory cards.

Required properties:
- compatible : Should be "nvidia,<chip>-sdhci"
- reg : Should contain SD/MMC registers location and length
- interrupts : Should contain SD/MMC interrupt

Optional properties:
- cd-gpios : Specify GPIOs for card detection
- wp-gpios : Specify GPIOs for write protection
- power-gpios : Specify GPIOs for power control
- support-8bit : Boolean, indicates if 8-bit mode should be used.

Example:

sdhci@c8000200 {
compatible = "nvidia,tegra20-sdhci";
reg = <0xc8000200 0x200>;
interrupts = <47>;
cd-gpios = <&gpio 69 0>; /* gpio PI5 */
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
power-gpios = <&gpio 155 0>; /* gpio PT3 */
support-8bit;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* Freescale SGTL5000 Stereo Codec

Required properties:
- compatible : "fsl,sgtl5000".

Example:

codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8510.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8510 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8510"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8510@1a {
compatible = "wlf,wm8510";
reg = <0x1a>;
};
16 changes: 16 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8523.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
WM8523 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "wlf,wm8523"

- reg : the I2C address of the device.

Example:

codec: wm8523@1a {
compatible = "wlf,wm8523";
reg = <0x1a>;
};
16 changes: 16 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8580.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
WM8580 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "wlf,wm8580"

- reg : the I2C address of the device.

Example:

codec: wm8580@1a {
compatible = "wlf,wm8580";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8711.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8711 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8711"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8711@1a {
compatible = "wlf,wm8711";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8728.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8728 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8728"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8728@1a {
compatible = "wlf,wm8728";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8731.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8731 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8731"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8731@1a {
compatible = "wlf,wm8731";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8737.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8737 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8737"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8737@1a {
compatible = "wlf,wm8737";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8741.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8741 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8741"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8741@1a {
compatible = "wlf,wm8741";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8750.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8750 and WM8987 audio CODECs

These devices support both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8750" or "wlf,wm8987"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8750@1a {
compatible = "wlf,wm8750";
reg = <0x1a>;
};
Loading

0 comments on commit a90df32

Please sign in to comment.