Home
last modified time | relevance | path

Searched full:spicc (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-4.19/drivers/spi/
Dspi-meson-spicc.c2 * Driver for Amlogic Meson SPI communication controller (SPICC)
25 * The Meson SPICC controller could support DMA based transfers, but is not
142 static inline bool meson_spicc_txfull(struct meson_spicc_device *spicc) in meson_spicc_txfull() argument
145 readl_relaxed(spicc->base + SPICC_STATREG)); in meson_spicc_txfull()
148 static inline bool meson_spicc_rxready(struct meson_spicc_device *spicc) in meson_spicc_rxready() argument
151 readl_relaxed(spicc->base + SPICC_STATREG)); in meson_spicc_rxready()
154 static inline u32 meson_spicc_pull_data(struct meson_spicc_device *spicc) in meson_spicc_pull_data() argument
156 unsigned int bytes = spicc->bytes_per_word; in meson_spicc_pull_data()
162 byte = *spicc->tx_buf++; in meson_spicc_pull_data()
167 spicc->tx_remain--; in meson_spicc_pull_data()
[all …]
DMakefile54 obj-$(CONFIG_SPI_MESON_SPICC) += spi-meson-spicc.o
DKconfig369 tristate "Amlogic Meson SPICC controller"
372 This enables master mode support for the SPICC (SPI communication
/kernel/linux/linux-5.10/drivers/spi/
Dspi-meson-spicc.c2 * Driver for Amlogic Meson SPI communication controller (SPICC)
26 * The Meson SPICC controller could support DMA based transfers, but is not
171 static void meson_spicc_oen_enable(struct meson_spicc_device *spicc) in meson_spicc_oen_enable() argument
175 if (!spicc->data->has_oen) in meson_spicc_oen_enable()
178 conf = readl_relaxed(spicc->base + SPICC_ENH_CTL0) | in meson_spicc_oen_enable()
181 writel_relaxed(conf, spicc->base + SPICC_ENH_CTL0); in meson_spicc_oen_enable()
184 static inline bool meson_spicc_txfull(struct meson_spicc_device *spicc) in meson_spicc_txfull() argument
187 readl_relaxed(spicc->base + SPICC_STATREG)); in meson_spicc_txfull()
190 static inline bool meson_spicc_rxready(struct meson_spicc_device *spicc) in meson_spicc_rxready() argument
193 readl_relaxed(spicc->base + SPICC_STATREG)); in meson_spicc_rxready()
[all …]
DMakefile64 obj-$(CONFIG_SPI_MESON_SPICC) += spi-meson-spicc.o
DKconfig474 tristate "Amlogic Meson SPICC controller"
478 This enables master mode support for the SPICC (SPI communication
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Damlogic,meson-gx-spicc.yaml5 $id: "http://devicetree.org/schemas/spi/amlogic,meson-gx-spicc.yaml#"
17 The Meson SPICC is a generic SPI controller for general purpose Full-Duplex
23 - amlogic,meson-gx-spicc # SPICC controller on Amlogic GX and compatible SoCs
24 - amlogic,meson-axg-spicc # SPICC controller on Amlogic AXG and compatible SoCs
25 - amlogic,meson-g12a-spicc # SPICC controller on Amlogic G12A and compatible SoCs
52 - amlogic,meson-g12a-spicc
85 compatible = "amlogic,meson-gx-spicc";
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/
Dspi-meson.txt24 * SPICC (SPI Communication Controller)
26 The Meson SPICC is generic SPI controller for general purpose Full-Duplex
31 "amlogic,meson-gx-spicc" on Amlogic GX and compatible SoCs.
32 "amlogic,meson-axg-spicc" on Amlogic AXG and compatible SoCs
48 compatible = "amlogic,meson-gx-spicc";
/kernel/linux/linux-5.10/drivers/soc/amlogic/
Dmeson-secure-pwrc.c112 SEC_PD(SPICC, 0),
/kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi283 spicc: spi@8d80 { label
284 compatible = "amlogic,meson-gx-spicc";
Dmeson-axg.dtsi380 compatible = "amlogic,meson-axg-spicc";
391 compatible = "amlogic,meson-axg-spicc";
Dmeson-gxbb.dtsi737 &spicc {
Dmeson-gxl.dtsi743 &spicc {
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi375 spicc: spi@8d80 { label
376 compatible = "amlogic,meson-gx-spicc";
Dmeson-gxbb.dtsi806 &spicc {
Dmeson-axg.dtsi1662 compatible = "amlogic,meson-axg-spicc";
1673 compatible = "amlogic,meson-axg-spicc";
Dmeson-gxl.dtsi875 &spicc {
Dmeson-g12-common.dtsi2185 compatible = "amlogic,meson-g12a-spicc";
2197 compatible = "amlogic,meson-g12a-spicc";
/kernel/linux/linux-5.10/drivers/clk/meson/
Dg12a.c3890 /* SPICC SCLK source clock */