Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbdFHMYY (ORCPT ); Thu, 8 Jun 2017 08:24:24 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:35979 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbdFHMYV (ORCPT ); Thu, 8 Jun 2017 08:24:21 -0400 From: Jerome Brunet To: Thierry Reding , Kevin Hilman , Neil Armstrong Cc: Jerome Brunet , Carlo Caione , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] pwm: add pwm AO on meson gx Date: Thu, 8 Jun 2017 14:24:13 +0200 Message-Id: <20170608122416.1993-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 25 The pwms found in the AO domain of the meson gx family have different clock sources than the ones found in the EE domain. The AO pwms only have 2 connected clock input which are clk81 and the crytal. This patchset adds the necessary compatible and the clock data for it. Changes since v1: [0] * Correct clock source order for gxbb pwm ao. Documenation shows xtal as source #1 while it is actually source #0 * Add patch 3 to fix pwm calculation. Issue while testing pwm with clk81 as clock source. [0]: https://lkml.kernel.org/r/20170607133013.4766-1-jbrunet@baylibre.com Jerome Brunet (3): dt-bindings: pwm: meson: add comptabible for gxbb ao pwms pwm: meson: add compatible for the gxbb ao pwms pwm: meson: improve pwm calculation precision. .../devicetree/bindings/pwm/pwm-meson.txt | 4 +- drivers/pwm/pwm-meson.c | 47 +++++++++++++++++----- 2 files changed, 41 insertions(+), 10 deletions(-) -- 2.9.4