Skip to content

Commit e4a264f

Browse files
sycamoremoonRevySR
authored andcommitted
UPSTREAM: 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: 8450f1e ("spi: dt-bindings: spi-sg2044-nor: Add SOPHGO SG2042") Signed-off-by: Zixian Zeng <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Chen Wang <[email protected]> & Tested-by: Chen Wang Link: https://patch.msgid.link/[email protected] Reviewed-by: Chen Wang <[email protected]> & Tested-by: Chen Wang Signed-off-by: Mark Brown <[email protected]> (cherry picked from commit 7438379) Signed-off-by: Han Gao <[email protected]>
1 parent 404d3d0 commit e4a264f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ allOf:
1414

1515
properties:
1616
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
2320

2421
reg:
2522
maxItems: 1

0 commit comments

Comments
 (0)