| /linux/scripts/dtc/ |
| H A D | livetree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 if (streq(new->label, label)) { in add_label() 20 new->deleted = 0; in add_label() 26 new->label = label; in add_label() 27 new->next = *labels; in add_label() 36 label->delete in delete_labels() 228 add_orphan_node(struct node * dt,struct node * new_node,char * ref) add_orphan_node() argument 830 build_root_node(struct node * dt,const char * name) build_root_node() argument 862 struct node *dt = dti->dt; generate_label_tree_internal() local 951 struct node *dt = dti->dt; generate_fixups_tree_internal() local 1032 struct node *dt = dti->dt; generate_local_fixups_tree_internal() local [all...] |
| H A D | checks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 fprintf(stderr, "=== %s: ", (c)->name); \ 63 struct property *prop, in check_msg() 71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg() 74 if (prop && prop->srcpo in check_msg() 157 struct node *dt = dti->dt; run_check() local 442 struct node *dt = dti->dt; check_duplicate_label() local 606 struct node *dt = dti->dt; fixup_phandle_references() local 641 struct node *dt = dti->dt; fixup_path_references() local 1311 struct node *dt = dti->dt; check_obsolete_chosen_interrupt_controller() local [all...] |
| /linux/drivers/video/ |
| H A D | of_display_timing.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * parse_timing_property - parse timing_entry from device_node 17 * @np: device_node with the property 18 * @name: name of the property 28 struct property *prop; in parse_timing_property() 33 pr_err("%pOF: could not find property %s\n", np, name); in parse_timing_property() 34 return -EINVAL; in parse_timing_property() 39 ret = of_property_read_u32(np, name, &result->typ); in parse_timing_property() 40 result->min = result->typ; in parse_timing_property() 41 result->max = result->typ; in parse_timing_property() [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
| H A D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 29 - arm,pl180 30 - arm,pl181 31 - arm,pl18x [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | adi,adp5588.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADP5588.pdf 17 - $ref: matrix-keymap.yaml# 18 - $ref: input.yaml# 23 - adi,adp5587 24 - adi,adp5588 29 vcc-supply: [all …]
|
| H A D | adc-joystick.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019-2020 Artur Rojek 4 --- 5 $id: http://devicetree.org/schemas/input/adc-joystick.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Artur Rojek <contact@artur-rojek.eu> 18 - $ref: input.yaml# 22 const: adc-joystick 24 io-channels: 31 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml [all …]
|
| /linux/Documentation/devicetree/bindings/firmware/ |
| H A D | nvidia,tegra186-bpmp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/nvidia,tegra186-bpmp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 25 - .../mailbox/mailbox.txt 26 - .../mailbox/nvidia,tegra186-hsp.yaml 32 - .../clock/clock-bindings.txt 33 - <dt-bindings/clock/tegra186-clock.h> [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, 41 while DT explicitly does not support this. For hardware vendors, being 45 - ACPI’s OSPM defines a power management model that constrains what the 49 - In the enterprise server environment, ACPI has established bindings (such 50 as for RAS) which are currently used in production systems. DT does not. 51 Such bindings could be defined in DT at some point, but doing so means Arm [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | ti-pci.txt | 4 - compatible: Should be "ti,dra7-pcie" for RC (deprecated) 5 Should be "ti,dra7-pcie-ep" for EP (deprecated) 6 Should be "ti,dra746-pcie-rc" for dra74x/dra76 in RC mode 7 Should be "ti,dra746-pcie-ep" for dra74x/dra76 in EP mode 8 Should be "ti,dra726-pcie-rc" for dra72x in RC mode 9 Should be "ti,dra726-pcie-ep" for dra72x in EP mode 10 - phys : list of PHY specifiers (used by generic PHY framework) 11 - phy-names : must be "pcie-phy0", "pcie-phy1", "pcie-phyN".. based on the 12 number of PHYs as specified in *phys* property. 13 - ti,hwmods : Name of the hwmod associated to the pcie, "pcie<X>", [all …]
|
| /linux/drivers/pci/ |
| H A D | of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * PCI <-> OF mapping helpers 22 * pci_set_of_node - Find and set device's DT device_node 26 * DT. Returns -ENODEV if the device is present, but disabled in the DT. 30 if (!dev->bus->dev.of_node) in pci_set_of_node() 34 of_pci_find_child_device(dev->bus->dev.of_node, dev->devfn); in pci_set_of_node() 41 dev->bus->dev.of_node_reused = true; in pci_set_of_node() 43 device_set_node(&dev->dev, of_fwnode_handle(no_free_ptr(node))); in pci_set_of_node() 49 of_node_put(dev->dev.of_node); in pci_release_of_node() 50 device_set_node(&dev->dev, NULL); in pci_release_of_node() [all …]
|
| /linux/tools/testing/selftests/devices/probe/boards/ |
| H A D | google,spherion.yaml | 1 # SPDX-License-Identifier: GPL-2.0 7 # The top-level is a list of controllers, either for USB or PCI(e). 8 # Every controller needs to have a 'type' key set to either 'usb-controller' or 9 # 'pci-controller'. 12 # - dt-mmio: identify the MMIO address of the controller as defined in the 14 # - of-fullname-regex: regular expression to match against the OF_FULLNAME 15 # property. Useful when the controller's address is not unique across other 16 # sibling controllers. In this case, dt-mmio can't be used, and this property 18 # - usb-version: for USB controllers to differentiate between USB3 and USB2 20 # - acpi-uid: _UID property of the controller as supplied by the ACPI. Useful to [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | DSD-properties-rules.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Properties, Property Sets and Property Subsets 19 A device property is a data item consisting of a string key and a value (of a 22 In the ACPI _DSD context it is an element of the sub-package following the 24 section titled "Well-Known _DSD UUIDs and Data Structure Formats" sub-section 29 that can be returned by _DSD in the Device Properties UUID sub-package for a 32 A property set is a collection of properties applicable to a hardware entity 34 can be returned in the Device Properties UUID sub-package for the device in 37 Property subsets are nested collections of properties. Each of them is 40 representation of property subsets is via the mechanism specified in the [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp153c-lxa-fairytux2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 10 #include "stm32mp15xx-osd32.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/pwm/pwm.h> 31 stdout-path = &uart4; 35 compatible = "pwm-backlight"; [all …]
|
| H A D | stm32mp151a-prtt1l.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxad-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 18 mdio-gpio0 = &mdio0; 22 led-controller-0 { 23 compatible = "gpio-leds"; [all …]
|
| H A D | stm32mp133c-prihmb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 10 #include "stm32mp13-pinctrl.dtsi" 13 model = "Priva E-Measuringbox board"; 18 mdio-gpio0 = &mdio0; 27 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/Documentation/devicetree/bindings/net/can/ |
| H A D | fsl,flexcan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC). 11 - Marc Kleine-Budde <mkl@pengutronix.de> 16 - enum: 17 - fsl,imx95-flexcan 18 - fsl,imx93-flexcan 19 - fsl,imx8qm-flexcan 20 - fsl,imx8mp-flexcan [all …]
|
| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | qcom-spmi-adc-tm5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 $ref: thermal-sensor.yaml# 16 - qcom,spmi-adc-tm5 17 - qcom,spmi-adc-tm5-gen2 18 - qcom,adc-tm7 # Incomplete / subject to change 26 "#thermal-sensor-cells": [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
| H A D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
| /linux/drivers/cpuidle/ |
| H A D | dt_idle_states.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DT idle states parsing code. 9 #define pr_fmt(fmt) "DT idle-states: " fmt 32 idle_state->enter = match_id->data; in init_state_node() 38 idle_state->enter_s2idle = match_id->data; in init_state_node() 40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node() 41 &idle_state->exit_latency); in init_state_node() 45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node() 48 pr_debug(" * %pOF missing entry-latency-us property\n", in init_state_node() 50 return -EINVAL; in init_state_node() [all …]
|
| /linux/Documentation/devicetree/bindings/display/mediatek/ |
| H A D | mediatek,wdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 24 - enum: 25 - mediatek,mt8173-disp-wdma 26 - items: 27 - const: mediatek,mt6795-disp-wdma 28 - const: mediatek,mt8173-disp-wdma [all …]
|
| /linux/Documentation/devicetree/bindings/fpga/ |
| H A D | fpga-region.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/fpga/fpga-region.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@amd.com> 14 - Introduction 15 - Terminology 16 - Sequence 17 - FPGA Region 18 - Supported Use Models [all …]
|
| /linux/arch/mips/generic/ |
| H A D | yamon-dt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #define pr_fmt(fmt) "yamon-dt: " fmt 16 #include <asm/yamon-dt.h> 26 if (chosen_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_cmdline() 29 pr_err("Unable to find or add DT chosen node: %d\n", in yamon_dt_append_cmdline() 36 pr_err("Unable to set bootargs property: %d\n", err); in yamon_dt_append_cmdline() 53 for (mr = regions; mr->size && memsize; ++mr) { in gen_fdt_mem_array() 61 size = min_t(unsigned long, memsize, mr->size); in gen_fdt_mem_array() 62 memsize -= size; in gen_fdt_mem_array() 65 *(mem_array++) = cpu_to_be32(mr->start); in gen_fdt_mem_array() [all …]
|
| H A D | board-sead3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <asm/yamon-dt.h> 61 gic_off = fdt_node_offset_by_compatible(fdt, -1, "mti,gic"); in remove_gic() 63 pr_err("unable to find DT GIC node: %d\n", gic_off); in remove_gic() 73 cpu_off = fdt_node_offset_by_compatible(fdt, -1, in remove_gic() 74 "mti,cpu-interrupt-controller"); in remove_gic() 83 return -EINVAL; in remove_gic() 86 uart_off = fdt_node_offset_by_compatible(fdt, -1, "ns16550a"); in remove_gic() 88 err = fdt_setprop_u32(fdt, uart_off, "interrupt-parent", in remove_gic() 91 pr_warn("unable to set UART interrupt-parent: %d\n", in remove_gic() [all …]
|