/linux/drivers/spi/ |
H A D | spi-slave-mt27xx.c | 69 struct clk *spi_clk; member 442 mdata->spi_clk = devm_clk_get(&pdev->dev, "spi"); in mtk_spi_slave_probe() 443 if (IS_ERR(mdata->spi_clk)) { in mtk_spi_slave_probe() 444 ret = PTR_ERR(mdata->spi_clk); in mtk_spi_slave_probe() 449 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_slave_probe() 451 dev_err(&pdev->dev, "failed to enable spi_clk (%d)\n", ret); in mtk_spi_slave_probe() 458 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_slave_probe() 492 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_slave_suspend() 504 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_slave_resume() 506 dev_err(dev, "failed to enable spi_clk (%d)\n", ret); in mtk_spi_slave_resume() [all …]
|
H A D | spi-mt65xx.c | 140 * @spi_clk: Peripheral clock 162 struct clk *parent_clk, *sel_clk, *spi_clk, *spi_hclk; member 1215 mdata->spi_clk = devm_clk_get(dev, "spi-clk"); in mtk_spi_probe() 1216 if (IS_ERR(mdata->spi_clk)) in mtk_spi_probe() 1217 return dev_err_probe(dev, PTR_ERR(mdata->spi_clk), "failed to get spi-clk\n"); in mtk_spi_probe() 1231 ret = clk_prepare_enable(mdata->spi_clk); in mtk_spi_probe() 1234 return dev_err_probe(dev, ret, "failed to enable spi_clk\n"); in mtk_spi_probe() 1237 mdata->spi_clk_hz = clk_get_rate(mdata->spi_clk); in mtk_spi_probe() 1240 clk_disable(mdata->spi_clk); in mtk_spi_probe() 1243 clk_disable_unprepare(mdata->spi_clk); in mtk_spi_probe() [all …]
|
H A D | spi-clps711x.c | 28 struct clk *spi_clk; member 55 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); in spi_clps711x_transfer_one() 116 hw->spi_clk = devm_clk_get(&pdev->dev, NULL); in spi_clps711x_probe() 117 if (IS_ERR(hw->spi_clk)) { in spi_clps711x_probe() 118 ret = PTR_ERR(hw->spi_clk); in spi_clps711x_probe()
|
H A D | spi-xlp.c | 99 u32 spi_clk; /* spi clock frequency */ member 146 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); in xlp_spi_setup() 399 xspi->spi_clk = clk_get_rate(clk); in xlp_spi_probe()
|
H A D | spi-airoha-snfi.c | 213 struct clk *spi_clk; member 1071 as_ctrl->spi_clk = devm_clk_get_enabled(dev, "spi"); in airoha_snand_probe() 1072 if (IS_ERR(as_ctrl->spi_clk)) in airoha_snand_probe() 1073 return dev_err_probe(dev, PTR_ERR(as_ctrl->spi_clk), in airoha_snand_probe()
|
H A D | spi-imx.c | 107 unsigned long spi_clk; member 473 unsigned int fin = spi_imx->spi_clk; in mx51_ecspi_clkdiv() 842 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) << in mx31_prepare_transfer() 947 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, spi_imx->spi_bus_clk, max, &clk) in mx21_prepare_transfer() 1021 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, spi_imx->spi_bus_clk, &clk) << in mx1_prepare_transfer() 1907 spi_imx->spi_clk = clk_get_rate(spi_imx->clk_per); in spi_imx_probe()
|
H A D | spi-altera-dfl.c | 37 #define SPI_CLK GENMASK_ULL(31, 22) macro
|
H A D | spi-axi-spi-engine.c | 674 spi_engine->ref_clk = devm_clk_get_enabled(&pdev->dev, "spi_clk"); in spi_engine_probe() 725 return dev_err_probe(&pdev->dev, -EINVAL, "spi_clk rate is 0"); in spi_engine_probe()
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | lantiq,pinctrl-xway.txt | 46 exin0, exin1, exin2, jtag, spi_di, spi_do, spi_clk, spi_cs1, spi_cs2, 56 ebu wait, nand ale, nand cs1, nand cle, spi_di, spi_do, spi_clk, spi_cs1, 68 spi_di, spi_do, spi_clk, spi_cs1, spi_cs2, spi_cs3, spi_cs4, spi_cs5, 80 spi_di, spi_do, spi_clk, spi_cs1, spi_cs2, spi_cs3, spi_cs4, spi_cs5, 83 usif spi_do, usif spi_clk, usif spi_cs0, usif spi_cs1, usif spi_cs2, 96 spi_clk, spi_cs1, spi_cs4, spi_cs6, usif uart_rx, usif uart_tx, 97 usif spi_di, usif spi_do, usif spi_clk, usif spi_cs0, stp, clkout2,
|
H A D | airoha,en7581-pinctrl.yaml | 289 enum: [uart1_txd, uart1_rxd, i2c_scl, i2c_sda, spi_cs0, spi_clk,
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | adi,axi-spi-engine.yaml | 42 - const: spi_clk 60 clock-names = "s_axi_aclk", "spi_clk";
|
H A D | atmel,at91rm9200-spi.yaml | 35 const: spi_clk 78 clock-names = "spi_clk";
|
H A D | spi-img-spfi.txt | 32 clocks = <&spi_clk>, <&system_clk>;
|
H A D | spi-davinci.txt | 59 SPI_CLK | | | | | | | | | | | | | | | |
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-xway.c | 189 GRP_MUX("spi_clk", SPI, ase_pins_spi_clk), 222 "spi_clk", "spi_cs1", 347 GRP_MUX("spi_clk", SPI, danube_pins_spi_clk), 380 "spi_clk", "spi_cs1", 555 GRP_MUX("spi_clk", SPI, xrx100_pins_spi_clk), 591 "spi_clk", "spi_cs1", 783 GRP_MUX("spi_clk", SPI, xrx200_pins_spi_clk), 800 GRP_MUX("usif spi_clk", USIF, xrx200_pins_usif_spi_clk), 837 "spi_clk", "spi_cs1", 857 "usif spi_clk", "usif spi_cs0", [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | lan966x.dtsi | 195 clock-names = "spi_clk"; 246 clock-names = "spi_clk"; 314 clock-names = "spi_clk"; 365 clock-names = "spi_clk"; 435 clock-names = "spi_clk";
|
H A D | sam9x60.dtsi | 201 clock-names = "spi_clk"; 272 clock-names = "spi_clk"; 772 clock-names = "spi_clk"; 843 clock-names = "spi_clk"; 914 clock-names = "spi_clk"; 985 clock-names = "spi_clk";
|
H A D | at91sam9261.dtsi | 265 clock-names = "spi_clk"; 278 clock-names = "spi_clk";
|
H A D | at91sam9n12.dtsi | 693 clock-names = "spi_clk"; 709 clock-names = "spi_clk";
|
H A D | at91sam9260.dtsi | 690 clock-names = "spi_clk"; 703 clock-names = "spi_clk";
|
H A D | at91sam9263.dtsi | 700 clock-names = "spi_clk"; 713 clock-names = "spi_clk";
|
/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-mt6397.h | 42 MTK_PIN(PINCTRL_PIN(5, "SPI_CLK"), 46 MTK_FUNCTION(1, "SPI_CLK")
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | renesas,rpc-if.yaml | 116 - description: SPI Multi IO Main clock (SPI_CLK).
|
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-ns.c | 38 { 0, "spi_clk", (void *)(FLAG_BCM4708 | FLAG_BCM4709 | FLAG_BCM53012) },
|
/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-denverton.c | 169 PINCTRL_PIN(129, "SPI_CLK"),
|