Skip to content

Add mmc-support for mt7986

Frank Wunderlich linux-arm-kernel linux-devicetree linux-mediatek linux-mmc lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 8 repliesIn review
  2. v46 patches 7 repliesSuperseded
  3. v3 posting 2/27 patches 6 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/20 of 7 patches0 repliesSuperseded
v25 patches2 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v5 from the cover letter

- add fixes-tags to Patches 4+5 and reviewed-by to 6
- drop quotes from mt7986 clock-names from patch 2

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: mmc: mtk-sd: Set clocks based on compatibleDocumentation/devicetree/bindings/mmc/mtk-sd.yaml+93 -301 reply
2/6dt-bindings: mmc: Add support for Mediatek MT7986Documentation/devicetree/bindings/mmc/mtk-sd.yaml+26 -02 replies
3/6arm64: dts: mediatek: mt2712e: swap last 2 clocks to match bindingarch/arm64/boot/dts/mediatek/mt2712e.dtsi+3 -31 reply
4/6arm64: dts: mt8183: drop drv-type from mmc-nodearch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi+0 -11 reply
5/6arm64: dts: mt7622: drop r_smpl property from mmc nodearch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts+0 -21 reply
6/6mmc: mediatek: add support for MT7986 SoCdrivers/mmc/host/mtk-sd.c+14 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiAngeloGioacchino Del Regno
1/6R-b R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/6] Add mmc-support for mt7986

From: Frank Wunderlich <[email protected]>

I've noticed the mtk-sd binding needs a bit more work get into a more clean state.

There are 2 properties missing that maybe need to be added later or dropped from devicetrees:
drv-type (which is used in mt8183-kukui.dtsi and set to <2>) and
r_smpl (used in mt7622-rfb1.dts and mt7622-bananapi-bpi-r64.dts, both times set to <1>)

i don't know their function and boundaries and i do not find them in driver. I guess they are added by accident, so i removing them in the patches 5+6.

v2:
- add compatible based binding
v3:
- solve "not" statement in binding and reorder if statements,drop mt8183
- added patches removing invalid properties (not in driver) v4:
- squashed part 1 (compatible) and 3 (SoC specific clock config)
- new mt7986 clock bindings based on info from mtk
- re-add mt8183 reg boundary
v5:
- add fixes-tags to Patches 4+5 and reviewed-by to 6
- drop quotes from mt7986 clock-names from patch 2

Frank Wunderlich (3):
arm64: dts: mediatek: mt2712e: swap last 2 clocks to match binding
arm64: dts: mt8183: drop drv-type from mmc-node
arm64: dts: mt7622: drop r_smpl property from mmc node

Nícolas F. R. A. Prado (1):
dt-bindings: mmc: mtk-sd: Set clocks based on compatible

Sam Shih (2):
dt-bindings: mmc: Add support for Mediatek MT7986
mmc: mediatek: add support for MT7986 SoC

 .../devicetree/bindings/mmc/mtk-sd.yaml       | 149 ++++++++++++++----
 arch/arm64/boot/dts/mediatek/mt2712e.dtsi     |   6 +-
 .../dts/mediatek/mt7622-bananapi-bpi-r64.dts  |   1 -
 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts  |   1 -
 .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi |   1 -
 drivers/mmc/host/mtk-sd.c                     |  14 ++
 6 files changed, 136 insertions(+), 36 deletions(-)
Signature · 1 line
2.34.1