[PATCH v2 42/46] dt-bindings: display: mediatek: Introduce MT8196 2D Sharpness Processor

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Jul 28 06:49:44 PDT 2026


On 7/28/26 15:40, Rob Herring wrote:
> On Tue, Jul 14, 2026 at 6:45 AM AngeloGioacchino Del Regno
> <angelogioacchino.delregno at collabora.com> wrote:
>>
>> Add documentation for the Two-Dimension Sharpness Processor, or
>> "TDSHP", found in many MediaTek SoCs including MT8196 and its
>> variants.
>>
>> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
>> ---
>>   .../mediatek/mediatek,mt8196-tdshp.yaml       | 98 +++++++++++++++++++
>>   1 file changed, 98 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-tdshp.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-tdshp.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-tdshp.yaml
>> new file mode 100644
>> index 000000000000..ccd6a8443443
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mt8196-tdshp.yaml
>> @@ -0,0 +1,98 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/display/mediatek/mediatek,mt8196-tdshp.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: MediaTek Display Two-Dimension Sharpness Processor (TDSHP)
>> +
>> +maintainers:
>> +  - AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
>> +
>> +description:
>> +  The MediaTek 2D Sharpness Processor (TDSHP) is responsible for performing
>> +  image sharpness adjustments/enhancements in a display pipeline.
>> +  This hardware block supports adjusting the luma and contour 2d histograms,
>> +  frequency weighting, luma-chroma gain and others, with adaptive weights.
>> +
>> +properties:
>> +  compatible:
>> +    const: mediatek,mt8196-disp-tdshp
>> +
>> +  reg:
>> +    maxItems: 1
>> +
>> +  clocks:
>> +    maxItems: 1
>> +
>> +  power-domains:
>> +    maxItems: 1
>> +
>> +  ports:
>> +    $ref: /schemas/graph.yaml#/properties/ports
>> +
>> +    properties:
>> +      port at 0:
>> +        $ref: /schemas/graph.yaml#/properties/port
>> +
>> +      port at 1:
>> +        $ref: /schemas/graph.yaml#/properties/port
>> +
>> +    required:
>> +      - port at 0
>> +      - port at 1
>> +
>> +  trigger-sources:
>> +    maxItems: 1
>> +
>> +required:
>> +  - compatible
>> +  - reg
>> +  - clocks
>> +  - clock-names
> 
> This causes a warning.
> 
> Seems this is in linux-next already, but no reviews?
> 
> Rob

Wow. No idea how clock-names got into the list of required properties: there is
only one possible clock, and this doesn't need any clock-names at all.

Same for the resizer binding.
Sorry for the mistake.

Cheers,
Angelo



More information about the Linux-mediatek mailing list