Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/937ed0828486a08e2d00bce2815d491c1c9c49b4.1621937490.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Matti Vaittinen and committed by
Stephen Boyd
fa5b6541 6efb943b

+5 -12
+3 -3
drivers/clk/Kconfig
··· 358 358 359 359 config COMMON_CLK_BD718XX 360 360 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 362 362 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. 365 365 366 366 config COMMON_CLK_FIXED_MMIO 367 367 bool "Clock driver for Memory Mapped Fixed values"
+2 -9
drivers/clk/clk-bd718x7.c
··· 15 15 /* clk control registers */ 16 16 /* BD71815 */ 17 17 #define BD71815_REG_OUT32K 0x1d 18 - /* BD70528 */ 19 - #define BD70528_REG_OUT32K 0x2c 20 18 /* BD71828 */ 21 19 #define BD71828_REG_OUT32K 0x4B 22 20 /* BD71837 and BD71847 */ 23 21 #define BD718XX_REG_OUT32K 0x2E 24 22 25 23 /* 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 27 25 */ 28 26 #define CLK_OUT_EN_MASK BIT(0) 29 27 ··· 114 116 c->reg = BD71828_REG_OUT32K; 115 117 c->mask = CLK_OUT_EN_MASK; 116 118 break; 117 - case ROHM_CHIP_TYPE_BD70528: 118 - c->reg = BD70528_REG_OUT32K; 119 - c->mask = CLK_OUT_EN_MASK; 120 - break; 121 119 case ROHM_CHIP_TYPE_BD71815: 122 120 c->reg = BD71815_REG_OUT32K; 123 121 c->mask = CLK_OUT_EN_MASK; ··· 144 150 static const struct platform_device_id bd718x7_clk_id[] = { 145 151 { "bd71837-clk", ROHM_CHIP_TYPE_BD71837 }, 146 152 { "bd71847-clk", ROHM_CHIP_TYPE_BD71847 }, 147 - { "bd70528-clk", ROHM_CHIP_TYPE_BD70528 }, 148 153 { "bd71828-clk", ROHM_CHIP_TYPE_BD71828 }, 149 154 { "bd71815-clk", ROHM_CHIP_TYPE_BD71815 }, 150 155 { }, ··· 161 168 module_platform_driver(bd71837_clk); 162 169 163 170 MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"); 164 - MODULE_DESCRIPTION("BD718(15/18/28/37/47/50) and BD70528 chip clk driver"); 171 + MODULE_DESCRIPTION("BD718(15/18/28/37/47/50) and chip clk driver"); 165 172 MODULE_LICENSE("GPL"); 166 173 MODULE_ALIAS("platform:bd718xx-clk");