Home
last modified time | relevance | path

Searched full:spifc (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.14.4/drivers/spi/
Dspi-amlogic-spifc-a1.c3 * Driver for Amlogic A1 SPI flash controller (SPIFC)
113 static int amlogic_spifc_a1_request(struct amlogic_spifc_a1 *spifc, bool read) in amlogic_spifc_a1_request() argument
120 spifc->base + SPIFC_A1_USER_CTRL0_REG); in amlogic_spifc_a1_request()
122 return readl_poll_timeout(spifc->base + SPIFC_A1_USER_CTRL0_REG, in amlogic_spifc_a1_request()
127 static void amlogic_spifc_a1_drain_buffer(struct amlogic_spifc_a1 *spifc, in amlogic_spifc_a1_drain_buffer() argument
135 spifc->base + SPIFC_A1_DBUF_CTRL_REG); in amlogic_spifc_a1_drain_buffer()
136 ioread32_rep(spifc->base + SPIFC_A1_DBUF_DATA_REG, buf, count); in amlogic_spifc_a1_drain_buffer()
139 data = readl(spifc->base + SPIFC_A1_DBUF_DATA_REG); in amlogic_spifc_a1_drain_buffer()
144 static void amlogic_spifc_a1_fill_buffer(struct amlogic_spifc_a1 *spifc, in amlogic_spifc_a1_fill_buffer() argument
152 spifc->base + SPIFC_A1_DBUF_CTRL_REG); in amlogic_spifc_a1_fill_buffer()
[all …]
Dspi-meson-spifc.c3 // Driver for Amlogic Meson SPI flash controller (SPIFC)
91 * @spifc: the Meson SPI device
94 static int meson_spifc_wait_ready(struct meson_spifc *spifc) in meson_spifc_wait_ready() argument
100 regmap_read(spifc->regmap, REG_SLAVE, &data); in meson_spifc_wait_ready()
111 * @spifc: the Meson SPI device
115 static void meson_spifc_drain_buffer(struct meson_spifc *spifc, u8 *buf, in meson_spifc_drain_buffer() argument
122 regmap_read(spifc->regmap, REG_C0 + i, &data); in meson_spifc_drain_buffer()
137 * @spifc: the Meson SPI device
141 static void meson_spifc_fill_buffer(struct meson_spifc *spifc, const u8 *buf, in meson_spifc_fill_buffer() argument
153 regmap_write(spifc->regmap, REG_C0 + i, data); in meson_spifc_fill_buffer()
[all …]
DMakefile21 obj-$(CONFIG_SPI_AMLOGIC_SPIFC_A1) += spi-amlogic-spifc-a1.o
85 obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
DKconfig93 tristate "Amlogic A1 SPIFC controller"
96 This enables master mode support for the SPIFC (SPI flash
679 tristate "Amlogic Meson SPIFC controller"
683 This enables master mode support for the SPIFC (SPI flash
/linux-6.14.4/Documentation/devicetree/bindings/spi/
Damlogic,meson6-spifc.yaml5 $id: http://devicetree.org/schemas/spi/amlogic,meson6-spifc.yaml#
17 The Meson SPIFC is a controller optimized for communication with SPI
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";
Damlogic,a1-spifc.yaml4 $id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml#
18 - amlogic,a1-spifc
39 compatible = "amlogic,a1-spifc";
/linux-6.14.4/arch/arm64/boot/dts/amlogic/
Damlogic-c3-c308l-aw419.dts19 spi0 = &spifc;
198 &spifc {
Damlogic-c3-c302x-aw409.dts19 spi0 = &spifc;
198 &spifc {
Dmeson-gxl-s905x-libretech-cc-v2.dts23 spi0 = &spifc;
285 &spifc {
Dmeson-gxl-s805x-libretech-ac.dts23 spi0 = &spifc;
299 &spifc {
Dmeson-libretech-cottonwood.dtsi19 spi0 = &spifc;
511 * and change bus-width to 4 then spifc can be enabled.
531 &spifc {
Dmeson-g12b-odroid-n2.dtsi290 * and change bus-width to 4 then spifc can be enabled.
293 &spifc {
Dmeson-gx-libretech-pc.dtsi30 spi0 = &spifc;
417 &spifc {
Dmeson-gxm-khadas-vim2.dts373 * Remove emmc_ds_pins from sd_emmc_c pinctrl-0 then spifc can be enabled
375 &spifc {
Dmeson-gxbb.dtsi269 spifc: spi@8c80 { label
270 compatible = "amlogic,meson-gxbb-spifc";
833 &spifc {
Dmeson-a1.dtsi93 spifc: spi@fd000400 { label
94 compatible = "amlogic,a1-spifc";
456 spifc_pins: spifc {
Dmeson-sm1-odroid-hc4.dts125 &spifc {
Dmeson-khadas-vim3.dtsi457 * and change bus-width to 4 then spifc can be enabled.
459 &spifc {
Damlogic-c3.dtsi400 spifc_pins: spifc-pins {
797 spifc: spi@56000 { label
798 compatible = "amlogic,a1-spifc";
Dmeson-a1-ad402.dts149 &spifc {
Dmeson-gx.dtsi399 spifc: spi@8c80 { label
400 compatible = "amlogic,meson-gxbb-spifc";
/linux-6.14.4/arch/arm/boot/dts/amlogic/
Dmeson8-minix-neo-x8.dts63 &spifc {
Dmeson.dtsi146 spifc: spi@8c80 { label
147 compatible = "amlogic,meson6-spifc";
/linux-6.14.4/drivers/clk/meson/
Dc3-peripherals.c249 * SPIFC, CAPU, JTAG, EMMC, SDIO, sec_top, USB, Audio, ETH, SPICC) in the
820 static struct clk_regmap spifc = { variable
826 .name = "spifc",
2034 [CLKID_SPIFC] = &spifc.hw,
2239 &spifc,
Da1-peripherals.c1327 static struct clk_regmap spifc = { variable
1333 .name = "spifc",
1957 [CLKID_SPIFC] = &spifc.hw,
2115 &spifc,

12