diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-08 23:02:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-08 23:02:54 -0500 |
commit | 3a7dbed7f23cdde8394e9adf92cc222856e0fc1e (patch) | |
tree | a83fa52d24d2457acadf4c1bc72ea3a3e294b57d /drivers/clk | |
parent | f2fb38049c724558c590c31e57627f6ba8d48a5b (diff) | |
parent | a3b63979f8a32af9e975a793fd0f612d42072740 (diff) |
Merge tag 'mfd-for-linus-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull MFD updates from Lee Jones:
"Changes to the core:
- Honour PLATFORM_DEVID_NONE and PLATFORM_DEVID_AUTO dev IDs
Changes to existing drivers:
- IRQ additions/fixes; axp20x, da9063-core
- Code simplification; i2c-dln2
- Regmap additions/fixes; max77693
- Error checking/handling improvements; dln2, db8500-prcmu
- Bug fixes; dln2, wm8350-core
- DT support/documentation; max77693, max77686, tps65217, twl4030-power,
gpio-tc3589x
- Decouple syscon interface from platform devices
- Use MFD hotplug registration; rtsx_usb, viperboard, hid-sensor-hub
- Regulator fixups; sec-core
- Power Management additions/fixes; rts5227, tc6393xb
- Remove relic/redundant code; ab8500-sysctrl, lpc_sch, max77693-private
- Clean-up/coding style changes; tps65090
- Clk additions/fixes; tc6393xb, tc6387xb, t7l66xb
- Add USB-SPI support; dln2
- Trivial changes; max14577, arizona-spi, lpc_sch, wm8997-tables, wm5102-tables
wm5110-tables, axp20x, atmel-hlcdc, rtsx_pci
New drivers/supported devices:
- axp288 PMIC support added to axp20x
- s2mps13 support added to sec-core
- New support for Diolan DLN-2
- New support for atmel-hlcdc"
* tag 'mfd-for-linus-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (55 commits)
mfd: rtsx: Add func to split u32 into register
mfd: atmel-hlcdc: Add Kconfig option description and name
mfd: da9063: Get irq base dynamically before registering device
mfd: max14577: Fix obvious typo in company name in copyright
mfd: axp20x: Constify axp20x_acpi_match and rid unused warning
mfd: t7l66xb: prepare/unprepare clocks
mfd: tc6387xb: prepare/unprepare clocks
mfd: dln2: add support for USB-SPI module
mfd: wm5110: Add missing registers for AIF2 channels 3-6
mfd: tc3589x: get rid of static base
mfd: arizona: Document HP_CTRL_1L and HP_CTRL_1R registers
mfd: wm8997: Mark INTERRUPT_STATUS_2_MASK as readable
mfd: tc6393xb: Prepare/unprepare clocks
mfd: tps65090: Fix bonkers indenting strategy
mfd: tc6393xb: Fail ohci suspend if full state restore is required
mfd: lpc_sch: Don't call mfd_remove_devices()
mfd: wm8350-core: Fix probable mask then right shift defect
mfd: ab8500-sysctrl: Drop ab8500_restart
mfd: db8500-prcmu: Provide sane error path values
mfd: db8500-prcmu: Check return of devm_ioremap for error
...
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-s2mps11.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c index b7797fb12e12..7bb13af8e214 100644 --- a/drivers/clk/clk-s2mps11.c +++ b/drivers/clk/clk-s2mps11.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/clk-provider.h> | 23 | #include <linux/clk-provider.h> |
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | #include <linux/mfd/samsung/s2mps11.h> | 25 | #include <linux/mfd/samsung/s2mps11.h> |
26 | #include <linux/mfd/samsung/s2mps13.h> | ||
26 | #include <linux/mfd/samsung/s2mps14.h> | 27 | #include <linux/mfd/samsung/s2mps14.h> |
27 | #include <linux/mfd/samsung/s5m8767.h> | 28 | #include <linux/mfd/samsung/s5m8767.h> |
28 | #include <linux/mfd/samsung/core.h> | 29 | #include <linux/mfd/samsung/core.h> |
@@ -120,6 +121,24 @@ static struct clk_init_data s2mps11_clks_init[S2MPS11_CLKS_NUM] = { | |||
120 | }, | 121 | }, |
121 | }; | 122 | }; |
122 | 123 | ||
124 | static struct clk_init_data s2mps13_clks_init[S2MPS11_CLKS_NUM] = { | ||
125 | [S2MPS11_CLK_AP] = { | ||
126 | .name = "s2mps13_ap", | ||
127 | .ops = &s2mps11_clk_ops, | ||
128 | .flags = CLK_IS_ROOT, | ||
129 | }, | ||
130 | [S2MPS11_CLK_CP] = { | ||
131 | .name = "s2mps13_cp", | ||
132 | .ops = &s2mps11_clk_ops, | ||
133 | .flags = CLK_IS_ROOT, | ||
134 | }, | ||
135 | [S2MPS11_CLK_BT] = { | ||
136 | .name = "s2mps13_bt", | ||
137 | .ops = &s2mps11_clk_ops, | ||
138 | .flags = CLK_IS_ROOT, | ||
139 | }, | ||
140 | }; | ||
141 | |||
123 | static struct clk_init_data s2mps14_clks_init[S2MPS11_CLKS_NUM] = { | 142 | static struct clk_init_data s2mps14_clks_init[S2MPS11_CLKS_NUM] = { |
124 | [S2MPS11_CLK_AP] = { | 143 | [S2MPS11_CLK_AP] = { |
125 | .name = "s2mps14_ap", | 144 | .name = "s2mps14_ap", |
@@ -184,6 +203,10 @@ static int s2mps11_clk_probe(struct platform_device *pdev) | |||
184 | s2mps11_reg = S2MPS11_REG_RTC_CTRL; | 203 | s2mps11_reg = S2MPS11_REG_RTC_CTRL; |
185 | clks_init = s2mps11_clks_init; | 204 | clks_init = s2mps11_clks_init; |
186 | break; | 205 | break; |
206 | case S2MPS13X: | ||
207 | s2mps11_reg = S2MPS13_REG_RTCCTRL; | ||
208 | clks_init = s2mps13_clks_init; | ||
209 | break; | ||
187 | case S2MPS14X: | 210 | case S2MPS14X: |
188 | s2mps11_reg = S2MPS14_REG_RTCCTRL; | 211 | s2mps11_reg = S2MPS14_REG_RTCCTRL; |
189 | clks_init = s2mps14_clks_init; | 212 | clks_init = s2mps14_clks_init; |
@@ -279,6 +302,7 @@ static int s2mps11_clk_remove(struct platform_device *pdev) | |||
279 | 302 | ||
280 | static const struct platform_device_id s2mps11_clk_id[] = { | 303 | static const struct platform_device_id s2mps11_clk_id[] = { |
281 | { "s2mps11-clk", S2MPS11X}, | 304 | { "s2mps11-clk", S2MPS11X}, |
305 | { "s2mps13-clk", S2MPS13X}, | ||
282 | { "s2mps14-clk", S2MPS14X}, | 306 | { "s2mps14-clk", S2MPS14X}, |
283 | { "s5m8767-clk", S5M8767X}, | 307 | { "s5m8767-clk", S5M8767X}, |
284 | { }, | 308 | { }, |