From: Ben Zong-You Xie <ben717@andestech.com>
To: <linux-pwm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <ukleinek@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, Ben Zong-You Xie <ben717@andestech.com>
Subject: [PATCH v2 0/2] pwm: add PWM driver for atcpit100
Date: Mon, 2 Dec 2024 14:01:45 +0800 [thread overview]
Message-ID: <20241202060147.1271264-1-ben717@andestech.com> (raw)
The ATCPIT100 Programmable Interval Timer (PIT) is a set of compact
multi-function timers, which can be used as pulse width
modulators (PWM) as well as simple timers. ATCPIT100 supports up to 4
PIT channels, and each PIT channel may be a simple timer or PWM, or a
combination of the timer and the PWM.
This patch series includes DT-bindings(1/2) and PWM driver(2/2).
---
Changes in v2:
(1/2):
- change "title" in the yaml file.
- remove vendor-specific property, and add clocks property.
(2/2):
- add a description for hardware limitations.
- instead of statically configuring the clock source in the dtb,
switch the clock parent depending on the requested setting.
- have some minor changes according to Uwe's suggestion.
Link to v1: https://lore.kernel.org/linux-pwm/20241028102721.1961289-1-ben717@andestech.com/T/#t
---
Ben Zong-You Xie (2):
dt-bindings: pwm: add atcpit100-pwm
pwm: atcpit100: add Andes PWM driver support
.../bindings/pwm/andestech,atcpit100-pwm.yaml | 51 +++
MAINTAINERS | 6 +
drivers/pwm/Kconfig | 17 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-atcpit100.c | 290 ++++++++++++++++++
5 files changed, 365 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/andestech,atcpit100-pwm.yaml
create mode 100644 drivers/pwm/pwm-atcpit100.c
--
2.34.1
next reply other threads:[~2024-12-02 6:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 6:01 Ben Zong-You Xie [this message]
2024-12-02 6:01 ` [PATCH v2 1/2] dt-bindings: pwm: add atcpit100-pwm Ben Zong-You Xie
2024-12-02 7:40 ` Krzysztof Kozlowski
2024-12-03 5:41 ` Ben Zong-You Xie
2024-12-03 7:15 ` Krzysztof Kozlowski
2024-12-03 7:17 ` Krzysztof Kozlowski
2024-12-02 6:01 ` [PATCH v2 2/2] pwm: atcpit100: add Andes PWM driver support Ben Zong-You Xie
2024-12-02 11:50 ` kernel test robot
2024-12-02 13:32 ` kernel test robot
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=20241202060147.1271264-1-ben717@andestech.com \
--to=ben717@andestech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=ukleinek@kernel.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).