Renesas MSIOF (Clock-Synchronized Serial Interface with FIFO) can work as both SPI and I2S. MSIOF-I2S will use Audio Graph Card/Card2 driver which uses Of-Graph in DT. MSIOF-SPI/I2S are using same DT compatible properties. MSIOF-I2S uses Of-Graph for Audio-Graph-Card/Card2, MSIOF-SPI doesn't use Of-Graph. Ignore MSIOF-I2S case (= Of-Graph) in MSIOF-SPI Doc. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> --- .../devicetree/bindings/spi/renesas,sh-msiof.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml index 49649fc3f95a..c491ef5bc78c 100644 --- a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml +++ b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml @@ -9,6 +9,18 @@ title: Renesas MSIOF SPI controller maintainers: - Geert Uytterhoeven <geert+renesas@xxxxxxxxx> +# sharing with MSIOF I2S +# see +# ${LINUX}/Documentation/devicetree/bindings/sound/renesas,msiof.yaml +select: + properties: + compatible: + contains: + pattern: "^renesas,.*-msiof$" + port: false + required: + - compatible + allOf: - $ref: spi-controller.yaml# -- 2.43.0