From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751041AbdE3TcZ (ORCPT ); Tue, 30 May 2017 15:32:25 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:58878 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750979AbdE3TcX (ORCPT ); Tue, 30 May 2017 15:32:23 -0400 From: Alexandre Belloni To: Thierry Reding , Olliver Schinagl Cc: Maxime Ripard , Chen-Yu Tsai , Boris Brezillon , Jonathan Liu , linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH v2 0/3] pwm: sun4i: switch to atomic PWM Date: Tue, 30 May 2017 21:32:06 +0200 Message-Id: <20170530193209.19247-1-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch to atomic PWM. The main goal is to properly wait for a period before disabling a channel to ensure the correct level is set on the output. Changes in v2: - fixed remaining checkpatch warnings - split the series to ease reviews - changed the delay handling to ensure the proper amount of time has elapsed before disabling a channel - dropped RDY bit handling as it doesn't have any real effect. Alexandre Belloni (3): pwm: sun4i: improve hardware read out pwm: sun4i: switch to atomic PWM pwm: sun4i: drop legacy callbacks drivers/pwm/pwm-sun4i.c | 263 +++++++++++++++++++++++++++--------------------- 1 file changed, 148 insertions(+), 115 deletions(-) -- 2.11.0