From: Krzysztof Kozlowski <krzk@kernel.org>
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>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
"Igor Opaniuk" <igor.opaniuk@toradex.com>,
"Philippe Schenker" <philippe.schenker@toradex.com>,
"Andrius Štikonas" <andrius@stikonas.eu>,
"Andy Yan" <andy.yan@rock-chips.com>,
"Chen-Yu Tsai" <wens@csie.org>,
"Christoph Muellner" <christoph.muellner@theobroma-systems.com>,
"Daniel Lezcano" <daniel.lezcano@linaro.org>,
"Enric Balletbo i Serra" <enric.balletbo@collabora.com>,
"Heiko Stuebner" <heiko@sntech.de>,
"Hugh Cole-Baker" <sigmaris@gmail.com>,
"Jagan Teki" <jagan@amarulasolutions.com>,
"Johan Jonker" <jbx6244@gmail.com>,
"Katsuhiro Suzuki" <katsuhiro@katsuster.net>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Kevin Hilman" <khilman@baylibre.com>,
"Kukjin Kim" <kgene@kernel.org>, "Marc Zyngier" <maz@kernel.org>,
"Markus Reichl" <m.reichl@fivetechno.de>,
"Maxime Ripard" <mripard@kernel.org>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Nick Xie" <nick@khadas.com>,
"Philipp Tomsich" <philipp.tomsich@theobroma-systems.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Soeren Moch" <smoch@web.de>,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org
Subject: Re: [RFC PATCH 6/7] arm64: dts: pwm: replace polarity constant with macro
Date: Fri, 20 Mar 2020 11:03:29 +0100 [thread overview]
Message-ID: <20200320100329.GB16931@pi3> (raw)
In-Reply-To: <20200317123231.2843297-7-oleksandr.suvorov@toradex.com>
On Tue, Mar 17, 2020 at 02:32:30PM +0200, Oleksandr Suvorov wrote:
> There is the PWM_POLARITY_NORMAL defined and describled in
> <dt-bindings/pwm/pwm.h> and used by pwm drivers.
>
> This patch converts all '0' constant in pwms parameters into
> PWM_POLARITY_NORMAL.
>
> Replace with sed regexp:
> 's/(pwms = <&[a-zA-Z_0-9]+ [0-9]+ [0-9]+) 0>/\1 PWM_POLARITY_NORMAL>/'
>
> Then:
> - include pwm.h in some dts/dtsi to fix building errors about undefined
> symbols.
> - fix the patman warnings about the code format;
>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
> ---
>
> arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts | 2 +-
> arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 2 +-
> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 1 +
> arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 +
> arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 5 +++--
> arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 +-
> arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 5 +++--
> arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi | 4 ++--
> arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 4 ++--
> arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 7 ++++---
> arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 +
> arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts | 3 ++-
> .../boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +-
> .../arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 5 +++--
> arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 3 ++-
> arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 +++-
> arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts | 2 +-
> arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 7 ++++---
> arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 3 ++-
For Exynos:
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
next prev parent reply other threads:[~2020-03-20 10:03 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200317123231.2843297-1-oleksandr.suvorov@toradex.com>
2020-03-17 12:32 ` [RFC PATCH 1/7] pwm: rename the PWM_POLARITY_INVERSED enum Oleksandr Suvorov
2020-03-17 13:34 ` Paul Barker
2020-03-17 21:32 ` Uwe Kleine-König
2020-03-17 16:26 ` Claudiu.Beznea
2020-03-17 16:39 ` Oleksandr Suvorov
2020-03-17 17:40 ` Thierry Reding
2020-03-17 21:00 ` Uwe Kleine-König
2020-03-18 22:59 ` Thierry Reding
2020-03-19 6:50 ` Uwe Kleine-König
2020-03-19 16:37 ` Thierry Reding
2020-03-19 17:30 ` Uwe Kleine-König
2020-03-19 11:40 ` Oleksandr Suvorov
2020-03-19 12:10 ` Uwe Kleine-König
2020-03-19 12:57 ` Oleksandr Suvorov
2020-03-19 16:44 ` Thierry Reding
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
2020-03-17 17:43 ` Thierry Reding
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 17:04 ` Thierry Reding
2020-03-30 21:00 ` Rob Herring
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
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 22:56 ` Laurent Pinchart
2020-03-18 9:20 ` Uwe Kleine-König
2020-03-17 12:32 ` [RFC PATCH 4/7] dt-bindings: pwm: add description of PWM polarity Oleksandr Suvorov
2020-03-17 23:01 ` Laurent Pinchart
2020-03-18 11:37 ` Oleksandr Suvorov
2020-03-18 12:29 ` Laurent Pinchart
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 ` [RFC PATCH 6/7] arm64: dts: pwm: replace polarity constant with macro Oleksandr Suvorov
2020-03-20 10:03 ` Krzysztof Kozlowski [this message]
2020-03-17 12:32 ` [RFC PATCH 7/7] arm: " Oleksandr Suvorov
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=20200320100329.GB16931@pi3 \
--to=krzk@kernel.org \
--cc=andrius@stikonas.eu \
--cc=andy.yan@rock-chips.com \
--cc=christoph.muellner@theobroma-systems.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=enric.balletbo@collabora.com \
--cc=heiko@sntech.de \
--cc=igor.opaniuk@toradex.com \
--cc=jagan@amarulasolutions.com \
--cc=jbx6244@gmail.com \
--cc=katsuhiro@katsuster.net \
--cc=kever.yang@rock-chips.com \
--cc=kgene@kernel.org \
--cc=khilman@baylibre.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.reichl@fivetechno.de \
--cc=marcel.ziswiler@toradex.com \
--cc=maz@kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=mripard@kernel.org \
--cc=nick@khadas.com \
--cc=oleksandr.suvorov@toradex.com \
--cc=pbarker@konsulko.com \
--cc=philipp.tomsich@theobroma-systems.com \
--cc=philippe.schenker@toradex.com \
--cc=robh+dt@kernel.org \
--cc=robin.murphy@arm.com \
--cc=sigmaris@gmail.com \
--cc=smoch@web.de \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wens@csie.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).