-
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 'dt-for-linus-2' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/arm/arm-soc Pull ARM SoC device tree updates (part 2) from Arnd Bergmann: "These are mostly new device tree bindings for existing drivers, as well as changes to the device tree source files to add support for those devices, and a couple of new boards, most notably Samsung's Exynos5 based Chromebook. The changes depend on earlier platform specific updates and touch the usual platforms: omap, exynos, tegra, mxs, mvebu and davinci." * tag 'dt-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (169 commits) ARM: exynos: dts: cros5250: add EC device ARM: dts: Add sbs-battery for exynos5250-snow ARM: dts: Add i2c-arbitrator bus for exynos5250-snow ARM: dts: add mshc controller node for Exynos4x12 SoCs ARM: dts: Add chip-id controller node on Exynos4/5 SoC ARM: EXYNOS: Create virtual I/O mapping for Chip-ID controller using device tree ARM: davinci: da850-evm: add SPI flash support ARM: davinci: da850: override SPI DT node device name ARM: davinci: da850: add SPI1 DT node spi/davinci: add DT binding documentation spi/davinci: no wildcards in DT compatible property ARM: dts: mvebu: Convert mvebu device tree files to 64 bits ARM: dts: mvebu: introduce internal-regs node ARM: dts: mvebu: Convert all the mvebu files to use the range property ARM: dts: mvebu: move all peripherals inside soc ARM: dts: mvebu: fix cpus section indentation ARM: davinci: da850: add EHRPWM & ECAP DT node ARM/dts: OMAP3: fix pinctrl-single configuration ARM: dts: Add OMAP3430 SDP NOR flash memory binding ARM: dts: Add NOR flash bindings for OMAP2420 H4 ...
- Loading branch information
Showing
143 changed files
with
7,751 additions
and
3,048 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
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,7 @@ | ||
SAMSUNG S5P/Exynos SoC series System Registers (SYSREG) | ||
|
||
Properties: | ||
- name : should be 'sysreg'; | ||
- compatible : should contain "samsung,<chip name>-sysreg", "syscon"; | ||
For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon"; | ||
- reg : offset and length of the register set. |
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,20 @@ | ||
* Samsung 2D Graphics Accelerator | ||
|
||
Required properties: | ||
- compatible : value should be one among the following: | ||
(a) "samsung,s5pv210-g2d" for G2D IP present in S5PV210 & Exynos4210 SoC | ||
(b) "samsung,exynos4212-g2d" for G2D IP present in Exynos4x12 SoCs | ||
(c) "samsung,exynos5250-g2d" for G2D IP present in Exynos5250 SoC | ||
|
||
- reg : Physical base address of the IP registers and length of memory | ||
mapped region. | ||
|
||
- interrupts : G2D interrupt number to the CPU. | ||
|
||
Example: | ||
g2d@12800000 { | ||
compatible = "samsung,s5pv210-g2d"; | ||
reg = <0x12800000 0x1000>; | ||
interrupts = <0 89 0>; | ||
status = "disabled"; | ||
}; |
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
60 changes: 60 additions & 0 deletions
60
Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.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,60 @@ | ||
NVIDIA Tegra20/Tegra30/Tegra114 I2C controller driver. | ||
|
||
Required properties: | ||
- compatible : should be: | ||
"nvidia,tegra114-i2c" | ||
"nvidia,tegra30-i2c" | ||
"nvidia,tegra20-i2c" | ||
"nvidia,tegra20-i2c-dvc" | ||
Details of compatible are as follows: | ||
nvidia,tegra20-i2c-dvc: Tegra20 has specific I2C controller called as DVC I2C | ||
controller. This only support master mode of I2C communication. Register | ||
interface/offset and interrupts handling are different than generic I2C | ||
controller. Driver of DVC I2C controller is only compatible with | ||
"nvidia,tegra20-i2c-dvc". | ||
nvidia,tegra20-i2c: Tegra20 has 4 generic I2C controller. This can support | ||
master and slave mode of I2C communication. The i2c-tegra driver only | ||
support master mode of I2C communication. Driver of I2C controller is | ||
only compatible with "nvidia,tegra20-i2c". | ||
nvidia,tegra30-i2c: Tegra30 has 5 generic I2C controller. This controller is | ||
very much similar to Tegra20 I2C controller with additional feature: | ||
Continue Transfer Support. This feature helps to implement M_NO_START | ||
as per I2C core API transfer flags. Driver of I2C controller is | ||
compatible with "nvidia,tegra30-i2c" to enable the continue transfer | ||
support. This is also compatible with "nvidia,tegra20-i2c" without | ||
continue transfer support. | ||
nvidia,tegra114-i2c: Tegra114 has 5 generic I2C controller. This controller is | ||
very much similar to Tegra30 I2C controller with some hardware | ||
modification: | ||
- Tegra30/Tegra20 I2C controller has 2 clock source called div-clk and | ||
fast-clk. Tegra114 has only one clock source called as div-clk and | ||
hence clock mechanism is changed in I2C controller. | ||
- Tegra30/Tegra20 I2C controller has enabled per packet transfer by | ||
default and there is no way to disable it. Tegra114 has this | ||
interrupt disable by default and SW need to enable explicitly. | ||
Due to above changes, Tegra114 I2C driver makes incompatible with | ||
previous hardware driver. Hence, tegra114 I2C controller is compatible | ||
with "nvidia,tegra114-i2c". | ||
- reg: Should contain I2C controller registers physical address and length. | ||
- interrupts: Should contain I2C controller interrupts. | ||
- address-cells: Address cells for I2C device address. | ||
- size-cells: Size of the I2C device address. | ||
- clocks: Clock ID as per | ||
Documentation/devicetree/bindings/clock/tegra<chip-id>.txt | ||
for I2C controller. | ||
- clock-names: Name of the clock: | ||
Tegra20/Tegra30 I2C controller: "div-clk and "fast-clk". | ||
Tegra114 I2C controller: "div-clk". | ||
|
||
Example: | ||
|
||
i2c@7000c000 { | ||
compatible = "nvidia,tegra20-i2c"; | ||
reg = <0x7000c000 0x100>; | ||
interrupts = <0 38 0x04>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
clocks = <&tegra_car 12>, <&tegra_car 124>; | ||
clock-names = "div-clk", "fast-clk"; | ||
status = "disabled"; | ||
}; |
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
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.