On Thu, Sep 17, 2026 at 01:59:41AM +0800, Adam Azuddin wrote: > The RA8875 is an SPI-connected TFT display controller by RAiO > Technology Inc. It supports display resolutions of up to 800x480. > > Add YAML binding schema for the RA8875 controller, along with
Don use "YAML binding schema". It's redundant. You add bindings. > the raio vendor prefix for RAiO Technology Inc. Or better drop entire sentence, not really needed. > > Assisted-by: LLM > Signed-off-by: Adam Azuddin <[email protected]> > --- > .../bindings/display/panel/raio,ra8875.yaml | 66 +++++++++++++++++++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > 2 files changed, 68 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/display/panel/raio,ra8875.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/raio,ra8875.yaml > b/Documentation/devicetree/bindings/display/panel/raio,ra8875.yaml > new file mode 100644 > index 000000000000..f6f4867495dd > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/raio,ra8875.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/raio,ra8875.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: RAiO RA8875 Display Controller > + > +maintainers: > + - Adam Azuddin <[email protected]> > + > +description: | Do not need '|' unless you need to preserve formatting. > + This binding is for display panels using an RAiO RA8875 controller > + connected via SPI. Describe hardware, not the binding. Please instruct your LLM to actually read Linux kernel documentation before making commits. > + > +allOf: > + - $ref: panel-common.yaml# > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +properties: > + compatible: > + const: raio,ra8875 > + > + reg: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 25000000 > + > + display-timings: > + $ref: /schemas/display/panel/display-timings.yaml# This property is not needed here, you can drop, while still requiring it in the required block. No supplies? No reset pins? > + > +required: > + - compatible > + - reg > + - display-timings > + > +unevaluatedProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ra8875: ra8875@0 { 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 If you cannot find a name matching your device, please check in kernel sources for similar cases or you can grow the spec (via pull request to DT spec repo). > + compatible = "raio,ra8875"; > + reg = <0>; > + spi-max-frequency = <16000000>; Best regards, Krzysztof
