]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: tegra114: create a DT header defining CLK IDs
authorHiroshi Doyu <hdoyu@nvidia.com>
Wed, 22 May 2013 16:45:35 +0000 (19:45 +0300)
committerStephen Warren <swarren@nvidia.com>
Tue, 28 May 2013 22:11:11 +0000 (16:11 -0600)
commit3ae9a7a44f86f985462434b55c3eacdfd47774f0
tree63d2d36269078d0daf1c208615546a2aebd0a9d5
parent19bff8eb0ca4ae94cdfec5a9473c5ae5e8bf0248
ARM: tegra114: create a DT header defining CLK IDs

Create a header file to define the clock IDs used by the Tegra114 clock
binding. Remove the list of definitions from the binding documentation,
and refer the reader to the header file.

This will allow the same header to be used by both device tree files,
and drivers implementing this binding, which guarantees that the two
stay in sync. This also makes device trees more readable by using names
instead of magic numbers.

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
[swarren, add header to clock/ instead of clk/ to match binding location]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Documentation/devicetree/bindings/clock/nvidia,tegra114-car.txt
include/dt-bindings/clock/tegra114-car.h [new file with mode: 0644]