diff options
| author | Olof Johansson <olof@lixom.net> | 2013-09-30 12:08:46 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-09-30 12:08:46 -0400 |
| commit | 8e17a7f32a554837b060410d9d0cfeb9ce8d3e0d (patch) | |
| tree | fc9f739b9b7d4f8d4ba42ee69f4a122bbc4c5371 /include/linux | |
| parent | 0ebf7dc47a13771a37f1bd1290b30b10e1c8e29a (diff) | |
| parent | c44c8e9d96b9aa8624409d6098f16dabc4afc6c2 (diff) | |
Merge tag 'ux500-dt-for-v3.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt
From Linus Walleij:
This is a huge device tree and ATAG removal series for ux500:
- Move all the clock definitions over to the device tree
- Remove all now-redundant AUXDATA and make the ux500 device
tree only
* tag 'ux500-dt-for-v3.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: (92 commits)
ARM: ux500: delete devices-common remnants
clk: ux500: Provide a look-up for the ARMSS clock
ARM: ux500: Enable CPUFreq on Snowball
ARM: ux500: Provide a Device Tree node for CPUFreq in the DBx500
ARM: ux500: Provide a clock lookup for the Hash driver
ARM: ux500: Provide a clock lookup for the Crypto driver
ARM: ux500: Fix trivial white-space error in the DBX500 DTSI file
ARM: ux500: Remove ATAG booting support for Snowball
ARM: ux500: Remove ATAG booting support for HREF
ARM: ux500: Remove ATAG booting support for U8520
ARM: ux500: Remove ATAG booting support for MOP500
ARM: ux500: Purge UIB framework when booting with ATAGs
ARM: ux500: Take out STUIB support when not booting with Device Tree
ARM: ux500: Remove BU21013 ROHM TS support when booting with only ATAGs
ARM: ux500: Don't register the STMPE/SKE when booting with ATAG support
ARM: ux500: Delete U8500 UIB support when booting with ATAGs
ARM: ux500: Don't register Synaptics RMI4 TS when booting with ATAGs
ARM: ux500: Purge DB8500 PRCMU registration when not booting with DT
ARM: ux500: Stop requesting the SoC device to play 'parent' role
ARM: ux500: Remove UART support when booting without Device Tree
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/dbx500-prcmu.h | 70 | ||||
| -rw-r--r-- | include/linux/platform_data/clk-ux500.h | 3 |
2 files changed, 5 insertions, 68 deletions
diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index ca0790fba2f5..060e11256fbc 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | #include <linux/notifier.h> | 12 | #include <linux/notifier.h> |
| 13 | #include <linux/err.h> | 13 | #include <linux/err.h> |
| 14 | 14 | ||
| 15 | #include <dt-bindings/mfd/dbx500-prcmu.h> /* For clock identifiers */ | ||
| 16 | |||
| 15 | /* Offset for the firmware version within the TCPM */ | 17 | /* Offset for the firmware version within the TCPM */ |
| 16 | #define DB8500_PRCMU_FW_VERSION_OFFSET 0xA4 | 18 | #define DB8500_PRCMU_FW_VERSION_OFFSET 0xA4 |
| 17 | #define DBX540_PRCMU_FW_VERSION_OFFSET 0xA8 | 19 | #define DBX540_PRCMU_FW_VERSION_OFFSET 0xA8 |
| @@ -94,74 +96,6 @@ enum prcmu_wakeup_index { | |||
| 94 | #define PRCMU_CLKSRC_ARMCLKFIX 0x46 | 96 | #define PRCMU_CLKSRC_ARMCLKFIX 0x46 |
| 95 | #define PRCMU_CLKSRC_HDMICLK 0x47 | 97 | #define PRCMU_CLKSRC_HDMICLK 0x47 |
| 96 | 98 | ||
| 97 | /* | ||
| 98 | * Clock identifiers. | ||
| 99 | */ | ||
| 100 | enum prcmu_clock { | ||
| 101 | PRCMU_SGACLK, | ||
| 102 | PRCMU_UARTCLK, | ||
| 103 | PRCMU_MSP02CLK, | ||
| 104 | PRCMU_MSP1CLK, | ||
| 105 | PRCMU_I2CCLK, | ||
| 106 | PRCMU_SDMMCCLK, | ||
| 107 | PRCMU_SPARE1CLK, | ||
| 108 | PRCMU_SLIMCLK, | ||
| 109 | PRCMU_PER1CLK, | ||
| 110 | PRCMU_PER2CLK, | ||
| 111 | PRCMU_PER3CLK, | ||
| 112 | PRCMU_PER5CLK, | ||
| 113 | PRCMU_PER6CLK, | ||
| 114 | PRCMU_PER7CLK, | ||
| 115 | PRCMU_LCDCLK, | ||
| 116 | PRCMU_BMLCLK, | ||
| 117 | PRCMU_HSITXCLK, | ||
| 118 | PRCMU_HSIRXCLK, | ||
| 119 | PRCMU_HDMICLK, | ||
| 120 | PRCMU_APEATCLK, | ||
| 121 | PRCMU_APETRACECLK, | ||
| 122 | PRCMU_MCDECLK, | ||
| 123 | PRCMU_IPI2CCLK, | ||
| 124 | PRCMU_DSIALTCLK, | ||
| 125 | PRCMU_DMACLK, | ||
| 126 | PRCMU_B2R2CLK, | ||
| 127 | PRCMU_TVCLK, | ||
| 128 | PRCMU_SSPCLK, | ||
| 129 | PRCMU_RNGCLK, | ||
| 130 | PRCMU_UICCCLK, | ||
| 131 | PRCMU_PWMCLK, | ||
| 132 | PRCMU_IRDACLK, | ||
| 133 | PRCMU_IRRCCLK, | ||
| 134 | PRCMU_SIACLK, | ||
| 135 | PRCMU_SVACLK, | ||
| 136 | PRCMU_ACLK, | ||
| 137 | PRCMU_HVACLK, /* Ux540 only */ | ||
| 138 | PRCMU_G1CLK, /* Ux540 only */ | ||
| 139 | PRCMU_SDMMCHCLK, | ||
| 140 | PRCMU_CAMCLK, | ||
| 141 | PRCMU_BML8580CLK, | ||
| 142 | PRCMU_NUM_REG_CLOCKS, | ||
| 143 | PRCMU_SYSCLK = PRCMU_NUM_REG_CLOCKS, | ||
| 144 | PRCMU_CDCLK, | ||
| 145 | PRCMU_TIMCLK, | ||
| 146 | PRCMU_PLLSOC0, | ||
| 147 | PRCMU_PLLSOC1, | ||
| 148 | PRCMU_ARMSS, | ||
| 149 | PRCMU_PLLDDR, | ||
| 150 | PRCMU_PLLDSI, | ||
| 151 | PRCMU_DSI0CLK, | ||
| 152 | PRCMU_DSI1CLK, | ||
| 153 | PRCMU_DSI0ESCCLK, | ||
| 154 | PRCMU_DSI1ESCCLK, | ||
| 155 | PRCMU_DSI2ESCCLK, | ||
| 156 | /* LCD DSI PLL - Ux540 only */ | ||
| 157 | PRCMU_PLLDSI_LCD, | ||
| 158 | PRCMU_DSI0CLK_LCD, | ||
| 159 | PRCMU_DSI1CLK_LCD, | ||
| 160 | PRCMU_DSI0ESCCLK_LCD, | ||
| 161 | PRCMU_DSI1ESCCLK_LCD, | ||
| 162 | PRCMU_DSI2ESCCLK_LCD, | ||
| 163 | }; | ||
| 164 | |||
| 165 | /** | 99 | /** |
| 166 | * enum prcmu_wdog_id - PRCMU watchdog IDs | 100 | * enum prcmu_wdog_id - PRCMU watchdog IDs |
| 167 | * @PRCMU_WDOG_ALL: use all timers | 101 | * @PRCMU_WDOG_ALL: use all timers |
diff --git a/include/linux/platform_data/clk-ux500.h b/include/linux/platform_data/clk-ux500.h index 9d98f3aaa16c..97baf831e071 100644 --- a/include/linux/platform_data/clk-ux500.h +++ b/include/linux/platform_data/clk-ux500.h | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | #ifndef __CLK_UX500_H | 10 | #ifndef __CLK_UX500_H |
| 11 | #define __CLK_UX500_H | 11 | #define __CLK_UX500_H |
| 12 | 12 | ||
| 13 | void u8500_of_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, | ||
| 14 | u32 clkrst5_base, u32 clkrst6_base); | ||
| 15 | |||
| 13 | void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, | 16 | void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, |
| 14 | u32 clkrst5_base, u32 clkrst6_base); | 17 | u32 clkrst5_base, u32 clkrst6_base); |
| 15 | void u9540_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, | 18 | void u9540_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, |
