Home
last modified time | relevance | path

Searched +full:pin +full:- +full:settings (Results 1 – 25 of 750) sorted by relevance

12345678910>>...30

/OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/include/mach/
H A Dpinmux_defs.h6 * SPDX-License-Identifier: GPL-2.0+
15 /* SPI0 pin muxer settings */
20 /* SPI1 pin muxer settings */
24 /* UART pin muxer settings */
31 /* EMAC pin muxer settings*/
37 /* I2C pin muxer settings */
41 /* EMIFA pin muxer settings */
50 /* USB pin mux setting */
53 /* MMC pin muxer settings */
/OK3568_Linux_fs/u-boot/board/sunxi/
H A Dgmac.c11 int pin; in eth_init_board() local
17 setbits_le32(&ccm->ahb_reset0_cfg, 0x1 << AHB_RESET_OFFSET_GMAC); in eth_init_board()
18 setbits_le32(&ccm->ahb_gate0, 0x1 << AHB_GATE_OFFSET_GMAC); in eth_init_board()
20 setbits_le32(&ccm->ahb_gate1, 0x1 << AHB_GATE_OFFSET_GMAC); in eth_init_board()
25 setbits_le32(&ccm->gmac_clk_cfg, CCM_GMAC_CTRL_TX_CLK_SRC_INT_RGMII | in eth_init_board()
27 setbits_le32(&ccm->gmac_clk_cfg, in eth_init_board()
30 setbits_le32(&ccm->gmac_clk_cfg, CCM_GMAC_CTRL_TX_CLK_SRC_MII | in eth_init_board()
35 /* Configure pin mux settings for GMAC */ in eth_init_board()
36 for (pin = SUNXI_GPA(0); pin <= SUNXI_GPA(16); pin++) { in eth_init_board()
39 if (pin == SUNXI_GPA(9) || pin == SUNXI_GPA(14)) in eth_init_board()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/
H A Dfsl,imx-pinctrl.txt7 different PAD settings (like pull up, keeper, etc) the IOMUXC controls
8 also the PAD settings parameters.
10 Please refer to pinctrl-bindings.txt in this directory for details of the
12 phrase "pin configuration node".
14 Freescale IMX pin configuration node is a node of a group of pins which can be
17 mode) this pin can work on and the 'config' configures various pad settings
18 such as pull-up, open drain, drive strength, etc.
21 - compatible: "fsl,<soc>-iomuxc"
22 Please refer to each fsl,<soc>-pinctrl.txt binding doc for supported SoCs.
24 Required properties for pin configuration node:
[all …]
H A Datmel,at91-pinctrl.txt7 different PAD settings (like pull up, keeper, etc) the controller controls
8 also the PAD settings parameters.
10 Please refer to pinctrl-bindings.txt in this directory for details of the
12 phrase "pin configuration node".
14 Atmel AT91 pin configuration node is a node of a group of pins which can be
16 of the pins in that group. The 'pins' selects the function mode(also named pin
17 mode) this pin can work on and the 'config' configures various pad settings
18 such as pull-up, multi drive, etc.
21 - compatible: "atmel,at91rm9200-pinctrl" or "atmel,at91sam9x5-pinctrl"
22 or "atmel,sama5d3-pinctrl" or "microchip,sam9x60-pinctrl"
[all …]
H A Dpinmux-node.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pinmux-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic pin multiplexing node schema
10 - Linus Walleij <linus.walleij@linaro.org>
13 The contents of the pin configuration child nodes are defined by the binding
14 for the individual pin controller device. The pin configuration nodes need not
15 be direct children of the pin controller device; they may be grandchildren,
18 the binding for the individual pin controller device.
[all …]
H A Dfsl,imx7d-pinctrl.txt3 iMX7D supports two iomuxc controllers, fsl,imx7d-iomuxc controller is similar
4 as previous iMX SoC generation and fsl,imx7d-iomuxc-lpsr which provides low
5 power state retention capabilities on gpios that are part of iomuxc-lpsr
6 (GPIO1_IO7..GPIO1_IO0). While iomuxc-lpsr provides its own set of registers for
7 mux and pad control settings, it shares the input select register from main
8 iomuxc controller for daisy chain settings, the fsl,input-sel property extends
9 fsl,imx-pinctrl driver to support iomuxc-lpsr controller.
11 iomuxc_lpsr: iomuxc-lpsr@302c0000 {
12 compatible = "fsl,imx7d-iomuxc-lpsr";
14 fsl,input-sel = <&iomuxc>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/arm/pxa/
H A Dmfp.rst7 MFP stands for Multi-Function Pin, which is the pin-mux logic on PXA3xx and
14 Unlike the GPIO alternate function settings on PXA25x and PXA27x, a new MFP
15 mechanism is introduced from PXA3xx to completely move the pin-mux functions
16 out of the GPIO controller. In addition to pin-mux configurations, the MFP
17 also controls the low power state, driving strength, pull-up/down and event
18 detection of each pin. Below is a diagram of internal connections between
21 +--------+
22 | |--(GPIO19)--+
24 | |--(GPIO...) |
25 +--------+ |
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 * struct mvebu_mpp_ctrl_data - private data for the mpp ctrl operations
29 * struct mvebu_mpp_ctrl - describe a mpp control
31 * @pid: first pin id handled by this control
38 * A mpp_ctrl describes a muxable unit, e.g. pin, group of pins, or
40 * between two or more different settings, e.g. assign mpp pin 13 to
45 * to allow pin settings with varying gpio pins.
62 * struct mvebu_mpp_ctrl_setting - describe a mpp ctrl setting
64 * @name: ctrl setting name, e.g. uart2, spi0 - unique per mpp_mode
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dcore.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Core private header for the pin control subsystem
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
13 #include <linux/radix-tree.h>
20 * struct pinctrl_dev - pin control class device
21 * @node: node to include this pin controller in the global pin controller list
22 * @desc: the pin controller descriptor supplied when initializing this pin
24 * @pin_desc_tree: each pin descriptor for this pin controller is stored in
26 * @pin_group_tree: optionally each pin group can be stored in this radix tree
[all …]
H A Dpinctrl-single.c2 * Generic device tree based pinctrl driver for one register per pin
29 #include <linux/pinctrl/pinconf-generic.h>
31 #include <linux/platform_data/pinctrl-single.h>
38 #define DRIVER_NAME "pinctrl-single"
42 * struct pcs_func_vals - mux function register offset and value pair
54 * struct pcs_conf_vals - pinconf parameter, pinconf register offset
71 * struct pcs_conf_type - pinconf property name, pinconf param pair
81 * struct pcs_function - pinctrl function
87 * @conf: array of pin configurations
88 * @nconfs: number of pin configurations available
[all …]
H A Dpinconf.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Core driver for the pin config portions of the pin control subsystem
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
27 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_check_ops()
30 if (!ops->pin_config_set && !ops->pin_config_group_set) { in pinconf_check_ops()
31 dev_err(pctldev->dev, in pinconf_check_ops()
33 return -EINVAL; in pinconf_check_ops()
40 if (!map->data.configs.group_or_pin) { in pinconf_validate_map()
41 pr_err("failed to register map %s (%d): no group/pin given\n", in pinconf_validate_map()
[all …]
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Core driver for the pin control subsystem
5 * Copyright (C) 2011-2012 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
31 #include <asm-generic/gpio.h>
51 /* Global list of pin control devices (struct pinctrl_dev) */
54 /* List of pin controller handles (struct pinctrl) */
62 * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support
77 return pctldev->desc->name; in pinctrl_dev_get_name()
83 return dev_name(pctldev->dev); in pinctrl_dev_get_devname()
[all …]
/OK3568_Linux_fs/kernel/include/linux/ssb/
H A Dssb_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
33 #define SSB_MAX_NR_CORES ((SSB_ENUM_LIMIT - SSB_ENUM_BASE) / SSB_CORE_SIZE)
108 #define SSB_TMSHIGH_SERR 0x00000001 /* S-error */
168 * in two-byte quantities.
192 #define SSB_SPROM1_ETHPHY 0x005A /* Ethernet PHY settings */
202 #define SSB_SPROM1_BINF_ANTBG 0x3000 /* Available B-PHY and G-PHY antennas */
204 #define SSB_SPROM1_BINF_ANTA 0xC000 /* Available A-PHY antennas */
210 #define SSB_SPROM1_GPIOA_P0 0x00FF /* Pin 0 */
211 #define SSB_SPROM1_GPIOA_P1 0xFF00 /* Pin 1 */
214 #define SSB_SPROM1_GPIOB_P2 0x00FF /* Pin 2 */
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/
H A Dda830_pinmux.c4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
6 * SPDX-License-Identifier: GPL-2.0+
14 /* SPI0 pin muxer settings */
29 /* NAND pin muxer settings */
107 /* UART2 pin muxer settings */
113 /* I2C0 pin muxer settings */
119 /* USB0_DRVVBUS pin muxer settings */
125 /* MMC0 pin muxer settings */
137 /* DA830 supports 8-bit mode */
H A Dda850_pinmux.c6 * SPDX-License-Identifier: GPL-2.0+
14 /* SPI pin muxer settings */
35 /* UART pin muxer settings */
61 /* EMAC pin muxer settings*/
96 /* I2C pin muxer settings */
107 /* EMIFA pin muxer settings */
135 /* NOR pin muxer settings */
182 /* MMC0 pin muxer settings */
190 /* DA850 supports only 4-bit mode, remaining pins are not configured */
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dpinctrl_broadwell.c4 * SPDX-License-Identifier: GPL-2.0+
18 #include <dt-bindings/gpio/x86-gpio.h>
49 const void *blob = gd->fdt_blob; in broadwell_pinctrl_read_configs()
62 return -ENOSPC; in broadwell_pinctrl_read_configs()
66 conf->node = node; in broadwell_pinctrl_read_configs()
67 conf->phandle = phandle; in broadwell_pinctrl_read_configs()
68 conf->mode_gpio = fdtdec_get_bool(blob, node, "mode-gpio"); in broadwell_pinctrl_read_configs()
69 if (fdtdec_get_int(blob, node, "direction", -1) == PIN_INPUT) in broadwell_pinctrl_read_configs()
70 conf->dir_input = true; in broadwell_pinctrl_read_configs()
71 conf->invert = fdtdec_get_bool(blob, node, "invert"); in broadwell_pinctrl_read_configs()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-s3c/
H A Dgpio-cfg.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * S3C Platform - GPIO pin configuration
12 * pin configuration done such as setting a pin to input or output or
13 * changing the pull-{up,down} configurations.
27 /* forward declaration if gpio-core.h hasn't been included */
41 * per-bank configuration information that other systems such as the
64 /* Defines for generic pin configurations */
73 * s3c_gpio_cfgpin() - Change the GPIO function of a pin.
74 * @pin pin The pin number to configure.
75 * @to to The configuration for the pin's function.
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra/
H A Dpinmux.h2 * (C) Copyright 2010-2014
5 * SPDX-License-Identifier: GPL-2.0+
15 /* The pullup/pulldown state of a pin group */
22 /* Defines whether a pin group is tristated or in normal operation */
77 /* Defines a pin group cfg's low-power mode select */
83 PMUX_LPMD_NONE = -1,
88 /* Defines whether a pin group cfg's schmidt is enabled or not */
92 PMUX_SCHMT_NONE = -1,
97 /* Defines whether a pin group cfg's high-speed mode is enabled or not */
101 PMUX_HSM_NONE = -1,
[all …]
/OK3568_Linux_fs/u-boot/board/BuR/common/
H A Dcommon.c7 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
9 * SPDX-License-Identifier: GPL-2.0+
34 #include "../../../drivers/video/am335x-fb.h"
43 #define FDTPROP(b, c) fdt_getprop_u32_default(gd->fdt_blob, b, c, ~0UL)
44 #define PATHTIM "/panel/display-timings/default"
45 #define PATHINF "/panel/panel-info"
47 /* --------------------------------------------------------------------------*/
53 if (gd->fdt_blob == NULL) { in lcdbacklight()
54 printf("%s: don't have a valid gd->fdt_blob!\n", __func__); in lcdbacklight()
82 case 0: /* PMIC LED-Driver */ in lcdbacklight()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Dpinctl.rst2 PINCTRL (PIN CONTROL) subsystem
5 This document outlines the pin control subsystem in Linux
9 - Enumerating and naming controllable pins
11 - Multiplexing of pins, pads, fingers (etc) see below for details
13 - Configuration of pins, pads, fingers (etc), such as software-controlled
14 biasing and driving mode specific pins, such as pull-up/down, open drain,
17 Top-level interface
20 Definition of PIN CONTROLLER:
22 - A pin controller is a piece of hardware, usually a set of registers, that
26 Definition of PIN:
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dabituguru3.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2006-2008 Hans de Goede <hdegoede@redhat.com>
11 * only reading the sensors and their settings is supported.
25 #include <linux/hwmon-sysfs.h>
55 * cpu-speed independent, since the ISA-bus and not the CPU should be the
96 (ABIT_UGURU3_MAX_NO_SENSORS - 16) * ABIT_UGURU3_TEMP_NAMES_LENGTH)
104 /* Two i/o-ports are used by uGuru */
111 * of the DATA register (0-255) on failure.
113 #define ABIT_UGURU3_SUCCESS -1
135 /* + 1 -> end of sensors indicated by a sensor with name == NULL */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/inc/
H A Dsmu9_driver_if.h46 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1)
47 #define MAX_UVD_DPM_LEVEL (NUM_UVD_DPM_LEVELS - 1)
48 #define MAX_VCE_DPM_LEVEL (NUM_VCE_DPM_LEVELS - 1)
49 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1)
50 #define MAX_UCLK_DPM_LEVEL (NUM_UCLK_DPM_LEVELS - 1)
51 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1)
52 #define MAX_DCEFCLK_DPM_LEVEL (NUM_DCEFCLK_DPM_LEVELS - 1)
53 #define MAX_LINK_DPM_LEVEL (NUM_LINK_LEVELS - 1)
65 #define MAX_EVV_VOLTAGE_LEVEL (NUM_EVV_VOLTAGE_LEVELS - 1)
141 /* External Component Communication Settings */
[all …]
/OK3568_Linux_fs/u-boot/board/sbc8641d/
H A DREADME7 -----------------------------
9 1. Building U-Boot
10 ------------------
19 2. Switch and Jumper Settings
20 -----------------------------
22 the board documentation for details. Some settings control CPU voltages
23 and settings may change with board revisions.
26 --------------------
30 4. Reflashing U-Boot
31 --------------------
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/tilcdc/
H A Dpanel.txt1 Device-Tree bindings for tilcdc DRM generic panel output driver
4 - compatible: value should be "ti,tilcdc,panel".
5 - panel-info: configuration info to configure LCDC correctly for the panel
6 - ac-bias: AC Bias Pin Frequency
7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
8 - dma-burst-sz: DMA burst size
9 - bpp: Bits per pixel
10 - fdd: FIFO DMA Request Delay
11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/gammu/gammu/
H A Dgammu-smsdrc1 # This is a sample Gammu SMSD configuration file. It's required for gammu-smsd,
2 # see gammu-smsdrc(5) for documentation.
30 # General SMSD settings, see gammu-smsdrc(5) for detailed description.
34 # PIN for SIM card
35 PIN = 0000
44 # Commication frequency settings
49 # Phone communication settings

12345678910>>...30