U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add support for eCAP PWM and LCD pin mux
@ 2025-04-23  8:42 Sukrut Bellary
  2025-04-23  8:42 ` [PATCH 1/3] pwm: ti: am33xx: Enable Auxiliary PWM using eCAP Sukrut Bellary
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sukrut Bellary @ 2025-04-23  8:42 UTC (permalink / raw)
  To: Tom Rini
  Cc: Sukrut Bellary, Kevin Hilman, Bajjuri Praneeth,
	Raghavendra Vignesh, u-boot

This patch series adds the support for

1. In am33xx SoC[1], enhanced capture (eCAP) supports auxiliary PWM (APWM).
This series adds the PWM driver support for the APWM feature for eCAP on
AM33xx. AM335X_ECAP0_IN_PWM0_OUT is used to enable the backlight.

2. Fix build warning in ti-ehrpwm driver in dev_deb().

3. Enable eCAP0 PWM and LCD pin muxing to support splash screen on
AM335x EVM[2].

[1] AM335x TRM - https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf
[2] AM335x EVM - https://www.ti.com/tool/TMDXEVM3358

per discussion on the earlier patch series,
https://lore.kernel.org/all/20250319202516.3300444-1-sbellary@baylibre.com/
dropping the device tree changes in this series due to OF_UPSTREAM
conflict.
As we are dropping the DT patch, started with the new series instead of
V2.

This series doesn't contain defconfig changes since we don't want to
enable LCD, splash screen and PWM support by default.
Enabling splash screen and PWM support in defconfig causes u-boot crash
on AM335x based beaglebone black. This will be handled in a separate
patch.

Sukrut Bellary (3):
  pwm: ti: am33xx: Enable Auxiliary PWM using eCAP
  pwm: ti: am33xx: Fix build warnings in dev_dbg()
  board: ti: am335x: Enable eCAP0 PWM and LCD pin muxing

 board/ti/am335x/mux.c       |  47 +++++++++
 drivers/pwm/Kconfig         |   6 ++
 drivers/pwm/Makefile        |   1 +
 drivers/pwm/pwm-ti-ehrpwm.c |   2 +-
 drivers/pwm/pwm-tiecap.c    | 198 ++++++++++++++++++++++++++++++++++++
 5 files changed, 253 insertions(+), 1 deletion(-)
 create mode 100644 drivers/pwm/pwm-tiecap.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-21  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23  8:42 [PATCH 0/3] Add support for eCAP PWM and LCD pin mux Sukrut Bellary
2025-04-23  8:42 ` [PATCH 1/3] pwm: ti: am33xx: Enable Auxiliary PWM using eCAP Sukrut Bellary
2025-04-23  8:42 ` [PATCH 2/3] pwm: ti: am33xx: Fix build warnings in dev_dbg() Sukrut Bellary
2025-04-23  8:42 ` [PATCH 3/3] board: ti: am335x: Enable eCAP0 PWM and LCD pin muxing Sukrut Bellary
2025-05-02 21:32 ` [PATCH 0/3] Add support for eCAP PWM and LCD pin mux Tom Rini
2025-05-21  8:20   ` Sukrut Bellary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox