Home
last modified time | relevance | path

Searched full:nfi_clk (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/spi/
H A Dmediatek,spi-mtk-snfi.yaml75 - const: nfi_clk
92 - const: nfi_clk
111 clock-names = "nfi_clk", "pad_clk";
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Dmediatek,mtk-nfc.yaml34 - const: nfi_clk
124 clock-names = "nfi_clk", "pad_clk";
/openbmc/linux/drivers/mtd/nand/raw/
H A Dmtk_nand.c138 struct clk *nfi_clk; member
548 rate = clk_get_rate(nfc->clk.nfi_clk); in mtk_nfc_setup_interface()
1538 nfc->clk.nfi_clk = devm_clk_get_enabled(dev, "nfi_clk"); in mtk_nfc_probe()
1539 if (IS_ERR(nfc->clk.nfi_clk)) { in mtk_nfc_probe()
1541 ret = PTR_ERR(nfc->clk.nfi_clk); in mtk_nfc_probe()
1599 clk_disable_unprepare(nfc->clk.nfi_clk); in mtk_nfc_suspend()
1615 ret = clk_prepare_enable(nfc->clk.nfi_clk); in mtk_nfc_resume()
1624 clk_disable_unprepare(nfc->clk.nfi_clk); in mtk_nfc_resume()
/openbmc/linux/drivers/spi/
H A Dspi-mtk-snfi.c304 struct clk *nfi_clk; member
1339 ret = clk_prepare_enable(ms->nfi_clk); in mtk_snand_enable_clk()
1360 clk_disable_unprepare(ms->nfi_clk); in mtk_snand_enable_clk()
1368 clk_disable_unprepare(ms->nfi_clk); in mtk_snand_disable_clk()
1409 ms->nfi_clk = devm_clk_get(&pdev->dev, "nfi_clk"); in mtk_snand_probe()
1410 if (IS_ERR(ms->nfi_clk)) { in mtk_snand_probe()
1411 ret = PTR_ERR(ms->nfi_clk); in mtk_snand_probe()
1412 dev_err(&pdev->dev, "unable to get nfi_clk, err = %d\n", ret); in mtk_snand_probe()
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7622.dtsi546 clock-names = "nfi_clk", "pad_clk";
558 clock-names = "nfi_clk", "pad_clk";
H A Dmt2712e.dtsi568 clock-names = "nfi_clk", "pad_clk";
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt2701.dtsi368 clock-names = "nfi_clk", "pad_clk";
H A Dmt7623.dtsi530 clock-names = "nfi_clk", "pad_clk";