From: Jerome Brunet <jbrunet@baylibre.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-amlogic@lists.infradead.org, linux-pwm@vger.kernel.org,
JunYi Zhao <junyi.zhao@amlogic.com>
Subject: [PATCH 0/6] pwm: meson: dt-bindings fixup
Date: Mon, 6 Nov 2023 11:32:47 +0100 [thread overview]
Message-ID: <20231106103259.703417-1-jbrunet@baylibre.com> (raw)
This patchset aims to:
* Fix the incorrect bindings for the s4 type of pwm that was introduced
while converting the documentation from txt to yaml format.
* Introduce a new compatible for the existing PWMs to better describe the
HW in DT, instead of describing settings.
* Make the introduction of a new pwm variant (s4) slightly easier.
* Migrate the supported SoCs to the new compatible.
Usually, I prefer to send to dts patches separately. This time it seemed
important to illustrate the change. I don't mind splitting this out and
re-spinning if this is annoying for the maintainers.
Jerome Brunet (6):
dt-bindings: pwm: amlogic: fix s4 bindings
dt-bindings: pwm: amlogic: add new compatible for meson8 pwm type
pwm: meson: prepare addition of new compatible types
pwm: meson: add generic compatible for meson8 to sm1
arm: dts: amlogic: migrate pwms to new meson8 v2 binding
arm64: dts: amlogic: migrate pwms to new meson8 v2 binding
.../devicetree/bindings/pwm/pwm-amlogic.yaml | 101 +++++-
arch/arm/boot/dts/amlogic/meson.dtsi | 4 +-
arch/arm/boot/dts/amlogic/meson8.dtsi | 16 +-
arch/arm/boot/dts/amlogic/meson8b-ec100.dts | 2 -
arch/arm/boot/dts/amlogic/meson8b-mxq.dts | 2 -
.../arm/boot/dts/amlogic/meson8b-odroidc1.dts | 2 -
arch/arm/boot/dts/amlogic/meson8b.dtsi | 16 +-
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 24 +-
.../boot/dts/amlogic/meson-g12-common.dtsi | 28 +-
.../dts/amlogic/meson-g12a-radxa-zero.dts | 4 -
.../boot/dts/amlogic/meson-g12a-sei510.dts | 4 -
.../boot/dts/amlogic/meson-g12a-u200.dts | 2 -
.../boot/dts/amlogic/meson-g12a-x96-max.dts | 4 -
.../amlogic/meson-g12b-a311d-libretech-cc.dts | 2 -
.../dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 7 -
.../boot/dts/amlogic/meson-g12b-bananapi.dtsi | 4 -
.../dts/amlogic/meson-g12b-khadas-vim3.dtsi | 4 -
.../boot/dts/amlogic/meson-g12b-odroid.dtsi | 4 -
.../dts/amlogic/meson-g12b-radxa-zero2.dts | 8 -
.../boot/dts/amlogic/meson-g12b-w400.dtsi | 6 -
.../dts/amlogic/meson-gx-libretech-pc.dtsi | 6 -
.../boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 2 -
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 +-
.../boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 2 -
.../dts/amlogic/meson-gxbb-nexbox-a95x.dts | 2 -
.../boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 -
.../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 2 -
.../boot/dts/amlogic/meson-gxbb-wetek.dtsi | 2 -
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 26 ++
.../boot/dts/amlogic/meson-gxl-s805x-p241.dts | 2 -
.../meson-gxl-s905w-jethome-jethub-j80.dts | 2 -
.../meson-gxl-s905x-hwacom-amazetv.dts | 2 -
.../amlogic/meson-gxl-s905x-khadas-vim.dts | 2 -
.../amlogic/meson-gxl-s905x-nexbox-a95x.dts | 2 -
.../dts/amlogic/meson-gxl-s905x-p212.dtsi | 2 -
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 26 ++
.../dts/amlogic/meson-gxm-khadas-vim2.dts | 4 -
.../boot/dts/amlogic/meson-gxm-rbox-pro.dts | 2 -
.../amlogic/meson-libretech-cottonwood.dtsi | 6 -
.../boot/dts/amlogic/meson-sm1-ac2xx.dtsi | 6 -
.../dts/amlogic/meson-sm1-khadas-vim3l.dts | 2 -
.../boot/dts/amlogic/meson-sm1-odroid.dtsi | 2 -
.../boot/dts/amlogic/meson-sm1-sei610.dts | 6 -
drivers/pwm/pwm-meson.c | 312 +++++++++++-------
44 files changed, 407 insertions(+), 267 deletions(-)
--
2.42.0
next reply other threads:[~2023-11-06 10:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 10:32 Jerome Brunet [this message]
2023-11-06 10:32 ` [PATCH 1/6] dt-bindings: pwm: amlogic: fix s4 bindings Jerome Brunet
2023-11-08 17:04 ` Rob Herring
2023-11-08 17:08 ` Jerome Brunet
2023-11-06 10:32 ` [PATCH 2/6] dt-bindings: pwm: amlogic: add new compatible for meson8 pwm type Jerome Brunet
2023-11-06 12:03 ` Jerome Brunet
2023-11-08 17:06 ` Rob Herring
2023-11-08 17:10 ` Jerome Brunet
2023-11-06 10:32 ` [PATCH 3/6] pwm: meson: prepare addition of new compatible types Jerome Brunet
2023-11-06 10:32 ` [PATCH 4/6] pwm: meson: add generic compatible for meson8 to sm1 Jerome Brunet
2023-11-06 10:32 ` [PATCH 5/6] arm: dts: amlogic: migrate pwms to new meson8 v2 binding Jerome Brunet
2023-11-06 10:32 ` [PATCH 6/6] arm64: " Jerome Brunet
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=20231106103259.703417-1-jbrunet@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=junyi.zhao@amlogic.com \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
/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