Home
last modified time | relevance | path

Searched +full:fw +full:- +full:gpios (Results 1 – 25 of 91) sorted by relevance

1234

/openbmc/linux/arch/arm/mach-pxa/
H A Dam200epd.c2 * am200epd.c -- Platform device for AM200 EPD kit
12 * This work was made possible by help and equipment support from E-Ink
16 * on the AM200 EPD prototype kit/development kit with an E-Ink 800x600
35 #include <linux/platform_data/video-pxafb.h>
101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable
110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs()
111 err = gpio_request(gpios[i], gpio_names[i]); in am200_init_gpio_regs()
113 dev_err(&am200_device->dev, "failed requesting " in am200_init_gpio_regs()
131 while (--i >= 0) in am200_init_gpio_regs()
132 gpio_free(gpios[i]); in am200_init_gpio_regs()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/nfc/
H A Dsamsung,s3fwrn5.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - samsung,s3fwrn5-i2c
16 - samsung,s3fwrn82
18 en-gpios:
32 wake-gpios:
37 s3fwrn5,en-gpios:
41 Use en-gpios
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dbroadcom-bluetooth.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 This binding describes Broadcom UART-attached bluetooth chips.
18 - brcm,bcm20702a1
19 - brcm,bcm4329-bt
20 - brcm,bcm4330-bt
21 - brcm,bcm4334-bt
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ulz-bsh-smm-m2.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull", "fsl,imx6ulz";
16 stdout-path = &uart4;
19 usdhc2_pwrseq: usdhc2-pwrseq {
20 compatible = "mmc-pwrseq-simple";
21 reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_gpmi_nand>;
[all …]
H A Dimx6q-b850v3.dts5 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
45 #include "imx6q-bx50v3.dtsi"
49 compatible = "ge,imx6q-b850v3", "advantech,imx6q-ba16", "fsl,imx6q";
52 stdout-path = &uart3;
57 fsl,dual-channel;
60 lvds0: lvds-channel@0 {
61 fsl,data-mapping = "spwg";
62 fsl,data-width = <24>;
69 remote-endpoint = <&stdp4028_in>;
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/
H A Dmtmitchell_platform_gpios_init.sh7 if [[ ! -e /dev/rtc0 ]]; then
9 echo 6-0051 > /sys/bus/i2c/drivers/rtc-pcf85063/bind
13 function pre-platform-init() {
17 function post-platform-init() {
22 pgood=$(gpioget $(gpiofind power-chassis-good))
25 gpioset $(gpiofind power-chassis-control)=0
28 gpioset $(gpiofind power-chassis-control)=1
31 gpioset $(gpiofind host0-sysreset-n)=1
34 for filename in /sys/class/hwmon/*/pwm*[1-6]
44 # add device enable, mux setting, device select gpios
[all …]
/openbmc/linux/drivers/fsi/
H A Dfsi-master-ast-cf.c1 // SPDX-License-Identifier: GPL-2.0+
4 * A FSI master controller, using a simple GPIO bit-banging interface
25 #include "fsi-master.h"
26 #include "cf-fsi-fw.h"
28 #define FW_FILE_NAME "cf-fsi-fw.bin"
132 msg->msg <<= bits; in msg_push_bits()
133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits()
134 msg->bits += bits; in msg_push_bits()
142 top = msg->bits & 0x3; in msg_push_crc()
144 /* start bit, and any non-aligned top bits */ in msg_push_crc()
[all …]
/openbmc/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-sm-k26-revA.dts1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Xilinx ZynqMP SM-K26 rev1/B/A
5 * (C) Copyright 2020 - 2021, Xilinx, Inc.
10 /dts-v1/;
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/phy/phy.h>
17 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
20 model = "ZynqMP SM-K26 Rev1/B/A";
[all …]
/openbmc/openbmc/meta-fii/meta-mori/recipes-mori/mori-sys-utility/mori-cmd/
H A Dmori.sh5 # shellcheck source=meta-fii/meta-mori/recipes-mori/mori-fw-utility/mori-fw/mori-lib.sh
6 source /usr/libexec/mori-fw/mori-lib.sh
10 echo " system --> reset the host"
11 echo " btn --> trigger a power button event"
12 echo " shutdown --> send out shutdown signal to CPU"
13 echo " display --> "
18 echo " on --> turn led on"
19 echo " off --> turn led off"
20 echo " toggle --> toggle led"
21 echo " status --> get status of led"
[all …]
/openbmc/linux/drivers/nfc/s3fwrn5/
H A Di2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_set_mode()
37 if (s3fwrn5_phy_power_ctrl(&phy->common, mode) == false) in s3fwrn5_i2c_set_mode()
40 phy->irq_skip = true; in s3fwrn5_i2c_set_mode()
43 mutex_unlock(&phy->common.mutex); in s3fwrn5_i2c_set_mode()
51 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_write()
53 phy->irq_skip = false; in s3fwrn5_i2c_write()
55 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write()
56 if (ret == -EREMOTEIO) { in s3fwrn5_i2c_write()
59 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write()
[all …]
/openbmc/linux/drivers/media/common/siano/
H A Dsms-cards.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Card-specific functions for the Siano SMS1xxx USB dongle
74 char *name, *fw[DEVICE_MODE_MAX]; member
78 /* gpios */
/openbmc/linux/drivers/nfc/pn544/
H A Di2c.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/crc-ccitt.h>
134 #define PN544_FW_I2C_WRITE_DATA_MAX_LEN MIN((PN544_FW_I2C_MAX_PAYLOAD -\
138 #define PN544_FW_SECURE_CHUNK_WRITE_DATA_MAX_LEN (PN544_FW_I2C_MAX_PAYLOAD -\
163 const struct firmware *fw; member
185 16, 1, (skb)->data, (skb)->len, 0); \
194 nfc_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n"); in pn544_hci_i2c_platform_init()
196 /* Disable fw download */ in pn544_hci_i2c_platform_init()
197 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_platform_init()
200 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init()
[all …]
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-ampere/platform/ampere-platform-init/
H A Dampere_platform_init.sh8 ADT7462=/sys/bus/i2c/drivers/adt7462/8-005c
9 if [ -d "$ADT7462" ]; then
11 echo 8-005c > /sys/bus/i2c/drivers/adt7462/unbind
16 i2cset -f -y 0x08 0x5c 0x2c 0xff
19 val=$(i2cget -f -y 0x08 0x5c 0x02)
21 i2cset -f -y 0x08 0x5c 0x02 $val
24 i2cset -f -y 0x08 0x5c 0x07 0xff
27 for i in $(seq 0 $((4 - 1)))
31 val=$(i2cget -f -y 0x08 0x5c $reg_pwm_cfg)
33 i2cset -f -y 0x08 0x5c $reg_pwm_cfg $val
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Djedec,spi-nor.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
13 - $ref: mtd.yaml#
14 - $ref: /schemas/spi/spi-peripheral-props.yaml#
19 - items:
20 - pattern: "^((((micron|spansion|st),)?\
32 (winbond,)?w25q(16|32(w|dw)?|64(dw)?|80bl|128(fw)?|256))$"
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dgoodix.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * 2010 - 2012 Goodix Technology.
131 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
138 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"),
151 .ident = "Cube I15-TC",
154 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC")
162 * goodix_i2c_read - read data from a register of the i2c slave device.
176 msgs[0].addr = client->addr; in goodix_i2c_read()
181 msgs[1].addr = client->addr; in goodix_i2c_read()
185 ret = i2c_transfer(client->adapter, msgs, 2); in goodix_i2c_read()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Ds5k5baf.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <media/media-entity.h>
25 #include <media/v4l2-ctrls.h>
26 #include <media/v4l2-device.h>
27 #include <media/v4l2-subdev.h>
28 #include <media/v4l2-mediabus.h>
29 #include <media/v4l2-fwnode.h>
38 #define S5K5BAF_FW_FILENAME "s5k5baf-cfg.bin"
50 /* Default number of MIPI CSI-2 data lanes used */
199 /* Auto-algorithms enable mask */
[all …]
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-a23-polaroid-mid2809pxe04.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-a23.dtsi"
45 #include "sun8i-reference-design-tablet.dtsi"
49 compatible = "polaroid,mid2809pxe04", "allwinner,sun8i-a23";
56 compatible = "mmc-pwrseq-simple";
57 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
58 /* The esp8089 needs 200 ms after driving wifi-en high */
59 post-power-on-delay-ms = <200>;
64 pinctrl-names = "default";
[all …]
H A Dsun8i-a23-polaroid-mid2407pxe03.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-a23.dtsi"
45 #include "sun8i-reference-design-tablet.dtsi"
49 compatible = "polaroid,mid2407pxe03", "allwinner,sun8i-a23";
56 compatible = "mmc-pwrseq-simple";
57 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
58 /* The esp8089 needs 200 ms after driving wifi-en high */
59 post-power-on-delay-ms = <200>;
71 pinctrl-names = "default";
[all …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ampere-mtmitchell.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/gpio/aspeed-gpio.h>
12 compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
27 * i2c bus 30-31 assigned to OCP slot 0-1
33 * i2c bus 32-33 assigned to Riser slot 0-1
39 * i2c bus 38-39 assigned to FRU on Riser slot 0-1
82 stdout-path = &uart5;
[all …]
H A Daspeed-bmc-ampere-mtjefferson.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/gpio/aspeed-gpio.h>
12 compatible = "ampere,mtjefferson-bmc", "aspeed,ast2600";
41 stdout-path = &uart5;
49 reserved-memory {
50 #address-cells = <1>;
51 #size-cells = <1>;
[all …]
H A Daspeed-bmc-ibm-bonnell.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,bonnell-bmc", "aspeed,ast2600";
23 stdout-path = &uart5;
32 reserved-memory {
33 #address-cells = <1>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsc7280-herobrine.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/leds/common.h>
20 #include "sc7280-qcard.dtsi"
21 #include "sc7280-chrome-common.dtsi"
25 stdout-path = "serial0:115200n8";
38 ppvar_sys: ppvar-sys-regulator {
39 compatible = "regulator-fixed";
40 regulator-name = "ppvar_sys";
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dsun8i-a23-polaroid-mid2809pxe04.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-a23.dtsi"
45 #include "sun8i-reference-design-tablet.dtsi"
49 compatible = "polaroid,mid2809pxe04", "allwinner,sun8i-a23";
56 compatible = "mmc-pwrseq-simple";
57 pinctrl-names = "default";
58 pinctrl-0 = <&wifi_pwrseq_pin_mid2809>;
59 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
60 /* The esp8089 needs 200 ms after driving wifi-en high */
[all …]
H A Dsun8i-a23-polaroid-mid2407pxe03.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun8i-a23.dtsi"
45 #include "sun8i-reference-design-tablet.dtsi"
49 compatible = "polaroid,mid2407pxe03", "allwinner,sun8i-a23";
56 compatible = "mmc-pwrseq-simple";
57 pinctrl-names = "default";
58 pinctrl-0 = <&wifi_pwrseq_pin_mid2407>;
59 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
60 /* The esp8089 needs 200 ms after driving wifi-en high */
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dtda1004x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
29 GPIO1 analog - dvb switch
33 TDA10046_GPTRI = 0x00, /* All GPIOs tristate */
90 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
131 if (fe->ops.write) in tda1004x_writereg()
132 r = fe->ops.write(fe, buf, 2); in tda1004x_writereg()

1234