On Mon, 30 Sep 2024 18:32:38 -0300, Fabio Estevam wrote: > Currently, the compatible 'elgin,jg10309-01' is documented inside > trivial-devices.yaml, but it does not fit well there as it requires > extra properties such as spi-max-frequency, spi-cpha, and spi-cpol. > > This causes the following dt-schema warnings: > > make CHECK_DTBS=y rockchip/rv1108-elgin-r1.dtb -j12 > > DTC [C] arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb > rv1108-elgin-r1.dtb:display@0: 'spi-cpha', 'spi-cpol' do not match any of the regexes: > ... > > Fix this problem by introducing a specific binding for the Elgin > JG10309-01 SPI-controlled display. > > Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx> > Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> > --- > Changes since last version: > - Resending with Krzysztof's Reviewed-by. > Changes since v1: > - None. Sent it to Mark as per Rob's suggestion. > > .../bindings/display/elgin,jg10309-01.yaml | 54 +++++++++++++++++++ > .../devicetree/bindings/trivial-devices.yaml | 2 - > 2 files changed, 54 insertions(+), 2 deletions(-) > create mode 100644 Documentation/devicetree/bindings/display/elgin,jg10309-01.yaml > Applied, thanks!