[PATCH] dt-bindings: mtd: jedec,spi-nor: Document CPOL/CPHA support
Tudor Ambarus
tudor.ambarus at linaro.org
Fri Mar 17 01:55:35 PDT 2023
Miquel,
Would you please take this through mtd/fixes?
On 14.02.2023 16:26, 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.
>
Would be good if you can amend the commit message to Cc stable:
Cc: <stable at vger.kernel.org>
> 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: Tudor Ambarus <tudor.ambarus at linaro.org>
Cheers,
ta
More information about the linux-mtd
mailing list