-
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 branch 'omap/uart' into next/pm
* omap/uart: (32 commits) ARM: omap: pass minimal SoC/board data for UART from dt arm/dts: Add minimal device tree support for omap2420 and omap2430 omap-serial: Add minimal device tree support omap-serial: Use default clock speed (48Mhz) if not specified omap-serial: Get rid of all pdev->id usage ARM: OMAP2+: UART: Fix compilation/sparse warnings ARM: OMAP2+: UART: Remove omap_uart_can_sleep and add pm_qos ARM: OMAP2+: UART: Do not gate uart clocks if used for debug_prints ARM: OMAP2+: UART: Avoid uart idling on suspend for no_console_suspend usecase ARM: OMAP2+: UART: Avoid console uart idling during bootup ARM: OMAP2+: UART: remove temporary variable used to count uart instance ARM: OMAP2+: UART: Make the RX_TIMEOUT for DMA configurable for each UART ARM: OMAP2+: UART: Allow UART parameters to be configured from board file. ARM: OMAP2+: UART: Remove old and unused clocks handling funcs ARM: OMAP2+: UART: Add wakeup mechanism for omap-uarts ARM: OMAP2+: UART: Move errata handling from serial.c to omap-serial ARM: OMAP2+: UART: Get context loss count to context restore ARM: OMAP2+: UART: Remove uart reset function. ARM: OMAP2+: UART: Ensure all reg values configured are available from port structure ARM: OMAP2+: UART: Remove context_save and move context restore to driver ...
- Loading branch information
Showing
38 changed files
with
1,066 additions
and
1,124 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
OMAP UART controller | ||
|
||
Required properties: | ||
- compatible : should be "ti,omap2-uart" for OMAP2 controllers | ||
- compatible : should be "ti,omap3-uart" for OMAP3 controllers | ||
- compatible : should be "ti,omap4-uart" for OMAP4 controllers | ||
- ti,hwmods : Must be "uart<n>", n being the instance number (1-based) | ||
|
||
Optional properties: | ||
- clock-frequency : frequency of the clock input to the UART |
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,67 @@ | ||
/* | ||
* Device Tree Source for OMAP2 SoC | ||
* | ||
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | ||
* | ||
* This file is licensed under the terms of the GNU General Public License | ||
* version 2. This program is licensed "as is" without any warranty of any | ||
* kind, whether express or implied. | ||
*/ | ||
|
||
/include/ "skeleton.dtsi" | ||
|
||
/ { | ||
compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; | ||
|
||
aliases { | ||
serial0 = &uart1; | ||
serial1 = &uart2; | ||
serial2 = &uart3; | ||
}; | ||
|
||
cpus { | ||
cpu@0 { | ||
compatible = "arm,arm1136jf-s"; | ||
}; | ||
}; | ||
|
||
soc { | ||
compatible = "ti,omap-infra"; | ||
mpu { | ||
compatible = "ti,omap2-mpu"; | ||
ti,hwmods = "mpu"; | ||
}; | ||
}; | ||
|
||
ocp { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
ti,hwmods = "l3_main"; | ||
|
||
intc: interrupt-controller@1 { | ||
compatible = "ti,omap2-intc"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
}; | ||
|
||
uart1: serial@4806a000 { | ||
compatible = "ti,omap2-uart"; | ||
ti,hwmods = "uart1"; | ||
clock-frequency = <48000000>; | ||
}; | ||
|
||
uart2: serial@4806c000 { | ||
compatible = "ti,omap2-uart"; | ||
ti,hwmods = "uart2"; | ||
clock-frequency = <48000000>; | ||
}; | ||
|
||
uart3: serial@4806e000 { | ||
compatible = "ti,omap2-uart"; | ||
ti,hwmods = "uart3"; | ||
clock-frequency = <48000000>; | ||
}; | ||
}; | ||
}; |
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
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.