Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752295AbbKPI5E (ORCPT ); Mon, 16 Nov 2015 03:57:04 -0500 Received: from down.free-electrons.com ([37.187.137.238]:34519 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750911AbbKPI4y (ORCPT ); Mon, 16 Nov 2015 03:56:54 -0500 From: Boris Brezillon To: Thierry Reding , linux-pwm@vger.kernel.org Cc: Mike Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Mark Brown , Liam Girdwood , Kamil Debski , lm-sensors@lm-sensors.org, Jean Delvare , Guenter Roeck , Dmitry Torokhov , linux-input@vger.kernel.org, Bryan Wu , Richard Purdie , Jacek Anaszewski , linux-leds@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com, Joachim Eastwood , Thomas Petazzoni , Heiko Stuebner , linux-rockchip@lists.infradead.org, Jingoo Han , Lee Jones , linux-fbdev@vger.kernel.org, Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Robert Jarzmik , Alexandre Belloni , Julia Lawall , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Boris Brezillon Subject: [PATCH v4 00/24] pwm: add support for atomic update Date: Mon, 16 Nov 2015 09:56:23 +0100 Message-Id: <1447664207-24370-1-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3459 Lines: 87 Hello, This series adds support for atomic PWM update, or IOW, the capability to update all the parameters of a PWM device (enabled/disabled, period, duty and polarity) in one go. Best Regards, Boris Changes since v3: - rebased on pwm/for-next after pulling 4.4-rc1 - replace direct access to pwm fields by pwm_get/set_xxx() helpers, thus fixing some build errors - split changes to allow each maintainer to review/ack or take the modification through its subsystem Changes since v2: - rebased on top of 4.3-rc2 - reintroduced pwm-regulator patches Changes since v1: - dropped applied patches - squashed Heiko's fixes into the rockchip driver changes - made a few cosmetic changes - added kerneldoc comments - added Heiko's patch to display more information in debugfs - dropped pwm-regulator patches (should be submitted separately) Boris Brezillon (23): pwm: rcar: make use of pwm_is_enabled() pwm: use pwm_get_xxx() helpers where appropriate clk: pwm: use pwm_get_xxx() helpers where appropriate hwmon: pwm-fan: use pwm_get_xxx() helpers where appropriate misc: max77693-haptic: use pwm_get_xxx() helpers where appropriate pwm: introduce default period and polarity concepts pwm: use pwm_get/set_default_xxx() helpers where appropriate leds: pwm: use pwm_get/set_default_xxx() helpers where appropriate regulator: pwm: use pwm_get/set_default_xxx() helpers where appropriate backlight: pwm: use pwm_get/set_default_xxx() helpers where appropriate fbdev: use pwm_get/set_default_xxx() helpers where appropriate misc: max77693: use pwm_get/set_default_xxx() helpers where appropriate hwmon: pwm-fan: use pwm_get/set_default_xxx() helpers where appropriate clk: pwm: use pwm_get/set_default_xxx() helpers where appropriate pwm: define a new pwm_state struct pwm: move the enabled/disabled info to pwm_state struct backlight: pwm_bl: remove useless call to pwm_set_period pwm: declare a default PWM state pwm: add the PWM initial state retrieval infra pwm: add the core infrastructure to allow atomic update pwm: rockchip: add initial state retrieval pwm: rockchip: add support for atomic update regulator: pwm: properly initialize the ->state field Heiko Stübner (1): pwm: add information about polarity, duty cycle and period to debugfs drivers/clk/clk-pwm.c | 11 +-- drivers/hwmon/pwm-fan.c | 16 ++-- drivers/input/misc/max77693-haptic.c | 9 +- drivers/leds/leds-pwm.c | 2 +- drivers/pwm/core.c | 169 +++++++++++++++++++++++++++++++---- drivers/pwm/pwm-crc.c | 2 +- drivers/pwm/pwm-lpc18xx-sct.c | 2 +- drivers/pwm/pwm-pxa.c | 2 +- drivers/pwm/pwm-rcar.c | 2 +- drivers/pwm/pwm-rockchip.c | 119 +++++++++++++++++++----- drivers/pwm/pwm-sun4i.c | 3 +- drivers/regulator/pwm-regulator.c | 30 ++++++- drivers/video/backlight/lm3630a_bl.c | 4 +- drivers/video/backlight/pwm_bl.c | 10 ++- drivers/video/fbdev/ssd1307fb.c | 2 +- include/linux/pwm.h | 89 +++++++++++++++--- 16 files changed, 386 insertions(+), 86 deletions(-) -- 2.1.4 -- 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/