/openbmc/linux/drivers/spi/ |
H A D | spi-amlogic-spifc-a1.c | 250 spifc->curr_speed_hz = freq; in amlogic_spifc_a1_set_freq() 257 struct amlogic_spifc_a1 *spifc = in amlogic_spifc_a1_exec_op() local 326 struct amlogic_spifc_a1 *spifc; in amlogic_spifc_a1_probe() local 336 spifc->dev = &pdev->dev; in amlogic_spifc_a1_probe() 337 spifc->ctrl = ctrl; in amlogic_spifc_a1_probe() 340 if (IS_ERR(spifc->base)) in amlogic_spifc_a1_probe() 341 return PTR_ERR(spifc->base); in amlogic_spifc_a1_probe() 343 spifc->clk = devm_clk_get_enabled(spifc->dev, NULL); in amlogic_spifc_a1_probe() 344 if (IS_ERR(spifc->clk)) in amlogic_spifc_a1_probe() 345 return dev_err_probe(spifc->dev, PTR_ERR(spifc->clk), in amlogic_spifc_a1_probe() [all …]
|
H A D | spi-meson-spifc.c | 288 struct meson_spifc *spifc; in meson_spifc_probe() local 300 spifc->dev = &pdev->dev; in meson_spifc_probe() 308 spifc->regmap = devm_regmap_init_mmio(spifc->dev, base, in meson_spifc_probe() 310 if (IS_ERR(spifc->regmap)) { in meson_spifc_probe() 311 ret = PTR_ERR(spifc->regmap); in meson_spifc_probe() 315 spifc->clk = devm_clk_get(spifc->dev, NULL); in meson_spifc_probe() 316 if (IS_ERR(spifc->clk)) { in meson_spifc_probe() 318 ret = PTR_ERR(spifc->clk); in meson_spifc_probe() 338 meson_spifc_hw_init(spifc); in meson_spifc_probe() 341 pm_runtime_enable(spifc->dev); in meson_spifc_probe() [all …]
|
H A D | Makefile | 20 obj-$(CONFIG_SPI_AMLOGIC_SPIFC_A1) += spi-amlogic-spifc-a1.o 80 obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
|
/openbmc/u-boot/drivers/spi/ |
H A D | meson_spifc.c | 87 regmap_read(spifc->regmap, REG_C0 + i, &data); in meson_spifc_drain_buffer() 118 regmap_write(spifc->regmap, REG_C0 + i, data); in meson_spifc_fill_buffer() 145 meson_spifc_fill_buffer(spifc, dout + offset, len); in meson_spifc_txrx() 148 regmap_update_bits(spifc->regmap, REG_USER, USER_UC_MASK, in meson_spifc_txrx() 150 regmap_write(spifc->regmap, REG_USER1, in meson_spifc_txrx() 174 meson_spifc_drain_buffer(spifc, din + offset, len); in meson_spifc_txrx() 204 ret = meson_spifc_txrx(spifc, dout, din, done, len, in meson_spifc_xfer() 223 struct meson_spifc_priv *spifc = dev_get_priv(dev); in meson_spifc_set_speed() local 227 parent = clk_get_rate(&spifc->clk); in meson_spifc_set_speed() 237 regmap_write(spifc->regmap, REG_CLOCK, value); in meson_spifc_set_speed() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | amlogic,meson6-spifc.yaml | 5 $id: http://devicetree.org/schemas/spi/amlogic,meson6-spifc.yaml# 24 - amlogic,meson6-spifc # SPI Flash Controller on Meson6 and compatible SoCs 25 - amlogic,meson-gxbb-spifc # SPI Flash Controller on GXBB and compatible SoCs 43 compatible = "amlogic,meson6-spifc";
|
H A D | amlogic,a1-spifc.yaml | 4 $id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml# 18 - amlogic,a1-spifc 36 compatible = "amlogic,a1-spifc";
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8-minix-neo-x8.dts | 63 &spifc {
|
H A D | meson.dtsi | 146 spifc: spi@8c80 { label 147 compatible = "amlogic,meson6-spifc";
|
H A D | meson8.dtsi | 749 &spifc {
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905x-libretech-cc-v2.dts | 23 spi0 = &spifc; 281 &spifc {
|
H A D | meson-gxl-s805x-libretech-ac.dts | 23 spi0 = &spifc; 295 &spifc {
|
H A D | meson-g12b-odroid-n2.dtsi | 274 * and change bus-width to 4 then spifc can be enabled. 277 &spifc {
|
H A D | meson-sm1-odroid-hc4.dts | 125 &spifc {
|
H A D | meson-gx-libretech-pc.dtsi | 30 spi0 = &spifc; 413 &spifc {
|
H A D | meson-gxm-khadas-vim2.dts | 369 * Remove emmc_ds_pins from sd_emmc_c pinctrl-0 then spifc can be enabled 371 &spifc {
|
H A D | meson-gxbb.dtsi | 269 spifc: spi@8c80 { label 270 compatible = "amlogic,meson-gxbb-spifc"; 827 &spifc {
|
H A D | meson-khadas-vim3.dtsi | 453 * and change bus-width to 4 then spifc can be enabled. 455 &spifc {
|
H A D | meson-gx.dtsi | 399 spifc: spi@8c80 { label 400 compatible = "amlogic,meson-gxbb-spifc";
|
H A D | meson-gxl.dtsi | 897 &spifc {
|
H A D | meson-g12-common.dtsi | 2222 spifc: spi@14000 { label 2223 compatible = "amlogic,meson-gxbb-spifc";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | meson-gxbb.dtsi | 266 spifc: spi@8c80 { label 267 compatible = "amlogic,meson-gxbb-spifc"; 744 &spifc {
|
H A D | meson-gxm-khadas-vim2.dts | 393 * Remove emmc_ds_pins from sd_emmc_c pinctrl-0 then spifc can be enabled 395 &spifc {
|
H A D | meson-gx.dtsi | 292 spifc: spi@8c80 { label 293 compatible = "amlogic,meson-gx-spifc", "amlogic,meson-gxbb-spifc";
|
H A D | meson-gxl.dtsi | 745 &spifc {
|
/openbmc/linux/drivers/clk/meson/ |
H A D | a1-peripherals.c | 1327 static struct clk_regmap spifc = { variable 1957 [CLKID_SPIFC] = &spifc.hw, 2115 &spifc,
|