Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752271AbaBJBH2 (ORCPT ); Sun, 9 Feb 2014 20:07:28 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:20852 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179AbaBJBH0 (ORCPT ); Sun, 9 Feb 2014 20:07:26 -0500 X-AuditID: cbfee68e-b7f566d000002344-ed-52f826491427 Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and wrapped. From: Jingoo Han To: "'Arnd Bergmann'" , "'Ralf Baechle'" , "'Dmitry Torokhov'" , "'Thierry Reding'" Cc: "'Linus Walleij'" , "'Russell King - ARM Linux'" , "'Eric Miao'" , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, linux-input@vger.kernel.org, linux-pwm@vger.kernel.org, "'Jingoo Han'" Subject: [PATCH 0/7] Remove HAVE_PWM config option Date: Mon, 10 Feb 2014 10:07:20 +0900 Message-id: <003901cf25fc$73002790$590076b0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac8l/GYGhOsBgXmsQoSPhLhnprg0iA== Content-language: ko x-cr-hashedpuzzle: N9PW OlII XFJ4 oRAv sjHo slBk 2arq 3t8d 8wT5 ADKMxQ== ADgiZA== AE6eSg== AG1Pww== AIArWg== ALQi3Q== ATF6kw==;13;YQByAG4AZABAAGEAcgBuAGQAYgAuAGQAZQA7AGQAbQBpAHQAcgB5AC4AdABvAHIAbwBrAGgAbwB2AEAAZwBtAGEAaQBsAC4AYwBvAG0AOwBlAHIAaQBjAC4AeQAuAG0AaQBhAG8AQABnAG0AYQBpAGwALgBjAG8AbQA7AGoAZwAxAC4AaABhAG4AQABzAGEAbQBzAHUAbgBnAC4AYwBvAG0AOwBsAGkAbgB1AHMALgB3AGEAbABsAGUAaQBqAEAA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xkr2BsaPPF2MnBwSAiYS B24tYYWwxSQu3FvP1sXIxSEkMJ1R4uSnpcwQzi9GiQmrdrKBVAkL+Ek0zZnEDGKzCahJfPly mB2kSERgJaPEk5dXwdqZBc4ySey/f5EJosNI4tDaJiCbg4NFQFXi7dYckDCvgK3E+Uc9jBC2 oMSPyfdYQGxmAS2J9TuPM0HY8hKb17xlBmmVEFCXePRXFyQsIqAnsbDzLjtEiYjEvhfvGCE+ uMMpseaKDYRtKnH9VifzBEbhWUg2zEKyYRaSDbOQjFrAyLKKUTS1ILmgOCk910ivODG3uDQv XS85P3cTIzgRPZPewbiqweIQowAHoxIP744/34OEWBPLiitzDzFKcDArifC+vAsU4k1JrKxK LcqPLyrNSS0+xJgM9P9EZinR5HxgkswriTc0NjEzsjQyszAyMTcnTVhJnPdgq3WgkEB6Yklq dmpqQWoRzBYmDk6pBsaNEmIPBYtvtcYlO7ilaogH9f9R7IsNVpcxnLtrp8fL+44vTpxpeHki 4oOtQIxk0/cej0712hNy3nl7E+3K2t8kGu5xepM0R0mfv9n7zA69epus8tsOZeJBlv68x5ir a6qmMig92/B1+a71f+um/l/S/Vs1TFDASif14K+ZO0xs0uMlDI+HKrEUZyQaajEXFScCAITD q+iIAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HAVE_PWM symbol is only for legacy platforms that provide the PWM API without using the generic framework, while PWM symbol is used for PWM drivers using the generic PWM framework. I looked at all HAVE_PWMs in the latest mainline kernel 3.14-rc1. Three platforms are still using HAVE_PWM as below: 1. ARM - PXA ./arch/arm/mach-pxa/Kconfig 2. ARM - NXP LPC32XX ./arch/arm/Kconfig config ARCH_LPC32XX select HAVE_PWM 3. MIPS - Ingenic JZ4740 based machines ./arch/mips/Kconfig config MACH_JZ4740 select HAVE_PWM However, the legacy PWM drivers for PXA, LPC32XX, and JZ474 were already moved to the generic PWM framework. ./drivers/pwm/pwm-pxa.c ./drivers/pwm/pwm-lpc32xx.c ./drivers/pwm/pwm-jz4740.c In conclusion, HAVE_PWM should be removed, because HAVE_PWM is NOT required anymore. Jingoo Han (7): ARM: pxa: don't select HAVE_PWM ARM: lpc32xx: don't select HAVE_PWM ARM: remove HAVE_PWM config option MIPS: jz4740: don't select HAVE_PWM Input: max8997_haptic: remove HAVE_PWM dependencies Input: pwm-beepe: remove HAVE_PWM dependencies pwm: don't use IS_ENABLED(CONFIG_HAVE_PWM) arch/arm/Kconfig | 4 ---- arch/arm/mach-pxa/Kconfig | 15 --------------- arch/mips/Kconfig | 1 - drivers/input/misc/Kconfig | 4 ++-- include/linux/pwm.h | 2 +- 5 files changed, 3 insertions(+), 23 deletions(-) I would like to merge these patches as below: 1. Through arm-soc tree [PATCH 1/7] ARM: pxa: don't select HAVE_PWM [PATCH 2/7] ARM: lpc32xx: don't select HAVE_PWM [PATCH 3/7] ARM: remove HAVE_PWM config option 2. Through MIPS tree [PATCH 4/7] MIPS: jz4740: don't select HAVE_PWM 3. Through Input tree [PATCH 5/7] Input: max8997_haptic: remove HAVE_PWM dependencies [PATCH 6/7] Input: pwm-beepe: remove HAVE_PWM dependencies 4. Through PWM tree [PATCH 7/7] pwm: don't use IS_ENABLED(CONFIG_HAVE_PWM) After merging these patches, all HAVE_PWM will be removed from the mainline kernel. Thank you. :-) Best regards, Jingoo Han -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/