Skip to content

refine the NFC clock framework

Liang Yang linux-amlogic linux-arm-kernel linux-devicetree linux-mtd lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 17 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v2 posting 2/22 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/22 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mtd: rawnand: meson: discard the common MMC sub clock frameworkdrivers/mtd/nand/raw/meson_nand.c+42 -4713 replies
2/2dt-bindings: nand: meson: refine Amlogic NAND controller driverDocumentation/devicetree/bindings/mtd/amlogic,meson-nand.txt Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml+80 -604 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] refine the NFC clock framework

Background firstly,
Both EMMC and NAND have the same clock control register named 'SD_EMMC_CLOCK' which is defined in EMMC port internally. bit0~5 of 'SD_EMMC_CLOCK' is the divider and bit6~7 is the mux for fix pll and xtal.
Previously a common MMC sub clock framework is implemented and shared by EMMC and NAND, but that is coupling the EMMC and NAND, although EMMC and NAND is mutually exclusive. see the link:
[https://lore.kernel.org/all/[email protected]/]
Now we plan to abandon common mmc sub clock framework and recovery the series.

Changes since v3 [4]
- use devm_platform_ioremap_resource_byname
- dt_binding_check for mtd/amlogic,meson-nand.yaml

Changes since v2 [3]
- use fw_name from dts, instead the wrong way using __clk_get_name
- reg resource size change to 0x800
- use reg-names

Changes since v1 [2]
- use clk_parent_data instead of parent_names
- define a reg resource instead of sd_emmc_c_clkc

[1] https://lore.kernel.org/r/[email protected]

    https://lore.kernel.org/r/[email protected]

[2] https://lore.kernel.org/all/[email protected]
[3] https://lore.kernel.org/all/[email protected]

Liang Yang (2):
mtd: rawnand: meson: discard the common MMC sub clock framework
dt-bindings: nand: meson: refine Amlogic NAND controller driver

 .../bindings/mtd/amlogic,meson-nand.txt       | 60 -------------
 .../bindings/mtd/amlogic,meson-nand.yaml      | 80 +++++++++++++++++
 drivers/mtd/nand/raw/meson_nand.c             | 89 +++++++++----------
 3 files changed, 122 insertions(+), 107 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
Signature · 1 line
2.34.1