Home
last modified time | relevance | path

Searched +full:drv +full:- +full:pinconf (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/arch/arm/boot/dts/
Dowl-s500-roseapplepi.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright (C) 2020-2021 Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
8 /dts-v1/;
10 #include "owl-s500.dtsi"
22 stdout-path = "serial2:115200n8";
30 syspwr: regulator-5v0 {
31 compatible = "regulator-fixed";
32 regulator-name = "SYSPWR";
33 regulator-min-microvolt = <5000000>;
34 regulator-max-microvolt = <5000000>;
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dactions,s500-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/actions,s500-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
16 pinctrl-bindings.txt in this directory for common binding part and usage.
20 const: actions,s500-pinctrl
24 - description: GPIO Output + GPIO Input + GPIO Data
25 - description: Multiplexing Control
[all …]
/Linux-v6.1/drivers/pinctrl/renesas/
Dpinctrl-rzv2m.c1 // SPDX-License-Identifier: GPL-2.0
18 #include <linux/pinctrl/pinconf-generic.h>
19 #include <linux/pinctrl/pinconf.h>
24 #include <dt-bindings/pinctrl/rzv2m-pinctrl.h>
27 #include "../pinconf.h"
30 #define DRV_NAME "pinctrl-rzv2m"
38 #define MUX_FUNC(pinconf) FIELD_GET(MUX_FUNC_MASK, (pinconf)) argument
87 #define DRV(n) ((n) < RZV2M_DEDICATED_PORT_IDX ? (0x28 + (n) * 0x40) \ macro
144 rzv2m_writel_we(pctrl->base + DI_MSK(port), pin, 1); in rzv2m_pinctrl_set_pfc_mode()
145 rzv2m_writel_we(pctrl->base + EN_MSK(port), pin, 1); in rzv2m_pinctrl_set_pfc_mode()
[all …]
Dpinctrl-rzn1.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2018 Renesas Electronics Europe Limited
9 #include <dt-bindings/pinctrl/rzn1-pinctrl.h>
15 #include <linux/pinctrl/pinconf-generic.h>
21 #include "../pinconf.h"
22 #include "../pinctrl-utils.h"
79 * struct rzn1_pmx_func - describes rzn1 pinmux functions
91 * struct rzn1_pin_group - describes an rzn1 pin group
183 u32 val = ipctl->lev1_protect_phys | !(value & LOCK_LEVEL1); in rzn1_hw_set_lock()
185 writel(val, &ipctl->lev1->status_protect); in rzn1_hw_set_lock()
[all …]
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-bm1880.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <linux/pinctrl/pinconf-generic.h>
18 #include "pinctrl-utils.h"
23 * struct bm1880_pinctrl - driver data
30 * @pinconf: Pinconf data
39 const struct bm1880_pinconf_data *pinconf; member
43 * struct bm1880_pctrl_group - pinctrl group
55 * struct bm1880_pinmux_function - a pinmux function
73 * struct bm1880_pinconf_data - pinconf data
921 return pctrl->ngroups; in bm1880_pctrl_get_groups_count()
[all …]
Dpinctrl-pistachio.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/pinctrl/pinconf.h>
15 #include <linux/pinctrl/pinconf-generic.h>
23 #include "pinctrl-utils.h"
512 PISTACHIO_FUNCTION_NONE = -1,
643 .mux_reg = -1, \
644 .mux_shift = -1, \
645 .mux_mask = -1, \
657 .mux_reg = -1, \
658 .mux_shift = -1, \
[all …]
Dpinctrl-rockchip.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * With some ideas taken from pinctrl-samsung:
14 * and pinctrl-at91:
15 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
28 #include <linux/pinctrl/pinconf.h>
31 #include <linux/pinctrl/pinconf-generic.h>
38 #include <dt-bindings/pinctrl/rockchip.h>
41 #include "pinconf.h"
42 #include "pinctrl-rockchip.h"
68 { .offset = -1 }, \
[all …]
/Linux-v6.1/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
18 #include <linux/pinctrl/pinconf.h>
19 #include <linux/pinctrl/pinconf-generic.h>
24 #include "../pinctrl-utils.h"
26 #include "pinctrl-madera.h"
30 * NOTE: IDs are zero-indexed for coding convenience
76 * All single-pin functions can be mapped to any GPIO, however pinmux applies
80 * Since these do not correspond to anything in the actual hardware - they are
81 * merely an adaptation to pinctrl's view of the world - we use the same name
[all …]
/Linux-v6.1/drivers/pinctrl/samsung/
Dpinctrl-samsung.c1 // SPDX-License-Identifier: GPL-2.0+
3 // pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's.
13 // pinmux and pinconf configurations. The gpiolib interface is also included.
30 #include "pinctrl-samsung.h"
40 { "samsung,pin-pud", PINCFG_TYPE_PUD },
41 { "samsung,pin-drv", PINCFG_TYPE_DRV },
42 { "samsung,pin-con-pdn", PINCFG_TYPE_CON_PDN },
43 { "samsung,pin-pud-pdn", PINCFG_TYPE_PUD_PDN },
44 { "samsung,pin-val", PINCFG_TYPE_DAT },
53 return pmx->nr_groups; in samsung_get_group_count()
[all …]
/Linux-v6.1/drivers/media/i2c/cx25840/
Dcx25840-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* cx25840 - Conexant CX25840 audio/video decoder driver
10 * - cleanup/rewrite for V4L2 API (2005)
36 #include <media/v4l2-common.h>
37 #include <media/drv-intf/cx25840.h>
39 #include "cx25840-core.h"
73 /* ----------------------------------------------------------------------- */
107 msgs[0].addr = client->addr; in cx25840_read()
113 msgs[1].addr = client->addr; in cx25840_read()
118 if (i2c_transfer(client->adapter, msgs, 2) < 2) in cx25840_read()
[all …]
/Linux-v6.1/drivers/gpio/
Dgpiolib.c1 // SPDX-License-Identifier: GPL-2.0
27 #include "gpiolib-of.h"
28 #include "gpiolib-acpi.h"
29 #include "gpiolib-cdev.h"
30 #include "gpiolib-sysfs.h"
37 * The GPIO programming interface allows for inlining speed-critical
38 * get/set operations for common cases, so that access to SOC-integrated
55 /* Device and char device-related information */
59 static int gpio_bus_match(struct device *dev, struct device_driver *drv);
96 d->label = label; in desc_set_label()
[all …]