/linux/Documentation/devicetree/bindings/net/can/ |
H A D | can-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/can/can-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Kleine-Budde <mkl@pengutronix.de> 16 termination-gpios: 17 description: GPIO pin to enable CAN bus termination. 20 termination-ohms: 21 description: The resistance value of the CAN bus termination resistor.
|
H A D | fsl,flexcan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC). 11 - Marc Kleine-Budde <mkl@pengutronix.de> 14 - $ref: can-controller.yaml# 19 - enum: 20 - fsl,imx95-flexcan 21 - fsl,imx93-flexcan 22 - fsl,imx8qm-flexcan [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq24257.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24250 20 - ti,bq24251 21 - ti,bq24257 29 ti,battery-regulation-voltage: [all …]
|
H A D | richtek,rt9467.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 11 - ChiaEn Wu <chiaen_wu@richtek.com> 14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 16 MOSFETs, input current sensing and regulation, high-accuracy voltage 17 regulation, and charge termination. The charge current is regulated through 20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates 21 D+/D- pin for USB host/charging port detection. [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | analogix,anx7625.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Xin Ji <xji@analogixsemi.com> 14 The ANX7625 is an ultra-low power 4K Mobile HD Transmitter 28 enable-gpios: 32 reset-gpios: 36 vdd10-supply: 39 vdd18-supply: 42 vdd33-supply: [all …]
|
H A D | ti,sn65dsi83.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 13 Texas Instruments SN65DSI83 1x Single-link MIPI DSI 14 to 1x Single-link LVDS 16 Texas Instruments SN65DSI84 1x Single-link MIPI DSI 17 to 1x Dual-link or 2x Single-link LVDS 23 - ti,sn65dsi83 24 - ti,sn65dsi84 [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-venice-gw72xx-0x-rs422.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * - GPIO1_0 rs485_term selects on-chip termination 7 * - GPIO4_0 rs485_en needs to be driven high (active) 8 * - GPIO4_2 rs485_hd needs to be driven low (in-active) 9 * - UART4_TX is DE for RS485 transmitter 10 * - RS485_EN needs to be pulled high 11 * - RS485_HALF needs to be low 14 #include <dt-bindings/gpio/gpio.h> 16 #include "imx8mm-pinfunc.h" 18 /dts-v1/; [all …]
|
H A D | imx8mm-venice-gw73xx-0x-rs422.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * - GPIO1_0 rs485_term selects on-chip termination 7 * - GPIO4_0 rs485_en needs to be driven high (active) 8 * - GPIO4_2 rs485_hd needs to be driven low (in-active) 9 * - UART4_TX is DE for RS485 transmitter 10 * - RS485_EN needs to be pulled high 11 * - RS485_HALF needs to be low 14 #include <dt-bindings/gpio/gpio.h> 16 #include "imx8mm-pinfunc.h" 18 /dts-v1/; [all …]
|
H A D | imx8mm-venice-gw72xx-0x-rs485.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * - GPIO1_0 rs485_term selects on-chip termination 7 * - GPIO4_0 rs485_en needs to be driven high (active) 8 * - GPIO4_2 rs485_hd needs to be driven high (active) 9 * - UART4_TX is DE for RS485 transmitter 10 * - RS485_EN needs to be pulled high 11 * - RS485_HALF needs to be pulled high 14 #include <dt-bindings/gpio/gpio.h> 16 #include "imx8mm-pinfunc.h" 18 /dts-v1/; [all …]
|
H A D | imx8mm-venice-gw73xx-0x-rs485.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * - GPIO1_0 rs485_term selects on-chip termination 7 * - GPIO4_0 rs485_en needs to be driven high (active) 8 * - GPIO4_2 rs485_hd needs to be driven high (active) 9 * - UART4_TX is DE for RS485 transmitter 10 * - RS485_EN needs to be pulled high 11 * - RS485_HALF needs to be pulled high 14 #include <dt-bindings/gpio/gpio.h> 16 #include "imx8mm-pinfunc.h" 18 /dts-v1/; [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | rs485.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 direction for the built-in half-duplex mode. The properties described 11 hereafter shall be given to a half-duplex capable UART node. 14 - Rob Herring <robh@kernel.org> 17 rs485-rts-delay: 18 description: prop-encoded-array <a b> 19 $ref: /schemas/types.yaml#/definitions/uint32-array 21 - description: Delay between rts signal and beginning of data sent in [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-vicut1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 #include <dt-bindings/display/sdtv-standards.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/media/tvp5150.h> 12 #include <dt-bindings/sound/fsl-imx-audmux.h> 16 stdout-path = &uart4; 20 compatible = "pwm-backlight"; 21 pinctrl-names = "default"; [all …]
|
/linux/drivers/net/can/dev/ |
H A D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2005 Marc Kleine-Budde, Pengutronix 4 * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com> 13 #include <linux/can/can-ml.h> 24 if (new_state <= priv->state) in can_update_state_error_stats() 29 priv->can_stats.error_warning++; in can_update_state_error_stats() 32 priv->can_stats.error_passive++; in can_update_state_error_stats() 35 priv->can_stats.bus_off++; in can_update_state_error_stats() 108 *tx_state = can_state_err_to_state(bec->txerr); in can_state_get_by_berr_counter() 109 *rx_state = can_state_err_to_state(bec->rxerr); in can_state_get_by_berr_counter() [all …]
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-fu740.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2019-2021 SiFive, Inc. 28 #include "pcie-designware.h" 30 #define to_fu740_pcie(x) dev_get_drvdata((x)->dev) 83 gpiod_set_value_cansleep(afp->reset, 0); in fu740_pcie_assert_reset() 85 writel_relaxed(0x0, afp->mgmt_base + PCIEX8MGMT_PERST_N); in fu740_pcie_assert_reset() 91 writel_relaxed(0x1, afp->mgmt_base + PCIEX8MGMT_PERST_N); in fu740_pcie_deassert_reset() 93 gpiod_set_value_cansleep(afp->reset, 1); in fu740_pcie_deassert_reset() 98 gpiod_set_value_cansleep(afp->pwren, 1); in fu740_pcie_power_on() 117 struct device *dev = afp->pci.dev; in fu740_phyregwrite() [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/video-interfaces.h> 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-aggregator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright (C) 2019-2020 Glider bv 7 #define DRV_NAME "gpio-aggregator" 50 lookups = krealloc(aggr->lookups, struct_size(lookups, table, *n + 2), in aggr_add_gpio() 53 return -ENOMEM; in aggr_add_gpio() 55 lookups->table[*n] = GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio() 58 memset(&lookups->table[*n], 0, sizeof(lookups->table[*n])); in aggr_add_gpio() 60 aggr->lookups = lookups; in aggr_add_gpio() 66 char *args = skip_spaces(aggr->args); in aggr_parse() 74 return -ENOMEM; in aggr_parse() [all …]
|
/linux/sound/pci/hda/ |
H A D | cs35l41_hda_property.c | 1 // SPDX-License-Identifier: GPL-2.0 25 int reset_gpio_index; /* -1 if no reset gpio */ 26 int spkid_gpio_index; /* -1 if no spkid gpio */ 27 int cs_gpio_index; /* -1 if no cs gpio, or cs-gpios already exists, max num amps == 2 */ 36 { "10280BEB", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 }, 37 …{ "10280C4D", 4, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, CS35L41_LEFT, CS35L41_RIGHT }, 0, 1, -1,… 41 * Since this laptop has valid ACPI, we do not need to handle cs-gpios, since that already exists 44 { "103C89C6", 2, INTERNAL, { CS35L41_RIGHT, CS35L41_LEFT, 0, 0 }, -1, -1, -1, 1000, 4500, 24 }, 45 { "103C8A28", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 }, 46 { "103C8A29", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 }, [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgk104.c | 99 struct ramfuc_reg r_mr[16]; /* MR0 - MR8, MR15 */ 149 for (i = 0; (data & 0x80000000) && i < ram->parts; addr += 0x1000, i++) { in gk104_ram_train() 150 if (ram->pmask & (1 << i)) in gk104_ram_train() 160 const u32 mcoef = ((--ram->P2 << 28) | (ram->N2 << 8) | ram->M2); in r1373f4_init() 161 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in r1373f4_init() 162 const u32 runk0 = ram->fN1 << 16; in r1373f4_init() 163 const u32 runk1 = ram->fN1; in r1373f4_init() 165 if (ram->from == 2) { in r1373f4_init() 191 if (ram->mode == 2) { in r1373f4_init() 210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini() [all …]
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | feature.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au) 8 * - Replace mdelay with some schedule loop if possible 9 * - Shorten some obfuscated delays on some routines (like modem 11 * - Refcount some clocks (see darwin) 12 * - Split split split... 37 #include <asm/pci-bridge.h> 81 child = child->parent; in macio_find() 147 return -ENODEV; in simple_feature_tweak() 171 return -ENODEV; in ohare_htw_scc_enable() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */ [all …]
|