Remove pcf50633
Subsystems (10)
cover Remove pcf50633
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
I've split this up based on the subcomponents to make the size of each patch sensible.
Dave
Dr. David Alan Gilbert (9):
mfd: pcf50633-adc: Remove
backlight: pcf50633-backlight: Remove
rtc: pcf50633: Remove
mfd: pcF50633-gpio: Remove
Input: pcf50633-input - Remove
regulator: pcf50633-regulator: Remove
power: supply: pcf50633: Remove charger
mfd: pcf50633: Remove irq code
mfd: pcf50633: Remove remains
arch/mips/configs/ip27_defconfig | 3 - drivers/input/misc/Kconfig | 7 - drivers/input/misc/Makefile | 1 - drivers/input/misc/pcf50633-input.c | 113 ----- drivers/mfd/Kconfig | 24 - drivers/mfd/Makefile | 4 - drivers/mfd/pcf50633-adc.c | 255 ---------- drivers/mfd/pcf50633-core.c | 304 ------------ drivers/mfd/pcf50633-gpio.c | 92 ---- drivers/mfd/pcf50633-irq.c | 312 ------------- drivers/power/supply/Kconfig | 6 - drivers/power/supply/Makefile | 1 - drivers/power/supply/pcf50633-charger.c | 466 ------------------- drivers/regulator/Kconfig | 7 - drivers/regulator/Makefile | 1 - drivers/regulator/pcf50633-regulator.c | 124 ----- drivers/rtc/Kconfig | 7 - drivers/rtc/Makefile | 1 - drivers/rtc/rtc-pcf50633.c | 284 ----------- drivers/video/backlight/Kconfig | 7 - drivers/video/backlight/Makefile | 1 - drivers/video/backlight/pcf50633-backlight.c | 154 ------ include/linux/mfd/pcf50633/adc.h | 69 --- include/linux/mfd/pcf50633/backlight.h | 42 -- include/linux/mfd/pcf50633/core.h | 232 --------- include/linux/mfd/pcf50633/gpio.h | 48 -- include/linux/mfd/pcf50633/mbc.h | 130 ------ include/linux/mfd/pcf50633/pmic.h | 68 --- 28 files changed, 2763 deletions(-) delete mode 100644 drivers/input/misc/pcf50633-input.c delete mode 100644 drivers/mfd/pcf50633-adc.c delete mode 100644 drivers/mfd/pcf50633-core.c delete mode 100644 drivers/mfd/pcf50633-gpio.c delete mode 100644 drivers/mfd/pcf50633-irq.c delete mode 100644 drivers/power/supply/pcf50633-charger.c delete mode 100644 drivers/regulator/pcf50633-regulator.c delete mode 100644 drivers/rtc/rtc-pcf50633.c delete mode 100644 drivers/video/backlight/pcf50633-backlight.c delete mode 100644 include/linux/mfd/pcf50633/adc.h delete mode 100644 include/linux/mfd/pcf50633/backlight.h delete mode 100644 include/linux/mfd/pcf50633/core.h delete mode 100644 include/linux/mfd/pcf50633/gpio.h delete mode 100644 include/linux/mfd/pcf50633/mbc.h delete mode 100644 include/linux/mfd/pcf50633/pmic.h
Signature · 1 line
2.48.1
PATCH 1/9 mfd: pcf50633-adc: Remove
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- arch/mips/configs/ip27_defconfig | 1 - drivers/mfd/Kconfig | 7 - drivers/mfd/Makefile | 1 - drivers/mfd/pcf50633-adc.c | 255 ------------------------------ drivers/mfd/pcf50633-core.c | 2 - include/linux/mfd/pcf50633/adc.h | 69 -------- include/linux/mfd/pcf50633/core.h | 1 - 7 files changed, 336 deletions(-) delete mode 100644 drivers/mfd/pcf50633-adc.c delete mode 100644 include/linux/mfd/pcf50633/adc.h
arch/mips/configs/ip27_defconfig +0 -1
@@ -256,7 +256,6 @@ CONFIG_I2C_STUB=m # CONFIG_HWMON is not set CONFIG_THERMAL=y CONFIG_MFD_PCF50633=m -CONFIG_PCF50633_ADC=m CONFIG_PCF50633_GPIO=m # CONFIG_VGA_ARB is not set CONFIG_LEDS_LP3944=m
drivers/mfd/Kconfig +0 -7
@@ -1129,13 +1129,6 @@ config MFD_PCF50633 facilities, and registers devices for the various functions so that function-specific drivers can bind to them. -config PCF50633_ADC - tristate "NXP PCF50633 ADC" - depends on MFD_PCF50633 - help - Say yes here if you want to include support for ADC in the - NXP PCF50633 chip. - config PCF50633_GPIO tristate "NXP PCF50633 GPIO" depends on MFD_PCF50633
drivers/mfd/Makefile +0 -1
@@ -185,7 +185,6 @@ obj-$(CONFIG_MFD_MT6397) += mt6397.o pcf50633-objs := pcf50633-core.o pcf50633-irq.o obj-$(CONFIG_MFD_PCF50633) += pcf50633.o -obj-$(CONFIG_PCF50633_ADC) += pcf50633-adc.o obj-$(CONFIG_PCF50633_GPIO) += pcf50633-gpio.o obj-$(CONFIG_RZ_MTU3) += rz-mtu3.o obj-$(CONFIG_ABX500_CORE) += abx500-core.o
drivers/mfd/pcf50633-adc.c deleted +0 -255
255 lines not on this page · raw message
drivers/mfd/pcf50633-core.c +0 -2
@@ -210,7 +210,6 @@ static int pcf50633_probe(struct i2c_client *client)pcf50633_client_dev_register (pcf,"pcf50633-input" , &pcf->input_pdev);pcf50633_client_dev_register (pcf,"pcf50633-rtc" , &pcf->rtc_pdev);pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev); -pcf50633_client_dev_register (pcf,"pcf50633-adc" , &pcf->adc_pdev);pcf50633_client_dev_register (pcf,"pcf50633-backlight" , &pcf->bl_pdev);
@@ -263,7 +262,6 @@ static void pcf50633_remove(struct i2c_client *client)platform_device_unregister (pcf->input_pdev);platform_device_unregister (pcf->rtc_pdev);platform_device_unregister (pcf->mbc_pdev); -platform_device_unregister (pcf->adc_pdev);platform_device_unregister (pcf->bl_pdev);for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++)
include/linux/mfd/pcf50633/adc.h deleted +0 -69
69 lines not on this page · raw message
include/linux/mfd/pcf50633/core.h +0 -1
@@ -151,7 +151,6 @@ struct pcf50633 {struct platform_device *rtc_pdev;struct platform_device *mbc_pdev; -struct platform_device *adc_pdev;struct platform_device *input_pdev;struct platform_device *bl_pdev;struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS ];
Signature · 1 line
2.48.1
PATCH 2/9 backlight: pcf50633-backlight: Remove
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- drivers/mfd/pcf50633-core.c | 2 - drivers/video/backlight/Kconfig | 7 - drivers/video/backlight/Makefile | 1 - drivers/video/backlight/pcf50633-backlight.c | 154 ------------------- include/linux/mfd/pcf50633/backlight.h | 42 ----- include/linux/mfd/pcf50633/core.h | 4 - 6 files changed, 210 deletions(-) delete mode 100644 drivers/video/backlight/pcf50633-backlight.c delete mode 100644 include/linux/mfd/pcf50633/backlight.h
drivers/mfd/pcf50633-core.c +0 -2
@@ -210,7 +210,6 @@ static int pcf50633_probe(struct i2c_client *client)pcf50633_client_dev_register (pcf,"pcf50633-input" , &pcf->input_pdev);pcf50633_client_dev_register (pcf,"pcf50633-rtc" , &pcf->rtc_pdev);pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev); -pcf50633_client_dev_register (pcf,"pcf50633-backlight" , &pcf->bl_pdev);for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++) {
@@ -262,7 +261,6 @@ static void pcf50633_remove(struct i2c_client *client)platform_device_unregister (pcf->input_pdev);platform_device_unregister (pcf->rtc_pdev);platform_device_unregister (pcf->mbc_pdev); -platform_device_unregister (pcf->bl_pdev);for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++)platform_device_unregister (pcf->regulator_pdev[i]);
drivers/video/backlight/Kconfig +0 -7
@@ -359,13 +359,6 @@ config BACKLIGHT_88PM860X help Say Y to enable the backlight driver for Marvell 88PM8606. -config BACKLIGHT_PCF50633 - tristate "Backlight driver for NXP PCF50633 MFD" - depends on MFD_PCF50633 - help - If you have a backlight driven by a NXP PCF50633 MFD, say Y here to - enable its driver. - config BACKLIGHT_AAT2870 tristate "AnalogicTech AAT2870 Backlight" depends on MFD_AAT2870_CORE
drivers/video/backlight/Makefile +0 -1
@@ -49,7 +49,6 @@ obj-$(CONFIG_BACKLIGHT_MP3309C) += mp3309c.o obj-$(CONFIG_BACKLIGHT_MT6370) += mt6370-backlight.o obj-$(CONFIG_BACKLIGHT_OMAP1) += omap1_bl.o obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o -obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o obj-$(CONFIG_BACKLIGHT_PWM) += pwm_bl.o obj-$(CONFIG_BACKLIGHT_QCOM_WLED) += qcom-wled.o obj-$(CONFIG_BACKLIGHT_RT4831) += rt4831-backlight.o
drivers/video/backlight/pcf50633-backlight.c deleted +0 -154
154 lines not on this page · raw message
include/linux/mfd/pcf50633/backlight.h deleted +0 -42
42 lines not on this page · raw message
include/linux/mfd/pcf50633/core.h +0 -4
@@ -15,7 +15,6 @@#include <linux/regulator/machine.h> #include <linux/pm.h> #include <linux/power_supply.h> -#include <linux/mfd/pcf50633/backlight.h> struct pcf50633 ;struct regmap ;
@@ -42,8 +41,6 @@ struct pcf50633_platform_data {void (*force_shutdown)(struct pcf50633 *);u8 resumers[5 ]; - -struct pcf50633_bl_platform_data *backlight_data; };struct pcf50633_irq {
@@ -152,7 +149,6 @@ struct pcf50633 {struct platform_device *rtc_pdev;struct platform_device *mbc_pdev;struct platform_device *input_pdev; -struct platform_device *bl_pdev;struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS ]; };
Signature · 1 line
2.48.1
PATCH 3/9 rtc: pcf50633: Remove
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- drivers/mfd/pcf50633-core.c | 2 - drivers/rtc/Kconfig | 7 - drivers/rtc/Makefile | 1 - drivers/rtc/rtc-pcf50633.c | 284 ------------------------------ include/linux/mfd/pcf50633/core.h | 1 - 5 files changed, 295 deletions(-) delete mode 100644 drivers/rtc/rtc-pcf50633.c
drivers/mfd/pcf50633-core.c +0 -2
@@ -208,7 +208,6 @@ static int pcf50633_probe(struct i2c_client *client)/* Create sub devices */ pcf50633_client_dev_register (pcf,"pcf50633-input" , &pcf->input_pdev); -pcf50633_client_dev_register (pcf,"pcf50633-rtc" , &pcf->rtc_pdev);pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev);
@@ -259,7 +258,6 @@ static void pcf50633_remove(struct i2c_client *client)pcf50633_irq_free (pcf);platform_device_unregister (pcf->input_pdev); -platform_device_unregister (pcf->rtc_pdev);platform_device_unregister (pcf->mbc_pdev);for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++)
drivers/rtc/Kconfig +0 -7
@@ -1321,13 +1321,6 @@ config RTC_DRV_SPEAR If you say Y here you will get support for the RTC found on spear -config RTC_DRV_PCF50633 - depends on MFD_PCF50633 - tristate "NXP PCF50633 RTC" - help - If you say yes here you get support for the RTC subsystem of the - NXP PCF50633 used in embedded systems. - config RTC_DRV_AB8500 tristate "ST-Ericsson AB8500 RTC" depends on AB8500_CORE
drivers/rtc/Makefile +0 -1
@@ -126,7 +126,6 @@ obj-$(CONFIG_RTC_DRV_PALMAS) += rtc-palmas.o obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o obj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o -obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o obj-$(CONFIG_RTC_DRV_PCF85063) += rtc-pcf85063.o obj-$(CONFIG_RTC_DRV_PCF8523) += rtc-pcf8523.o obj-$(CONFIG_RTC_DRV_PCF85363) += rtc-pcf85363.o
drivers/rtc/rtc-pcf50633.c deleted +0 -284
284 lines not on this page · raw message
include/linux/mfd/pcf50633/core.h +0 -1
@@ -146,7 +146,6 @@ struct pcf50633 {int onkey1s_held; -struct platform_device *rtc_pdev;struct platform_device *mbc_pdev;struct platform_device *input_pdev;struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS ];
Signature · 1 line
2.48.1
PATCH 4/9 mfd: pcF50633-gpio: Remove
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- arch/mips/configs/ip27_defconfig | 1 - drivers/mfd/Kconfig | 7 --- drivers/mfd/Makefile | 1 - drivers/mfd/pcf50633-gpio.c | 92 ------------------------------- include/linux/mfd/pcf50633/gpio.h | 48 ---------------- 5 files changed, 149 deletions(-) delete mode 100644 drivers/mfd/pcf50633-gpio.c delete mode 100644 include/linux/mfd/pcf50633/gpio.h
arch/mips/configs/ip27_defconfig +0 -1
@@ -256,7 +256,6 @@ CONFIG_I2C_STUB=m # CONFIG_HWMON is not set CONFIG_THERMAL=y CONFIG_MFD_PCF50633=m -CONFIG_PCF50633_GPIO=m # CONFIG_VGA_ARB is not set CONFIG_LEDS_LP3944=m CONFIG_LEDS_PCA955X=m
drivers/mfd/Kconfig +0 -7
@@ -1129,13 +1129,6 @@ config MFD_PCF50633 facilities, and registers devices for the various functions so that function-specific drivers can bind to them. -config PCF50633_GPIO - tristate "NXP PCF50633 GPIO" - depends on MFD_PCF50633 - help - Say yes here if you want to include support GPIO for pins on - the PCF50633 chip. - config MFD_PM8XXX tristate "Qualcomm PM8xxx PMIC chips driver" depends on ARM || HEXAGON || COMPILE_TEST
drivers/mfd/Makefile +0 -1
@@ -185,7 +185,6 @@ obj-$(CONFIG_MFD_MT6397) += mt6397.o pcf50633-objs := pcf50633-core.o pcf50633-irq.o obj-$(CONFIG_MFD_PCF50633) += pcf50633.o -obj-$(CONFIG_PCF50633_GPIO) += pcf50633-gpio.o obj-$(CONFIG_RZ_MTU3) += rz-mtu3.o obj-$(CONFIG_ABX500_CORE) += abx500-core.o obj-$(CONFIG_MFD_DB8500_PRCMU) += db8500-prcmu.o
drivers/mfd/pcf50633-gpio.c deleted +0 -92
92 lines not on this page · raw message
include/linux/mfd/pcf50633/gpio.h deleted +0 -48
48 lines not on this page · raw message
Signature · 1 line
2.48.1
PATCH 5/9 Input: pcf50633-input - Remove
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- drivers/input/misc/Kconfig | 7 -- drivers/input/misc/Makefile | 1 - drivers/input/misc/pcf50633-input.c | 113 ---------------------------- drivers/mfd/pcf50633-core.c | 2 - include/linux/mfd/pcf50633/core.h | 1 - 5 files changed, 124 deletions(-) delete mode 100644 drivers/input/misc/pcf50633-input.c
drivers/input/misc/Kconfig +0 -7
@@ -584,13 +584,6 @@ config INPUT_PALMAS_PWRBUTTON To compile this driver as a module, choose M here. The module will be called palmas_pwrbutton. -config INPUT_PCF50633_PMU - tristate "PCF50633 PMU events" - depends on MFD_PCF50633 - help - Say Y to include support for delivering PMU events via input - layer on NXP PCF50633. - config INPUT_PCF8574 tristate "PCF8574 Keypad input device" depends on I2C
drivers/input/misc/Makefile +0 -1
@@ -59,7 +59,6 @@ obj-$(CONFIG_INPUT_MC13783_PWRBUTTON) += mc13783-pwrbutton.o obj-$(CONFIG_INPUT_MMA8450) += mma8450.o obj-$(CONFIG_INPUT_PALMAS_PWRBUTTON) += palmas-pwrbutton.o obj-$(CONFIG_INPUT_PCAP) += pcap_keys.o -obj-$(CONFIG_INPUT_PCF50633_PMU) += pcf50633-input.o obj-$(CONFIG_INPUT_PCF8574) += pcf8574_keypad.o obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o obj-$(CONFIG_INPUT_PM8941_PWRKEY) += pm8941-pwrkey.o
drivers/input/misc/pcf50633-input.c deleted +0 -113
113 lines not on this page · raw message
drivers/mfd/pcf50633-core.c +0 -2
@@ -207,7 +207,6 @@ static int pcf50633_probe(struct i2c_client *client)pcf50633_irq_init (pcf, client->irq);/* Create sub devices */ -pcf50633_client_dev_register (pcf,"pcf50633-input" , &pcf->input_pdev);pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev);
@@ -257,7 +256,6 @@ static void pcf50633_remove(struct i2c_client *client)sysfs_remove_group (&client->dev.kobj, &pcf_attr_group);pcf50633_irq_free (pcf); -platform_device_unregister (pcf->input_pdev);platform_device_unregister (pcf->mbc_pdev);for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++)
include/linux/mfd/pcf50633/core.h +0 -1
@@ -147,7 +147,6 @@ struct pcf50633 {int onkey1s_held;struct platform_device *mbc_pdev; -struct platform_device *input_pdev;struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS ]; };
Signature · 1 line
2.48.1
PATCH 6/9 regulator: pcf50633-regulator: Remove
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- drivers/mfd/pcf50633-core.c | 35 +------ drivers/regulator/Kconfig | 7 -- drivers/regulator/Makefile | 1 - drivers/regulator/pcf50633-regulator.c | 124 ------------------------- include/linux/mfd/pcf50633/core.h | 1 - 5 files changed, 1 insertion(+), 167 deletions(-) delete mode 100644 drivers/regulator/pcf50633-regulator.c
drivers/mfd/pcf50633-core.c +1 -34
@@ -166,9 +166,8 @@ static const struct regmap_config pcf50633_regmap_config = {static int pcf50633_probe (struct i2c_client *client) {struct pcf50633 *pcf; -struct platform_device *pdev;struct pcf50633_platform_data *pdata =dev_get_platdata (&client->dev); -int i, j, ret; +int ret;int version, variant;if (!client->irq) {
@@ -210,26 +209,6 @@ static int pcf50633_probe(struct i2c_client *client)pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev); -for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++) { - pdev =platform_device_alloc ("pcf50633-regulator" , i); -if (!pdev) { - ret = -ENOMEM ; - goto err2; - } - - pdev->dev.parent = pcf->dev; - ret =platform_device_add_data (pdev, &pdata->reg_init_data[i], -sizeof (pdata->reg_init_data[i])); -if (ret) - goto err; - - ret =platform_device_add (pdev); -if (ret) - goto err; - - pcf->regulator_pdev[i] = pdev; - } - ret =sysfs_create_group (&client->dev.kobj, &pcf_attr_group);if (ret)dev_warn (pcf->dev,"error creating sysfs entries\n" );
@@ -238,28 +217,16 @@ static int pcf50633_probe(struct i2c_client *client) pdata->probe_done (pcf);return 0 ; - -err: -platform_device_put (pdev); -err2: -for (j =0 ; j < i; j++) -platform_device_put (pcf->regulator_pdev[j]); - -return ret; }static void pcf50633_remove (struct i2c_client *client) {struct pcf50633 *pcf =i2c_get_clientdata (client); -int i;sysfs_remove_group (&client->dev.kobj, &pcf_attr_group);pcf50633_irq_free (pcf);platform_device_unregister (pcf->mbc_pdev); - -for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++) -platform_device_unregister (pcf->regulator_pdev[i]); }static const struct i2c_device_id pcf50633_id_table[] = {
drivers/regulator/Kconfig +0 -7
@@ -988,13 +988,6 @@ config REGULATOR_PCAP This driver provides support for the voltage regulators of the PCAP2 PMIC. -config REGULATOR_PCF50633 - tristate "NXP PCF50633 regulator driver" - depends on MFD_PCF50633 - help - Say Y here to support the voltage regulators and converters - on PCF50633 - config REGULATOR_PF8X00 tristate "NXP PF8100/PF8121A/PF8200 regulator driver" depends on I2C && OF
drivers/regulator/Makefile +0 -1
@@ -132,7 +132,6 @@ obj-$(CONFIG_REGULATOR_PWM) += pwm-regulator.o obj-$(CONFIG_REGULATOR_TPS51632) += tps51632-regulator.o obj-$(CONFIG_REGULATOR_PBIAS) += pbias-regulator.o obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o -obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o obj-$(CONFIG_REGULATOR_RAA215300) += raa215300.o obj-$(CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY) += rpi-panel-attiny-regulator.o obj-$(CONFIG_REGULATOR_RC5T583) += rc5t583-regulator.o
drivers/regulator/pcf50633-regulator.c deleted +0 -124
124 lines not on this page · raw message
include/linux/mfd/pcf50633/core.h +0 -1
@@ -147,7 +147,6 @@ struct pcf50633 {int onkey1s_held;struct platform_device *mbc_pdev; -struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS ]; };enum pcf50633_reg_int1 {
Signature · 1 line
2.48.1
PATCH 7/9 power: supply: pcf50633: Remove charger
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- drivers/power/supply/Kconfig | 6 - drivers/power/supply/Makefile | 1 - drivers/power/supply/pcf50633-charger.c | 466 ------------------------ 3 files changed, 473 deletions(-) delete mode 100644 drivers/power/supply/pcf50633-charger.c
drivers/power/supply/Kconfig +0 -6
@@ -449,12 +449,6 @@ config CHARGER_88PM860X help Say Y here to enable charger for Marvell 88PM860x chip. -config CHARGER_PCF50633 - tristate "NXP PCF50633 MBC" - depends on MFD_PCF50633 - help - Say Y to include support for NXP PCF50633 Main Battery Charger. - config BATTERY_RX51 tristate "Nokia RX-51 (N900) battery driver" depends on TWL4030_MADC
drivers/power/supply/Makefile +0 -1
@@ -62,7 +62,6 @@ obj-$(CONFIG_CHARGER_RT9467) += rt9467-charger.o obj-$(CONFIG_CHARGER_RT9471) += rt9471.o obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o -obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o obj-$(CONFIG_BATTERY_RX51) += rx51_battery.o obj-$(CONFIG_AB8500_BM) += ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o ab8500_chargalg.o obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o
drivers/power/supply/pcf50633-charger.c deleted +0 -466
466 lines not on this page · raw message
Signature · 1 line
2.48.1
PATCH 8/9 mfd: pcf50633: Remove irq code
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
As part of the pcf50633 removal, take out it's irq code (which includes one bit still called from the core, but it'll go soon).
--- drivers/mfd/Makefile | 2 +- drivers/mfd/pcf50633-core.c | 5 +- drivers/mfd/pcf50633-irq.c | 312 ------------------------------------ 3 files changed, 2 insertions(+), 317 deletions(-) delete mode 100644 drivers/mfd/pcf50633-irq.c
drivers/mfd/Makefile +1 -1
@@ -183,7 +183,7 @@ obj-$(CONFIG_MFD_MT6370) += mt6370.o mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o obj-$(CONFIG_MFD_MT6397) += mt6397.o -pcf50633-objs := pcf50633-core.o pcf50633-irq.o +pcf50633-objs := pcf50633-core.o obj-$(CONFIG_MFD_PCF50633) += pcf50633.o obj-$(CONFIG_RZ_MTU3) += rz-mtu3.o obj-$(CONFIG_ABX500_CORE) += abx500-core.o
drivers/mfd/pcf50633-core.c +1 -4
@@ -203,8 +203,6 @@ static int pcf50633_probe(struct i2c_client *client)dev_info (pcf->dev,"Probed device version %d variant %d\n" , version, variant); -pcf50633_irq_init (pcf, client->irq); -/* Create sub devices */ pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev);
@@ -224,7 +222,6 @@ static void pcf50633_remove(struct i2c_client *client)struct pcf50633 *pcf =i2c_get_clientdata (client);sysfs_remove_group (&client->dev.kobj, &pcf_attr_group); -pcf50633_irq_free (pcf);platform_device_unregister (pcf->mbc_pdev); }
@@ -238,7 +235,7 @@ MODULE_DEVICE_TABLE(i2c, pcf50633_id_table);static struct i2c_driver pcf50633_driver = { .driver = { .name ="pcf50633" , - .pm =pm_sleep_ptr (&pcf50633_pm), +/* going.... .pm = pm_sleep_ptr(&pcf50633_pm), */ }, .id_table = pcf50633_id_table, .probe = pcf50633_probe,
drivers/mfd/pcf50633-irq.c deleted +0 -312
312 lines not on this page · raw message
Signature · 1 line
2.48.1
PATCH 9/9 mfd: pcf50633: Remove remains
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
Remove the remaining parts of the 50633, the core, headers and glue.
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support")
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
--- arch/mips/configs/ip27_defconfig | 1 - drivers/mfd/Kconfig | 10 -- drivers/mfd/Makefile | 2 - drivers/mfd/pcf50633-core.c | 260 ------------------------------ include/linux/mfd/pcf50633/core.h | 224 ------------------------- include/linux/mfd/pcf50633/mbc.h | 130 --------------- include/linux/mfd/pcf50633/pmic.h | 68 -------- 7 files changed, 695 deletions(-) delete mode 100644 drivers/mfd/pcf50633-core.c delete mode 100644 include/linux/mfd/pcf50633/core.h delete mode 100644 include/linux/mfd/pcf50633/mbc.h delete mode 100644 include/linux/mfd/pcf50633/pmic.h
arch/mips/configs/ip27_defconfig +0 -1
@@ -255,7 +255,6 @@ CONFIG_I2C_TAOS_EVM=m CONFIG_I2C_STUB=m # CONFIG_HWMON is not set CONFIG_THERMAL=y -CONFIG_MFD_PCF50633=m # CONFIG_VGA_ARB is not set CONFIG_LEDS_LP3944=m CONFIG_LEDS_PCA955X=m
drivers/mfd/Kconfig +0 -10
@@ -1119,16 +1119,6 @@ config MFD_RETU Retu and Tahvo are a multi-function devices found on Nokia Internet Tablets (770, N800 and N810). -config MFD_PCF50633 - tristate "NXP PCF50633" - depends on I2C - select REGMAP_I2C - help - Say yes here if you have NXP PCF50633 chip on your board. - This core driver provides register access and IRQ handling - facilities, and registers devices for the various functions - so that function-specific drivers can bind to them. - config MFD_PM8XXX tristate "Qualcomm PM8xxx PMIC chips driver" depends on ARM || HEXAGON || COMPILE_TEST
drivers/mfd/Makefile +0 -2
@@ -183,8 +183,6 @@ obj-$(CONFIG_MFD_MT6370) += mt6370.o mt6397-objs := mt6397-core.o mt6397-irq.o mt6358-irq.o obj-$(CONFIG_MFD_MT6397) += mt6397.o -pcf50633-objs := pcf50633-core.o -obj-$(CONFIG_MFD_PCF50633) += pcf50633.o obj-$(CONFIG_RZ_MTU3) += rz-mtu3.o obj-$(CONFIG_ABX500_CORE) += abx500-core.o obj-$(CONFIG_MFD_DB8500_PRCMU) += db8500-prcmu.o
drivers/mfd/pcf50633-core.c deleted +0 -260
260 lines not on this page · raw message
include/linux/mfd/pcf50633/core.h deleted +0 -224
224 lines not on this page · raw message
include/linux/mfd/pcf50633/mbc.h deleted +0 -130
130 lines not on this page · raw message
include/linux/mfd/pcf50633/pmic.h deleted +0 -68
68 lines not on this page · raw message
Signature · 1 line
2.48.1
Quoted 8 lines · On Sun, Mar 9, 2025, at 20:36, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")
Quoted 8 lines
Remove it.
I've split this up based on the subcomponents to make the size of each patch sensible.
Dave
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Looks all good to me. Whole series
Alexandre Belloni
maintainerRe: [PATCH 3/9] rtc: pcf50633: Remove
In reply to [email protected]Hello,
Quoted 11 lines · On 09/03/2025 19:36:06+0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Quoted 8 lines
--- drivers/mfd/pcf50633-core.c | 2 - drivers/rtc/Kconfig | 7 - drivers/rtc/Makefile | 1 - drivers/rtc/rtc-pcf50633.c | 284 ------------------------------ include/linux/mfd/pcf50633/core.h | 1 - 5 files changed, 295 deletions(-) delete mode 100644 drivers/rtc/rtc-pcf50633.c
If you would separate by subsystem, this would be easier to apply. I don't think the mfd changes are necessary from a bisection point of view.
Quoted 356 lines
drivers/mfd/pcf50633-core.c +0
-2@@ -208,7 +208,6 @@ static int pcf50633_probe(struct i2c_client *client)/* Create sub devices */ pcf50633_client_dev_register (pcf,"pcf50633-input" , &pcf->input_pdev); -pcf50633_client_dev_register (pcf,"pcf50633-rtc" , &pcf->rtc_pdev);pcf50633_client_dev_register (pcf,"pcf50633-mbc" , &pcf->mbc_pdev);@@ -259,7 +258,6 @@ static void pcf50633_remove(struct i2c_client *client)pcf50633_irq_free (pcf);platform_device_unregister (pcf->input_pdev); -platform_device_unregister (pcf->rtc_pdev);platform_device_unregister (pcf->mbc_pdev);for (i =0 ; i <PCF50633_NUM_REGULATORS ; i++)drivers/rtc/Kconfig +0
-7@@ -1321,13 +1321,6 @@ config RTC_DRV_SPEAR If you say Y here you will get support for the RTC found on spear -config RTC_DRV_PCF50633 - depends on MFD_PCF50633 - tristate "NXP PCF50633 RTC" - help - If you say yes here you get support for the RTC subsystem of the - NXP PCF50633 used in embedded systems. - config RTC_DRV_AB8500 tristate "ST-Ericsson AB8500 RTC" depends on AB8500_COREdrivers/rtc/Makefile +0
-1@@ -126,7 +126,6 @@ obj-$(CONFIG_RTC_DRV_PALMAS) += rtc-palmas.o obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o obj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o -obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o obj-$(CONFIG_RTC_DRV_PCF85063) += rtc-pcf85063.o obj-$(CONFIG_RTC_DRV_PCF8523) += rtc-pcf8523.o obj-$(CONFIG_RTC_DRV_PCF85363) += rtc-pcf85363.odrivers/rtc/rtc-pcf50633.c deleted +0
-284@@ -1,284 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* NXP PCF50633 RTC Driver -* -* (C) 2006-2008 by Openmoko, Inc. -* Author: Balaji Rao <[email protected]> -* All rights reserved. -* -* Broken down from monstrous PCF50633 driver mainly by -* Harald Welte, Andy Green and Werner Almesberger -*/ - -#include <linux/kernel.h> -#include <linux/module.h> -#include <linux/init.h> -#include <linux/device.h> -#include <linux/slab.h> -#include <linux/platform_device.h> -#include <linux/rtc.h> -#include <linux/bcd.h> -#include <linux/err.h> - -#include <linux/mfd/pcf50633/core.h> - -#define PCF50633_REG_RTCSC 0x59/* Second */ -#define PCF50633_REG_RTCMN 0x5a/* Minute */ -#define PCF50633_REG_RTCHR 0x5b/* Hour */ -#define PCF50633_REG_RTCWD 0x5c/* Weekday */ -#define PCF50633_REG_RTCDT 0x5d/* Day */ -#define PCF50633_REG_RTCMT 0x5e/* Month */ -#define PCF50633_REG_RTCYR 0x5f/* Year */ -#define PCF50633_REG_RTCSCA 0x60/* Alarm Second */ -#define PCF50633_REG_RTCMNA 0x61/* Alarm Minute */ -#define PCF50633_REG_RTCHRA 0x62/* Alarm Hour */ -#define PCF50633_REG_RTCWDA 0x63/* Alarm Weekday */ -#define PCF50633_REG_RTCDTA 0x64/* Alarm Day */ -#define PCF50633_REG_RTCMTA 0x65/* Alarm Month */ -#define PCF50633_REG_RTCYRA 0x66/* Alarm Year */ - -enum pcf50633_time_indexes { -PCF50633_TI_SEC , -PCF50633_TI_MIN , -PCF50633_TI_HOUR , -PCF50633_TI_WKDAY , -PCF50633_TI_DAY , -PCF50633_TI_MONTH , -PCF50633_TI_YEAR , -PCF50633_TI_EXTENT /* always last */ -}; - -struct pcf50633_time { -u_int8_t time[PCF50633_TI_EXTENT ]; -}; - -struct pcf50633_rtc { -int alarm_enabled; -int alarm_pending; - -struct pcf50633 *pcf; -struct rtc_device *rtc_dev; -}; - -static void pcf2rtc_time (struct rtc_time *rtc,struct pcf50633_time *pcf) -{ - rtc->tm_sec =bcd2bin (pcf->time[PCF50633_TI_SEC ]); - rtc->tm_min =bcd2bin (pcf->time[PCF50633_TI_MIN ]); - rtc->tm_hour =bcd2bin (pcf->time[PCF50633_TI_HOUR ]); - rtc->tm_wday =bcd2bin (pcf->time[PCF50633_TI_WKDAY ]); - rtc->tm_mday =bcd2bin (pcf->time[PCF50633_TI_DAY ]); - rtc->tm_mon =bcd2bin (pcf->time[PCF50633_TI_MONTH ]) -1 ; - rtc->tm_year =bcd2bin (pcf->time[PCF50633_TI_YEAR ]) +100 ; -} - -static void rtc2pcf_time (struct pcf50633_time *pcf,struct rtc_time *rtc) -{ - pcf->time[PCF50633_TI_SEC ] =bin2bcd (rtc->tm_sec); - pcf->time[PCF50633_TI_MIN ] =bin2bcd (rtc->tm_min); - pcf->time[PCF50633_TI_HOUR ] =bin2bcd (rtc->tm_hour); - pcf->time[PCF50633_TI_WKDAY ] =bin2bcd (rtc->tm_wday); - pcf->time[PCF50633_TI_DAY ] =bin2bcd (rtc->tm_mday); - pcf->time[PCF50633_TI_MONTH ] =bin2bcd (rtc->tm_mon +1 ); - pcf->time[PCF50633_TI_YEAR ] =bin2bcd (rtc->tm_year %100 ); -} - -static int -pcf50633_rtc_alarm_irq_enable (struct device *dev,unsigned int enabled) -{ -struct pcf50633_rtc *rtc =dev_get_drvdata (dev); -int err; - -if (enabled) - err =pcf50633_irq_unmask (rtc->pcf,PCF50633_IRQ_ALARM ); -else - err =pcf50633_irq_mask (rtc->pcf,PCF50633_IRQ_ALARM ); - -if (err <0 ) -return err; - - rtc->alarm_enabled = enabled; - -return 0 ; -} - -static int pcf50633_rtc_read_time (struct device *dev,struct rtc_time *tm) -{ -struct pcf50633_rtc *rtc; -struct pcf50633_time pcf_tm; -int ret; - - rtc =dev_get_drvdata (dev); - - ret =pcf50633_read_block (rtc->pcf,PCF50633_REG_RTCSC , -PCF50633_TI_EXTENT , - &pcf_tm.time[0 ]); -if (ret !=PCF50633_TI_EXTENT ) { -dev_err (dev,"Failed to read time\n" ); -return -EIO ; - } - -dev_dbg (dev,"PCF_TIME: %02x.%02x.%02x %02x:%02x:%02x\n" , - pcf_tm.time[PCF50633_TI_DAY ], - pcf_tm.time[PCF50633_TI_MONTH ], - pcf_tm.time[PCF50633_TI_YEAR ], - pcf_tm.time[PCF50633_TI_HOUR ], - pcf_tm.time[PCF50633_TI_MIN ], - pcf_tm.time[PCF50633_TI_SEC ]); - -pcf2rtc_time (tm, &pcf_tm); - -dev_dbg (dev,"RTC_TIME: %ptRr\n" , tm); - -return 0 ; -} - -static int pcf50633_rtc_set_time (struct device *dev,struct rtc_time *tm) -{ -struct pcf50633_rtc *rtc; -struct pcf50633_time pcf_tm; -int alarm_masked, ret =0 ; - - rtc =dev_get_drvdata (dev); - -dev_dbg (dev,"RTC_TIME: %ptRr\n" , tm); - -rtc2pcf_time (&pcf_tm, tm); - -dev_dbg (dev,"PCF_TIME: %02x.%02x.%02x %02x:%02x:%02x\n" , - pcf_tm.time[PCF50633_TI_DAY ], - pcf_tm.time[PCF50633_TI_MONTH ], - pcf_tm.time[PCF50633_TI_YEAR ], - pcf_tm.time[PCF50633_TI_HOUR ], - pcf_tm.time[PCF50633_TI_MIN ], - pcf_tm.time[PCF50633_TI_SEC ]); - - - alarm_masked =pcf50633_irq_mask_get (rtc->pcf,PCF50633_IRQ_ALARM ); - -if (!alarm_masked) -pcf50633_irq_mask (rtc->pcf,PCF50633_IRQ_ALARM ); - -/* Returns 0 on success */ - ret =pcf50633_write_block (rtc->pcf,PCF50633_REG_RTCSC , -PCF50633_TI_EXTENT , - &pcf_tm.time[0 ]); - -if (!alarm_masked) -pcf50633_irq_unmask (rtc->pcf,PCF50633_IRQ_ALARM ); - -return ret; -} - -static int pcf50633_rtc_read_alarm (struct device *dev,struct rtc_wkalrm *alrm) -{ -struct pcf50633_rtc *rtc; -struct pcf50633_time pcf_tm; -int ret =0 ; - - rtc =dev_get_drvdata (dev); - - alrm->enabled = rtc->alarm_enabled; - alrm->pending = rtc->alarm_pending; - - ret =pcf50633_read_block (rtc->pcf,PCF50633_REG_RTCSCA , -PCF50633_TI_EXTENT , &pcf_tm.time[0 ]); -if (ret !=PCF50633_TI_EXTENT ) { -dev_err (dev,"Failed to read time\n" ); -return -EIO ; - } - -pcf2rtc_time (&alrm->time, &pcf_tm); - -return rtc_valid_tm (&alrm->time); -} - -static int pcf50633_rtc_set_alarm (struct device *dev,struct rtc_wkalrm *alrm) -{ -struct pcf50633_rtc *rtc; -struct pcf50633_time pcf_tm; -int alarm_masked, ret =0 ; - - rtc =dev_get_drvdata (dev); - -rtc2pcf_time (&pcf_tm, &alrm->time); - -/* do like mktime does and ignore tm_wday */ - pcf_tm.time[PCF50633_TI_WKDAY ] =7 ; - - alarm_masked =pcf50633_irq_mask_get (rtc->pcf,PCF50633_IRQ_ALARM ); - -/* disable alarm interrupt */ -if (!alarm_masked) -pcf50633_irq_mask (rtc->pcf,PCF50633_IRQ_ALARM ); - -/* Returns 0 on success */ - ret =pcf50633_write_block (rtc->pcf,PCF50633_REG_RTCSCA , -PCF50633_TI_EXTENT , &pcf_tm.time[0 ]); -if (!alrm->enabled) - rtc->alarm_pending =0 ; - -if (!alarm_masked || alrm->enabled) -pcf50633_irq_unmask (rtc->pcf,PCF50633_IRQ_ALARM ); - rtc->alarm_enabled = alrm->enabled; - -return ret; -} - -static const struct rtc_class_ops pcf50633_rtc_ops = { - .read_time = pcf50633_rtc_read_time, - .set_time = pcf50633_rtc_set_time, - .read_alarm = pcf50633_rtc_read_alarm, - .set_alarm = pcf50633_rtc_set_alarm, - .alarm_irq_enable = pcf50633_rtc_alarm_irq_enable, -}; - -static void pcf50633_rtc_irq (int irq,void *data) -{ -struct pcf50633_rtc *rtc = data; - -rtc_update_irq (rtc->rtc_dev,1 ,RTC_AF |RTC_IRQF ); - rtc->alarm_pending =1 ; -} - -static int pcf50633_rtc_probe (struct platform_device *pdev) -{ -struct pcf50633_rtc *rtc; - - rtc =devm_kzalloc (&pdev->dev,sizeof (*rtc),GFP_KERNEL ); -if (!rtc) -return -ENOMEM ; - - rtc->pcf =dev_to_pcf50633 (pdev->dev.parent); -platform_set_drvdata (pdev, rtc); - rtc->rtc_dev =devm_rtc_device_register (&pdev->dev,"pcf50633-rtc" , - &pcf50633_rtc_ops,THIS_MODULE ); - -if (IS_ERR (rtc->rtc_dev)) -return PTR_ERR (rtc->rtc_dev); - -pcf50633_register_irq (rtc->pcf,PCF50633_IRQ_ALARM , - pcf50633_rtc_irq, rtc); -return 0 ; -} - -static void pcf50633_rtc_remove (struct platform_device *pdev) -{ -struct pcf50633_rtc *rtc; - - rtc =platform_get_drvdata (pdev); -pcf50633_free_irq (rtc->pcf,PCF50633_IRQ_ALARM ); -} - -static struct platform_driver pcf50633_rtc_driver = { - .driver = { - .name ="pcf50633-rtc" , - }, - .probe = pcf50633_rtc_probe, - .remove = pcf50633_rtc_remove, -}; - -module_platform_driver (pcf50633_rtc_driver); - -MODULE_DESCRIPTION ("PCF50633 RTC driver" ); -MODULE_AUTHOR ("Balaji Rao <[email protected]>" ); -MODULE_LICENSE ("GPL" ); -include/linux/mfd/pcf50633/core.h +0
-1@@ -146,7 +146,6 @@ struct pcf50633 {int onkey1s_held; -struct platform_device *rtc_pdev;struct platform_device *mbc_pdev;struct platform_device *input_pdev;struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS ];Signature · 1 line
2.48.1
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [PATCH 6/9] regulator: pcf50633-regulator: Remove
In reply to [email protected]Quoted 7 lines · On Sun, Mar 09, 2025 at 07:36:09PM +0000, [email protected] wrote:
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/mfd/pcf50633-core.c | 35 +------ drivers/regulator/Kconfig | 7 -- drivers/regulator/Makefile | 1 - drivers/regulator/pcf50633-regulator.c | 124 ------------------------- include/linux/mfd/pcf50633/core.h | 1 -
Putting MFD changes into the subsystem changes just makes everything harder to apply, please keep things separate unless there's a strong need to keep everything integrated.
Re: [PATCH 5/9] Input: pcf50633-input - Remove
In reply to [email protected]Quoted 11 lines · On Sun, Mar 09, 2025 at 07:36:08PM +0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Please merge with the rest of the changes.
Thanks.
Signature · 1 line
Dmitry
Quoted 6 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")
Quoted 7 lines
See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
I've split this up based on the subcomponents to make the size of each patch sensible.
Both Alexandre and Mark would prefer the mfd changes to be more separate from the subsystem changes, so I'll cook a v2 shortly.
Dave
Quoted 63 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>Dr. David Alan Gilbert (9):
mfd: pcf50633-adc: Remove
backlight: pcf50633-backlight: Remove
rtc: pcf50633: Remove
mfd: pcF50633-gpio: Remove
Input: pcf50633-input - Remove
regulator: pcf50633-regulator: Remove
power: supply: pcf50633: Remove charger
mfd: pcf50633: Remove irq code
mfd: pcf50633: Remove remainsarch/mips/configs/ip27_defconfig | 3 - drivers/input/misc/Kconfig | 7 - drivers/input/misc/Makefile | 1 - drivers/input/misc/pcf50633-input.c | 113 ----- drivers/mfd/Kconfig | 24 - drivers/mfd/Makefile | 4 - drivers/mfd/pcf50633-adc.c | 255 ---------- drivers/mfd/pcf50633-core.c | 304 ------------ drivers/mfd/pcf50633-gpio.c | 92 ---- drivers/mfd/pcf50633-irq.c | 312 ------------- drivers/power/supply/Kconfig | 6 - drivers/power/supply/Makefile | 1 - drivers/power/supply/pcf50633-charger.c | 466 ------------------- drivers/regulator/Kconfig | 7 - drivers/regulator/Makefile | 1 - drivers/regulator/pcf50633-regulator.c | 124 ----- drivers/rtc/Kconfig | 7 - drivers/rtc/Makefile | 1 - drivers/rtc/rtc-pcf50633.c | 284 ----------- drivers/video/backlight/Kconfig | 7 - drivers/video/backlight/Makefile | 1 - drivers/video/backlight/pcf50633-backlight.c | 154 ------ include/linux/mfd/pcf50633/adc.h | 69 --- include/linux/mfd/pcf50633/backlight.h | 42 -- include/linux/mfd/pcf50633/core.h | 232 --------- include/linux/mfd/pcf50633/gpio.h | 48 -- include/linux/mfd/pcf50633/mbc.h | 130 ------ include/linux/mfd/pcf50633/pmic.h | 68 --- 28 files changed, 2763 deletions(-) delete mode 100644 drivers/input/misc/pcf50633-input.c delete mode 100644 drivers/mfd/pcf50633-adc.c delete mode 100644 drivers/mfd/pcf50633-core.c delete mode 100644 drivers/mfd/pcf50633-gpio.c delete mode 100644 drivers/mfd/pcf50633-irq.c delete mode 100644 drivers/power/supply/pcf50633-charger.c delete mode 100644 drivers/regulator/pcf50633-regulator.c delete mode 100644 drivers/rtc/rtc-pcf50633.c delete mode 100644 drivers/video/backlight/pcf50633-backlight.c delete mode 100644 include/linux/mfd/pcf50633/adc.h delete mode 100644 include/linux/mfd/pcf50633/backlight.h delete mode 100644 include/linux/mfd/pcf50633/core.h delete mode 100644 include/linux/mfd/pcf50633/gpio.h delete mode 100644 include/linux/mfd/pcf50633/mbc.h delete mode 100644 include/linux/mfd/pcf50633/pmic.hSignature · 1 line
2.48.1
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 11 lines · * Dr. David Alan Gilbert ([email protected]) wrote:
Quoted 10 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Quoted 7 lines
Quoted 3 lines
I've split this up based on the subcomponents to make the size of each patch sensible.
Both Alexandre and Mark would prefer the mfd changes to be more separate from the subsystem changes, so I'll cook a v2 shortly.
v2 thread starting with message
[email protected]
just posted.
Thanks!
Dave
Quoted 71 lines
Dave
Quoted 63 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>Dr. David Alan Gilbert (9):
mfd: pcf50633-adc: Remove
backlight: pcf50633-backlight: Remove
rtc: pcf50633: Remove
mfd: pcF50633-gpio: Remove
Input: pcf50633-input - Remove
regulator: pcf50633-regulator: Remove
power: supply: pcf50633: Remove charger
mfd: pcf50633: Remove irq code
mfd: pcf50633: Remove remainsarch/mips/configs/ip27_defconfig | 3 - drivers/input/misc/Kconfig | 7 - drivers/input/misc/Makefile | 1 - drivers/input/misc/pcf50633-input.c | 113 ----- drivers/mfd/Kconfig | 24 - drivers/mfd/Makefile | 4 - drivers/mfd/pcf50633-adc.c | 255 ---------- drivers/mfd/pcf50633-core.c | 304 ------------ drivers/mfd/pcf50633-gpio.c | 92 ---- drivers/mfd/pcf50633-irq.c | 312 ------------- drivers/power/supply/Kconfig | 6 - drivers/power/supply/Makefile | 1 - drivers/power/supply/pcf50633-charger.c | 466 ------------------- drivers/regulator/Kconfig | 7 - drivers/regulator/Makefile | 1 - drivers/regulator/pcf50633-regulator.c | 124 ----- drivers/rtc/Kconfig | 7 - drivers/rtc/Makefile | 1 - drivers/rtc/rtc-pcf50633.c | 284 ----------- drivers/video/backlight/Kconfig | 7 - drivers/video/backlight/Makefile | 1 - drivers/video/backlight/pcf50633-backlight.c | 154 ------ include/linux/mfd/pcf50633/adc.h | 69 --- include/linux/mfd/pcf50633/backlight.h | 42 -- include/linux/mfd/pcf50633/core.h | 232 --------- include/linux/mfd/pcf50633/gpio.h | 48 -- include/linux/mfd/pcf50633/mbc.h | 130 ------ include/linux/mfd/pcf50633/pmic.h | 68 --- 28 files changed, 2763 deletions(-) delete mode 100644 drivers/input/misc/pcf50633-input.c delete mode 100644 drivers/mfd/pcf50633-adc.c delete mode 100644 drivers/mfd/pcf50633-core.c delete mode 100644 drivers/mfd/pcf50633-gpio.c delete mode 100644 drivers/mfd/pcf50633-irq.c delete mode 100644 drivers/power/supply/pcf50633-charger.c delete mode 100644 drivers/regulator/pcf50633-regulator.c delete mode 100644 drivers/rtc/rtc-pcf50633.c delete mode 100644 drivers/video/backlight/pcf50633-backlight.c delete mode 100644 include/linux/mfd/pcf50633/adc.h delete mode 100644 include/linux/mfd/pcf50633/backlight.h delete mode 100644 include/linux/mfd/pcf50633/core.h delete mode 100644 include/linux/mfd/pcf50633/gpio.h delete mode 100644 include/linux/mfd/pcf50633/mbc.h delete mode 100644 include/linux/mfd/pcf50633/pmic.hSignature · 1 line
2.48.1Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Mark Brown
maintainerRe: (subset) [PATCH 0/9] Remove pcf50633
In reply to [email protected]Quoted 9 lines · On Sun, 09 Mar 2025 19:36:03 +0000, [email protected] wrote:
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[6/9] regulator: pcf50633-regulator: Remove
commit: 248bc01138b11ff3af38c3b4a39cb8db7aae6eb6
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Re: (subset) [PATCH 0/9] Remove pcf50633
Quoted 11 lines · * Mark Brown ([email protected]) wrote:
Quoted 9 lines · On Sun, 09 Mar 2025 19:36:03 +0000, [email protected] wrote:
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
[...]
Quoted 8 lines
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[6/9] regulator: pcf50633-regulator: Remove
commit: 248bc01138b11ff3af38c3b4a39cb8db7aae6eb6
Thanks!
Although....I'd only tested this as part of the series and assumed someone (Lee?) would pick the lot up in one go.
Dave
Quoted 20 lines
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Mark Brown
maintainerRe: (subset) [PATCH 0/9] Remove pcf50633
Quoted 8 lines · Dr. David Alan Gilbert
Quoted 2 lines · * Mark Brown ([email protected]) wrote:
[6/9] regulator: pcf50633-regulator: Remove
commit: 248bc01138b11ff3af38c3b4a39cb8db7aae6eb6Thanks!
Although....I'd only tested this as part of the series and assumed someone (Lee?) would pick the lot up in one go.
I test things as I apply them, it really shouldn't make a difference either way for leaf drivers. From my PoV this way it cuts down on resends.
Re: [PATCH 4/9] mfd: pcF50633-gpio: Remove
In reply to [email protected]Quoted 11 lines · On Sun, Mar 9, 2025 at 8:36 PM <[email protected]> wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in:
commit61b7f8920b17("ARM: s3c: remove all s3c24xx support")See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Yours,
Linus Walleij