/kernel/linux/linux-5.10/Documentation/devicetree/ |
D | of_unittest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Open Firmware Device Tree Unittest 13 is attached to the live tree dynamically, independent of the machine's 18 (1) Documentation/devicetree/usage-model.rst 22 provided to device driver developers to fetch the device information..etc. 23 from the unflattened device tree data structure. This interface is used by 24 most of the device drivers in various use cases. 27 2. Test-data 30 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 32 drivers/of/unittest.c. Currently, following Device Tree Source Include files [all …]
|
D | usage-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Linux and the Device Tree 7 The Linux usage model for device tree data 11 This article describes how Linux uses the device tree. An overview of 12 the device tree data format can be found on the device tree usage page 17 The "Open Firmware Device Tree", or simply Device Tree (DT), is a data 23 Structurally, the DT is a tree, or acyclic graph with named nodes, and 26 links from one node to another outside of the natural tree structure. 29 is defined for how data should appear in the tree to describe typical 44 ---------- [all …]
|
D | dynamic-resolution-notes.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Device Tree Dynamic Resolver Notes 7 This document describes the implementation of the in-kernel 8 Device Tree resolver, residing in drivers/of/resolver.c 11 ---------------------- 13 The resolver is given as an input an arbitrary tree compiled with the 19 1. Get the maximum device tree phandle value from the live tree + 1. 20 2. Adjust all the local phandles of the tree to resolve by that amount. 24 in the live tree. This is the label used to tag the node.
|
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 3 * libfdt - Flat Device Tree manipulation 15 * overlay_get_target_phandle - retrieves the target phandle of a fragment 16 * @fdto: pointer to the device tree overlay blob 21 * property) instead of a path (target-path property). 26 * -1, if the phandle was malformed 37 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle() 38 return (uint32_t)-1; in overlay_get_target_phandle() 44 * overlay_get_target - retrieves the offset of a fragment's target 45 * @fdt: Base device tree blob [all …]
|
D | libfdt_internal.h | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 5 * libfdt - Flat Device Tree manipulation 10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) 64 * You should have another method of validating the device tree, such as a 72 * This does essentially no checks. Only the latest device-tree 73 * version is correctly handled. Inconsistencies or errors in the device 74 * tree may cause undefined behaviour or crashes. Invalid parameters 77 * If an error occurs when modifying the tree it may leave the tree in 83 * Only use this if you have a fully validated device tree with 89 * This assumes that the device tree is sane. i.e. header metadata [all …]
|
D | libfdt.h | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 5 * libfdt - Flat Device Tree manipulation 26 /* FDT_ERR_NOSPACE: Operation needed to expand the device 27 * tree, but its buffer did not have sufficient space to 28 * contain the expanded tree. Use fdt_open_into() to move the 29 * device tree to a buffer with more space. */ 34 * offset which is out-of-bounds, or which points to an 43 * length, or the phandle value was either 0 or -1, which are 46 /* FDT_ERR_BADSTATE: Function was passed an incomplete device 47 * tree created by the sequential-write functions, which is [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-spear/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 30 bool "SPEAr1310 Machine support with Device Tree" 34 Supports ST SPEAr1310 machine configured via the device-tree 37 bool "SPEAr1340 Machine support with Device Tree" 41 Supports ST SPEAr1340 machine configured via the device-tree 57 bool "SPEAr300 Machine support with Device Tree" 60 Supports ST SPEAr300 machine configured via the device-tree 63 bool "SPEAr310 Machine support with Device Tree" 66 Supports ST SPEAr310 machine configured via the device-tree 69 bool "SPEAr320 Machine support with Device Tree" [all …]
|
/kernel/linux/linux-5.10/drivers/of/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 bool "Device Tree and Open Firmware support" 8 This option enables the device tree infrastructure. 11 compile-coverage. 16 bool "Device Tree runtime unit tests" 22 This option builds in test cases for the device tree infrastructure 29 bool "Build all Device Tree Blobs" 33 This option builds all possible Device Tree Blobs (DTBs) for the 58 bool "Support for dynamic device trees" if OF_UNITTEST 61 On some platforms, the device tree can be manipulated at runtime. [all …]
|
D | fdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Functions for working with the Flattened Device Tree data format 35 * of_fdt_limit_memory - limit the number of regions in the /memory node 38 * Adjust the flattened device tree to have at most 'limit' number of 59 "#address-cells", NULL); in of_fdt_limit_memory() 64 "#size-cells", NULL); in of_fdt_limit_memory() 118 pprev = &np->properties; in populate_properties() 145 /* We accept flattened tree phandles either in in populate_properties() 146 * ePAPR-style "phandle" properties, or the in populate_properties() 153 if (!np->phandle) in populate_properties() [all …]
|
D | overlay.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Functions for working with device tree overlays 5 * Copyright (C) 2012 Pantelis Antoniou <panto@antoniou-consulting.com> 27 * struct target - info about current target node as recursing through overlay 37 * subtree does not exist at the same level in the live devicetree, target->np 47 * struct fragment - info about fragment nodes in overlay expanded device tree 61 * @overlay_tree: expanded device tree that contains the fragment nodes 63 * @fragments: fragment nodes in the overlay expanded device tree 65 * @cset: changeset to apply fragments to live device tree 78 /* flags are sticky - once set, do not reset */ [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-firmware-ofw | 5 When using OpenFirmware or a Flattened Device Tree to enumerate 6 hardware, the device tree structure will be exposed in this 9 It is possible for multiple device-tree directories to exist. 10 Some device drivers use a separate detached device tree which 11 have no attachment to the system tree and will appear in a 15 path directly, but instead should follow /proc/device-tree 19 The /proc/device-tree symlink replaces the devicetree /proc 24 hierarchy of directories, one per device tree node. The 28 binary data from the device tree. 42 /sys/firmware/device-tree is deliberate: FDT is also used
|
/kernel/linux/linux-5.10/Documentation/powerpc/ |
D | bootwrapper.rst | 17 others. U-Boot is typically found on embedded PowerPC hardware, but there 28 U-Boot (for versions that don't understand the device 29 tree). This image embeds a device tree blob inside 30 the image. The boot wrapper, kernel and device tree 31 are all embedded inside the U-Boot uImage file format 33 bd_info structure and loads the data into the device 34 tree before jumping into the kernel. 37 bd_info structure used in the old U-Boot interfaces, 39 U-Boot platform has a different platform init file 40 which populates the embedded device tree with data [all …]
|
D | booting.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------ 9 bootloader <-> kernel interfaces, in order to avoid the degeneration that had 12 this scheme, but no new board support will be accepted in the main tree that 14 merged architecture for ppc32 and ppc64, new 32-bit platforms and 32-bit 19 of a device-tree whose format is defined after Open Firmware specification. 21 doesn't require the device-tree to represent every device in the system and only 23 not require you to create a node for every PCI device in the system. It is a 28 kernel can then probe those and match drivers to device, without having to hard 47 bindings to powerpc. Only the 32-bit client interface [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/fpga/ |
D | fpga-region.txt | 1 FPGA Region Device Tree Binding 6 - Introduction 7 - Terminology 8 - Sequence 9 - FPGA Region 10 - Supported Use Models 11 - Device Tree Examples 12 - Constraints 19 the Device Tree. FPGA Regions provide a way to program FPGAs under device tree 22 This device tree binding document hits some of the high points of FPGA usage and [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | board-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 8 * Modified from the original mach-omap/omap2/board-generic.c did by Paul 9 * to support the OMAP2+ device tree boards with an unique board file. 24 { .compatible = "simple-bus", }, 25 { .compatible = "ti,omap-infra", }, 42 /* Used by am437x for ARM timer in non-SMP configurations */ 55 DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") 72 DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") 86 "nokia,omap3-n900", [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 on the Marvell Armada 370 SoC with device tree. 54 on the Marvell Armada 375 SoC with device tree. 72 on the Marvell Armada 380/385 SoC with device tree. 87 on the Marvell Armada 39x SoC with device tree. 99 on the Marvell Armada XP SoC with device tree. 114 Marvell Dove using flattened device tree. 130 on the Marvell Kirkwood device tree.
|
/kernel/linux/linux-5.10/Documentation/arm/ |
D | microchip.rst | 7 ------------ 11 It is important to note that the Microchip (previously Atmel) ARM-based MPU 15 git branches/tags and email subject always contain this "at91" sub-string. 19 --------- 25 - at91rm9200 29 …http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-1768-32-bit-ARM920T-Embedded-Microprocessor-… 32 - at91sam9260 36 …ttp://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6221-32-bit-ARM926EJ-S-Embedded-Microprocesso… 38 - at91sam9xe 42 …ttp://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6254-32-bit-ARM926EJ-S-Embedded-Microprocesso… [all …]
|
/kernel/linux/linux-5.10/sound/hda/ |
D | hdac_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sysfs support for HD-audio core device 8 #include <linux/device.h> 20 static ssize_t type##_show(struct device *dev, \ 25 return sprintf(buf, "0x%x\n", codec->type); \ 30 static ssize_t type##_show(struct device *dev, \ 36 codec->type ? codec->type : ""); \ 49 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 79 * Widget tree sysfs 81 * This is a tree showing the attributes of each widget. It appears like [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | bootx.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 54 the map is optional and current BootX will only build it for pre-PCI 64 * Note that the kernel arguments and the device tree are appended 83 /* The device tree (internal addresses relative to the beginning of the tree, 84 * device tree offset relative to the beginning of this structure). 85 * On pre-PCI macintosh (BOOT_ARCH_PCI bit set to 0 in architecture), this 88 __u32 deviceTreeOffset; /* Device tree offset */ 89 __u32 deviceTreeSize; /* Size of the device tree */ 111 (non-PCI) only. On PCI, memory is contiguous and it's size is in the 112 device-tree. */ [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/ |
D | common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Cameron <jic23@kernel.org> 11 - Guido Günther <agx@sigxcpu.org> 14 This document defines device tree properties common to several iio 15 sensors. It doesn't constitue a device tree binding specification by itself but 16 is meant to be referenced by device tree bindings. 18 When referenced from sensor tree bindings the properties defined in this 19 document are defined as follows. The sensor tree bindings are responsible for [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/stable/ |
D | sysfs-devices | 2 This documents additional properties of any device beyond what 3 is documented in Documentation/admin-guide/sysfs-rules.rst 7 Contact: Device Tree mailing list <devicetree@vger.kernel.org> 9 Any device associated with a device-tree node will have 10 an of_path symlink pointing to the corresponding device 15 Contact: Device Tree mailing list <devicetree@vger.kernel.org> 18 read, it returns full name of the device node. 22 Contact: Device Tree mailing list <devicetree@vger.kernel.org> 25 read, it returns full name of the device node.
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
D | dw_hdmi.txt | 4 This document defines device tree properties for the Synopsys DesignWare HDMI 5 TX Encoder (DWC HDMI TX). It doesn't constitue a device tree binding 6 specification by itself but is meant to be referenced by platform-specific 7 device tree bindings. 9 When referenced from platform device tree bindings the properties defined in 10 this document are defined as follows. The platform device tree bindings are 13 - reg: Memory mapped base address and length of the DWC HDMI TX registers. 15 - reg-io-width: Width of the registers specified by the reg property. The 19 - interrupts: Reference to the DWC HDMI TX interrupt. 21 - clocks: References to all the clocks specified in the clock-names property [all …]
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | btrfs_tree.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 /* holds pointers to all of the tree roots */ 27 * chunk tree stores translations from logical -> physical block numbering 28 * the super block points to the chunk tree 33 * stores information about which areas of a given device are in use. 34 * one per device. The tree of tree roots points to the device tree 41 /* directory objectid inside the root tree */ 56 /* device stats in the device tree */ 59 /* for storing balance parameters in the root tree */ 60 #define BTRFS_BALANCE_OBJECTID -4ULL [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_panel.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 47 * drm_panel_init - initialize a panel 49 * @dev: parent device of the panel 57 void drm_panel_init(struct drm_panel *panel, struct device *dev, in drm_panel_init() 60 INIT_LIST_HEAD(&panel->list); in drm_panel_init() 61 panel->dev = dev; in drm_panel_init() 62 panel->funcs = funcs; in drm_panel_init() 63 panel->connector_type = connector_type; in drm_panel_init() 68 * drm_panel_add - add a panel to the global registry 77 list_add_tail(&panel->list, &panel_list); in drm_panel_add() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182), 14 Orion-2 (5281), Orion-1-90 (6183). 19 bool "Marvell Orion5x Flattened Device Tree" 27 Marvell Orion5x using flattened device tree. 30 bool "Marvell Orion-2 Development Board" 34 Marvell Orion-2 (88F5281) Development Board 37 bool "Marvell Orion-NAS Reference Design" 41 Marvell Orion-NAS (88F5182) RD2 44 bool "Marvell Orion-NAS Reference Design (Flattened Device Tree)" [all …]
|