Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: dt-bindings: spi-sg2044-nor: Change SOPHGO SG2042

With further testing, directly using the spi-sg2044-nor driver on SG2042
does not work. SG2042 is found to lack full compatibility with SG2044.
SG2044 has OPT register and it's necessary to write but SG2042 does not.
Due to other possible hardware detail differences, it is better
to bind SG2042 independently.

Fixes: 8450f1e0d3d0 ("spi: dt-bindings: spi-sg2044-nor: Add SOPHGO SG2042")
Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Chen Wang <unicorn_wang@outlook.com> & Tested-by: Chen Wang
Link: https://patch.msgid.link/20250720-sfg-spifmc-v4-1-033188ad801e@gmail.com
Reviewed-by: Chen Wang <unicorn_wang@outlook.com> & Tested-by: Chen Wang
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Zixian Zeng and committed by
Mark Brown
7438379c 89be9a83

+3 -6
+3 -6
Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml
··· 14 14 15 15 properties: 16 16 compatible: 17 - oneOf: 18 - - const: sophgo,sg2044-spifmc-nor 19 - - items: 20 - - enum: 21 - - sophgo,sg2042-spifmc-nor 22 - - const: sophgo,sg2044-spifmc-nor 17 + enum: 18 + - sophgo,sg2042-spifmc-nor 19 + - sophgo,sg2044-spifmc-nor 23 20 24 21 reg: 25 22 maxItems: 1