From: Hironori KIKUCHI <kikuchan98@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Hironori KIKUCHI" <kikuchan98@gmail.com>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Chen-Yu Tsai" <wens@csie.org>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Samuel Holland" <samuel@sholland.org>,
"Aleksandr Shubin" <privatesub2@gmail.com>,
"Cheo Fusi" <fusibrandon13@gmail.com>,
linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev
Subject: [PATCH 0/5] Add support for Allwinner H616 PWM
Date: Fri, 31 May 2024 23:11:32 +0900 [thread overview]
Message-ID: <20240531141152.327592-1-kikuchan98@gmail.com> (raw)
Add support for the Allwinner H616 PWM, building on top of Aleksandr's
Allwinner D1 PWM driver v9.
Additionally, the 4th and 5th patches implement the proposed method
for delegating the clock source and DIV_M selection to the Device Tree.
While it works well without these patches with the original behavior,
applying them enables fine-grained control of PWM resolution and
prevents non-deterministic behavior dependent on the enabling order.
I have only been able to test on H700 (H616 variant) using an
oscilloscope. I would greatly appreciate it if someone could test
this patch series on the D1 or other models.
Regards,
kikuchan.
Hironori KIKUCHI (5):
pwm: sun20i: Use devm_pwmchip_alloc() helper
pwm: sun20i: Add support for Allwinner H616 PWM
dt-bindings: pwm: sun20i: Add compatible string for Allwinner H616 PWM
pwm: sun20i: Delegating the clock source and DIV_M to the Device Tree
dt-bindings: pwm: sun20i: Add options to select a clock source and
DIV_M
.../bindings/pwm/allwinner,sun20i-pwm.yaml | 20 ++
drivers/pwm/pwm-sun20i.c | 326 ++++++++++--------
2 files changed, 201 insertions(+), 145 deletions(-)
--
2.45.1
next reply other threads:[~2024-05-31 14:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-31 14:11 Hironori KIKUCHI [this message]
2024-05-31 14:11 ` [PATCH 1/5] pwm: sun20i: Use devm_pwmchip_alloc() helper Hironori KIKUCHI
2024-05-31 14:11 ` [PATCH 2/5] pwm: sun20i: Add support for Allwinner H616 PWM Hironori KIKUCHI
2024-07-13 12:37 ` Uwe Kleine-König
2024-05-31 14:11 ` [PATCH 3/5] dt-bindings: pwm: sun20i: Add compatible string " Hironori KIKUCHI
2024-05-31 14:39 ` Krzysztof Kozlowski
2024-05-31 17:50 ` Hironori KIKUCHI
2024-05-31 14:11 ` [PATCH 4/5] pwm: sun20i: Delegating the clock source and DIV_M to the Device Tree Hironori KIKUCHI
2024-05-31 14:11 ` [PATCH 5/5] dt-bindings: pwm: sun20i: Add options to select a clock source and DIV_M Hironori KIKUCHI
2024-05-31 14:43 ` Krzysztof Kozlowski
2024-05-31 17:57 ` Hironori KIKUCHI
2024-06-01 15:17 ` Krzysztof Kozlowski
2024-06-02 6:15 ` Hironori KIKUCHI
2024-06-03 0:09 ` Andre Przywara
2024-06-03 8:42 ` Hironori KIKUCHI
2024-07-13 12:58 ` Uwe Kleine-König
2024-06-05 13:38 ` [PATCH 0/5] Add support for Allwinner H616 PWM Uwe Kleine-König
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=20240531141152.327592-1-kikuchan98@gmail.com \
--to=kikuchan98@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fusibrandon13@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=privatesub2@gmail.com \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=ukleinek@kernel.org \
--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