Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 25 of 774) sorted by relevance

12345678910>>...31

/u-boot/drivers/video/
A Dformike.c66 if (!spi) { in kwh043st20_f01_spi_startup()
79 spi_write_com(spi, 0xF000); spi_write_dat(spi, 0x55); in kwh043st20_f01_spi_startup()
80 spi_write_com(spi, 0xF001); spi_write_dat(spi, 0xAA); in kwh043st20_f01_spi_startup()
81 spi_write_com(spi, 0xF002); spi_write_dat(spi, 0x52); in kwh043st20_f01_spi_startup()
82 spi_write_com(spi, 0xF003); spi_write_dat(spi, 0x08); in kwh043st20_f01_spi_startup()
83 spi_write_com(spi, 0xF004); spi_write_dat(spi, 0x01); in kwh043st20_f01_spi_startup()
86 spi_write_com(spi, 0xB000); spi_write_dat(spi, 0x0D); in kwh043st20_f01_spi_startup()
87 spi_write_com(spi, 0xB001); spi_write_dat(spi, 0x0D); in kwh043st20_f01_spi_startup()
88 spi_write_com(spi, 0xB002); spi_write_dat(spi, 0x0D); in kwh043st20_f01_spi_startup()
91 spi_write_com(spi, 0xB600); spi_write_dat(spi, 0x34); in kwh043st20_f01_spi_startup()
[all …]
A Dscf0403_lcd.c34 struct spi_slave *spi; member
159 error = spi_set_wordlen(spi, 9); in scf0403_spi_read_rddid()
164 error = spi_xfer(spi, 9, &cmd, NULL, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
177 error = spi_set_wordlen(spi, 8); in scf0403_spi_read_rddid()
197 error = spi_set_wordlen(spi, 9); in scf0403_spi_transfer()
207 error = spi_xfer(spi, 9, &msg, NULL, SPI_XFER_ONCE); in scf0403_spi_transfer()
259 error = spi_claim_bus(priv.spi); in scf0403_init()
283 scf0403_spi_transfer(priv.spi, &scf0403_cmd_dison); in scf0403_init()
285 scf0403_spi_transfer(priv.spi, &scf0403_cmd_slpout); in scf0403_init()
286 spi_release_bus(priv.spi); in scf0403_init()
[all …]
/u-boot/arch/arm/dts/
A Dfsl-lx2162a-qds.dts49 spi-cpol;
50 spi-cpha;
58 spi-cpol;
59 spi-cpha;
67 spi-cpol;
68 spi-cpha;
82 spi-cpol;
83 spi-cpha;
91 spi-cpol;
92 spi-cpha;
[all …]
A Dfsl-ls1028a-qds.dtsi34 spi-cpol;
35 spi-cpha;
44 spi-cpol;
45 spi-cpha;
53 spi-cpol;
54 spi-cpha;
68 spi-cpol;
69 spi-cpha;
78 spi-cpol;
79 spi-cpha;
[all …]
A Dfsl-lx2160a-qds.dtsi38 spi-cpol;
39 spi-cpha;
47 spi-cpol;
48 spi-cpha;
56 spi-cpol;
57 spi-cpha;
71 spi-cpol;
72 spi-cpha;
80 spi-cpol;
81 spi-cpha;
[all …]
A Dfsl-ls1046a-qds.dtsi27 compatible = "jedec,spi-nor";
29 spi-cpol;
30 spi-cpha;
37 compatible = "jedec,spi-nor";
38 spi-max-frequency = <3500000>;
39 spi-cpol;
40 spi-cpha;
47 compatible = "jedec,spi-nor";
49 spi-cpol;
50 spi-cpha;
[all …]
A Dfsl-ls2080a-qds.dtsi37 compatible = "jedec,spi-nor";
38 spi-max-frequency = <3000000>;
39 spi-cpol;
40 spi-cpha;
46 compatible = "jedec,spi-nor";
48 spi-cpol;
49 spi-cpha;
55 compatible = "jedec,spi-nor";
57 spi-cpol;
58 spi-cpha;
[all …]
A Dast2600-evb.dts62 spi-max-frequency = <50000000>;
63 spi-tx-bus-width = <4>;
64 spi-rx-bus-width = <4>;
71 spi-tx-bus-width = <4>;
72 spi-rx-bus-width = <4>;
79 spi-tx-bus-width = <4>;
80 spi-rx-bus-width = <4>;
96 spi-tx-bus-width = <4>;
97 spi-rx-bus-width = <4>;
112 spi-tx-bus-width = <4>;
[all …]
A Dfsl-ls2081a-rdb.dts31 compatible = "jedec,spi-nor";
32 spi-max-frequency = <3000000>;
33 spi-cpol;
34 spi-cpha;
46 compatible = "jedec,spi-nor";
47 spi-max-frequency = <50000000>;
54 compatible = "jedec,spi-nor";
55 spi-max-frequency = <50000000>;
A Dfsl-ls1043a-qds.dtsi27 compatible = "jedec,spi-nor";
29 spi-cpol;
30 spi-cpha;
37 compatible = "jedec,spi-nor";
38 spi-max-frequency = <3500000>;
39 spi-cpol;
40 spi-cpha;
47 compatible = "jedec,spi-nor";
49 spi-cpol;
50 spi-cpha;
[all …]
A Dr8a77980-condor-u-boot.dts20 spi-max-frequency = <50000000>;
24 flash0: spi-flash@0 {
27 compatible = "s25fs512s", "jedec,spi-nor";
28 spi-max-frequency = <50000000>;
29 spi-tx-bus-width = <1>;
30 spi-rx-bus-width = <1>;
A Dtegra210-p2571.dts22 spi0 = "/spi@7000d400";
23 spi1 = "/spi@7000da00";
24 spi2 = "/spi@70410000";
62 spi@7000d400 {
64 spi-max-frequency = <25000000>;
67 spi@7000da00 {
69 spi-max-frequency = <25000000>;
72 spi@70410000 {
74 spi-max-frequency = <24000000>;
A Dr8a77970-eagle-u-boot.dts40 spi-max-frequency = <50000000>;
44 flash0: spi-flash@0 {
47 compatible = "s25fs512s", "jedec,spi-nor";
48 spi-max-frequency = <50000000>;
49 spi-tx-bus-width = <1>;
50 spi-rx-bus-width = <1>;
/u-boot/drivers/spi/
A Dspi-sifive.c115 writel(spi->cs_inactive, spi->regs + SIFIVE_SPI_REG_CSDEF); in sifive_spi_prep_device()
159 switch (spi->fmt_proto) { in sifive_spi_prep_transfer()
240 sifive_spi_tx(spi, NULL); in sifive_spi_xfer()
266 sifive_spi_clear_cs(spi); in sifive_spi_xfer()
350 if (speed > spi->freq) in sifive_spi_set_speed()
351 speed = spi->freq; in sifive_spi_set_speed()
384 if (cs >= spi->num_cs) in sifive_spi_cs_info()
395 spi->cs_inactive = readl(spi->regs + SIFIVE_SPI_REG_CSDEF); in sifive_spi_init_hw()
398 writel(spi->cs_inactive, spi->regs + SIFIVE_SPI_REG_CSDEF); in sifive_spi_init_hw()
434 if (!spi->regs) in sifive_spi_probe()
[all …]
A Dmpc8xx_spi.c41 out_be16(&spi->spi_rpbase, 0); in mpc8xx_spi_probe()
80 out_be32(&spi->spi_rstate, 0); in mpc8xx_spi_probe()
81 out_be32(&spi->spi_rdp, 0); in mpc8xx_spi_probe()
82 out_be16(&spi->spi_rbptr, 0); in mpc8xx_spi_probe()
83 out_be16(&spi->spi_rbc, 0); in mpc8xx_spi_probe()
84 out_be32(&spi->spi_rxtmp, 0); in mpc8xx_spi_probe()
85 out_be32(&spi->spi_tstate, 0); in mpc8xx_spi_probe()
86 out_be32(&spi->spi_tdp, 0); in mpc8xx_spi_probe()
87 out_be16(&spi->spi_tbptr, 0); in mpc8xx_spi_probe()
88 out_be16(&spi->spi_tbc, 0); in mpc8xx_spi_probe()
[all …]
A Dmpc8xxx_spi.c43 spi8xxx_t *spi; member
84 spi8xxx_t *spi = priv->spi; in mpc8xxx_spi_probe() local
102 out_be32(&priv->spi->com, 0); in mpc8xxx_spi_probe()
128 spi8xxx_t *spi = priv->spi; in mpc8xxx_spi_xfer() local
161 out_be32(&spi->tx, tmpdout); in mpc8xxx_spi_xfer()
179 tmpdin = in_be32(&spi->rx); in mpc8xxx_spi_xfer()
215 spi8xxx_t *spi = priv->spi; in mpc8xxx_spi_set_speed() local
236 mode = in_be32(&spi->mode); in mpc8xxx_spi_set_speed()
240 out_be32(&spi->mode, mode); in mpc8xxx_spi_set_speed()
242 out_be32(&spi->mode, mode); in mpc8xxx_spi_set_speed()
[all …]
/u-boot/drivers/mtd/spi/
A DMakefile7 spi-nor-y := sf_probe.o spi-nor-ids.o
12 spi-nor-y += spi-nor-tiny.o
14 spi-nor-y += spi-nor-core.o
17 spi-nor-y += spi-nor-core.o
20 obj-$(CONFIG_SPI_FLASH) += spi-nor.o
A Dsf_dataflash.c124 struct spi_slave *spi; in spi_dataflash_erase() local
132 spi = spi_flash->spi; in spi_dataflash_erase()
202 spi_release_bus(spi); in spi_dataflash_erase()
218 struct spi_slave *spi; in spi_dataflash_read() local
225 spi = spi_flash->spi; in spi_dataflash_read()
258 spi_release_bus(spi); in spi_dataflash_read()
274 struct spi_slave *spi; in spi_dataflash_write() local
283 spi = spi_flash->spi; in spi_dataflash_write()
418 spi_release_bus(spi); in spi_dataflash_write()
598 spi_flash->spi = spi; in spi_dataflash_probe()
[all …]
/u-boot/doc/device-tree-bindings/video/
A Dsyncoam,seps525.txt1 spi based seps525 framebuffer display driver
3 Driver for seps525 display controller (in spi mode), This binding supports selection
4 of spi chipselect, spi max frequency, gpio to drive dc and reset pin of seps525
5 controller and spi transaction bit length.
9 - reg: Specifies the chip-select the seps525 is connected to on the spi bus
12 - buswidth: bitlength of each spi transaction
18 spi-max-frequency = <10000000>;
19 spi-cpol;
20 spi-cpha;
/u-boot/doc/device-tree-bindings/spi/
A Dspi-stm32-qspi.txt15 A spi flash (NOR/NAND) must be a child of spi node and could have some
16 properties. Also see jedec,spi-nor.txt.
20 - spi-max-frequency: max frequency of spi bus
23 - spi-rx-bus-width: see ./spi-bus.txt for the description
27 qspi: spi@a0001000 {
38 compatible = "jedec,spi-nor";
40 spi-rx-bus-width = <4>;
41 spi-max-frequency = <108000000>;
A Dspi-mcf-dspi.txt10 - spi-max-frequency : max supported spi frequency
12 - spi-mode: spi motorola mode, 0 to 3
16 - fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip
18 - fsl,spi-sck-cs-delay: a delay in nanoseconds between stopping the clock
28 spi-max-frequency = <50000000>;
30 spi-mode = <0>;
/u-boot/arch/mips/dts/
A Dmscc,ocelot_pcb.dtsi31 spi-flash@0 {
32 compatible = "jedec,spi-nor";
33 spi-max-frequency = <18000000>; /* input clock */
37 spi-nand@1 {
38 compatible = "spi-nand";
39 spi-max-frequency = <18000000>; /* input clock */
/u-boot/doc/device-tree-bindings/tpm2/
A Dtis-tpm2-spi.txt5 - compatible : Should be "tcg,tpm_tis-spi"
10 - spi-max-frequency : See spi-bus.txt
15 compatible = "tcg,tpm_tis-spi";
17 spi-max-frequency = <10000000>;
/u-boot/arch/powerpc/dts/
A Dt2080qds.dts29 compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */
31 spi-max-frequency = <10000000>;
37 compatible = "sst,sst25wf040", "jedec,spi-nor";
39 spi-max-frequency = <10000000>;
45 compatible = "eon,en25s64", "jedec,spi-nor";
47 spi-max-frequency = <10000000>;
/u-boot/drivers/power/
A Dpower_fsl.c42 p->hw.spi.cs = CONFIG_FSL_PMIC_CS; in pmic_init()
43 p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; in pmic_init()
44 p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; in pmic_init()
45 p->hw.spi.bitlen = CONFIG_FSL_PMIC_BITLEN; in pmic_init()
46 p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; in pmic_init()
47 p->hw.spi.prepare_tx = pmic_spi_prepare_tx; in pmic_init()

Completed in 20 milliseconds

12345678910>>...31