diff options
author | 2021-11-20 19:34:49 +0800 | |
---|---|---|
committer | 2021-11-22 15:48:25 +0000 | |
commit | 49cd1eb37b487036f51bd57b591f7b5760a10e02 (patch) | |
tree | 60bcc322009c1922d9a73306c9fb16edda462332 | |
parent | spi: deduplicate spi_match_id() in __spi_register_driver() (diff) | |
download | linux-dev-49cd1eb37b487036f51bd57b591f7b5760a10e02.tar.xz linux-dev-49cd1eb37b487036f51bd57b591f7b5760a10e02.zip |
spi: fsl-lpspi: Add imx8ulp compatible string
The lpspi on i.MX8ULP is derived from i.MX7ULP, it uses two
compatible strings, so update the comaptible string for i.MX8ULP.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211120113454.785997-4-peng.fan@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml index 312d8fee9dbb..1d46877fe46a 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml @@ -14,10 +14,13 @@ allOf: properties: compatible: - enum: - - fsl,imx7ulp-spi - - fsl,imx8qxp-spi - + oneOf: + - enum: + - fsl,imx7ulp-spi + - fsl,imx8qxp-spi + - items: + - const: fsl,imx8ulp-spi + - const: fsl,imx7ulp-spi reg: maxItems: 1 |