On Fri, Aug 08, 2025 at 08:53:59PM +0800, Jay Liu wrote: > Add disp-tdshp hardware description for MediaTek MT8196 SoC > > Signed-off-by: Jay Liu <jay....@mediatek.com> > --- > .../display/mediatek/mediatek,disp-tdshp.yaml | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/display/mediatek/mediatek,disp-tdshp.yaml
We expect filename based on compatibles (see writing bindings). > > diff --git > a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-tdshp.yaml > b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-tdshp.yaml > new file mode 100644 > index 000000000000..94aa33a2a5ed > --- /dev/null > +++ > b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp-tdshp.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/mediatek/mediatek,disp-tdshp.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek display 2D sharpness processor > + > +maintainers: > + - Chun-Kuang Hu <chunkuang...@kernel.org> > + - Philipp Zabel <p.za...@pengutronix.de> > + > +description: | > + MediaTek display 2D sharpness processor, namely TDSHP, provides a > + operation used to adjust sharpness in display system. > + TDSHP device node must be siblings to the central MMSYS_CONFIG node. Heh? Why would this have to be a sibling? This is really odd, because you cannto actually rely on that. You just added unverifiable unusual ABI with no explanation. > + For a description of the MMSYS_CONFIG binding, see > + Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > + for details. > + > +properties: > + compatible: > + items: Drop, just enum. > + - enum: > + - mediatek,mt8196-disp-tdshp > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + Drop blank line > + soc { > + #address-cells = <2>; > + #size-cells = <2>; messed indentation > + > + disp-tdshp@321e0000 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation e.g. image-processor Best regards, Krzysztof