[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241007193203.1753326-1-gnstark@salutedevices.com>
Date: Mon, 7 Oct 2024 22:32:00 +0300
From: George Stark <gnstark@...utedevices.com>
To: <u.kleine-koenig@...gutronix.de>, <neil.armstrong@...aro.org>,
<khilman@...libre.com>, <jbrunet@...libre.com>,
<martin.blumenstingl@...glemail.com>
CC: <linux-pwm@...r.kernel.org>, <linux-amlogic@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<kernel@...utedevices.com>, George Stark <gnstark@...utedevices.com>
Subject: [PATCH 0/3] pwm: meson: Support constant and polarity bits
This patch series add suppot for amlogic's newer PWM IPs hardware features:
constant and polarity bits.
Using polarity bit for inverting output signal allows to identify inversion
in .get_state() callback which can only rely on data read from registers.
Using constant bit allows to have steady output level when duty sycle is zero or
equal to period. Without this bit there will always be single-clock spikes on output.
Those bits are supported in axg, g12 and newer SoC familes like s4, a1 etc.
Tested on g12, a1.
George Stark (3):
pwm: meson: Support constant and polarity bits
pwm: meson: Use separate chip data struct for g12a-ee-pwm
pwm: meson: Enable constant and polarity features for g12, axg, s4
drivers/pwm/pwm-meson.c | 94 ++++++++++++++++++++++++++++++++++++++---
1 file changed, 87 insertions(+), 7 deletions(-)
--
2.25.1
Powered by blists - more mailing lists