| From: |
| Nobuhiro Iwamatsu <nobuhiro1.iwamatsu-AT-toshiba.co.jp> |
| To: |
| Rob Herring <robh+dt-AT-kernel.org>, Thierry Reding <thierry.reding-AT-gmail.com>, Uwe Kleine-König <u.kleine-koenig-AT-pengutronix.de>, Lee Jones <lee.jones-AT-linaro.org> |
| Subject: |
| [PATCH v2 0/2] pwm: visconti: Add Toshiba Visconti SoC PWM support |
| Date: |
| Fri, 12 Feb 2021 22:19:08 +0900 |
| Message-ID: |
| <20210212131910.557581-1-nobuhiro1.iwamatsu@toshiba.co.jp> |
| Cc: |
| devicetree-AT-vger.kernel.org, linux-pwm-AT-vger.kernel.org, punit1.agrawal-AT-toshiba.co.jp, yuji2.ishikawa-AT-toshiba.co.jp, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, Nobuhiro Iwamatsu <nobuhiro1.iwamatsu-AT-toshiba.co.jp> |
| Archive-link: |
| Article |
This series is the PWM driver for Toshiba's ARM SoC, Visconti[0].
This provides DT binding documentation and device driver.
[0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/p...
Updates:
dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller
v1 -> v2:
- Change SPDX-License-Identifier to GPL-2.0-only OR BSD-2-Clause.
- Set compatible toshiba,pwm-visconti only.
- Drop unnecessary comments.
pwm: visconti: Add Toshiba Visconti SoC PWM support
v1 -> v2:
- Change SPDX-License-Identifier to GPL-2.0-only.
- Add prefix for the register defines.
- Drop struct device from struct visconti_pwm_chip.
- Use '>>' instead of '/'.
- Drop error message by devm_platform_ioremap_resource().
- Use dev_err_probe instead of dev_err.
- Change dev_info to dev_dbg.
- Remove some empty lines.
- Fix MODULE_ALIAS to platform:pwm-visconti.
- Add .get_state() function.
- Use the author name and email address to MODULE_AUTHOR.
- Add more comment to function of the hardware.
- Support .get_status() function.
- Use NSEC_PER_USEC instead of 1000.
- Alphabetically sorted for Makefile and Kconfig.
- Added check for set value in visconti_pwm_apply().
Nobuhiro Iwamatsu (2):
dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller
pwm: visconti: Add Toshiba Visconti SoC PWM support
.../bindings/pwm/toshiba,pwm-visconti.yaml | 43 +++++
drivers/pwm/Kconfig | 9 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-visconti.c | 173 ++++++++++++++++++
4 files changed, 226 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml
create mode 100644 drivers/pwm/pwm-visconti.c
--
2.30.0.rc2