mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Align compatible strings for several IP blocks present on Tegra chips with the latest doctrine from the DT maintainers: http://marc.info/?l=devicetree&m=142255654213019&w=2 The primary objective here is to avoid checkpatch warnings, per: http://marc.info/?l=linux-tegra&m=142201349727836&w=2 DT binding text files have been updated for the following IP blocks: - PCIe - SOR - SoC timers - AHB "gizmo" - APB_MISC - pinmux control - UART - PWM - I2C - SPI - RTC - PMC - eFuse - AHCI - HDA - XUSB_PADCTRL - SDHCI - SOC_THERM - AHUB - I2S - EHCI - USB PHY N.B. The nvidia,tegra20-timer compatible string is removed from the nvidia,tegra30-timer.txt documentation file because it's already mentioned in the nvidia,tegra20-timer.txt documentation file. This second version takes into account the following requests from Rob Herring <[email protected]>: - Per-IP block patches have been combined into a single patch - Explicit documentation about which compatible strings are actually matched by the driver has been removed. In its place is implicit documentation that loosely follows Rob's prescribed format: "Must contain '"nvidia,<chip>-pcie", "nvidia,tegra20-pcie"' where <chip> is tegra30, tegra132, ..." [...] "You should attempt to document known values of <chip> if you use it" Signed-off-by: Paul Walmsley <[email protected]> Cc: Alexandre Courbot <[email protected]> Cc: Dylan Reid <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Hans de Goede <[email protected]> Cc: Ian Campbell <[email protected]> Cc: Jingchang Lu <[email protected]> Cc: John Crispin <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mikko Perttunen <[email protected]> Cc: Murali Karicheri <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Pawel Moll <[email protected]> Cc: Peter De Schrijver <[email protected]> Cc: Peter Hurley <[email protected]> Cc: Sean Paul <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: Tejun Heo <[email protected]> Cc: "Terje Bergström" <[email protected]> Cc: Thierry Reding <[email protected]> Cc: Tuomas Tynkkynen <[email protected]> Cc: Wolfram Sang <[email protected]> Cc: Zhang Rui <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Acked-by: Eduardo Valentin <[email protected]> Signed-off-by: Rob Herring <[email protected]>
29 lines
972 B
Plaintext
29 lines
972 B
Plaintext
NVIDIA Tegra30 timer
|
|
|
|
The Tegra30 timer provides ten 29-bit timer channels, a single 32-bit free
|
|
running counter, and 5 watchdog modules. The first two channels may also
|
|
trigger a legacy watchdog reset.
|
|
|
|
Required properties:
|
|
|
|
- compatible : For Tegra30, must contain "nvidia,tegra30-timer". Otherwise,
|
|
must contain '"nvidia,<chip>-timer", "nvidia,tegra30-timer"' where
|
|
<chip> is tegra124 or tegra132.
|
|
- reg : Specifies base physical address and size of the registers.
|
|
- interrupts : A list of 6 interrupts; one per each of timer channels 1
|
|
through 5, and one for the shared interrupt for the remaining channels.
|
|
- clocks : Must contain one entry, for the module clock.
|
|
See ../clocks/clock-bindings.txt for details.
|
|
|
|
timer {
|
|
compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer";
|
|
reg = <0x60005000 0x400>;
|
|
interrupts = <0 0 0x04
|
|
0 1 0x04
|
|
0 41 0x04
|
|
0 42 0x04
|
|
0 121 0x04
|
|
0 122 0x04>;
|
|
clocks = <&tegra_car 214>;
|
|
};
|