-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 241666 b: refs/heads/master c: 05061bf h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Mar 24, 2011
1 parent
033f489
commit b8c5ce7
Showing
807 changed files
with
28,470 additions
and
12,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: de55aa33ca6928881ca5c402bb0f5db242fbcdba | ||
refs/heads/master: 05061bf678de5d69ebaae2c0705bf106e3000b6e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
trunk/Documentation/ABI/testing/configfs-spear-pcie-gadget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
What: /config/pcie-gadget | ||
Date: Feb 2011 | ||
KernelVersion: 2.6.37 | ||
Contact: Pratyush Anand <pratyush.anand@st.com> | ||
Description: | ||
|
||
Interface is used to configure selected dual mode PCIe controller | ||
as device and then program its various registers to configure it | ||
as a particular device type. | ||
This interfaces can be used to show spear's PCIe device capability. | ||
|
||
Nodes are only visible when configfs is mounted. To mount configfs | ||
in /config directory use: | ||
# mount -t configfs none /config/ | ||
|
||
For nth PCIe Device Controller | ||
/config/pcie-gadget.n/ | ||
link ... used to enable ltssm and read its status. | ||
int_type ...used to configure and read type of supported | ||
interrupt | ||
no_of_msi ... used to configure number of MSI vector needed and | ||
to read no of MSI granted. | ||
inta ... write 1 to assert INTA and 0 to de-assert. | ||
send_msi ... write MSI vector to be sent. | ||
vendor_id ... used to write and read vendor id (hex) | ||
device_id ... used to write and read device id (hex) | ||
bar0_size ... used to write and read bar0_size | ||
bar0_address ... used to write and read bar0 mapped area in hex. | ||
bar0_rw_offset ... used to write and read offset of bar0 where | ||
bar0_data will be written or read. | ||
bar0_data ... used to write and read data at bar0_rw_offset. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
* SM SM501 | ||
|
||
The SM SM501 is a LCD controller, with proper hardware, it can also | ||
drive DVI monitors. | ||
|
||
Required properties: | ||
- compatible : should be "smi,sm501". | ||
- reg : contain two entries: | ||
- First entry: System Configuration register | ||
- Second entry: IO space (Display Controller register) | ||
- interrupts : SMI interrupt to the cpu should be described here. | ||
- interrupt-parent : the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
|
||
Optional properties: | ||
- mode : select a video mode: | ||
<xres>x<yres>[-<bpp>][@<refresh>] | ||
- edid : verbatim EDID data block describing attached display. | ||
Data from the detailed timing descriptor will be used to | ||
program the display controller. | ||
- little-endian: availiable on big endian systems, to | ||
set different foreign endian. | ||
- big-endian: availiable on little endian systems, to | ||
set different foreign endian. | ||
|
||
Example for MPC5200: | ||
display@1,0 { | ||
compatible = "smi,sm501"; | ||
reg = <1 0x00000000 0x00800000 | ||
1 0x03e00000 0x00200000>; | ||
interrupts = <1 1 3>; | ||
mode = "640x480-32@60"; | ||
edid = [edid-data]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Configuration: | ||
|
||
You can pass the following kernel command line options to sm501 videoframebuffer: | ||
|
||
sm501fb.bpp= SM501 Display driver: | ||
Specifiy bits-per-pixel if not specified by 'mode' | ||
|
||
sm501fb.mode= SM501 Display driver: | ||
Specify resolution as | ||
"<xres>x<yres>[-<bpp>][@<refresh>]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Kernel driver twl4030-madc | ||
========================= | ||
|
||
Supported chips: | ||
* Texas Instruments TWL4030 | ||
Prefix: 'twl4030-madc' | ||
|
||
|
||
Authors: | ||
J Keerthy <j-keerthy@ti.com> | ||
|
||
Description | ||
----------- | ||
|
||
The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among | ||
other things it contains a 10-bit A/D converter MADC. The converter has 16 | ||
channels which can be used in different modes. | ||
|
||
|
||
See this table for the meaning of the different channels | ||
|
||
Channel Signal | ||
------------------------------------------ | ||
0 Battery type(BTYPE) | ||
1 BCI: Battery temperature (BTEMP) | ||
2 GP analog input | ||
3 GP analog input | ||
4 GP analog input | ||
5 GP analog input | ||
6 GP analog input | ||
7 GP analog input | ||
8 BCI: VBUS voltage(VBUS) | ||
9 Backup Battery voltage (VBKP) | ||
10 BCI: Battery charger current (ICHG) | ||
11 BCI: Battery charger voltage (VCHG) | ||
12 BCI: Main battery voltage (VBAT) | ||
13 Reserved | ||
14 Reserved | ||
15 VRUSB Supply/Speaker left/Speaker right polarization level | ||
|
||
|
||
The Sysfs nodes will represent the voltage in the units of mV, | ||
the temperature channel shows the converted temperature in | ||
degree celcius. The Battery charging current channel represents | ||
battery charging current in mA. |
Oops, something went wrong.