Skip to content

Commit

Permalink
spi: dt-bindings: mediatek,spi-mtk-nor: Update bindings for nor flash
Browse files Browse the repository at this point in the history
The spi-mtk-nor controller of mt8173, mt8186 and mt8192 have their
DT data. They don't use mt8173 as fallback.

Using the fallback of mt8186 to enables the controllers to support
mt8188.

Not all of spi-mtk-nor controller need interrupt property, so we
don't mark interrupt as required.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Link: https://lore.kernel.org/r/20220715115443.4154-1-allen-kh.cheng@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Allen-KH Cheng authored and Mark Brown committed Jul 18, 2022
1 parent ecff027 commit 82cef0a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,24 @@ allOf:
properties:
compatible:
oneOf:
- enum:
- mediatek,mt8173-nor
- mediatek,mt8186-nor
- mediatek,mt8192-nor
- items:
- enum:
- mediatek,mt2701-nor
- mediatek,mt2712-nor
- mediatek,mt7622-nor
- mediatek,mt7623-nor
- mediatek,mt7629-nor
- mediatek,mt8186-nor
- mediatek,mt8192-nor
- mediatek,mt8195-nor
- enum:
- mediatek,mt8173-nor
- items:
- const: mediatek,mt8173-nor
- items:
- enum:
- mediatek,mt8188-nor
- const: mediatek,mt8186-nor

reg:
maxItems: 1

Expand Down Expand Up @@ -64,7 +68,6 @@ properties:
required:
- compatible
- reg
- interrupts
- clocks
- clock-names

Expand Down

0 comments on commit 82cef0a

Please sign in to comment.