Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751605AbdHPKty (ORCPT ); Wed, 16 Aug 2017 06:49:54 -0400 Received: from lucky1.263xmail.com ([211.157.147.134]:43218 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbdHPKtw (ORCPT ); Wed, 16 Aug 2017 06:49:52 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: david.wu@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: david.wu@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH v3 0/7] Add rk3328 pwm support 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 References: <1502206715-24174-1-git-send-email-david.wu@rock-chips.com> From: "David.Wu" Message-ID: <89a895fd-d905-6a5b-c697-8e43ecc55e73@rock-chips.com> Date: Wed, 16 Aug 2017 18:49:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1502206715-24174-1-git-send-email-david.wu@rock-chips.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1204 Lines: 27 Hi Thierry, For the PWM patches, whether we let the first patch land in, that is PWM APB and function clocks are different in rk3328 and rv1108 SOCs. If the first patch was merged before 4.14, it will guarantee that the PWM is working, and the lock function you might review it later. ?? 2017/8/8 23:38, David Wu ะด??: > There are two features of rk3328 pwm module. > - PWM APB and function clocks are different. > - Add pwm atomic hardware update > > David Wu (7): > pwm: rockchip: Add APB and function both clocks support > pwm: rockchip: Remove the judge from return value of pwm_config > pwm: rockchip: Use pwm_apply instead of the pwm_enable > pwm: rockchip: Move the configuration of polarity from > rockchip_pwm_set_enable() to rockchip_pwm_config() > pwm: rockchip: Use same pwm ops for each IP > pwm: rockchip: Add rk3328 pwm support > arm64: dts: rockchip: Add pwm nodes for rk3328 > > .../devicetree/bindings/pwm/pwm-rockchip.txt | 8 +- > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 45 ++++ > drivers/pwm/pwm-rockchip.c | 281 +++++++++++---------- > 3 files changed, 199 insertions(+), 135 deletions(-) >