From: Rob Herring <robh@kernel.org>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: "Linus Walleij" <linus.walleij@linaro.org>,
"Bartosz Golaszewski" <brgl@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Lee Jones" <lee@kernel.org>,
"Daniel Thompson" <danielt@kernel.org>,
"Jingoo Han" <jingoohan1@gmail.com>,
"Pavel Machek" <pavel@kernel.org>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Aaro Koskinen" <aaro.koskinen@iki.fi>,
"Andreas Kemnade" <andreas@kemnade.info>,
"Kevin Hilman" <khilman@baylibre.com>,
"Roger Quadros" <rogerq@kernel.org>,
"Tony Lindgren" <tony@atomide.com>,
"Russell King" <linux@armlinux.org.uk>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Helge Deller" <deller@gmx.de>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>,
"Peter Ujfalusi" <peter.ujfalusi@gmail.com>,
"Jarkko Nikula" <jarkko.nikula@bitmer.com>,
"Jessica Zhang" <jessica.zhang@oss.qualcomm.com>,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-leds@vger.kernel.org, linux-sound@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-pwm@vger.kernel.org, linux-fbdev@vger.kernel.org,
letux-kernel@openphoenux.org, kernel@pyra-handheld.com
Subject: Re: [PATCH v2 00/20] ARM: omap3: pandora: Modernize audio and backlight to use Device Tree to finally remove pdata-quirks
Date: Tue, 24 Nov 2026 09:13:18 -0600 [thread overview]
Message-ID: <20261124151318.GA536798-robh@kernel.org> (raw)
In-Reply-To: <cover.1795505160.git.hns@goldelico.com>
On Tue, Nov 24, 2026 at 08:25:40AM +0100, H. Nikolaus Schaller wrote:
> PATCH V2 2026-11-24 08:26:00:
> Changes in V2:
> The series has been reworked and expanded from 16 to 20 patches,
> addressing review feedback and issues identified during hardware testing.
>
> Audio and power management:
> ===========================
> * Replace the TWL4030 REGEN regulator implementation with an optional
> GPIO and a fixed regulator described in Device Tree.
> * Extend the existing PCM1754 codec driver to support the PCM1773
> instead of introducing a separate codec driver.
> * Add power supply and power-down GPIO support to the codec driver.
> * Improve error handling, resource management and power sequencing
> in the codec and sound card drivers.
> * Update the sound card and codec bindings and Device Tree nodes.
>
> PWM and backlight:
> ==================
> * Add optional 64-cycle frame support to the TWL4030 PWM driver.
> * Add an optional enable guard period to the generic pwm-backlight
> driver to prevent the TPS61161 from inadvertently entering
> EasyScale mode.
> * Adjust the Pandora PWM backlight configuration accordingly.
> * Remove the obsolete CONFIG_BACKLIGHT_PANDORA option from
> omap2plus_defconfig.
>
> Device Tree and general cleanup:
> ================================
> * Correct and validate the affected Device Tree bindings.
> * Reorder the series so that bindings and supporting drivers
> precede their Device Tree users.
> * Improve commit messages and fix coding style issues.
> * Clarify the original authorship and take responsibility for
> contributions previously signed off under a pseudonym.
>
> Review feedback addressed:
> ==========================
> * Mark Brown suggested representing TWL4030 REGEN as a GPIO rather
> than a regulator and reviewed the original standalone PCM1773
> driver, which has been replaced by extending the PCM1754 driver.
> * Krzysztof Kozlowski requested corrections to the Device Tree
> bindings, proper schema validation, improved commit messages and
> clarification of the original contributor's authorship.
> * Andreas Kemnade suggested handling the TPS61161 initialization
> in the backlight layer. V2 implements this through a generic
> pwm-backlight enable guard period. His comments on clock modeling
> and patch bisectability were also considered.
> * Daniel Thompson provided Reviewed-by for the original removal
> of the Pandora backlight driver.
> * Issues identified by Sashiko and Rob Herring's automated DT
> validation were reviewed and addressed as applicable.
>
> Many thanks to everyone who reviewed V1.
>
> Validation and testing:
> =======================
> * Based on Linux v7.4-rc4.
> * All 20 patches checked with checkpatch.pl.
> * Remaining checkpatch warnings and intentional deviations have
> been reviewed. In particular, ENOTSUPP must be retained in the
> GPIO set_config callback because gpiolib handles it differently
> from EOPNOTSUPP.
> * dt_binding_check and dtbs_check passed for all five affected
> Device Tree bindings.
> * The complete series has been successfully built and tested on
> real OpenPandora hardware.
> * LCD operation, PWM backlight brightness control including
> brightness zero and power-down, and audio playback through the
> internal speakers and headset have been verified.
> * Audio capture was not tested.
>
> PATCH V1 2026-07-11 08:02:02:
> This series modernizes the OpenPandora handheld support by converting the
> sound subsystem and backlight control to proper platform drivers and Device
> Tree definitions.
>
> The primary goal is the complete removal of omap3_pandora_legacy_init()
> and the elimination of the last remaining user of machine_is_omap3_pandora().
>
> History and Context
> ===================
> The necessity of this cleanup was highlighted in several recent discussions:
>
> 1. Tony Lindgren noted that machine_is_omap3_pandora() checks never succeed
> on Device Tree-booted machines, leaving the audio subsystem functionally
> broken since the DT conversion years ago:
> https://marc.info/?l=alsa-devel&m=165632351319716&w=2
>
> 2. Ethan Nelson-Moore submitted a patch to replace the macro with DT
> compatibility checks (accepted as commit 45efb8fbdae3 in v7.2-rc1):
> https://marc.info/?l=linux-omap&m=177841578110704&w=2
>
> 3. Sascha Hauer pointed out that the entire omap3pandora driver fundamentally
> depended on this broken machine ID check:
> https://marc.info/?l=linux-omap&m=178048982272252&w=2
>
> Design Choices and Implementation
> =================================
> Based on these discussions and a long-standing and working out-of-tree solution,
> we initially attempted a migration to generic frameworks like simple-audio-card
> or audio-graph-card. However, the hardware routing peculiarities of the
> OpenPandora introduced too many functional gaps. Replacing omap3pandora.c
> entirely with pure DT definitions proved unfeasible.
>
> Therefore, we opted to base a new proposal on the out-of-tree rewrite of
> the old-style sound board file kernel driver (sound/soc/ti/omap3pandora.c)
> into a proper platform driver that cleanly fetches its resources from the
> Device Tree, while adding specific handling for the twl4030-regen output
> and adapting the pandora device tree files.
>
> Series Structure
> ================
> * Patches 01–06 (Preparation): Move highly specific legacy code to its proper
> infrastructure (TWL4030 regulator regeneration and codec handling).
> * Patch 07-08 (New Driver): Introduce a dedicated platform driver for the
> PCM1773 audio DAC.
> * Patches 09-14 (Audio Core): Rewrite the omap3pandora ASoC fabric driver
> and update the respective Device Tree nodes.
> * Patches 14–15 (Backlight): Remove the custom, legacy Pandora backlight driver,
> convert it to generic Device Tree nodes
> * Patch 16: (Cleanup) safely delete the obsolete omap3_pandora_legacy_init().
>
> Notes & Testing
> ===============
> * Testing: This series has been tested on real OpenPandora hardware.
>
> Credits
> =======
> This work is a collaborative effort by multiple authors over several years:
> * Grond <grond66@riseup.net>
> * Stefan Leichter <sle85276@gmx.de>
> * H. Nikolaus Schaller <hns@goldelico.com>
>
>
> H. Nikolaus Schaller (17):
> dt-bindings: gpio: twl4030: Document REGEN GPIO
> gpio: twl4030: Support REGEN GPIO
> ASoC: twl4030: Allow APLL rate selection through set_sysclk()
> dt-bindings: sound: pcm1754: Describe PCM1773
> ASoC: codecs: pcm1754: Add PCM1773 support
> dt-bindings: sound: Document OpenPandora sound card
> dt-bindings: mfd: twl4030: Document 64-cycle PWM
> pwm: twl: Support 64-cycle PWM frame
> dt-bindings: backlight: pwm: Document enable guard
> backlight: pwm: Support enable guard period
> drm/panel: td043mtea1: Attach DT backlight
> ARM: dts: omap3pandora: Disable unused DMA channels
> ARM: dts: omap3-pandora: Model LCD power enable dependencies
> ARM: dts: omap3pandora: Describe PCM1773
> ARM: dts: omap3pandora: Switch backlight to PWM
> backlight: Remove legacy Pandora driver
> ARM: OMAP2+: Remove Pandora platform-data quirks
>
> Stefan Leichter (3):
> ASoC: ti: omap3pandora: Convert sound card to DT
> ARM: dts: omap3pandora: Enable audio interfaces
> ARM: dts: omap3pandora: Describe sound card
Which of the 7 maintainers do you expect to take this series? Surely
this can be broken up into smaller series?
Rob
next prev parent reply other threads:[~2026-11-24 15:13 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 7:25 H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 01/20] dt-bindings: gpio: twl4030: Document REGEN GPIO H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 02/20] gpio: twl4030: Support " H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 03/20] ASoC: twl4030: Allow APLL rate selection through set_sysclk() H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 04/20] dt-bindings: sound: pcm1754: Describe PCM1773 H. Nikolaus Schaller
2026-11-24 12:05 ` Mark Brown
2026-11-24 14:33 ` [Letux-kernel] " H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 05/20] ASoC: codecs: pcm1754: Add PCM1773 support H. Nikolaus Schaller
2026-11-24 14:48 ` Mark Brown
2026-11-24 7:25 ` [PATCH v2 06/20] dt-bindings: sound: Document OpenPandora sound card H. Nikolaus Schaller
2026-11-24 12:04 ` Mark Brown
2026-11-24 13:35 ` Rob Herring (Arm)
2026-11-24 14:42 ` H. Nikolaus Schaller
2026-11-24 14:45 ` Krzysztof Kozlowski
2026-11-24 14:50 ` H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 07/20] ASoC: ti: omap3pandora: Convert sound card to DT H. Nikolaus Schaller
2026-11-24 14:48 ` Mark Brown
2026-11-24 14:55 ` H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 08/20] dt-bindings: mfd: twl4030: Document 64-cycle PWM H. Nikolaus Schaller
2026-11-24 14:40 ` Krzysztof Kozlowski
2026-11-24 14:49 ` H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 09/20] pwm: twl: Support 64-cycle PWM frame H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 10/20] dt-bindings: backlight: pwm: Document enable guard H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 11/20] backlight: pwm: Support enable guard period H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 12/20] drm/panel: td043mtea1: Attach DT backlight H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 13/20] ARM: dts: omap3pandora: Disable unused DMA channels H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 14/20] ARM: dts: omap3-pandora: Model LCD power enable dependencies H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 15/20] ARM: dts: omap3pandora: Enable audio interfaces H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 16/20] ARM: dts: omap3pandora: Describe PCM1773 H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 17/20] ARM: dts: omap3pandora: Describe sound card H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 18/20] ARM: dts: omap3pandora: Switch backlight to PWM H. Nikolaus Schaller
2026-11-24 7:25 ` [PATCH v2 19/20] backlight: Remove legacy Pandora driver H. Nikolaus Schaller
2026-11-24 7:26 ` [PATCH v2 20/20] ARM: OMAP2+: Remove Pandora platform-data quirks H. Nikolaus Schaller
2026-11-24 13:38 ` [PATCH v2 00/20] ARM: omap3: pandora: Modernize audio and backlight to use Device Tree to finally remove pdata-quirks Mark Brown
2026-11-24 14:52 ` H. Nikolaus Schaller
2026-11-24 15:13 ` Rob Herring [this message]
2026-11-24 15:27 ` H. Nikolaus Schaller
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=20261124151318.GA536798-robh@kernel.org \
--to=robh@kernel.org \
--cc=aaro.koskinen@iki.fi \
--cc=airlied@gmail.com \
--cc=andreas@kemnade.info \
--cc=brgl@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hns@goldelico.com \
--cc=jarkko.nikula@bitmer.com \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=jingoohan1@gmail.com \
--cc=kernel@pyra-handheld.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=letux-kernel@openphoenux.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=pavel@kernel.org \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@gmail.com \
--cc=rogerq@kernel.org \
--cc=simona@ffwll.ch \
--cc=tiwai@suse.com \
--cc=tony@atomide.com \
--cc=tzimmermann@suse.de \
--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
all inboxes | Powered by JetHome®