[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200320100329.GB16931@pi3>
Date: Fri, 20 Mar 2020 11:03:29 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Oleksandr Suvorov <oleksandr.suvorov@...adex.com>
Cc: devicetree@...r.kernel.org, linux-pwm@...r.kernel.org,
Paul Barker <pbarker@...sulko.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Marcel Ziswiler <marcel.ziswiler@...adex.com>,
Igor Opaniuk <igor.opaniuk@...adex.com>,
Philippe Schenker <philippe.schenker@...adex.com>,
Andrius Štikonas <andrius@...konas.eu>,
Andy Yan <andy.yan@...k-chips.com>,
Chen-Yu Tsai <wens@...e.org>,
Christoph Muellner <christoph.muellner@...obroma-systems.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Heiko Stuebner <heiko@...ech.de>,
Hugh Cole-Baker <sigmaris@...il.com>,
Jagan Teki <jagan@...rulasolutions.com>,
Johan Jonker <jbx6244@...il.com>,
Katsuhiro Suzuki <katsuhiro@...suster.net>,
Kever Yang <kever.yang@...k-chips.com>,
Kevin Hilman <khilman@...libre.com>,
Kukjin Kim <kgene@...nel.org>, Marc Zyngier <maz@...nel.org>,
Markus Reichl <m.reichl@...etechno.de>,
Maxime Ripard <mripard@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Nick Xie <nick@...das.com>,
Philipp Tomsich <philipp.tomsich@...obroma-systems.com>,
Rob Herring <robh+dt@...nel.org>,
Robin Murphy <robin.murphy@....com>,
Soeren Moch <smoch@....de>, linux-amlogic@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org
Subject: Re: [RFC PATCH 6/7] arm64: dts: pwm: replace polarity constant with
macro
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@...adex.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@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists