| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/gpio/ |
| D | gpio-pcf857x.txt | 1 * PCF857x-compatible I/O expanders 3 The PCF857x-compatible chips have "quasi-bidirectional" I/O lines that can be 4 driven high by a pull-up current source or driven low to ground. This combines 14 - compatible: should be one of the following. 15 - "maxim,max7328": For the Maxim MAX7378 16 - "maxim,max7329": For the Maxim MAX7329 17 - "nxp,pca8574": For the NXP PCA8574 18 - "nxp,pca8575": For the NXP PCA8575 19 - "nxp,pca9670": For the NXP PCA9670 20 - "nxp,pca9671": For the NXP PCA9671 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | gpio-pcf857x.txt | 1 * PCF857x-compatible I/O expanders 3 The PCF857x-compatible chips have "quasi-bidirectional" I/O lines that can be 4 driven high by a pull-up current source or driven low to ground. This combines 14 - compatible: should be one of the following. 15 - "maxim,max7328": For the Maxim MAX7378 16 - "maxim,max7329": For the Maxim MAX7329 17 - "nxp,pca8574": For the NXP PCA8574 18 - "nxp,pca8575": For the NXP PCA8575 19 - "nxp,pca9670": For the NXP PCA9670 20 - "nxp,pca9671": For the NXP PCA9671 [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/imx/ |
| D | Kconfig | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 4 bool "SOF support for NXP i.MX audio DSPs" 8 This adds support for Sound Open Firmware for NXP i.MX platforms. 19 This option is not user-selectable but automagically handled by 25 This option is not user-selectable but automagically handled by 29 bool "SOF support for i.MX8" 33 This adds support for Sound Open Firmware for NXP i.MX8 platforms 42 This option is not user-selectable but automagically handled by 46 bool "SOF support for i.MX8M" 49 This adds support for Sound Open Firmware for NXP i.MX8M platforms [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| D | leds-pca9532.txt | 1 *NXP - pca9532 PWM LED Driver 3 The PCA9532 family is SMBus I/O expander optimized for dimming LEDs. 7 - compatible: 8 "nxp,pca9530" 9 "nxp,pca9531" 10 "nxp,pca9532" 11 "nxp,pca9533" 12 - reg - I2C slave address 14 Each led is represented as a sub-node of the nxp,pca9530. 16 Optional sub-node properties: [all …]
|
| D | leds-pca955x.txt | 1 * NXP - pca955x LED driver 4 to control LEDs can be used as general purpose I/Os. The GPIO pins can 5 be input or output, and output pins can also be pulse-width controlled. 8 - compatible : should be one of : 9 "nxp,pca9550" 10 "nxp,pca9551" 11 "nxp,pca9552" 13 "nxp,pca9553" 14 - #address-cells: must be 1 15 - #size-cells: must be 0 [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/ |
| D | leds-pca9532.txt | 1 *NXP - pca9532 PWM LED Driver 3 The PCA9532 family is SMBus I/O expander optimized for dimming LEDs. 7 - compatible: 8 "nxp,pca9530" 9 "nxp,pca9531" 10 "nxp,pca9532" 11 "nxp,pca9533" 12 - reg - I2C slave address 14 Each led is represented as a sub-node of the nxp,pca9530. 16 Optional sub-node properties: [all …]
|
| D | leds-pca955x.txt | 1 * NXP - pca955x LED driver 4 to control LEDs can be used as general purpose I/Os. The GPIO pins can 5 be input or output, and output pins can also be pulse-width controlled. 8 - compatible : should be one of : 9 "nxp,pca9550" 10 "nxp,pca9551" 11 "nxp,pca9552" 12 "nxp,pca9553" 13 - #address-cells: must be 1 14 - #size-cells: must be 0 [all …]
|
| /kernel/linux/linux-4.19/drivers/i2c/muxes/ |
| D | i2c-mux-pca954x.c | 4 * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it> 5 * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it> 8 * chips made by NXP Semiconductors. 14 * single 8-bit register. The upstream "parent" bus fans out to two, 17 * mux can select only one sub-bus at a time; a switch can select any 29 * i2c-virtual_cb.c from Brian Kuschak <bkuschak@yahoo.com> 42 #include <linux/i2c-mux.h> 201 { .compatible = "nxp,pca9540", .data = &chips[pca_9540] }, 202 { .compatible = "nxp,pca9542", .data = &chips[pca_9542] }, 203 { .compatible = "nxp,pca9543", .data = &chips[pca_9543] }, [all …]
|
| /kernel/linux/linux-4.19/drivers/nvmem/ |
| D | Kconfig | 17 tristate "i.MX IC Identification Module support" 21 i.MX SoCs, providing access to 4 Kbits of programmable 25 will be called nvmem-imx-iim. 28 tristate "i.MX6 On-Chip OTP Controller support" 32 This is a driver for the On-Chip OTP Controller (OCOTP) available on 33 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable 37 will be called nvmem-imx-ocotp. 40 tristate "NXP LPC18XX EEPROM Memory Support" 44 Say Y here to include support for NXP LPC18xx EEPROM memory found in 45 NXP LPC185x/3x and LPC435x/3x/2x/1x devices. [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/imx/ |
| D | imx-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2019 NXP 4 * Author: Daniel Baluta <daniel.baluta@nxp.com> 18 * imx_dsp_ring_doorbell - triggers an interrupt on the other side (DSP) 23 * Returns non-negative value for success, negative value for error 31 return -EINVAL; in imx_dsp_ring_doorbell() 33 dsp_chan = &ipc->chans[idx]; in imx_dsp_ring_doorbell() 34 ret = mbox_send_message(dsp_chan->ch, NULL); in imx_dsp_ring_doorbell() 43 * imx_dsp_handle_rx - rx callback used by imx mailbox 55 if (chan->idx == 0) { in imx_dsp_handle_rx() [all …]
|
| /kernel/linux/linux-4.19/arch/mips/pnx833x/common/ |
| D | prom.c | 4 * Copyright 2008 NXP Semiconductors 5 * Chris Steel <chris.steel@nxp.com> 6 * Daniel Laird <daniel.j.laird@nxp.com> 34 int i; in prom_init_cmdline() local 36 for (i = 1; i < argc; i++) { in prom_init_cmdline() 37 strcpy(c, argv[i]); in prom_init_cmdline() 38 c += strlen(argv[i]); in prom_init_cmdline() 39 if (i < argc-1) in prom_init_cmdline() 49 int i; in prom_getenv() local 51 i = strlen(envname); in prom_getenv() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-pca953x.c | 2 * PCA953x 4/8/16/24/40 bit I/O ports 116 #define NBANK(chip) DIV_ROUND_UP(chip->gpio_chip.ngpio, BANK_SZ) 166 int bank_shift = fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_read_single() 169 ret = i2c_smbus_read_byte_data(chip->client, in pca953x_read_single() 174 dev_err(&chip->client->dev, "failed reading register\n"); in pca953x_read_single() 185 int bank_shift = fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_write_single() 188 ret = i2c_smbus_write_byte_data(chip->client, in pca953x_write_single() 192 dev_err(&chip->client->dev, "failed writing register\n"); in pca953x_write_single() 201 return i2c_smbus_write_byte_data(chip->client, reg, *val); in pca953x_write_regs_8() 208 return i2c_smbus_write_word_data(chip->client, reg << 1, word); in pca953x_write_regs_16() [all …]
|
| D | gpio-pcf857x.c | 55 { .compatible = "nxp,pcf8574" }, 56 { .compatible = "nxp,pcf8574a" }, 57 { .compatible = "nxp,pca8574" }, 58 { .compatible = "nxp,pca9670" }, 59 { .compatible = "nxp,pca9672" }, 60 { .compatible = "nxp,pca9674" }, 61 { .compatible = "nxp,pcf8575" }, 62 { .compatible = "nxp,pca8575" }, 63 { .compatible = "nxp,pca9671" }, 64 { .compatible = "nxp,pca9673" }, [all …]
|
| /kernel/linux/linux-4.19/drivers/leds/ |
| D | leds-pca963x.c | 5 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 8 * Based on leds-pca955x.c 14 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 15 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 25 * or by adding the 'nxp,hw-blink' property to the DTS. 38 #include <linux/platform_data/leds-pca963x.h> 46 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */ 133 u8 ledout_addr = pca963x->chip->chipdef->ledout_base in pca963x_brightness() 134 + (pca963x->led_num / 4); in pca963x_brightness() 136 int shift = 2 * (pca963x->led_num % 4); in pca963x_brightness() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-pcf857x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 42 { .compatible = "nxp,pcf8574" }, 43 { .compatible = "nxp,pcf8574a" }, 44 { .compatible = "nxp,pca8574" }, 45 { .compatible = "nxp,pca9670" }, 46 { .compatible = "nxp,pca9672" }, 47 { .compatible = "nxp,pca9674" }, 48 { .compatible = "nxp,pcf8575" }, 49 { .compatible = "nxp,pca8575" }, 50 { .compatible = "nxp,pca9671" }, [all …]
|
| D | gpio-pca953x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PCA953x 4/8/16/24/40 bit I/O ports 119 { "irq-gpios", &pca953x_irq_gpios, 1, ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER }, 131 ret = acpi_dev_gpio_irq_get_by(ACPI_COMPANION(dev), "irq-gpios", 0); in pca953x_acpi_get_irq() 145 * relative. Since first controller (gpio-sch.c) and 146 * second (gpio-dwapb.c) are at the fixed bases, we may 168 #define NBANK(chip) DIV_ROUND_UP(chip->gpio_chip.ngpio, BANK_SZ) 217 return fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_bank_shift() 239 * - Standard set, below 0x40, each port can be replicated up to 8 times 240 * - PCA953x standard [all …]
|
| /kernel/linux/linux-5.10/drivers/nvmem/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 tristate "i.MX IC Identification Module support" 29 i.MX SoCs, providing access to 4 Kbits of programmable 33 will be called nvmem-imx-iim. 36 tristate "i.MX 6/7/8 On-Chip OTP Controller support" 40 This is a driver for the On-Chip OTP Controller (OCOTP) available on 41 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable 45 will be called nvmem-imx-ocotp. 48 tristate "i.MX8 SCU On-Chip OTP Controller support" 52 This is a driver for the SCU On-Chip OTP Controller (OCOTP) [all …]
|
| D | lpc18xx_otp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * NXP LPC18xx/43xx OTP memory NVMEM driver 15 #include <linux/nvmem-provider.h> 22 * LPC18xx OTP memory contains 4 banks with 4 32-bit words. Bank 0 starts 48 int i; in lpc18xx_otp_read() local 50 if (count > (LPC18XX_OTP_SIZE - index)) in lpc18xx_otp_read() 51 count = LPC18XX_OTP_SIZE - index; in lpc18xx_otp_read() 53 for (i = index; i < (index + count); i++) in lpc18xx_otp_read() 54 *buf++ = readl(otp->base + i * LPC18XX_OTP_WORD_SIZE); in lpc18xx_otp_read() 60 .name = "lpc18xx-otp", [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-pca963x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 9 * Based on leds-pca955x.c 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 22 * or by adding the 'nxp,hw-blink' property to the DTS. 42 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */ 119 struct i2c_client *client = led->chip->client; in pca963x_brightness() 120 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() 125 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | lpc32xx-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * NXP LPC32xx SoC Key Scan Interface 6 * Kevin Wells <kevin.wells@nxp.com> 9 * Copyright (C) 2010 NXP Semiconductors 74 struct input_dev *input = kscandat->input; in lpc32xx_mod_states() 78 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states() 79 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states() 80 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states() 86 kscandat->row_shift); in lpc32xx_mod_states() 87 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/ |
| D | tda1997x.txt | 1 Device-Tree bindings for the NXP TDA1997x HDMI receiver 6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4] 7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4] 8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4] 9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2] 10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0] 11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles) 12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles) 13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles) 16 - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0] [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/i2c/ |
| D | tda1997x.txt | 1 Device-Tree bindings for the NXP TDA1997x HDMI receiver 6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4] 7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4] 8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4] 9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2] 10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0] 11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles) 12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles) 13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles) 16 - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0] [all …]
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | lpc32xx-keys.c | 2 * NXP LPC32xx SoC Key Scan Interface 5 * Kevin Wells <kevin.wells@nxp.com> 8 * Copyright (C) 2010 NXP Semiconductors 84 struct input_dev *input = kscandat->input; in lpc32xx_mod_states() 88 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states() 89 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states() 90 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states() 96 kscandat->row_shift); in lpc32xx_mod_states() 97 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states() 107 int i; in lpc32xx_kscan_irq() local [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-lpc32xx/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/arm/mach-lpc32xx/common.c 5 * Author: Kevin Wells <kevin.wells@nxp.com> 7 * Copyright (C) 2010 NXP Semiconductors 11 #include <linux/soc/nxp/lpc32xx-misc.h> 24 int i; in lpc32xx_get_uid() local 26 for (i = 0; i < 4; i++) in lpc32xx_get_uid() 27 devid[i] = __raw_readl(LPC32XX_CLKPWR_DEVID(i << 2)); in lpc32xx_get_uid()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | nxp,imx8mq-vpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Hantro G1/G2 VPU codecs implemented on i.MX8MQ SoCs 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Hantro G1/G2 video decode accelerators present on i.MX8MQ SoCs. 18 const: nxp,imx8mq-vpu 23 reg-names: 25 - const: g1 [all …]
|