[PATCH v3 0/2] refine the NFC clock framework

From: Liang Yang
Date: Fri Mar 18 2022 - 08:41:52 EST


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/1jy23226sa.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/]
Now we plan to abandon common mmc sub clock framework and recovery the series.

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/20220106033130.37623-1-liang.yang@xxxxxxxxxxx
https://lore.kernel.org/r/20220106032504.23310-1-liang.yang@xxxxxxxxxxx
[2] https://lore.kernel.org/all/20220217063346.21691-1-liang.yang@xxxxxxxxxxx

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 | 71 ++++++++++++
drivers/mtd/nand/raw/meson_nand.c | 101 +++++++++---------
3 files changed, 124 insertions(+), 108 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt
create mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml

--
2.34.1