Home
last modified time | relevance | path

Searched +full:function +full:- +full:enumerator (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm958625-meraki-kingpin.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
8 #include "bcm958625-meraki-mx6x-common.dtsi"
13 compatible = "gpio-keys-polled";
15 poll-interval = <20>;
17 button-reset {
25 compatible = "gpio-leds";
27 led-0 {
28 /* green:lan1-left */
29 function = LED_FUNCTION_ACTIVITY;
[all …]
Dbcm958625-meraki-alamo.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
8 #include "bcm958625-meraki-mx6x-common.dtsi"
12 compatible = "gpio-keys-polled";
14 poll-interval = <20>;
16 button-reset {
24 compatible = "gpio-leds";
26 led-0 {
27 /* green:wan1-left */
28 function = LED_FUNCTION_ACTIVITY;
[all …]
Dbcm47094-asus-rt-ac3100.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 #include "bcm5301x-nand-cs0-bch8.dtsi"
9 #include <dt-bindings/leds/common.h>
23 gpio-keys {
24 compatible = "gpio-keys";
26 button-led {
32 button-reset {
38 button-wifi {
39 label = "Wi-Fi";
44 button-wps {
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mm-verdin-yavia.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/leds/common.h>
10 compatible = "gpio-leds";
12 pinctrl-names = "default";
13 pinctrl-0 = <&pinctrl_leds_yavia>;
15 /* SODIMM 52 - LD1_RED */
16 led-0 {
18 function = LED_FUNCTION_DEBUG;
19 function-enumerator = <1>;
22 /* SODIMM 54 - LD1_GREEN */
[all …]
Dimx8mp-verdin-yavia.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/leds/common.h>
9 native-hdmi-connector {
10 compatible = "hdmi-connector";
16 remote-endpoint = <&hdmi_tx_out>;
22 reg_1p8v: regulator-1p8v {
23 compatible = "regulator-fixed";
24 regulator-max-microvolt = <1800000>;
25 regulator-min-microvolt = <1800000>;
26 regulator-name = "+V1.8_SW";
[all …]
Dimx8mm-verdin-mallow.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-mini-nano
8 * https://www.toradex.com/products/carrier-board/mallow-carrier-board
11 #include <dt-bindings/leds/common.h>
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_leds>;
19 /* SODIMM 52 - USER_LED_1_RED */
20 led-0 {
22 function = LED_FUNCTION_DEBUG;
[all …]
Dimx8mp-verdin-mallow.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-plus
8 * https://www.toradex.com/products/carrier-board/mallow-carrier-board
11 #include <dt-bindings/leds/common.h>
14 native-hdmi-connector {
15 compatible = "hdmi-connector";
21 remote-endpoint = <&hdmi_tx_out>;
27 compatible = "gpio-leds";
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_leds>;
[all …]
Dimx8mp-dhcom-pdk3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2
7 * DHCOM PCB number: 660-100 or newer
8 * PDK3 PCB number: 669-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/phy/phy-imx8-pcie.h>
15 #include "imx8mp-dhcom-som.dtsi"
19 compatible = "dh,imx8mp-dhcom-pdk3", "dh,imx8mp-dhcom-som",
23 stdout-path = &uart1;
[all …]
/linux-6.12.1/arch/arm/boot/dts/marvell/
Dkirkwood-c200-v1.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2021-2022 Pawel Dembicki <paweldembicki@gmail.com>
7 /dts-v1/;
10 #include "kirkwood-6281.dtsi"
11 #include <dt-bindings/leds/common.h>
15 compatible = "ctera,c200-v1", "marvell,kirkwood-88f6281", "marvell,kirkwood";
19 stdout-path = &uart0;
28 compatible = "gpio-keys";
29 pinctrl-0 = <&pmx_buttons>;
30 pinctrl-names = "default";
[all …]
Darmada-370-c200-v2.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Device Tree file for Ctera C200-V2
8 /dts-v1/;
10 #include "armada-370.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/thermal/thermal.h>
14 #include <dt-bindings/leds/common.h>
18 compatible = "ctera,c200-v2", "marvell,armada370", "marvell,armada-370-xp";
22 stdout-path = "serial0:115200n8";
[all …]
Darmada-385-turris-omnia.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * Copyright (C) 2016 Uwe Kleine-König <uwe@kleine-koenig.org>
8 * Schematic available at https://www.turris.cz/doc/_media/rtrom01-schema.pdf
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include "armada-385.dtsi"
20 compatible = "cznic,turris-omnia", "marvell,armada385", "marvell,armada380";
23 stdout-path = &uart0;
[all …]
/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-am62-verdin-yavia.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
8 * https://www.toradex.com/products/carrier-board/yavia
11 #include <dt-bindings/leds/common.h>
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_qspi1_clk_gpio>,
24 /* SODIMM 52 - LD1_RED */
25 led-0 {
27 function = LED_FUNCTION_DEBUG;
[all …]
Dk3-am62-verdin-mallow.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
8 * https://www.toradex.com/products/carrier-board/mallow-carrier-board
11 #include <dt-bindings/leds/common.h>
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_qspi1_clk_gpio>,
22 /* SODIMM 52 - USER_LED_1_RED */
23 led-0 {
25 function = LED_FUNCTION_DEBUG;
[all …]
Dk3-am642-sk.dts1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
8 #include <dt-bindings/phy/phy.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/net/ti-dp83867.h>
11 #include <dt-bindings/leds/common.h>
12 #include "k3-am642.dtsi"
14 #include "k3-serdes.h"
17 compatible = "ti,am642-sk", "ti,am642";
[all …]
/linux-6.12.1/tools/net/sunrpc/xdrgen/generators/
Denum.py18 def emit_declaration(self, node: _XdrEnum) -> None:
24 def emit_definition(self, node: _XdrEnum) -> None:
29 template = self.environment.get_template("definition/enumerator.j2")
30 for enumerator in node.enumerators:
31 print(template.render(name=enumerator.name, value=enumerator.value))
36 def emit_decoder(self, node: _XdrEnum) -> None:
37 """Emit one decoder function for an XDR enum type"""
41 def emit_encoder(self, node: _XdrEnum) -> None:
42 """Emit one encoder function for an XDR enum type"""
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-solidsense.dtsi4 * This file is dual-licensed: you can use it either under the terms
41 #include <dt-bindings/leds/common.h>
45 compatible = "gpio-leds";
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_solidsense_leds>;
49 /* Red/Green LED1 - next to WiFi SMA */
50 led-11 {
52 function = LED_FUNCTION_INDICATOR;
53 function-enumerator = <0>;
57 led-12 {
[all …]
Dimx6ull-jozacp.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/leds/common.h>
18 stdout-path = &uart1;
22 led-controller-1 {
23 compatible = "pwm-leds";
25 led-0 {
27 function = LED_FUNCTION_INDICATOR;
28 function-enumerator = <0>;
[all …]
Dimx6ull-dhcom-pdk2.dts1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-RTC-WBT-ADC-I-01D2
7 * DHCOR PCB number: 578-200 or newer
8 * DHCOM PCB number: 579-200 or newer
9 * PDK2 PCB number: 516-400 or newer
11 /dts-v1/;
13 #include "imx6ull-dhcom-som.dtsi"
17 compatible = "dh,imx6ull-dhcom-pdk2", "dh,imx6ull-dhcom-som",
18 "dh,imx6ull-dhcor-som", "fsl,imx6ull";
20 clk_ext_audio_codec: clock-codec {
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-mt6360.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-mt6360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gene Chen <gene_chen@richtek.com>
15 Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
16 and 4-channel RGB LED support Register/Flash/Breath Mode
20 const: mediatek,mt6360-led
22 "#address-cells":
25 "#size-cells":
[all …]
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
32 function:
34 LED function. Use one of the LED_FUNCTION_* prefixed definitions
35 from the header include/dt-bindings/leds/common.h. If there is no
[all …]
Dleds-qcom-lpg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
20 - enum:
21 - qcom,pm660l-lpg
22 - qcom,pm8150b-lpg
23 - qcom,pm8150l-lpg
24 - qcom,pm8350c-pwm
[all …]
/linux-6.12.1/arch/arm64/boot/dts/marvell/
Darmada-8040-puzzle-m801.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * Device Tree file for IEI Puzzle-M801
9 #include "armada-8040.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/leds/common.h>
15 model = "IEI-Puzzle-M801";
16 compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806";
28 stdout-path = "serial0:115200n8";
37 v_3_3: regulator-3-3v {
38 compatible = "regulator-fixed";
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/ls/
Dls1021a-tqmls1021a-mbls1021a.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR X11)
3 * Copyright 2013-2014 Freescale Semiconductor, Inc.
4 * Copyright 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
5 * D-82229 Seefeld, Germany.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/leds/leds-pca9532.h>
15 #include <dt-bindings/net/ti-dp83867.h>
[all …]
/linux-6.12.1/arch/powerpc/boot/dts/
Dturris1x.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright 2013 - 2022 CZ.NIC z.s.p.o. (http://www.nic.cz/)
8 * and available at: https://docs.turris.cz/hw/turris-1x/turris-1x/
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/leds/common.h>
14 /include/ "fsl/p2020si-pre.dtsi"
41 gpio-controller@18 {
45 #gpio-cells = <2>;
46 gpio-controller;
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt7986a-bananapi-bpi-r3-mini.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Authors: Frank Wunderlich <frank-w@public-files.de>
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/pinctrl/mt65xx.h>
19 model = "Bananapi BPI-R3 Mini";
20 chassis-type = "embedded";
21 compatible = "bananapi,bpi-r3mini", "mediatek,mt7986a";
[all …]

123