[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <166456772354.777288.8174901492888529492.robh@kernel.org>
Date: Fri, 30 Sep 2022 14:55:24 -0500
From: Rob Herring <robh@...nel.org>
To: Johan Jonker <jbx6244@...il.com>
Cc: linux-pwm@...r.kernel.org, thierry.reding@...il.com,
linux-rockchip@...ts.infradead.org, u.kleine-koenig@...gutronix.de,
krzysztof.kozlowski+dt@...aro.org, wxt@...k-chips.com,
linux-kernel@...r.kernel.org, heiko@...ech.de, robh+dt@...nel.org,
devicetree@...r.kernel.org, kever.yang@...k-chips.com,
sebastian.reichel@...labora.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [RFC PATCH v1 1/2] dt-bindings: pwm: rockchip: add interrupts
property
On Thu, 29 Sep 2022 16:04:00 +0200, Johan Jonker wrote:
> The Rockchip SoCs have 4 or more built-in PWM channels.
>
> Configurable to operate in capture mode.
> Measures the high/low polarity effective cycles of this input waveform
> Generates a single interrupt at the transition of input waveform polarity
>
> Configurable to operate in continuous mode or one-shot mode.
> One-shot operation will produce N + 1 periods of the waveform,
> where N is the repeat counter value, and generates a single interrupt at
> the end of operation.
> Continuous mode generates the waveform continuously and
> do not generates any interrupts.
>
> Older SoCs have an interrupt for each node.
> Newer models share an interrupt.
>
> Add interrupts property to the pwm-rockchip.yaml file.
> DT describes hardware. Rockchip PWM driver support for
> interrupts might not available.
>
> Signed-off-by: Johan Jonker <jbx6244@...il.com>
> ---
> Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists