From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F661CA101F for ; Wed, 10 Sep 2025 15:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JMzN9b3t7BMjqu1J5pi1n04VolEUQbl9H1P61fZolSo=; b=e8RC2xlGu7Lu1By5ln0hPEdlc3 coBERu6/gDilJzWqsPL44dS80ypambeXVVLitC6NmW0HU6Uu5NpghgrmFvojLtccPXKl46R8DNJx3 08EpxBcnsVkANfuFBz3oBmQ49C1PVrAt907s7g5LvJUd4g0j+mVlyDXIAEX0WWogvI5N+3Imra5+I 7pijuELU1L+QUzQ/z3awB4ytRea8A06fYpWU6LswWzvNv2CHNAKgn5Tjftawk6Y/eY/u83scAEZ0Q p9+tx7jRs96SFpf3GhV8KfOv7DxoHoy5Zks1C8tQnpRk1OSRREBW7kwJS7IepGXKgjKDzsElw7k8s jZ6XRrEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uwN1a-0000000FDhu-0oyf; Wed, 10 Sep 2025 15:46:22 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uwN1X-0000000FDgA-2eaL; Wed, 10 Sep 2025 15:46:20 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1757519131; cv=none; d=zohomail.com; s=zohoarc; b=L0DtszCRN5Y/m3JI1gxskLdlVgkiG9AHgQ1cUm66JTQs9bIzujOba5h9a+93kAc3Nc9BoXUIvkYdNguw0XTFQ1tCnFN5vYyWlKNaEirDhoKz5kd7+jvDa7jb7O8lqdqVAJmEd6awy2OOcL4/JTvR4rf54nq6bDsV2zASuEPfB6w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1757519131; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=JMzN9b3t7BMjqu1J5pi1n04VolEUQbl9H1P61fZolSo=; b=Pb5kKl3POTswMjdStNOQmfYie4X5OhEiBgBUJMwa3oknUGsYJse83TFYp4E/wG2CbsdSbmk45arOOMNyYW4OwzoorFCib4tAS4otfTs/uerkzCLDsugxQKO1T2JNciWT3L6i/boNFe/FgyVcfWKlD3DfbJ1Wf4O0ikNWUEkOH9w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=ariel.dalessandro@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1757519131; s=zohomail; d=collabora.com; i=ariel.dalessandro@collabora.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=JMzN9b3t7BMjqu1J5pi1n04VolEUQbl9H1P61fZolSo=; b=HLkKXw8jkxJmG84iLQYxQkVyHTUDdgNYWke2yhJi70hDiNQhL1kQI4MsQzKf77SN KyX99n3Hauig9vtMgyWJxwc1ahMWks4Ld4jZ9gbyBiP9QiAdazZaR2uJLGQ1G3B376X DZhIWZPtyviCLrJ+ncLHe9qWAt9Ewu0dRdrcdQAA= Received: by mx.zohomail.com with SMTPS id 1757519128121467.87872040448076; Wed, 10 Sep 2025 08:45:28 -0700 (PDT) Message-ID: Date: Wed, 10 Sep 2025 12:45:12 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 07/14] dt-bindings: display: mediatek,ufoe: Add mediatek,gce-client-reg property To: Krzysztof Kozlowski Cc: airlied@gmail.com, amergnat@baylibre.com, andrew+netdev@lunn.ch, andrew-ct.chen@mediatek.com, angelogioacchino.delregno@collabora.com, broonie@kernel.org, chunkuang.hu@kernel.org, ck.hu@mediatek.com, conor+dt@kernel.org, davem@davemloft.net, dmitry.torokhov@gmail.com, edumazet@google.com, flora.fu@mediatek.com, houlong.wei@mediatek.com, jeesw@melfas.com, jmassot@collabora.com, kernel@collabora.com, krzk+dt@kernel.org, kuba@kernel.org, kyrie.wu@mediatek.corp-partner.google.com, lgirdwood@gmail.com, linus.walleij@linaro.org, louisalexis.eyraud@collabora.com, maarten.lankhorst@linux.intel.com, matthias.bgg@gmail.com, mchehab@kernel.org, minghsiu.tsai@mediatek.com, mripard@kernel.org, p.zabel@pengutronix.de, pabeni@redhat.com, robh@kernel.org, sean.wang@kernel.org, simona@ffwll.ch, support.opensource@diasemi.com, tiffany.lin@mediatek.com, tzimmermann@suse.de, yunfei.dong@mediatek.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-sound@vger.kernel.org, netdev@vger.kernel.org References: <20250820171302.324142-1-ariel.dalessandro@collabora.com> <20250820171302.324142-8-ariel.dalessandro@collabora.com> <20250821-wandering-vermilion-pigeon-b8c9f0@kuoka> <28049fe0-0ae7-4b40-9f95-1513e317547f@collabora.com> Content-Language: en-US From: Ariel D'Alessandro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250910_084619_723675_553A857B X-CRM114-Status: GOOD ( 20.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Krzysztof, On 9/10/25 11:21 AM, Krzysztof Kozlowski wrote: > On 10/09/2025 16:04, Ariel D'Alessandro wrote: >> Krzysztof, >> >> On 8/21/25 3:50 AM, Krzysztof Kozlowski wrote: >>> On Wed, Aug 20, 2025 at 02:12:55PM -0300, Ariel D'Alessandro wrote: >>>> Current, the DT bindings for Mediatek UFOe (Unified Frame Optimization >>>> engine) is missing the mediatek,gce-client-reg property. Add it and >>> >>> Why is it missing? If the binding is complete, it cannot be missing... >> >> Due to the following error: >> >> $ make -j$(nproc) CHECK_DTBS=y mediatek/mt8173-elm.dtb >> SCHEMA Documentation/devicetree/bindings/processed-schema.json >> DTC [C] arch/arm64/boot/dts/mediatek/mt8173-elm.dtb >> [...] >> arch/arm64/boot/dts/mediatek/mt8173-elm.dtb: ufoe@1401a000 >> (mediatek,mt8173-disp-ufoe): 'mediatek,gce-client-reg' does not match >> any of the regexes: '^pinctrl-[0-9]+$' >> from schema $id: >> http://devicetree.org/schemas/display/mediatek/mediatek,ufoe.yaml# > > So there are users of it? Then please explain that. Ack. Will fix in v2. Thanks. > >> >>> >>>> update the example as well. >>>> >>>> Signed-off-by: Ariel D'Alessandro >>>> --- >>>> .../bindings/display/mediatek/mediatek,ufoe.yaml | 11 +++++++++++ >>>> 1 file changed, 11 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml >>>> index 61a5e22effbf2..ecb4c0359fec3 100644 >>>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml >>>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml >>>> @@ -64,6 +64,14 @@ properties: >>>> - port@0 >>>> - port@1 >>>> >>>> + mediatek,gce-client-reg: >>>> + description: The register of client driver can be configured by gce with >>>> + 4 arguments defined in this property, such as phandle of gce, subsys id, >>>> + register offset and size. Each GCE subsys id is mapping to a client >>> >>> Don't explain what DT syntax is. We all know, so that's completely >>> redundant description. Explain the purpose. Explain Arguments with sechema - items. >> >> Although I agree with your suggestions, this is exactly how the rest of >> the Mediatek DT bindings describe this node. This patch is based on the >> other +20 files, which describe the node in the same way. > > > Last time I tried to fix something for Mediatek display I got > condescending and useless review from Collabora, so I won't be bothering > with fixing these bindings to make your job easier. I don't care, you > can thank someone inside. Therefore other poor bindings are not a valid > excuse for this patch not being correct. I see. Will rework this properly in v2. Thanks, -- Ariel D'Alessandro Software Engineer Collabora Ltd. Platinum Building, St John's Innovation Park, Cambridge CB4 0DS, UK Registered in England & Wales, no. 5513718