Re: [PATCH v4 00/11] phy/drm: amlogic: Extract Meson HDMI TX PHY into a dedicated driver
From: linux-kernel-dev
Date: Thu Nov 26 2026 - 11:41:04 EST
On 11/25/26 09:14, Neil Armstrong wrote:
> On 11/24/26 23:05, Martin Blumenstingl wrote:
>> Hi Ronald, Hi Neil,
>>
>> first of all: thanks Ronald for picking this up!
>> I like the overall approach. Before I dive deep into this series I
>> will finish the code-review of Valerio's AUDIN series.
>>
>> Two quick notes below.
>>
>> On Mon, Nov 23, 2026 at 8:38 PM Ronald Claveau via B4 Relay
>> <devnull+linux-kernel-dev.aliel.fr@xxxxxxxxxx> wrote:
>> [...]
>>> Overview of the series:
>>> - Patches 1-3: Fix compatible matching in meson-gx-hhi-sysctrl bindings,
>>> add the new amlogic,meson-hdmi-tx-phy DT schema, and allow the
>>> "hdmi-phy" child node under the HHI syscon.
>> It's been a long time, but I think we've been asked by the devicetree
>> maintainers to have reg properties for the nodes within &hhi
>> But I can't find the message at the moment.
>
> The hhi syscon nodes doesn't have #[address|size]-cells and so far it
> wasn't required, let's wait for a review from DT maintainers, I'm fine
> with the current design
>
I found an old discussion to drop a reg [0].
My understanding is we don't need a reg here.
[0] https://lkml.iu.edu/2311.1/05612.html
>>
>>> - Patch 4: Add the new Meson HDMI TX PHY driver implementing the HDMI
>>> PHY configuration ops, along with the temporary legacy creation
>>> helper.
>> At quick glance your PHY approach would also fit phy-meson8-hdmi-tx.c
>> There seem to be minor differences:
>> - two additional enable bits in HHI_HDMI_PHY_CNTL1 on GXBB and newer:
>> HDMI_FIFO_ENABLE=BIT(2) and HDMI_FIFO_WR_ENALBE=BIT(3)
>> - newer SoCs seem to have HHI_HDMI_PHY_CNTL3..5
>>
>> Meson8/8b/8m2 HDMI support is not upstream yet. That's why those SoC's
>> won't need the backwards compatibility code. So if you need to tweak
>> the driver: feel free, there's not much you can break!
>>
Yes I did not want to break the Meson8 driver. I will send a proposal to
integrate the other SOCs into it, and make it generic.
>>
>> Best regards,
>> Martin
>
> Thanks,
> Neil
--
Best regards,
Ronald