From mboxrd@z Thu Jan 1 00:00:00 1970 From: jbrunet@baylibre.com (Jerome Brunet) Date: Thu, 8 Jun 2017 14:24:13 +0200 Subject: [PATCH v2 0/3] pwm: add pwm AO on meson gx Message-ID: <20170608122416.1993-1-jbrunet@baylibre.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org 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 at 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