/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-s4.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/gpio/meson-s4-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 506 GROUP(i2c0_sda, 1), 507 GROUP(i2c0_scl, 1), 510 GROUP(uart_b_tx_e, 2), 511 GROUP(uart_b_rx_e, 2), 514 GROUP(pwm_h, 3), 515 GROUP(pwm_j, 3), [all …]
|
H A D | pinctrl-meson-g12a.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 12 #include "pinctrl-meson.h" 13 #include "pinctrl-meson-axg-pmx.h" 527 GROUP(emmc_nand_d0, 1), 528 GROUP(emmc_nand_d1, 1), 529 GROUP(emmc_nand_d2, 1), 530 GROUP(emmc_nand_d3, 1), 531 GROUP(emmc_nand_d4, 1), [all …]
|
H A D | pinctrl-meson-a1.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/gpio/meson-a1-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 407 GROUP(psram_clkn, 1), 408 GROUP(psram_clkp, 1), 409 GROUP(psram_ce_n, 1), 410 GROUP(psram_rst_n, 1), 411 GROUP(psram_adq0, 1), 412 GROUP(psram_adq1, 1), [all …]
|
H A D | pinctrl-meson-axg.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/gpio/meson-axg-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 448 GROUP(emmc_nand_d0, 1), 449 GROUP(emmc_nand_d1, 1), 450 GROUP(emmc_nand_d2, 1), 451 GROUP(emmc_nand_d3, 1), 452 GROUP(emmc_nand_d4, 1), 453 GROUP(emmc_nand_d5, 1), [all …]
|
H A D | pinctrl-amlogic-c3.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 9 #include <dt-bindings/gpio/amlogic-c3-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 436 GROUP(pwm_a, 1), 437 GROUP(pwm_b, 1), 438 GROUP(i2c2_sda, 1), 439 GROUP(i2c2_scl, 1), 440 GROUP(gen_clk_e, 1), 443 GROUP(i2c0_sda_e, 2), [all …]
|
H A D | pinctrl-meson-gxbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson8-pmx.h" 440 GROUP(sdio_d0, 8, 5), 441 GROUP(sdio_d1, 8, 4), 442 GROUP(sdio_d2, 8, 3), 443 GROUP(sdio_d3, 8, 2), 444 GROUP(sdio_cmd, 8, 1), 445 GROUP(sdio_clk, 8, 0), [all …]
|
H A D | pinctrl-meson8b.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <dt-bindings/gpio/meson8b-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson8-pmx.h" 444 GROUP(sd_d0_a, 8, 5), 445 GROUP(sd_d1_a, 8, 4), 446 GROUP(sd_d2_a, 8, 3), 447 GROUP(sd_d3_a, 8, 2), 448 GROUP(sdxc_d0_0_a, 5, 29), 449 GROUP(sdxc_d47_a, 5, 12), [all …]
|
H A D | pinctrl-meson-gxl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <dt-bindings/gpio/meson-gxl-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson8-pmx.h" 414 GROUP(sdio_d0, 5, 31), 415 GROUP(sdio_d1, 5, 30), 416 GROUP(sdio_d2, 5, 29), 417 GROUP(sdio_d3, 5, 28), 418 GROUP(sdio_clk, 5, 27), 419 GROUP(sdio_cmd, 5, 26), [all …]
|
H A D | pinctrl-meson8.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/gpio/meson8-gpio.h> 9 #include "pinctrl-meson.h" 10 #include "pinctrl-meson8-pmx.h" 531 GROUP(sd_d0_a, 8, 5), 532 GROUP(sd_d1_a, 8, 4), 533 GROUP(sd_d2_a, 8, 3), 534 GROUP(sd_d3_a, 8, 2), 535 GROUP(sd_clk_a, 8, 1), 536 GROUP(sd_cmd_a, 8, 0), [all …]
|
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-axg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <dt-bindings/gpio/meson-axg-gpio.h> 15 #include "pinctrl-meson-axg.h" 346 GROUP(emmc_nand_d0, 1), 347 GROUP(emmc_nand_d1, 1), 348 GROUP(emmc_nand_d2, 1), 349 GROUP(emmc_nand_d3, 1), 350 GROUP(emmc_nand_d4, 1), 351 GROUP(emmc_nand_d5, 1), 352 GROUP(emmc_nand_d6, 1), [all …]
|
H A D | pinctrl-meson-gxl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2016 - Beniamino Galvani <b.galvani@gmail.com> 12 #include <dt-bindings/gpio/meson-gxl-gpio.h> 14 #include "pinctrl-meson-gx.h" 295 GROUP(sdio_d0, 5, 31), 296 GROUP(sdio_d1, 5, 30), 297 GROUP(sdio_d2, 5, 29), 298 GROUP(sdio_d3, 5, 28), 299 GROUP(sdio_clk, 5, 27), 300 GROUP(sdio_cmd, 5, 26), [all …]
|
H A D | pinctrl-meson-gxbb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2016 - Beniamino Galvani <b.galvani@gmail.com> 12 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 14 #include "pinctrl-meson-gx.h" 209 GROUP(uart_tx_a, 4, 13), 210 GROUP(uart_rx_a, 4, 12), 211 GROUP(uart_cts_a, 4, 11), 212 GROUP(uart_rts_a, 4, 10), 215 GROUP(uart_cts_c, 1, 19), 216 GROUP(uart_rts_c, 1, 18), [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 18 #include <linux/firmware/xlnx-zynqmp.h> 20 #include <linux/pinctrl/pinconf-generic.h> 26 #include "pinctrl-utils.h" 47 * struct zynqmp_pmux_function - a pinmux function 48 * @name: Name of the pin mux function 49 * @groups: List of pin groups for this function 52 * This structure holds information about pin control function 53 * and function group names supporting that function. [all …]
|
H A D | pinmux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 24 #include <linux/radix-tree.h> 38 const struct pinmux_ops *ops = pctldev->desc->pmxops; in pinmux_check_ops() 44 !ops->get_functions_count || in pinmux_check_ops() 45 !ops->get_function_name || in pinmux_check_ops() 46 !ops->get_function_groups || in pinmux_check_ops() 47 !ops->set_mux) { in pinmux_check_ops() 48 dev_err(pctldev->dev, "pinmux ops lacks necessary functions\n"); in pinmux_check_ops() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | brcm,bcm63268-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/brcm,bcm63268-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Bindings for Broadcom's BCM63268 memory-mapped pin controller. 18 const: brcm,bcm63268-pinctrl 24 '-pins$': 26 $ref: pinmux-node.yaml# [all …]
|
H A D | fsl,mxs-pinctrl.txt | 5 function is GPIO. The configuration on the pins includes drive strength, 6 voltage and pull-up. 9 - compatible: "fsl,imx23-pinctrl" or "fsl,imx28-pinctrl" 10 - reg: Should contain the register physical address and length for the 13 Please refer to pinctrl-bindings.txt in this directory for details of the 18 a group of pins, and only affects those parameters that are explicitly listed. 20 information about pull-up. For this reason, even seemingly boolean values are 26 One is to set up a group of pins for a function, both mux selection and pin 27 configurations, and it's called group node in the binding document. The other 29 different configuration than what is defined in group node. The binding [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | actions.hpp | 24 * @param[in] tConf - Timer configuration parameters 25 * @param[in] action - List of actions to be called when the timer expires 27 * @return Action lambda function 28 * An Action function that creates a timer 36 * service associated to the given group has terminated. Once all services 40 * @param[in] zone - Zone containing fans 41 * @param[in] group - Group of sensors to determine services' states 43 void default_floor_on_missing_owner(Zone& zone, const Group& group); 48 * to the group is missing. Once all services are functional and providing 51 * @param[in] speed - Speed to set the zone to [all …]
|
H A D | handlers.hpp | 13 * @brief A handler function to set/update a property on a zone 15 * provided zone dbus object's set property function 17 * @param[in] intf - Interface on zone object 18 * @param[in] prop - Property on interface 19 * @param[in] func - Zone set property function pointer 20 * @param[in] value - Value to set property to 21 * @param[in] persist - Persist property value or not 23 * @return Lambda function 24 * A lambda function to set/update the zone property 40 * @brief A handler function to set/update a property [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | brcm,bcm63268-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm63268-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 18 "#address-cells": true 20 "#size-cells": true 24 - const: brcm,bcm63268-gpio-sysctl 25 - const: syscon [all …]
|
/openbmc/linux/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * functions. The SoC function enabled on a pin is determined on a priority 16 * bits. Some difficulty arises as the pin's function bit masks for each 21 * read-only). 23 * SoC Multi-function Pin Expression Examples 24 * ------------------------------------------ 30 * D6 is a pin with a single function (beside GPIO); a high priority signal 31 * that participates in one function: 34 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 36 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | boottime-trace.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Boot-time tracing 12 Boot-time tracing allows users to trace boot-time process including 13 device initialization with full features of ftrace including per-event 14 filter and actions, histograms, kprobe-events and synthetic-events, 27 .. [1] See :ref:`Documentation/admin-guide/bootconfig.rst <bootconfig>` 28 .. [2] See :ref:`Documentation/admin-guide/kernel-parameters.rst <kernelparameters>` 31 --------------------- 37 Output trace-event data on printk buffer too. 50 Add fgraph tracing function filters. [all …]
|
/openbmc/linux/arch/arc/boot/dts/ |
H A D | abilis_tb101.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 bus-frequency = <166666666>; 18 clock-frequency = <1000000000>; 21 clock-mult = <1>; 22 clock-div = <2>; 25 clock-mult = <1>; 26 clock-div = <6>; 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 32 abilis,function = "mis0"; 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ [all …]
|
H A D | abilis_tb100.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 bus-frequency = <166666666>; 18 clock-frequency = <1000000000>; 21 clock-mult = <1>; 22 clock-div = <2>; 25 clock-mult = <1>; 26 clock-div = <6>; 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 32 abilis,function = "mis0"; 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ [all …]
|
/openbmc/linux/drivers/pinctrl/spear/ |
H A D | pinctrl-spear.c | 8 * - U300 Pinctl drivers 9 * - Tegra Pinctl drivers 29 #include "pinctrl-spear.h" 31 #define DRIVER_NAME "spear-pinmux" 42 val = pmx_readl(pmx, muxreg->reg); in muxregs_endisable() 43 val &= ~muxreg->mask; in muxregs_endisable() 46 temp = muxreg->val; in muxregs_endisable() 48 temp = ~muxreg->val; in muxregs_endisable() 50 val |= muxreg->mask & temp; in muxregs_endisable() 51 pmx_writel(pmx, val, muxreg->reg); in muxregs_endisable() [all …]
|
/openbmc/u-boot/drivers/pinctrl/ |
H A D | pinctrl-generic.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * pinctrl_pin_name_to_selector() - return the pin selector for a pin 25 if (!ops->get_pins_count || !ops->get_pin_name) { in pinctrl_pin_name_to_selector() 27 return -ENOSYS; in pinctrl_pin_name_to_selector() 30 npins = ops->get_pins_count(dev); in pinctrl_pin_name_to_selector() 34 const char *pname = ops->get_pin_name(dev, selector); in pinctrl_pin_name_to_selector() 40 return -ENOSYS; in pinctrl_pin_name_to_selector() 44 * pinctrl_group_name_to_selector() - return the group selector for a group 47 * @group: the pin group name to look up 48 * @return: pin group selector, or negative error code on failure [all …]
|