On Tue, Jan 18, 2022 at 2:42 AM Li-hao Kuo <lhjeff911@xxxxxxxxx> wrote: > > Add bindings for Sunplus SP7021 spi driver > > Signed-off-by: Li-hao Kuo <lhjeff911@xxxxxxxxx> > --- > Changes in v6: > - Change the interrupt-names > mas_risc to master_risc > - Addressed comments from Mr. Andy Shevchenko > Change the function name: mas is master and sla is slave. > Add temporary varilable (as suggested by Mr. Andy Shevchenko) > Modify clk setting > Modify the master-slave detection of the probe function.(as suggested by Mr. Andy Shevchenko) > Modify the return value of the probe function.(as suggested by Mr. Andy Shevchenko) > Change GPL version(as suggested by Mr. Andy Shevchenko) > > .../bindings/spi/spi-sunplus-sp7021.yaml | 81 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 82 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml This is now failing in linux-next, please fix: /builds/robherring/linux-dt/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml: properties:reg:items: 'anyOf' conditional failed, one must be fixed: ['the SPI master registers', 'the SPI slave registers'] is not of type 'object', 'boolean' 'the SPI master registers' is not of type 'object', 'boolean' 'the SPI slave registers' is not of type 'object', 'boolean' from schema $id: http://json-schema.org/draft-07/schema# /builds/robherring/linux-dt/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml: ignoring, error in schema: properties: reg: items Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.example.dts:19:18: fatal error: dt-bindings/clock/sp-sp7021.h: No such file or directory 19 | #include <dt-bindings/clock/sp-sp7021.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.lib:390: Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.example.dt.yaml] Error 1