All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/9] Add MediaTek MT7986 SPI NAND and ECC support
@ 2022-12-09  6:43 ` Xiangsheng Hou
  0 siblings, 0 replies; 51+ messages in thread
From: Xiangsheng Hou @ 2022-12-09  6:43 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Rob Herring, Krzysztof Kozlowski, Matthias Brugger, Mark Brown,
	Chuanhong Guo
  Cc: Xiangsheng Hou, linux-mtd, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel, linux-spi, benliang.zhao,
	bin.zhang

This patch series add MediaTek MT7986 SPI NAND and ECC controller
support, split ECC engine with rawnand controller in bindings and
change to YAML schema.

Changes since V3:
 - Correct mediatek,mtk-nfc.yaml dt-bindings.

Changes since V2:
 - Change ECC err_mask value with GENMASK macro.
 - Change snfi mediatek,rx-latch-latency to mediatek,rx-latch-latency-ns.
 - Add a separate patch for DTS change.
 - Move common description to top-level pattern properties.
 - Drop redundant parts in dt-bindings.

Changes since V1:
 - Use existing sample delay property.
 - Add restricting for optional nfi_hclk.
 - Improve and perfect dt-bindings documentation.
 - Change existing node name to match NAND controller DT bingings.
 - Fix issues reported by dt_binding_check.
 - Fix issues reported by dtbs_check.

Xiangsheng Hou (9):
  spi: mtk-snfi: Change default page format to setup default setting
  spi: mtk-snfi: Add optional nfi_hclk which is needed for MT7986
  mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC
  dt-bindings: spi: mtk-snfi: Add compatible for MT7986
  spi: mtk-snfi: Add snfi sample delay and read latency adjustment
  dt-bindings: spi: mtk-snfi: Add read latch latency property
  dt-bindings: mtd: Split ECC engine with rawnand controller
  arm/arm64: dts: mediatek: Fix existing NAND controller node name
  dt-bindings: mtd: mediatek,nand-ecc-engine: Add compatible for MT7986

 .../bindings/mtd/mediatek,mtk-nfc.yaml        | 155 +++++++++++++++
 .../mtd/mediatek,nand-ecc-engine.yaml         |  63 +++++++
 .../devicetree/bindings/mtd/mtk-nand.txt      | 176 ------------------
 .../bindings/spi/mediatek,spi-mtk-snfi.yaml   |  54 +++++-
 arch/arm/boot/dts/mt2701.dtsi                 |   2 +-
 arch/arm64/boot/dts/mediatek/mt2712e.dtsi     |   2 +-
 arch/arm64/boot/dts/mediatek/mt7622.dtsi      |   2 +-
 drivers/mtd/nand/ecc-mtk.c                    |  28 ++-
 drivers/spi/spi-mtk-snfi.c                    |  41 +++-
 9 files changed, 330 insertions(+), 193 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/mediatek,mtk-nfc.yaml
 create mode 100644 Documentation/devicetree/bindings/mtd/mediatek,nand-ecc-engine.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/mtk-nand.txt

-- 
2.25.1


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2022-12-16 11:26 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09  6:43 [PATCH v4 0/9] Add MediaTek MT7986 SPI NAND and ECC support Xiangsheng Hou
2022-12-09  6:43 ` Xiangsheng Hou
2022-12-09  6:43 ` Xiangsheng Hou
2022-12-09  6:43 ` [PATCH v4 1/9] spi: mtk-snfi: Change default page format to setup default setting Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-13 17:01   ` Mark Brown
2022-12-13 17:01     ` Mark Brown
2022-12-13 17:01     ` Mark Brown
2022-12-09  6:43 ` [PATCH v4 2/9] spi: mtk-snfi: Add optional nfi_hclk which is needed for MT7986 Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43 ` [PATCH v4 3/9] mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-13  9:36   ` AngeloGioacchino Del Regno
2022-12-13  9:36     ` AngeloGioacchino Del Regno
2022-12-13  9:36     ` AngeloGioacchino Del Regno
2022-12-09  6:43 ` [PATCH v4 4/9] dt-bindings: spi: mtk-snfi: Add compatible for MT7986 Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-13  9:37   ` AngeloGioacchino Del Regno
2022-12-13  9:37     ` AngeloGioacchino Del Regno
2022-12-13  9:37     ` AngeloGioacchino Del Regno
2022-12-09  6:43 ` [PATCH v4 5/9] spi: mtk-snfi: Add snfi sample delay and read latency adjustment Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43 ` [PATCH v4 6/9] dt-bindings: spi: mtk-snfi: Add read latch latency property Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-13  9:38   ` AngeloGioacchino Del Regno
2022-12-13  9:38     ` AngeloGioacchino Del Regno
2022-12-13  9:38     ` AngeloGioacchino Del Regno
2022-12-09  6:43 ` [PATCH v4 7/9] dt-bindings: mtd: Split ECC engine with rawnand controller Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  8:52   ` Krzysztof Kozlowski
2022-12-09  8:52     ` Krzysztof Kozlowski
2022-12-09  8:52     ` Krzysztof Kozlowski
2022-12-09  6:43 ` [PATCH v4 8/9] arm/arm64: dts: mediatek: Fix existing NAND controller node name Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-13  9:42   ` AngeloGioacchino Del Regno
2022-12-13  9:42     ` AngeloGioacchino Del Regno
2022-12-13  9:42     ` AngeloGioacchino Del Regno
2022-12-16 11:24     ` Matthias Brugger
2022-12-16 11:24       ` Matthias Brugger
2022-12-16 11:24       ` Matthias Brugger
2022-12-09  6:43 ` [PATCH v4 9/9] dt-bindings: mtd: mediatek,nand-ecc-engine: Add compatible for MT7986 Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou
2022-12-09  6:43   ` Xiangsheng Hou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.