/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-lxa-mc1.dts | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 /dts-v1/; 10 #include "stm32mp15xx-osd32.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pwm/pwm.h> 17 model = "Linux Automation MC-1 board"; 18 compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 28 compatible = "pwm-backlight"; [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-h3-orangepi-pc-plus.dts | 4 * This file is dual-licensed: you can use it either under the terms 44 #include "sun8i-h3-orangepi-pc.dts" 48 compatible = "xunlong,orangepi-pc-plus", "allwinner,sun8i-h3"; 51 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 vmmc-supply = <®_vcc3v3>; 58 bus-width = <4>; 59 non-removable; 64 * alias for it (which e.g. makes u-boot set a mac-address). 72 pinctrl-names = "default"; 73 pinctrl-0 = <&mmc2_8bit_pins>; [all …]
|
H A D | sun8i-q8-common.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 42 #include "sunxi-reference-design-tablet.dtsi" 43 #include "sun8i-reference-design-tablet.dtsi" 48 /* Make u-boot set mac-address for wifi without an eeprom */ 55 enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */ 56 power-supply = <®_dc1sw>; 60 remote-endpoint = <&tcon0_out_lcd>; 66 compatible = "mmc-pwrseq-simple"; 68 * Q8 boards use various PL# pins as wifi-en. On other boards 70 * short-circuits we configure these as inputs with pull-ups via [all …]
|
H A D | sun8i-h3-orangepi-plus.dts | 4 * This file is dual-licensed: you can use it either under the terms 44 #include "sun8i-h3-orangepi-2.dts" 48 compatible = "xunlong,orangepi-plus", "allwinner,sun8i-h3"; 54 reg_gmac_3v3: gmac-3v3 { 55 compatible = "regulator-fixed"; 56 regulator-name = "gmac-3v3"; 57 regulator-min-microvolt = <3300000>; 58 regulator-max-microvolt = <3300000>; 59 startup-delay-us = <100000>; 60 enable-active-high; [all …]
|
H A D | sun6i-a31s-primo81.dts | 4 * Copyright 2015 Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun6i-a31s.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 54 compatible = "msi,primo81", "allwinner,sun6i-a31s"; 56 hdmi-connector { 57 compatible = "hdmi-connector"; [all …]
|
H A D | sun4i-a10-dserve-dsrv9703c.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 53 compatible = "dserve,dsrv9703c", "allwinner,sun4i-a10"; 60 compatible = "pwm-backlight"; [all …]
|
H A D | sun4i-a10-pov-protab2-ips9.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 52 model = "Point of View Protab2-IPS9"; 53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10"; [all …]
|
H A D | sun6i-a31-hummingbird.dts | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun6i-a31.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 53 compatible = "merrii,a31-hummingbird", "allwinner,sun6i-a31"; 62 stdout-path = "serial0:115200n8"; 65 hdmi-connector { 66 compatible = "hdmi-connector"; [all …]
|
H A D | sun8i-a83t-bananapi-m3.dts | 2 * Copyright 2017 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun8i-a83t.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 51 model = "Banana Pi BPI-M3"; 52 compatible = "sinovoip,bpi-m3", "allwinner,sun8i-a83t"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "hdmi-connector"; [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-mcp23s08.txt | 2 8-/16-bit I/O expander with serial interface (I2C/SPI) 5 - compatible : Should be 6 - "mcp,mcp23s08" (DEPRECATED) for 8 GPIO SPI version 7 - "mcp,mcp23s17" (DEPRECATED) for 16 GPIO SPI version 8 - "mcp,mcp23008" (DEPRECATED) for 8 GPIO I2C version or 9 - "mcp,mcp23017" (DEPRECATED) for 16 GPIO I2C version of the chip 11 - "microchip,mcp23s08" for 8 GPIO SPI version 12 - "microchip,mcp23s17" for 16 GPIO SPI version 13 - "microchip,mcp23s18" for 16 GPIO SPI version 14 - "microchip,mcp23008" for 8 GPIO I2C version or [all …]
|
/linux/Documentation/hwmon/ |
H A D | adm1025.rst | 10 Addresses scanned: I2C 0x2c - 0x2e 18 Addresses scanned: I2C 0x2c - 0x2d 24 * Only two possible addresses (0x2c - 0x2d). 29 - Chen-Yuan Wu <gwu@esoft.com>, 30 - Jean Delvare <jdelvare@suse.de> 33 ----------- 36 monitor for microprocessor-based systems, providing measurement and limit 39 the processor core voltage. The ADM1025 can monitor a sixth power-supply 41 remote temperature-sensing diode and an on-chip temperature sensor allows 45 different manners. It can act as the +12V power-supply voltage analog [all …]
|
/linux/drivers/input/misc/ |
H A D | pmic8xxx-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 71 * struct pmic8xxx_pwrkey - pmic8xxx pwrkey information 107 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend() 117 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume() 132 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown() 133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown() 140 * Also ensure that KPD, CBL0, and CBL1 pull ups are enabled and that in pmic8xxx_pwrkey_shutdown() 149 regmap_update_bits(pwrkey->regmap, PON_CNTL_1, mask, val); in pmic8xxx_pwrkey_shutdown() 154 * in the master enable register. Also set it's pull down enable bit. [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-arb-gpio-challenge.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 10 - Doug Anderson <dianders@chromium.org> 11 - Peter Rosin <peda@axentia.se> 18 standard I2C multi-master rules. Using GPIOs is generally useful in the case 30 others can see. These are all active low with pull-ups enabled. We'll 51 const: i2c-arb-gpio-challenge [all …]
|
/linux/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 61 * struct stmpe_keypad_variant - model-specific attributes 63 * auto-increments on multiple read 64 * @set_pullup: whether the pins need to have their pull-ups set 90 .col_gpios = 0x000ff, /* GPIO 0 - 7 */ 91 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */ 100 .col_gpios = 0x0000ff, /* GPIO 0 - 7*/ 101 .row_gpios = 0x1f7f00, /* GPIO 8-14, 16-20 */ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-dv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _dv-controls: 15 only exposed on the ``/dev/v4l-subdev*`` device node. 23 Identification Data, :ref:`vesaedid`) and HDCP (High-bandwidth Digital 33 .. _dv-control-id: 47 read-only control is applicable to DVI-D, HDMI and DisplayPort 51 Rx Sense is the detection of pull-ups on the TMDS clock lines. This 56 that pad will be 0. This read-only control is applicable to DVI-D 64 EDIDs, then the bit for that pad will be 0. This read-only control 65 is applicable to VGA, DVI-A/D, HDMI and DisplayPort connectors. [all …]
|
/linux/Documentation/process/ |
H A D | maintainer-netdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. _netdev-FAQ: 10 ----- 12 - designate your patch to a tree - ``[PATCH net]`` or ``[PATCH net-next]`` 13 - for fixes the ``Fixes:`` tag is required, regardless of the tree 14 - don't post large series (> 15 patches), break them up 15 - don't repost your patches within one 24h period 16 - reverse xmas tree 19 ------ 21 netdev is a mailing list for all network-related Linux stuff. This [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-hmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 "Hypervisor Resource error - core check stop" }, in print_core_checkstop_reason() 74 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_core_checkstop_reason() 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 82 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 84 printk("%s [Unit: %-3s] %s\n", level, in print_core_checkstop_reason() 125 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_nx_checkstop_reason() 131 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason() 133 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason() 135 printk("%s [Unit: %-3s] %s\n", level, in print_nx_checkstop_reason() [all …]
|
/linux/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2014-2015 Hans de Goede <hdegoede@redhat.com> 18 #include <linux/extcon-provider.h> 28 #include <linux/phy/phy-sun4i-usb.h> 146 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) 154 iscr = readl(data->base + REG_ISCR); in sun4i_usb_phy0_update_iscr() 157 writel(iscr, data->base + REG_ISCR); in sun4i_usb_phy0_update_iscr() 184 u32 temp, usbc_bit = BIT(phy->index * 2); in sun4i_usb_phy_write() 185 void __iomem *phyctl = phy_data->base + phy_data->cfg->phyctl_offset; in sun4i_usb_phy_write() 189 spin_lock_irqsave(&phy_data->reg_lock, flags); in sun4i_usb_phy_write() [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap4-panda-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2013 Texas Instruments Incorporated - https://www.ti.com/ 5 #include <dt-bindings/input/input.h> 7 #include "omap4-mcpdm.dtsi" 15 reserved-memory { 16 #address-cells = <1>; 17 #size-cells = <1>; 20 dsp_memory_region: dsp-memory@98000000 { 21 compatible = "shared-dma-pool"; 27 ipu_memory_region: ipu-memory@98800000 { [all …]
|
/linux/drivers/hwmon/ |
H A D | adm1025.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2000 Chen-Yuan Wu <gwu@esoft.com> 6 * Copyright (C) 2003-2009 Jean Delvare <jdelvare@suse.de> 19 * only in that it has "open-drain VID inputs while the ADM1025 has 20 * on-chip 100k pull-ups on the VID inputs". It doesn't make any 41 #include <linux/hwmon-sysfs.h> 42 #include <linux/hwmon-vid.h> 76 * The ADM1025 uses signed 8-bit values for temperatures. 87 #define TEMP_TO_REG(val) ((val) <= -127500 ? -128 : \ 89 (((val) < 0 ? (val) - 500 : \ [all …]
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-typec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Chris Zhong <zyw@rock-chips.com> 5 * Kever Yang <kever.yang@rock-chips.com> 7 * The ROCKCHIP Type-C PHY has two PLL clocks. The first PLL clock 8 * is used for USB3, the second PLL clock is used for DP. This Type-C PHY has 34 * This Type-C PHY driver supports normal and flip orientation. The orientation 40 #include <linux/clk-provider.h> 126 #define CMN_CALIB_CODE_POS_MASK GENMASK(CMN_CALIB_CODE_WIDTH - 1, 0) 350 * struct rockchip_usb3phy_port_cfg - usb3-phy port configuration. 351 * @reg: the base address for usb3-phy config. [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | arm-acpi.rst | 23 industry-standard Arm systems, they also apply to more than one operating 25 ACPI and Linux only, on an Arm system -- that is, what Linux expects of 30 ---------------- 33 exist in Linux for describing non-enumerable hardware, after all. In this 40 - ACPI’s byte code (AML) allows the platform to encode hardware behavior, 45 - ACPI’s OSPM defines a power management model that constrains what the 49 - In the enterprise server environment, ACPI has established bindings (such 55 - Choosing a single interface to describe the abstraction between a platform 61 - The new ACPI governance process works well and Linux is now at the same 87 interfaces -- one for Linux and one for Windows. [all …]
|
/linux/kernel/sched/ |
H A D | rt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Real-Time Scheduling Class (mapped to the SCHED_FIFO and SCHED_RR 12 * period over which we measure -rt task CPU usage in us. 70 array = &rt_rq->active; in init_rt_rq() 72 INIT_LIST_HEAD(array->queue + i); in init_rt_rq() 73 __clear_bit(i, array->bitmap); in init_rt_rq() 76 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq() 79 rt_rq->highest_prio.curr = MAX_RT_PRIO-1; in init_rt_rq() 80 rt_rq->highest_prio.next = MAX_RT_PRIO-1; in init_rt_rq() 81 rt_rq->overloaded = 0; in init_rt_rq() [all …]
|
/linux/drivers/phy/tegra/ |
H A D | xusb-tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 27 ((x) ? (11 + ((x) - 1) * 6) : 0) 451 for (map = tegra210_usb3_map; map->type; map++) { in tegra210_usb3_lane_map() 452 if (map->index == lane->index && in tegra210_usb3_lane_map() 453 strcmp(map->type, lane->pad->soc->name) == 0) { in tegra210_usb3_lane_map() 454 dev_dbg(lane->pad->padctl->dev, "lane = %s map to port = usb3-%d\n", in tegra210_usb3_lane_map() 455 lane->pad->soc->lanes[lane->index].name, map->port); in tegra210_usb3_lane_map() 456 return map->port; in tegra210_usb3_lane_map() 460 return -EINVAL; in tegra210_usb3_lane_map() [all …]
|
H A D | xusb-tegra186.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2022, NVIDIA CORPORATION. All rights reserved. 21 #define HS_CURR_LEVEL_PADX_SHIFT(x) ((x) ? (11 + (x - 1) * 6) : 0) 280 writel(value, priv->ao_regs + offset); in ao_writel() 285 return readl(priv->ao_regs + offset); in ao_readl() 304 return ERR_PTR(-ENOMEM); in tegra186_usb2_lane_probe() 306 INIT_LIST_HEAD(&usb2->base.list); in tegra186_usb2_lane_probe() 307 usb2->base.soc = &pad->soc->lanes[index]; in tegra186_usb2_lane_probe() 308 usb2->base.index = index; in tegra186_usb2_lane_probe() 309 usb2->base.pad = pad; in tegra186_usb2_lane_probe() [all …]
|