linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/6] Add mmc-support for mt7986
@ 2022-10-25  7:42 Frank Wunderlich
  2022-10-25  7:42 ` [PATCH v4 1/6] dt-bindings: mmc: mtk-sd: Set clocks based on compatible Frank Wunderlich
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Frank Wunderlich @ 2022-10-25  7:42 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Frank Wunderlich, Chaotian Jing, Ulf Hansson, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Wenbin Mei, linux-mmc,
	devicetree, linux-arm-kernel, linux-kernel, Sam Shih

From: Frank Wunderlich <frank-w@public-files.de>

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

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-10-25 12:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25  7:42 [PATCH v4 0/6] Add mmc-support for mt7986 Frank Wunderlich
2022-10-25  7:42 ` [PATCH v4 1/6] dt-bindings: mmc: mtk-sd: Set clocks based on compatible Frank Wunderlich
2022-10-25  7:42 ` [PATCH v4 2/6] dt-bindings: mmc: Add support for Mediatek MT7986 Frank Wunderlich
2022-10-25 12:21   ` Krzysztof Kozlowski
2022-10-25  7:42 ` [PATCH v4 3/6] arm64: dts: mediatek: mt2712e: swap last 2 clocks to match binding Frank Wunderlich
2022-10-25  7:42 ` [PATCH v4 4/6] arm64: dts: mt8183: drop drv-type from mmc-node Frank Wunderlich
2022-10-25 10:52   ` AngeloGioacchino Del Regno
2022-10-25 11:33     ` Frank Wunderlich (linux)
2022-10-25 12:13       ` AngeloGioacchino Del Regno
2022-10-25  7:42 ` [PATCH v4 5/6] arm64: dts: mt7622: drop r_smpl property from mmc node Frank Wunderlich
2022-10-25 10:52   ` AngeloGioacchino Del Regno
2022-10-25 11:32     ` Frank Wunderlich (linux)
2022-10-25  7:42 ` [PATCH v4 6/6] mmc: mediatek: add support for MT7986 SoC Frank Wunderlich
2022-10-25 10:52   ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).