forked from torvalds/linux
-
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.
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]>
- Loading branch information
1 parent
6efb943
commit fa5b654
Showing
2 changed files
with
5 additions
and
12 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
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 |
---|---|---|
|
@@ -15,15 +15,13 @@ | |
/* clk control registers */ | ||
/* BD71815 */ | ||
#define BD71815_REG_OUT32K 0x1d | ||
/* BD70528 */ | ||
#define BD70528_REG_OUT32K 0x2c | ||
/* BD71828 */ | ||
#define BD71828_REG_OUT32K 0x4B | ||
/* BD71837 and BD71847 */ | ||
#define BD718XX_REG_OUT32K 0x2E | ||
|
||
/* | ||
* BD71837, BD71847, BD70528 and BD71828 all use bit [0] to clk output control | ||
* BD71837, BD71847, and BD71828 all use bit [0] to clk output control | ||
*/ | ||
#define CLK_OUT_EN_MASK BIT(0) | ||
|
||
|
@@ -116,10 +114,6 @@ static int bd71837_clk_probe(struct platform_device *pdev) | |
c->reg = BD71828_REG_OUT32K; | ||
c->mask = CLK_OUT_EN_MASK; | ||
break; | ||
case ROHM_CHIP_TYPE_BD70528: | ||
c->reg = BD70528_REG_OUT32K; | ||
c->mask = CLK_OUT_EN_MASK; | ||
break; | ||
case ROHM_CHIP_TYPE_BD71815: | ||
c->reg = BD71815_REG_OUT32K; | ||
c->mask = CLK_OUT_EN_MASK; | ||
|
@@ -150,7 +144,6 @@ static int bd71837_clk_probe(struct platform_device *pdev) | |
static const struct platform_device_id bd718x7_clk_id[] = { | ||
{ "bd71837-clk", ROHM_CHIP_TYPE_BD71837 }, | ||
{ "bd71847-clk", ROHM_CHIP_TYPE_BD71847 }, | ||
{ "bd70528-clk", ROHM_CHIP_TYPE_BD70528 }, | ||
{ "bd71828-clk", ROHM_CHIP_TYPE_BD71828 }, | ||
{ "bd71815-clk", ROHM_CHIP_TYPE_BD71815 }, | ||
{ }, | ||
|
@@ -168,6 +161,6 @@ static struct platform_driver bd71837_clk = { | |
module_platform_driver(bd71837_clk); | ||
|
||
MODULE_AUTHOR("Matti Vaittinen <[email protected]>"); | ||
MODULE_DESCRIPTION("BD718(15/18/28/37/47/50) and BD70528 chip clk driver"); | ||
MODULE_DESCRIPTION("BD718(15/18/28/37/47/50) and chip clk driver"); | ||
MODULE_LICENSE("GPL"); | ||
MODULE_ALIAS("platform:bd718xx-clk"); |