-
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: 358366 b: refs/heads/master c: a497bfe h: refs/heads/master v: v3
- Loading branch information
Dave Airlie
committed
Feb 24, 2013
1 parent
405f02b
commit 4014d95
Showing
268 changed files
with
13,205 additions
and
4,264 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: 202adf4b9f5957b26a1cb97267d78e0edb319c5e | ||
refs/heads/master: a497bfe9dbbc0fbacd61295986372a626e73f452 |
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
59 changes: 59 additions & 0 deletions
59
trunk/Documentation/devicetree/bindings/drm/tilcdc/panel.txt
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,59 @@ | ||
Device-Tree bindings for tilcdc DRM generic panel output driver | ||
|
||
Required properties: | ||
- compatible: value should be "ti,tilcdc,panel". | ||
- panel-info: configuration info to configure LCDC correctly for the panel | ||
- ac-bias: AC Bias Pin Frequency | ||
- ac-bias-intrpt: AC Bias Pin Transitions per Interrupt | ||
- dma-burst-sz: DMA burst size | ||
- bpp: Bits per pixel | ||
- fdd: FIFO DMA Request Delay | ||
- sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling | ||
- sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore | ||
- raster-order: Raster Data Order Select: 1=Most-to-least 0=Least-to-most | ||
- fifo-th: DMA FIFO threshold | ||
- display-timings: typical videomode of lcd panel. Multiple video modes | ||
can be listed if the panel supports multiple timings, but the 'native-mode' | ||
should be the preferred/default resolution. Refer to | ||
Documentation/devicetree/bindings/video/display-timing.txt for display | ||
timing binding details. | ||
|
||
Recommended properties: | ||
- pinctrl-names, pinctrl-0: the pincontrol settings to configure | ||
muxing properly for pins that connect to TFP410 device | ||
|
||
Example: | ||
|
||
/* Settings for CDTech_S035Q01 / LCD3 cape: */ | ||
lcd3 { | ||
compatible = "ti,tilcdc,panel"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&bone_lcd3_cape_lcd_pins>; | ||
panel-info { | ||
ac-bias = <255>; | ||
ac-bias-intrpt = <0>; | ||
dma-burst-sz = <16>; | ||
bpp = <16>; | ||
fdd = <0x80>; | ||
sync-edge = <0>; | ||
sync-ctrl = <1>; | ||
raster-order = <0>; | ||
fifo-th = <0>; | ||
}; | ||
display-timings { | ||
native-mode = <&timing0>; | ||
timing0: 320x240 { | ||
hactive = <320>; | ||
vactive = <240>; | ||
hback-porch = <21>; | ||
hfront-porch = <58>; | ||
hsync-len = <47>; | ||
vback-porch = <11>; | ||
vfront-porch = <23>; | ||
vsync-len = <2>; | ||
clock-frequency = <8000000>; | ||
hsync-active = <0>; | ||
vsync-active = <0>; | ||
}; | ||
}; | ||
}; |
18 changes: 18 additions & 0 deletions
18
trunk/Documentation/devicetree/bindings/drm/tilcdc/slave.txt
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,18 @@ | ||
Device-Tree bindings for tilcdc DRM encoder slave output driver | ||
|
||
Required properties: | ||
- compatible: value should be "ti,tilcdc,slave". | ||
- i2c: the phandle for the i2c device the encoder slave is connected to | ||
|
||
Recommended properties: | ||
- pinctrl-names, pinctrl-0: the pincontrol settings to configure | ||
muxing properly for pins that connect to TFP410 device | ||
|
||
Example: | ||
|
||
hdmi { | ||
compatible = "ti,tilcdc,slave"; | ||
i2c = <&i2c0>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&nxp_hdmi_bonelt_pins>; | ||
}; |
21 changes: 21 additions & 0 deletions
21
trunk/Documentation/devicetree/bindings/drm/tilcdc/tfp410.txt
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,21 @@ | ||
Device-Tree bindings for tilcdc DRM TFP410 output driver | ||
|
||
Required properties: | ||
- compatible: value should be "ti,tilcdc,tfp410". | ||
- i2c: the phandle for the i2c device to use for DDC | ||
|
||
Recommended properties: | ||
- pinctrl-names, pinctrl-0: the pincontrol settings to configure | ||
muxing properly for pins that connect to TFP410 device | ||
- powerdn-gpio: the powerdown GPIO, pulled low to power down the | ||
TFP410 device (for DPMS_OFF) | ||
|
||
Example: | ||
|
||
dvicape { | ||
compatible = "ti,tilcdc,tfp410"; | ||
i2c = <&i2c2>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&bone_dvi_cape_dvi_00A1_pins>; | ||
powerdn-gpio = <&gpio2 31 0>; | ||
}; |
21 changes: 21 additions & 0 deletions
21
trunk/Documentation/devicetree/bindings/drm/tilcdc/tilcdc.txt
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,21 @@ | ||
Device-Tree bindings for tilcdc DRM driver | ||
|
||
Required properties: | ||
- compatible: value should be "ti,am33xx-tilcdc". | ||
- interrupts: the interrupt number | ||
- reg: base address and size of the LCDC device | ||
|
||
Recommended properties: | ||
- interrupt-parent: the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
- ti,hwmods: Name of the hwmod associated to the LCDC | ||
|
||
Example: | ||
|
||
fb: fb@4830e000 { | ||
compatible = "ti,am33xx-tilcdc"; | ||
reg = <0x4830e000 0x1000>; | ||
interrupt-parent = <&intc>; | ||
interrupts = <36>; | ||
ti,hwmods = "lcdc"; | ||
}; |
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,81 @@ | ||
Kernel driver nouveau | ||
=================== | ||
|
||
Supported chips: | ||
* NV43+ | ||
|
||
Authors: Martin Peres (mupuf) <martin.peres@labri.fr> | ||
|
||
Description | ||
--------- | ||
|
||
This driver allows to read the GPU core temperature, drive the GPU fan and | ||
set temperature alarms. | ||
|
||
Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau | ||
cannot access any of the i2c external monitoring chips it may find. If you | ||
have one of those, temperature and/or fan management through Nouveau's HWMON | ||
interface is likely not to work. This document may then not cover your situation | ||
entirely. | ||
|
||
Temperature management | ||
-------------------- | ||
|
||
Temperature is exposed under as a read-only HWMON attribute temp1_input. | ||
|
||
In order to protect the GPU from overheating, Nouveau supports 4 configurable | ||
temperature thresholds: | ||
|
||
* Fan_boost: Fan speed is set to 100% when reaching this temperature; | ||
* Downclock: The GPU will be downclocked to reduce its power dissipation; | ||
* Critical: The GPU is put on hold to further lower power dissipation; | ||
* Shutdown: Shut the computer down to protect your GPU. | ||
|
||
WARNING: Some of these thresholds may not be used by Nouveau depending | ||
on your chipset. | ||
|
||
The default value for these thresholds comes from the GPU's vbios. These | ||
thresholds can be configured thanks to the following HWMON attributes: | ||
|
||
* Fan_boost: temp1_auto_point1_temp and temp1_auto_point1_temp_hyst; | ||
* Downclock: temp1_max and temp1_max_hyst; | ||
* Critical: temp1_crit and temp1_crit_hyst; | ||
* Shutdown: temp1_emergency and temp1_emergency_hyst. | ||
|
||
NOTE: Remember that the values are stored as milli degrees Celcius. Don't forget | ||
to multiply! | ||
|
||
Fan management | ||
------------ | ||
|
||
Not all cards have a drivable fan. If you do, then the following HWMON | ||
attributes should be available: | ||
|
||
* pwm1_enable: Current fan management mode (NONE, MANUAL or AUTO); | ||
* pwm1: Current PWM value (power percentage); | ||
* pwm1_min: The minimum PWM speed allowed; | ||
* pwm1_max: The maximum PWM speed allowed (bypassed when hitting Fan_boost); | ||
|
||
You may also have the following attribute: | ||
|
||
* fan1_input: Speed in RPM of your fan. | ||
|
||
Your fan can be driven in different modes: | ||
|
||
* 0: The fan is left untouched; | ||
* 1: The fan can be driven in manual (use pwm1 to change the speed); | ||
* 2; The fan is driven automatically depending on the temperature. | ||
|
||
NOTE: Be sure to use the manual mode if you want to drive the fan speed manually | ||
|
||
NOTE2: Not all fan management modes may be supported on all chipsets. We are | ||
working on it. | ||
|
||
Bug reports | ||
--------- | ||
|
||
Thermal management on Nouveau is new and may not work on all cards. If you have | ||
inquiries, please ping mupuf on IRC (#nouveau, freenode). | ||
|
||
Bug reports should be filled on Freedesktop's bug tracker. Please follow | ||
http://nouveau.freedesktop.org/wiki/Bugs |
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 +1 @@ | ||
obj-y += drm/ vga/ stub/ | ||
obj-y += drm/ vga/ |
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
Oops, something went wrong.