Skip to content

amlogic: t7: give the MMC bus pipeline clock real consumers

Lucas Tanure linux-amlogic linux-arm-kernel linux-clk linux-devicetree linux-mmc lkml 2 versions – Applied

Status from this message: Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v7.4/arm64-dt)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 15 repliesApplied
  2. v14 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: mmc: amlogic,meson-gx-mmc: document the T7 pipeline clockDocumentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml+28 -13 replies
2/4mmc: meson-gx: enable the bus pipeline clock on T7drivers/mmc/host/meson-gx-mmc.c+20 -01 reply
3/4arm64: dts: amlogic: t7: add the pipeline clock to the MMC controllersarch/arm64/boot/dts/amlogic/amlogic-t7.dtsi+9 -61 reply
4/4clk: meson: t7: don't mark sys_ampipe_nand as criticaldrivers/clk/meson/t7-peripherals.c+5 -55 replies

Reviews trailers per patch

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

PatchConor DooleyNeil Armstrong
1/4A-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] amlogic: t7: give the MMC bus pipeline clock real consumers

The previous series for the intermittent boot hangs on the VIM4 marked sys_ampipe_nand as critical. But as Chuan Liu from Amlogic explained, sys_ampipe_nand clocks a pipeline stage that the hardware design inserts in the bus path between the SD/eMMC controllers and the NIC_MATRIX fabric to help timing closure.

So the clock has real consumers: reference it from the three MMC controller nodes and drop CLK_IS_CRITICAL instead.

The series crosses three trees; patch 4 (clk) must only land after patches 1-3, otherwise the DMA hangs fixed by 43e1705ecab9 come back.

Changes since v1 [3]:
- Dropped the Fixes: tag; this series is an improvement and should not be picked up by stable (Jerome Brunet)
- Moved the patch 4 dependency note below the --- so it is not kept for posterity (Jerome Brunet)
- Dropped the e-mail address from the Assisted-by trailer, see Documentation/process/coding-assistants.rst (Jerome Brunet)
- Fixed the space-indented error path added to meson_mmc_probe() in patch 2, it did not pass checkpatch
- Dropped the CLK_PIPELINE() macro from patch 2; has_pipeline_clk is a capability flag, not an SD_EMMC_CLOCK register field

Thanks,
Lucas

Lucas Tanure (4):
dt-bindings: mmc: amlogic,meson-gx-mmc: document the T7 pipeline clock
mmc: meson-gx: enable the bus pipeline clock on T7
arm64: dts: amlogic: t7: add the pipeline clock to the MMC controllers
clk: meson: t7: don't mark sys_ampipe_nand as critical

 .../bindings/mmc/amlogic,meson-gx-mmc.yaml    | 29 ++++++++++++++++++-
 arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi   | 15 ++++++----
 drivers/clk/meson/t7-peripherals.c            | 10 +++----
 drivers/mmc/host/meson-gx-mmc.c               | 20 +++++++++++++
 4 files changed, 62 insertions(+), 12 deletions(-)
Signature · 1 line
2.55.0