[PATCH] dt-bindings: mtd: jedec,spi-nor: Document CPOL/CPHA support
Miquel Raynal
miquel.raynal at bootlin.com
Wed Mar 22 09:08:05 PDT 2023
On Tue, 2023-02-14 at 14:26:43 UTC, Geert Uytterhoeven wrote:
> SPI EEPROMs typically support both SPI Mode 0 (CPOL=CPHA=0) and Mode 3
> (CPOL=CPHA=1). However, using the latter is currently flagged as an
> error by "make dtbs_check", e.g.:
>
> arch/arm/boot/dts/r8a7791-koelsch.dtb: flash at 0: Unevaluated properties are not allowed ('spi-cpha', 'spi-cpol' were unexpected)
> From schema: Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
>
> Fix this by documenting support for CPOL=CPHA=1.
>
> Fixes: 233363aba72ac638 ("spi/panel: dt-bindings: drop CPHA and CPOL from common properties")
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Reviewed-by: Tudor Ambarus <tudor.ambarus at linaro.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
Miquel
More information about the linux-mtd
mailing list