/linux-6.14.4/scripts/dtc/ |
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->deleted = 1; in delete_labels() 39 struct property *build_property(const char *name, struct data val, in build_property() 42 struct property *new = xmalloc(sizeof(*new)); in build_property() 46 new->name = xstrdup(name); in build_property() 47 new->val = val; in build_property() [all …]
|
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->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 76 else if (node && node->srcpos) in check_msg() 77 pos = node->srcpos; in check_msg() 83 } else if (streq(dti->outname, "-")) { in check_msg() 86 xasprintf(&str, "%s", dti->outname); in check_msg() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/ |
D | writing-schema.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Writing Devicetree Bindings in json-schema 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 7 written in a JSON-compatible subset of YAML. YAML is used instead of JSON as it 11 Also see :ref:`example-schema`. 14 --------------- 16 Each schema doc is a structured json-schema which is defined by a set of 17 top-level properties. Generally, there is one binding defined per file. The 18 top-level json-schema properties used are: 21 A json-schema unique identifier string. The string must be a valid [all …]
|
D | example-schema.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 # All the top-level keys are standard json-schema keywords except for 10 $id: http://devicetree.org/schemas/example-schema.yaml# 11 # $schema is the meta-schema this schema should be validated with. 12 $schema: http://devicetree.org/meta-schemas/core.yaml# 17 - Rob Herring <[email protected]> 20 A more detailed multi-line description of the binding. 29 # 'select' is a schema applied to a DT node to determine if this binding 36 # A dictionary of DT properties for this binding schema [all …]
|
D | writing-bindings.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Documentation/devicetree/bindings/submitting-patches.rst 17 - DO attempt to make bindings complete even if a driver doesn't support some 19 'interrupts' property even if the driver is only polled mode. 21 - DON'T refer to Linux or "device driver" in bindings. Bindings should be 24 - DO use node names matching the class of the device. Many standard names are 25 defined in the DT Spec. If there isn't one, consider adding it. 27 - DO check that the example matches the documentation especially after making 30 - DON'T create nodes just for the sake of instantiating drivers. Multi-function 31 devices only need child nodes when the child nodes have their own DT [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/ |
D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <[email protected]> 11 - Pavel Machek <[email protected]> 25 led-sources: 30 $ref: /schemas/types.yaml#/definitions/uint32-array 35 from the header include/dt-bindings/leds/common.h. If there is no 42 the header include/dt-bindings/leds/common.h. If there is no matching 48 function-enumerator: [all …]
|
/linux-6.14.4/drivers/gpu/drm/ |
D | drm_of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/media-bus-format.h> 20 * A set of helper functions to aid DRM drivers in parsing standard DT 25 * drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node 39 if (tmp->port == port) in drm_of_crtc_port_mask() 50 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port 83 * drm_of_component_match_add - Add a component helper OF node match rule 101 * drm_of_component_probe - Generic probe function for a component based master 121 if (!dev->of_node) in drm_of_component_probe() 122 return -EINVAL; in drm_of_component_probe() [all …]
|
/linux-6.14.4/Documentation/devicetree/ |
D | usage-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 The "Open Firmware Device Tree", or simply Devicetree (DT), is a data 23 Structurally, the DT is a tree, or acyclic graph with named nodes, and 34 maximize use of existing support code, but since property and node 44 ---------- 45 The DT was originally created by Open Firmware as part of the 56 In 2005, when PowerPC Linux began a major cleanup and to merge 32-bit 57 and 64-bit support, the decision was made to require DT support on all 59 Firmware. To do this, a DT representation called the Flattened Device 61 blob without requiring a real Open Firmware implementation. U-Boot, [all …]
|
/linux-6.14.4/drivers/video/ |
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-6.14.4/Documentation/devicetree/bindings/mmc/ |
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 <[email protected]> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/input/ |
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á <[email protected]> 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 …]
|
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-6.14.4/Documentation/devicetree/bindings/firmware/ |
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 <[email protected]> 11 - Jon Hunter <[email protected]> 25 - .../mailbox/mailbox.txt 26 - .../mailbox/nvidia,tegra186-hsp.yaml 32 - .../clock/clock-bindings.txt 33 - <dt-bindings/clock/tegra186-clock.h> [all …]
|
/linux-6.14.4/arch/powerpc/include/asm/ |
D | prom.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * Copyright (C) 1996-2005 Paul Mackerras. 18 struct property; 22 #define OF_DT_PROP 0x3 /* Property: name off, size, 32 * The dt struct contains the device tree structure, full pathes and 33 * property contents. The dt strings contain a separate block with just 34 * the strings for the property names, and is fully page aligned and 36 * each property name appears only once in this page (cheap compression) 39 * passing it here instead of in the device-tree itself greatly simplifies 45 __be32 totalsize; /* total size of DT block */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/pci/ |
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-6.14.4/tools/testing/selftests/devices/probe/boards/ |
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-6.14.4/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <[email protected]> 11 - Bjorn Andersson <[email protected]> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
/linux-6.14.4/Documentation/arch/arm64/ |
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-6.14.4/Documentation/firmware-guide/acpi/ |
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-6.14.4/arch/arm/boot/dts/st/ |
D | stm32mp15xx-dhcom-picoitx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 11 compatible = "gpio-leds"; 13 led-0 { 16 default-state = "off"; 40 usb-port-power-hog { 41 gpio-hog; 43 output-low; 44 line-name = "usb-port-power"; [all …]
|
D | stm32mp15xx-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 24 rs485-rx-en-hog { 25 gpio-hog; 27 output-low; 28 line-name = "rs485-rx-en"; 33 gpio-line-names = "", "", "", "", 34 "", "", "DHCOM-B", "", 35 "", "", "", "DRC02-Out1", [all …]
|
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 …]
|
/linux-6.14.4/Documentation/devicetree/bindings/net/can/ |
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 <[email protected]> 14 - $ref: can-controller.yaml# 19 - enum: 20 - fsl,imx95-flexcan 21 - fsl,imx93-flexcan 22 - fsl,imx8qm-flexcan [all …]
|
/linux-6.14.4/drivers/pci/ |
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-6.14.4/Documentation/devicetree/bindings/thermal/ |
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 <[email protected]> 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 …]
|