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

power: reset: st-poweroff: Remove obsolete platforms.

This patch removes support for STiH415/6 SoC's from the
st-poweroff driver, as support for these platforms is
being removed from the kernel.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: <linux-pm@vger.kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Peter Griffin and committed by
Sebastian Reichel
8ad5d85e 7531be5c

-41
-41
drivers/power/reset/st-poweroff.c
··· 28 28 unsigned int mask_rst_msk; 29 29 }; 30 30 31 - /* STiH415 */ 32 - #define STIH415_SYSCFG_11 0x2c 33 - #define STIH415_SYSCFG_15 0x3c 34 - 35 - static struct reset_syscfg stih415_reset = { 36 - .offset_rst = STIH415_SYSCFG_11, 37 - .mask_rst = BIT(0), 38 - .offset_rst_msk = STIH415_SYSCFG_15, 39 - .mask_rst_msk = BIT(0) 40 - }; 41 - 42 - /* STiH416 */ 43 - #define STIH416_SYSCFG_500 0x7d0 44 - #define STIH416_SYSCFG_504 0x7e0 45 - 46 - static struct reset_syscfg stih416_reset = { 47 - .offset_rst = STIH416_SYSCFG_500, 48 - .mask_rst = BIT(0), 49 - .offset_rst_msk = STIH416_SYSCFG_504, 50 - .mask_rst_msk = BIT(0) 51 - }; 52 - 53 31 /* STiH407 */ 54 32 #define STIH407_SYSCFG_4000 0x0 55 33 #define STIH407_SYSCFG_4008 0x20 ··· 39 61 .mask_rst_msk = BIT(0) 40 62 }; 41 63 42 - /* STiD127 */ 43 - #define STID127_SYSCFG_700 0x0 44 - #define STID127_SYSCFG_773 0x124 45 - 46 - static struct reset_syscfg stid127_reset = { 47 - .offset_rst = STID127_SYSCFG_773, 48 - .mask_rst = BIT(0), 49 - .offset_rst_msk = STID127_SYSCFG_700, 50 - .mask_rst_msk = BIT(8) 51 - }; 52 64 53 65 static struct reset_syscfg *st_restart_syscfg; 54 66 ··· 67 99 68 100 static const struct of_device_id st_reset_of_match[] = { 69 101 { 70 - .compatible = "st,stih415-restart", 71 - .data = (void *)&stih415_reset, 72 - }, { 73 - .compatible = "st,stih416-restart", 74 - .data = (void *)&stih416_reset, 75 - }, { 76 102 .compatible = "st,stih407-restart", 77 103 .data = (void *)&stih407_reset, 78 - }, { 79 - .compatible = "st,stid127-restart", 80 - .data = (void *)&stid127_reset, 81 104 }, 82 105 {} 83 106 };