Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752921AbdF2MY3 (ORCPT ); Thu, 29 Jun 2017 08:24:29 -0400 Received: from lucky1.263xmail.com ([211.157.147.132]:57832 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893AbdF2MYU (ORCPT ); Thu, 29 Jun 2017 08:24:20 -0400 X-263anti-spam: X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-ABS-CHECKED: 4 X-RL-SENDER: david.wu@rock-chips.com X-FST-TO: thierry.reding@gmail.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: david.wu@rock-chips.com X-UNIQUE-TAG: <055e27b887cf1166f3bc6475cdc6c1e8> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: David Wu To: thierry.reding@gmail.com, heiko@sntech.de, boris.brezillon@free-electrons.com, robh+dt@kernel.org Cc: catalin.marinas@arm.com, briannorris@chromium.org, dianders@chromium.org, mark.rutland@arm.com, huangtao@rock-chips.com, linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Wu Subject: [PATCH 0/5] Add rk3328 pwm support Date: Thu, 29 Jun 2017 20:27:46 +0800 Message-Id: <1498739271-27431-1-git-send-email-david.wu@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 20 There are two features of rk3328 pwm module. - PWM APB and function clocks are different. - Add pwm atomic hardware update David Wu (5): pwm: rockchip: Add APB and function both clocks support pwm: rockchip: Remove the judge from return value of pwm_config pwm: rockchip: Move the configuration of polarity from pwm_enable() to pwm_config() pwm: rockchip: Add atomic updated feature for rk3328 Arm64: dts: rockchip: Add pwm nodes for rk3328 .../devicetree/bindings/pwm/pwm-rockchip.txt | 9 +- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 45 +++++ drivers/pwm/pwm-rockchip.c | 184 ++++++++++++++++----- 3 files changed, 197 insertions(+), 41 deletions(-) -- 1.9.1