Home
last modified time | relevance | path

Searched refs:mosi (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/u-boot/drivers/video/
H A Dhitachi_tx18d42vm_lcd.c18 static void lcd_panel_spi_write(int cs, int clk, int mosi, in lcd_panel_spi_write() argument
27 gpio_direction_output(mosi, (data >> offset) & 1); in lcd_panel_spi_write()
48 int i, cs, clk, mosi, ret = 0; in hitachi_tx18d42vm_init() local
52 mosi = name_to_gpio(CONFIG_VIDEO_LCD_SPI_MOSI); in hitachi_tx18d42vm_init()
54 if (cs == -1 || clk == -1 || mosi == 1) { in hitachi_tx18d42vm_init()
61 gpio_request(mosi, "tx18d42vm-spi-mosi") != 0) { in hitachi_tx18d42vm_init()
68 lcd_panel_spi_write(cs, clk, mosi, init_data[i], 16); in hitachi_tx18d42vm_init()
72 lcd_panel_spi_write(cs, clk, mosi, 0x00ad, 16); /* display on */ in hitachi_tx18d42vm_init()
75 gpio_free(mosi); in hitachi_tx18d42vm_init()
/openbmc/u-boot/board/renesas/ulcb/
H A Dcpld.c25 struct gpio_desc mosi; member
37 dm_gpio_set_value(&priv->mosi, !!(addr & 0x80)); /* MSB first */ in cpld_read()
43 dm_gpio_set_value(&priv->mosi, 0); /* READ */ in cpld_read()
65 dm_gpio_set_value(&priv->mosi, data & (1 << 31)); /* MSB first */ in cpld_write()
72 dm_gpio_set_value(&priv->mosi, addr & 0x80); /* MSB first */ in cpld_write()
78 dm_gpio_set_value(&priv->mosi, 1); /* WRITE */ in cpld_write()
161 if (gpio_request_by_name(dev, "gpio-mosi", 0, &priv->mosi, in renesas_ulcb_sysreset_probe()
/openbmc/linux/drivers/iio/dac/
H A Dmcp4922.c34 u8 mosi[2] __aligned(IIO_DMA_MINALIGN);
54 state->mosi[1] = val & 0xff; in mcp4922_spi_write()
55 state->mosi[0] = (addr == 0) ? 0x00 : 0x80; in mcp4922_spi_write()
56 state->mosi[0] |= 0x30 | ((val >> 8) & 0x0f); in mcp4922_spi_write()
58 return spi_write(state->spi, state->mosi, 2); in mcp4922_spi_write()
/openbmc/linux/drivers/spi/
H A Dspi-gpio.c36 struct gpio_desc *mosi; member
97 gpiod_set_value_cansleep(spi_gpio->mosi, is_on); in setmosi()
105 return !!gpiod_get_value_cansleep(spi_gpio->mosi); in getmiso()
268 return gpiod_direction_output(spi_gpio->mosi, 1); in spi_gpio_set_direction()
279 ret = gpiod_direction_input(spi_gpio->mosi); in spi_gpio_set_direction()
317 spi_gpio->mosi = devm_gpiod_get_optional(dev, "mosi", GPIOD_OUT_LOW); in spi_gpio_request()
318 if (IS_ERR(spi_gpio->mosi)) in spi_gpio_request()
319 return PTR_ERR(spi_gpio->mosi); in spi_gpio_request()
415 if (!spi_gpio->mosi) { in spi_gpio_probe()
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,kirkwood-pinctrl.txt25 mpp1 1 gpo, nand(io3), spi(mosi)
30 mpp6 6 sysrst(out), spi(mosi), ptp(trig)
63 mpp1 1 gpo, nand(io3), spi(mosi)
68 mpp6 6 sysrst(out), spi(mosi), ptp(trig)
107 mpp1 1 gpo, nand(io3), spi(mosi)
156 mpp1 1 gpo, nand(io3), spi(mosi)
219 mpp1 1 gpo, nand(io3), spi(mosi)
224 mpp6 6 sysrst(out), spi(mosi)
289 mpp1 1 gpo, nand(io3), spi(mosi)
294 mpp6 6 sysrst(out), spi(mosi)
[all …]
H A Dmarvell,armada-370-pinctrl.txt33 mpp14 14 gpio, ge0(rxd3), pcie(clkreq0), sd0(d2), spi1(mosi),
44 mpp23 23 gpo, ge0(txd7), ge1(txd3), spi1(mosi)
55 mpp34 34 gpo, dev(we0), spi0(mosi)
75 mpp51 51 gpio, dev(ad12), i2c1(sda), sd0(d2), spi1(mosi)
96 mpp65 65 gpio, spi0(mosi), spi0(cs2)
H A Dmarvell,armada-375-pinctrl.txt17 mpp1 1 gpio, dev(ad3), spi0(mosi), spi1(mosi)
47 mpp31 31 gpio, ge1(txd1), spi1(mosi)
H A Dmarvell,dove-pinctrl.txt26 mpp6 6 gpio, pmu, uart3(txd), sdio1(buspwr), spi1(mosi), pmu*
48 mpp22 22 gpio, sdio0(buspwr), sdio1(buspwr), spi1(mosi),
49 lcd-spi(mosi), uart1(cts), ssp(txd)
H A Dmarvell,armada-39x-pinctrl.txt33 mpp15 15 gpio, pcie0(rstout), spi0(mosi), i2c1(sck)
41 mpp22 22 gpio, spi0(mosi), dev(ad0)
78 mpp56 56 gpio, ua1(rts), dram(deccerr), spi1(mosi), ua1(txd)
H A Dmarvell,armada-38x-pinctrl.txt33 mpp15 15 gpio, ge0(rxd3), ge(mdc slave), pcie0(rstout), spi0(mosi)
40 mpp22 22 gpio, spi0(mosi), dev(ad0)
74 mpp56 56 gpio, ua1(rts), ge(mdc), dram(deccerr), spi1(mosi), ua1(txd)
H A Dmarvell,armada-xp-pinctrl.txt34 mpp13 13 gpio, ge0(txd5), ge1(txd0), spi1(mosi), lcd(d13)
57 mpp36 36 gpio, spi0(mosi)
H A Dmarvell,armada-98dx3236-pinctrl.txt14 mpp0 0 gpo, spi0(mosi), dev(ad8)
/openbmc/linux/Documentation/devicetree/bindings/spi/
H A Dspi-gpio.yaml31 mosi-gpios:
49 gpio-mosi: false
67 mosi-gpios = <&gpio 97 0>;
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192-asurada.dtsi758 pins-mosi-off {
764 aud_clk_mosi_on_pins: aud-clk-mosi-on-pins {
765 pins-mosi-on {
812 pins-mosi-off {
818 pins-mosi-on {
824 pins-mosi-off {
830 aud_dat_mosi_on_pins: aud-dat-mosi-on-pins {
831 pins-mosi-on {
903 pins-nle-mosi-off {
910 pins-nle-mosi-on {
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/marvell/
H A Dcp110-system-controller.txt100 mpp9 9 gpio, dev(ad8), ge0(txd0), spi0(mosi), spi1(mosi), pcie(rstoutn), synce2(clk)
106 mpp15 15 gpio, dev(ad7), spi1(mosi), spi0(mosi), mss_spi(mosi), ptp(pulse_cp2cp)
120 mpp29 29 gpio, dev(csn2), spi1(mosi), mss_gpio6, ge0(rxd1), spi0(csn6), pcie1(clkreq), ptp(clk), ms…
125 mpp34 34 gpio, mii(rxerr), sdio(pwr11), mss_spi(mosi), tdm(dtx), au(i2slrclk), sdio(wr_protect), ge…
132 mpp41 41 gpio, sdio(pwr10), sdio(bus_pwr), mss_i2c(sck), au(i2slrclk), ptp(pulse), spi0(mosi), uart…
139 mpp48 48 gpio, ge1(txctl_txen), spi1(mosi), xg(mdc), wakeup(in_cp2cp)
148 mpp57 57 gpio, mss_i2c(sda), ptp(pclk_out), tdm(intn), au(i2sbclk), spi0(mosi), uart1(txd), sata0(p…
/openbmc/u-boot/drivers/spi/
H A Dsoft_spi.c25 struct gpio_desc mosi; member
53 dm_gpio_set_value(&plat->mosi, bit); in soft_spi_sda()
227 ret = gpio_request_by_name(dev, "gpio-mosi", 0, &plat->mosi, in soft_spi_probe()
/openbmc/u-boot/doc/device-tree-bindings/spi/
H A Dsoft-spi.txt14 gpio-mosi: GPIO to use for SPI MOSI line (output)
31 gpio-mosi = <&gpio 227 0>; /* Y33 */
/openbmc/u-boot/arch/arm/dts/
H A Dr8a7796-m3ulcb-u-boot.dts16 gpio-mosi = <&gpio6 7 0>;
H A Dr8a7795-h3ulcb-u-boot.dts16 gpio-mosi = <&gpio6 7 0>;
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm947189acdbmr.dts65 mosi-gpios = <&chipcommon 23 0>;
H A Dbcm47081-buffalo-wzr-900dhp.dts32 mosi-gpios = <&chipcommon 4 0>;
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/
H A Dimx28-cfa10056.dts22 mosi-gpios = <&gpio2 17 0>;
/openbmc/linux/Documentation/devicetree/bindings/display/panel/
H A Dsamsung,lms397kf04.yaml65 mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
H A Dsamsung,s6d27a1.yaml73 mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Dast2600-facebook-netbmc-common.dtsi35 gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>;

1234