-
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.
Merge tag 'drm/for-3.14-rc1' of git://anongit.freedesktop.org/tegra/l…
…inux into drm-next drm/tegra: Changes for v3.14-rc1 This series of changes brings DRM panel support as well as initial code to register DSI hosts and peripherals and bind them to DSI drivers. The panel and DSI code are both used by the simple panel driver. The Tegra-specific changes build on top of this work to add support for various panels found on Tegra boards. New drivers enable the DSI host found on Tegra114 and a special hardware block that calibrates the pads used for DSI and CSI. The host1x and the display controller drivers gain basic Tegra124 support. To round of the new features, the DRM driver now sports a very simple PRIME implementation. In addition there are various improvements such as the host1x API being exported so that client drivers (like the Tegra DRM driver) can be built as modules. HDMI now does better power management and legacy FBDEV can now be disabled via Kconfig (though it's still enabled by default). A few sparse warnings have been squashed and various parts of the code have become more robust. * tag 'drm/for-3.14-rc1' of git://anongit.freedesktop.org/tegra/linux: (121 commits) drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG drm/tegra: Add PRIME support drm/tegra: Relocate some output-specific code drm/tegra: Add Tegra124 DC support drm/tegra: Fix small leak on error in tegra_fb_alloc() drm/tegra: Make legacy fbdev support optional drm/tegra: Sort reverse-dependencies alphabetically drm/tegra: Fix return value check drm/tegra: Add DSI support drm/tegra: Disable outputs for power-saving drm/tegra: Track HDMI enable state drm/tegra: Fix HDMI audio frequency typo drm/tegra: Do not export tegra_bo_ops drm/tegra: Remove spurious blank line drm/tegra: Increase compile test coverage drm/tegra: Allow the driver to be built as a module gpu: host1x: Add Tegra124 support gpu: host1x: clk_round_rate() can return a zero upon error gpu: host1x: Fix build warnings gpu: host1x: Increase compile test coverage ...
- Loading branch information
Showing
138 changed files
with
11,221 additions
and
3,655 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
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
63 changes: 63 additions & 0 deletions
63
Documentation/devicetree/bindings/clock/nvidia,tegra124-car.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,63 @@ | ||
NVIDIA Tegra124 Clock And Reset Controller | ||
|
||
This binding uses the common clock binding: | ||
Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
The CAR (Clock And Reset) Controller on Tegra is the HW module responsible | ||
for muxing and gating Tegra's clocks, and setting their rates. | ||
|
||
Required properties : | ||
- compatible : Should be "nvidia,tegra124-car" | ||
- reg : Should contain CAR registers location and length | ||
- clocks : Should contain phandle and clock specifiers for two clocks: | ||
the 32 KHz "32k_in", and the board-specific oscillator "osc". | ||
- #clock-cells : Should be 1. | ||
In clock consumers, this cell represents the clock ID exposed by the | ||
CAR. The assignments may be found in header file | ||
<dt-bindings/clock/tegra124-car.h>. | ||
- #reset-cells : Should be 1. | ||
In clock consumers, this cell represents the bit number in the CAR's | ||
array of CLK_RST_CONTROLLER_RST_DEVICES_* registers. | ||
|
||
Example SoC include file: | ||
|
||
/ { | ||
tegra_car: clock { | ||
compatible = "nvidia,tegra124-car"; | ||
reg = <0x60006000 0x1000>; | ||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
}; | ||
|
||
usb@c5004000 { | ||
clocks = <&tegra_car TEGRA124_CLK_USB2>; | ||
}; | ||
}; | ||
|
||
Example board file: | ||
|
||
/ { | ||
clocks { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
osc: clock@0 { | ||
compatible = "fixed-clock"; | ||
reg = <0>; | ||
#clock-cells = <0>; | ||
clock-frequency = <112400000>; | ||
}; | ||
|
||
clk_32k: clock@1 { | ||
compatible = "fixed-clock"; | ||
reg = <1>; | ||
#clock-cells = <0>; | ||
clock-frequency = <32768>; | ||
}; | ||
}; | ||
|
||
&tegra_car { | ||
clocks = <&clk_32k> <&osc>; | ||
}; | ||
}; |
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.