From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org,
"Paul Barker" <pbarker@konsulko.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
"Igor Opaniuk" <igor.opaniuk@toradex.com>,
"Philippe Schenker" <philippe.schenker@toradex.com>,
"Rob Herring" <robh+dt@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 4/7] dt-bindings: pwm: add description of PWM polarity
Date: Wed, 18 Mar 2020 14:29:42 +0200 [thread overview]
Message-ID: <20200318122942.GA7833@pendragon.ideasonboard.com> (raw)
In-Reply-To: <CAGgjyvEneCwFM8_tnKfNprqw2qkL_94rpsGF=ZgW-m75JBvegw@mail.gmail.com>
Hi Oleksandr,
On Wed, Mar 18, 2020 at 01:37:00PM +0200, Oleksandr Suvorov wrote:
> On Wed, Mar 18, 2020 at 1:02 AM Laurent Pinchart wrote:
> > On Tue, Mar 17, 2020 at 02:32:28PM +0200, Oleksandr Suvorov wrote:
> > > Move the description of the PWM signal polarity from
> > > <linux/pwm.h>, prepare for removing the polarity
> > > definition from <linux/pwm.h>.
> > >
> > > Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
> > > ---
> > >
> > > include/dt-bindings/pwm/pwm.h | 9 +++++++++
> > > 1 file changed, 9 insertions(+)
> > >
> > > diff --git a/include/dt-bindings/pwm/pwm.h b/include/dt-bindings/pwm/pwm.h
> > > index 6b58caa6385e..c07da2088a61 100644
> > > --- a/include/dt-bindings/pwm/pwm.h
> > > +++ b/include/dt-bindings/pwm/pwm.h
> > > @@ -10,7 +10,16 @@
> > > #ifndef _DT_BINDINGS_PWM_PWM_H
> > > #define _DT_BINDINGS_PWM_PWM_H
> > >
> > > +/**
> > > + * a high signal for the duration of the duty-cycle, followed by a low signal
> > > + * for the remainder of the pulse period.
> > > + */
> >
> > Last time I checked, kernedoc didn't support documenting macros (enums
> > are supported).
>
> That's why I dropped the kerneldoc tags leaving the descriptions only.
But you forgot to replace /** with /* :-) Sorry for not being clear
about what I meant.
> > > #define PWM_POLARITY_NORMAL 0
> > > +
> > > +/**
> > > + * a low signal for the duration of the duty-cycle, followed by a high signal
> > > + * for the remainder of the pulse period.
> > > + */
> > > #define PWM_POLARITY_INVERTED (1 << 0)
> > >
> > > #endif
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2020-03-18 12:29 UTC|newest]
Thread overview: 134+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-17 12:32 [RFC PATCH 0/7] Rework PWM_POLARITY_* flags Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` [RFC PATCH 1/7] pwm: rename the PWM_POLARITY_INVERSED enum Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 13:34 ` Paul Barker
2020-03-17 13:34 ` Paul Barker
2020-03-17 13:34 ` Paul Barker
2020-03-17 13:34 ` Paul Barker
2020-03-17 13:34 ` Paul Barker
2020-03-17 21:32 ` Uwe Kleine-König
2020-03-17 21:32 ` Uwe Kleine-König
2020-03-17 21:32 ` Uwe Kleine-König
2020-03-17 21:32 ` Uwe Kleine-König
2020-03-17 21:32 ` Uwe Kleine-König
2020-03-17 16:26 ` Claudiu.Beznea
2020-03-17 16:26 ` Claudiu.Beznea
2020-03-17 16:26 ` Claudiu.Beznea
2020-03-17 16:26 ` Claudiu.Beznea
2020-03-17 16:26 ` Claudiu.Beznea-UWL1GkI3JZL3oGB3hsPCZA
2020-03-17 16:39 ` Oleksandr Suvorov
2020-03-17 16:39 ` Oleksandr Suvorov
2020-03-17 16:39 ` Oleksandr Suvorov
2020-03-17 16:39 ` Oleksandr Suvorov
2020-03-17 16:39 ` Oleksandr Suvorov
2020-03-17 17:40 ` Thierry Reding
2020-03-17 17:40 ` Thierry Reding
2020-03-17 17:40 ` Thierry Reding
2020-03-17 17:40 ` Thierry Reding
2020-03-17 17:40 ` Thierry Reding
2020-03-17 21:00 ` Uwe Kleine-König
2020-03-17 21:00 ` Uwe Kleine-König
2020-03-17 21:00 ` Uwe Kleine-König
2020-03-17 21:00 ` Uwe Kleine-König
2020-03-17 21:00 ` Uwe Kleine-König
2020-03-18 22:59 ` Thierry Reding
2020-03-18 22:59 ` Thierry Reding
2020-03-18 22:59 ` Thierry Reding
2020-03-18 22:59 ` Thierry Reding
2020-03-18 22:59 ` Thierry Reding
2020-03-19 6:50 ` Uwe Kleine-König
2020-03-19 6:50 ` Uwe Kleine-König
2020-03-19 6:50 ` Uwe Kleine-König
2020-03-19 6:50 ` Uwe Kleine-König
2020-03-19 6:50 ` Uwe Kleine-König
2020-03-19 16:37 ` Thierry Reding
2020-03-19 16:37 ` Thierry Reding
2020-03-19 16:37 ` Thierry Reding
2020-03-19 16:37 ` Thierry Reding
2020-03-19 16:37 ` Thierry Reding
2020-03-19 17:30 ` Uwe Kleine-König
2020-03-19 17:30 ` Uwe Kleine-König
2020-03-19 17:30 ` Uwe Kleine-König
2020-03-19 17:30 ` Uwe Kleine-König
2020-03-19 17:30 ` Uwe Kleine-König
2020-03-19 11:40 ` Oleksandr Suvorov
2020-03-19 11:40 ` Oleksandr Suvorov
2020-03-19 11:40 ` Oleksandr Suvorov
2020-03-19 11:40 ` Oleksandr Suvorov
2020-03-19 11:40 ` Oleksandr Suvorov
2020-03-19 12:10 ` Uwe Kleine-König
2020-03-19 12:10 ` Uwe Kleine-König
2020-03-19 12:10 ` Uwe Kleine-König
2020-03-19 12:10 ` Uwe Kleine-König
2020-03-19 12:10 ` Uwe Kleine-König
2020-03-19 12:57 ` Oleksandr Suvorov
2020-03-19 12:57 ` Oleksandr Suvorov
2020-03-19 12:57 ` Oleksandr Suvorov
2020-03-19 12:57 ` Oleksandr Suvorov
2020-03-19 12:57 ` Oleksandr Suvorov
2020-03-19 16:44 ` Thierry Reding
2020-03-19 16:44 ` Thierry Reding
2020-03-19 16:44 ` Thierry Reding
2020-03-19 16:44 ` Thierry Reding
2020-03-19 16:44 ` Thierry Reding
2020-03-18 11:47 ` Oleksandr Suvorov
2020-03-18 11:47 ` Oleksandr Suvorov
2020-03-18 11:47 ` Oleksandr Suvorov
2020-03-18 11:47 ` Oleksandr Suvorov
2020-03-18 11:47 ` Oleksandr Suvorov
2020-03-17 12:32 ` [RFC PATCH 2/7] dt-bindings: pwm: document the PWM polarity flag Oleksandr Suvorov
[not found] ` <20200317123231.2843297-3-oleksandr.suvorov-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2020-03-17 17:43 ` Thierry Reding
2020-03-17 17:43 ` Thierry Reding
2020-03-17 21:30 ` Uwe Kleine-König
2020-03-17 21:30 ` Uwe Kleine-König
2020-03-18 23:05 ` Thierry Reding
2020-03-19 7:05 ` Uwe Kleine-König
2020-03-19 7:05 ` Uwe Kleine-König
[not found] ` <20200319070510.gc6hr53gn7n2osvb-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2020-03-19 17:04 ` Thierry Reding
2020-03-19 17:04 ` Thierry Reding
2020-03-30 21:00 ` Rob Herring
[not found] ` <20200317213056.futfiwn4qgr2njye-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2020-03-18 23:19 ` Thierry Reding
2020-03-18 23:19 ` Thierry Reding
2020-03-17 22:58 ` Laurent Pinchart
2020-03-17 12:32 ` [RFC PATCH 3/7] dt-bindings: pwm: add normal " Oleksandr Suvorov
[not found] ` <20200317123231.2843297-4-oleksandr.suvorov-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2020-03-17 13:36 ` Paul Barker
2020-03-17 13:36 ` Paul Barker
2020-03-17 14:06 ` Oleksandr Suvorov
2020-03-17 21:36 ` Uwe Kleine-König
2020-03-17 21:36 ` Uwe Kleine-König
2020-03-17 22:56 ` Laurent Pinchart
2020-03-18 9:20 ` Uwe Kleine-König
[not found] ` <20200317123231.2843297-1-oleksandr.suvorov-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2020-03-17 12:32 ` [RFC PATCH 4/7] dt-bindings: pwm: add description of PWM polarity Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 23:01 ` Laurent Pinchart
2020-03-18 11:37 ` Oleksandr Suvorov
2020-03-18 12:29 ` Laurent Pinchart [this message]
[not found] ` <20200318122942.GA7833-N3hz7ZxfLydczECFQUw77jytWr6r+dGw0E9HWUfgJXw@public.gmane.org>
2020-03-18 12:36 ` Oleksandr Suvorov
2020-03-18 12:36 ` Oleksandr Suvorov
2020-03-17 12:32 ` [RFC PATCH 5/7] pwm: replace polarity enum with macros Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` [RFC PATCH 6/7] arm64: dts: pwm: replace polarity constant with macro Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-20 10:03 ` Krzysztof Kozlowski
2020-03-20 10:03 ` Krzysztof Kozlowski
2020-03-20 10:03 ` Krzysztof Kozlowski
2020-03-20 10:03 ` Krzysztof Kozlowski
2020-03-17 12:32 ` [RFC PATCH 7/7] arm: " Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-17 12:32 ` Oleksandr Suvorov
2020-03-20 10:02 ` Krzysztof Kozlowski
2020-03-20 10:02 ` Krzysztof Kozlowski
2020-03-20 10:02 ` Krzysztof Kozlowski
2020-03-20 10:02 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200318122942.GA7833@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=igor.opaniuk@toradex.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=marcel.ziswiler@toradex.com \
--cc=oleksandr.suvorov@toradex.com \
--cc=pbarker@konsulko.com \
--cc=philippe.schenker@toradex.com \
--cc=robh+dt@kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.