devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add mtk-sd support for MT8196
@ 2024-09-29  7:44 Andy-ld Lu
  2024-09-29  7:44 ` [PATCH v2 1/2] mmc: mtk-sd: Add " Andy-ld Lu
  2024-09-29  7:44 ` [PATCH v2 2/2] dt-bindings: " Andy-ld Lu
  0 siblings, 2 replies; 7+ messages in thread
From: Andy-ld Lu @ 2024-09-29  7:44 UTC (permalink / raw)
  To: ulf.hansson, robh, krzk+dt, matthias.bgg,
	angelogioacchino.delregno, wenbin.mei
  Cc: linux-mmc, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Andy-ld Lu

There are some new features for Mediatek SoC MT8196, which include new
command/data transmitting and receiving path (abbreviated as tx/rx), and
two modified register settings.

The driver code has to be adapted to implement the above changes, and the
compatible string 'mediatek,mt8196-mmc' is added to driver and devicetree
bindings.

---
Changes in v2:
- Use compatible string 'mediatek,mt8196-mmc' to replace 'mediatek,msdc-v2';
- Remove the 'mediatek,stop-dly-sel', 'mediatek,pop-en-cnt' and 'mediatek,
  prohibit-gate-cg' in devicetree bindings, due to SoC dependent;
- Add 'stop_dly_sel' and 'pop_en_cnt' to the compatiblity structure for
  different register settings;
- The SoC's upgraded version would discard the bus design that detect source
  clock CG when the CPU access the IP registers, so drop the related control
  flow with 'prohibit_gate_cg' flag.

Link to v1:
https://patchwork.kernel.org/patch/13812924

---
Andy-ld Lu (2):
  mmc: mtk-sd: Add support for MT8196
  dt-bindings: mmc: mtk-sd: Add support for MT8196

 .../devicetree/bindings/mmc/mtk-sd.yaml       |   2 +
 drivers/mmc/host/mtk-sd.c                     | 162 +++++++++++++++---
 2 files changed, 143 insertions(+), 21 deletions(-)

-- 
2.46.0


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

end of thread, other threads:[~2024-10-09  6:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-29  7:44 [PATCH v2 0/2] Add mtk-sd support for MT8196 Andy-ld Lu
2024-09-29  7:44 ` [PATCH v2 1/2] mmc: mtk-sd: Add " Andy-ld Lu
2024-09-30  9:13   ` AngeloGioacchino Del Regno
2024-10-09  6:14     ` Andy-ld Lu (卢东)
2024-09-29  7:44 ` [PATCH v2 2/2] dt-bindings: " Andy-ld Lu
2024-09-29 19:43   ` Krzysztof Kozlowski
2024-10-09  5:49     ` Andy-ld Lu (卢东)

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