From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Rob Herring <robh@kernel.org>
Cc: chunkuang.hu@kernel.org, p.zabel@pengutronix.de,
airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, krzk+dt@kernel.org, conor+dt@kernel.org,
matthias.bgg@gmail.com, ck.hu@mediatek.com,
dri-devel@lists.freedesktop.org,
linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kernel@collabora.com
Subject: Re: [PATCH v1 1/7] dt-bindings: display: mediatek: Add binding for HDMIv2 DDC
Date: Mon, 25 Nov 2024 15:30:54 +0100 [thread overview]
Message-ID: <f65f0a22-1214-4fad-960c-24a75b81a22b@collabora.com> (raw)
In-Reply-To: <20241121210235.GA3798341-robh@kernel.org>
Il 21/11/24 22:02, Rob Herring ha scritto:
> On Wed, Nov 20, 2024 at 01:45:06PM +0100, AngeloGioacchino Del Regno wrote:
>> Add a binding for the Display Data Channel (DDC) IP in MediaTek
>> SoCs with version 2 HDMI TX IP.
>>
>> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>> ---
>> .../mediatek/mediatek,mt8195-hdmi-ddc.yaml | 41 +++++++++++++++++++
>> 1 file changed, 41 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml
>> new file mode 100644
>> index 000000000000..d85e8ed2ffa7
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml
>> @@ -0,0 +1,41 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/display/mediatek/mediatek,mt8195-hdmi-ddc.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: MediaTek HDMI Display Data Channel (DDC) v2
>> +
>> +maintainers:
>> + - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>> + - CK Hu <ck.hu@mediatek.com>
>> +
>> +properties:
>> + compatible:
>> + oneOf:
>> + - const: mediatek,mt8195-hdmi-ddc
>> + - items:
>> + - const: mediatek,mt8188-hdmi-ddc
>> + - const: mediatek,mt8195-hdmi-ddc
>> +
>> + clocks:
>> + maxItems: 1
>> +
>> + power-domains:
>> + maxItems: 1
>> +
>> +required:
>> + - compatible
>> + - clocks
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> + - |
>> + hdmi {
>> + hdmi_ddc: i2c {
>> + compatible = "mediatek,mt8195-hdmi-ddc";
>> + clocks = <&clk26m>;
>
> Is this really a separate block? Doesn't really look like it. You don't
> even have registers to interact with it.
>
MTK DDCv2, subnode of HDMI, uses registers from the iospace of its parent, so,
from the HDMI controller.
That one is a separate block, it's just that some of its registers are mixed inside
of the register space of the HDMI controller itself... MediaTek likes to do that a
lot... in this case, that is because of some hotplug detection bits (and some MCU
related ones too) being shared between the DDC controller and the HDMI one, but
then - apart from that - the DDC controller is the DDC controller and the HDMI one
is... the HDMI one. :-)
Cheers,
Angelo
>> + };
>> + };
>> +...
>> --
>> 2.47.0
>>
next prev parent reply other threads:[~2024-11-25 14:32 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 12:45 [PATCH v1 0/7] drm/mediatek: Add support for HDMIv2 and DDCv2 IPs AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 1/7] dt-bindings: display: mediatek: Add binding for HDMIv2 DDC AngeloGioacchino Del Regno
2024-11-21 21:02 ` Rob Herring
2024-11-25 14:30 ` AngeloGioacchino Del Regno [this message]
2024-12-03 16:50 ` Rob Herring (Arm)
2024-11-20 12:45 ` [PATCH v1 2/7] dt-bindings: display: mediatek: Add binding for MT8195 HDMI-TX v2 AngeloGioacchino Del Regno
2024-11-20 14:29 ` Rob Herring (Arm)
2024-11-28 6:02 ` CK Hu (胡俊光)
2024-11-28 10:32 ` AngeloGioacchino Del Regno
2024-11-29 2:51 ` CK Hu (胡俊光)
2024-12-04 15:01 ` AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 3/7] drm/mediatek: mtk_cec: Switch to register as module_platform_driver AngeloGioacchino Del Regno
2024-11-22 14:59 ` kernel test robot
2024-11-20 12:45 ` [PATCH v1 4/7] drm/mediatek: mtk_hdmi_ddc: " AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 5/7] drm/mediatek: hdmi: Use regmap instead of iomem for main registers AngeloGioacchino Del Regno
2024-11-20 12:45 ` [PATCH v1 6/7] drm/mediatek: mtk_hdmi: Split driver and add common probe function AngeloGioacchino Del Regno
2024-11-29 4:02 ` CK Hu (胡俊光)
2024-11-29 7:28 ` CK Hu (胡俊光)
2024-12-02 2:52 ` CK Hu (胡俊光)
2024-12-05 3:16 ` CK Hu (胡俊光)
2024-11-20 12:45 ` [PATCH v1 7/7] drm/mediatek: Introduce HDMI/DDC v2 for MT8195/MT8188 AngeloGioacchino Del Regno
2024-11-22 9:20 ` Maxime Ripard
2024-11-25 9:40 ` AngeloGioacchino Del Regno
2024-11-25 10:13 ` Maxime Ripard
2024-11-26 7:42 ` CK Hu (胡俊光)
2024-11-26 8:57 ` AngeloGioacchino Del Regno
2024-11-27 3:08 ` CK Hu (胡俊光)
2024-11-27 8:42 ` AngeloGioacchino Del Regno
2024-11-29 5:53 ` CK Hu (胡俊光)
2024-12-02 5:18 ` CK Hu (胡俊光)
2024-12-02 7:27 ` CK Hu (胡俊光)
2024-12-04 14:44 ` AngeloGioacchino Del Regno
2024-12-05 2:42 ` CK Hu (胡俊光)
2024-12-05 2:48 ` CK Hu (胡俊光)
2024-12-05 9:28 ` AngeloGioacchino Del Regno
2024-12-03 7:44 ` CK Hu (胡俊光)
2024-12-04 7:08 ` CK Hu (胡俊光)
2024-12-04 9:41 ` CK Hu (胡俊光)
2024-12-04 9:46 ` CK Hu (胡俊光)
2024-12-05 3:40 ` CK Hu (胡俊光)
2024-12-05 8:35 ` CK Hu (胡俊光)
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=f65f0a22-1214-4fad-960c-24a75b81a22b@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=airlied@gmail.com \
--cc=chunkuang.hu@kernel.org \
--cc=ck.hu@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@collabora.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthias.bgg@gmail.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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