Skip to content

Commit fa5b654

Browse files
M-Vaittinenbebarino
authored andcommitted
clk: bd718xx: Drop BD70528 support
The only known BD70528 use-cases are such that the PMIC is controlled from separate MCU which is not running Linux. I am not aware of any Linux driver users. Furthermore, it seems there is no demand for this IC. Let's ease the maintenance burden and drop the driver. We can always add it back if there is sudden need for it. Signed-off-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/937ed0828486a08e2d00bce2815d491c1c9c49b4.1621937490.git.matti.vaittinen@fi.rohmeurope.com Signed-off-by: Stephen Boyd <[email protected]>
1 parent 6efb943 commit fa5b654

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

drivers/clk/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,10 @@ config COMMON_CLK_MMP2_AUDIO
358358

359359
config COMMON_CLK_BD718XX
360360
tristate "Clock driver for 32K clk gates on ROHM PMICs"
361-
depends on MFD_ROHM_BD718XX || MFD_ROHM_BD70528 || MFD_ROHM_BD71828
361+
depends on MFD_ROHM_BD718XX || MFD_ROHM_BD71828
362362
help
363-
This driver supports ROHM BD71837, ROHM BD71847, ROHM BD71828 and
364-
ROHM BD70528 PMICs clock gates.
363+
This driver supports ROHM BD71837, BD71847, BD71850, BD71815
364+
and BD71828 PMICs clock gates.
365365

366366
config COMMON_CLK_FIXED_MMIO
367367
bool "Clock driver for Memory Mapped Fixed values"

drivers/clk/clk-bd718x7.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
/* clk control registers */
1616
/* BD71815 */
1717
#define BD71815_REG_OUT32K 0x1d
18-
/* BD70528 */
19-
#define BD70528_REG_OUT32K 0x2c
2018
/* BD71828 */
2119
#define BD71828_REG_OUT32K 0x4B
2220
/* BD71837 and BD71847 */
2321
#define BD718XX_REG_OUT32K 0x2E
2422

2523
/*
26-
* BD71837, BD71847, BD70528 and BD71828 all use bit [0] to clk output control
24+
* BD71837, BD71847, and BD71828 all use bit [0] to clk output control
2725
*/
2826
#define CLK_OUT_EN_MASK BIT(0)
2927

@@ -116,10 +114,6 @@ static int bd71837_clk_probe(struct platform_device *pdev)
116114
c->reg = BD71828_REG_OUT32K;
117115
c->mask = CLK_OUT_EN_MASK;
118116
break;
119-
case ROHM_CHIP_TYPE_BD70528:
120-
c->reg = BD70528_REG_OUT32K;
121-
c->mask = CLK_OUT_EN_MASK;
122-
break;
123117
case ROHM_CHIP_TYPE_BD71815:
124118
c->reg = BD71815_REG_OUT32K;
125119
c->mask = CLK_OUT_EN_MASK;
@@ -150,7 +144,6 @@ static int bd71837_clk_probe(struct platform_device *pdev)
150144
static const struct platform_device_id bd718x7_clk_id[] = {
151145
{ "bd71837-clk", ROHM_CHIP_TYPE_BD71837 },
152146
{ "bd71847-clk", ROHM_CHIP_TYPE_BD71847 },
153-
{ "bd70528-clk", ROHM_CHIP_TYPE_BD70528 },
154147
{ "bd71828-clk", ROHM_CHIP_TYPE_BD71828 },
155148
{ "bd71815-clk", ROHM_CHIP_TYPE_BD71815 },
156149
{ },
@@ -168,6 +161,6 @@ static struct platform_driver bd71837_clk = {
168161
module_platform_driver(bd71837_clk);
169162

170163
MODULE_AUTHOR("Matti Vaittinen <[email protected]>");
171-
MODULE_DESCRIPTION("BD718(15/18/28/37/47/50) and BD70528 chip clk driver");
164+
MODULE_DESCRIPTION("BD718(15/18/28/37/47/50) and chip clk driver");
172165
MODULE_LICENSE("GPL");
173166
MODULE_ALIAS("platform:bd718xx-clk");

0 commit comments

Comments
 (0)