| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-mux.txt | 3 An i2c bus multiplexer/switch will have several child busses that are 4 numbered uniquely in a device dependent manner. The nodes for an i2c bus 5 multiplexer/switch will have one child node for each child bus. 8 - #address-cells = <1>; 9 This property is required if the i2c-mux child node does not exist. 11 - #size-cells = <0>; 12 This property is required if the i2c-mux child node does not exist. 14 - i2c-mux 15 For i2c multiplexers/switches that have child nodes that are a mixture 16 of both i2c child busses and other child nodes, the 'i2c-mux' subnode [all …]
|
| D | i2c-fsi.txt | 1 Device-tree bindings for FSI-attached I2C master and busses 2 ----------------------------------------------------------- 5 - compatible = "ibm,i2c-fsi"; 6 - reg = < address size >; : The FSI CFAM address and address 8 - #address-cells = <1>; : Number of address cells in child 9 nodes. 10 - #size-cells = <0>; : Number of size cells in child nodes. 11 - child nodes : Nodes to describe busses off the I2C 14 Child node required properties: 15 - reg = < port number > : The port number on the I2C master. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-fsi.txt | 1 Device-tree bindings for FSI-attached I2C master and busses 2 ----------------------------------------------------------- 5 - compatible = "ibm,i2c-fsi"; 6 - reg = < address size >; : The FSI CFAM address and address 8 - #address-cells = <1>; : Number of address cells in child 9 nodes. 10 - #size-cells = <0>; : Number of size cells in child nodes. 11 - child nodes : Nodes to describe busses off the I2C 14 Child node required properties: 15 - reg = < port number > : The port number on the I2C master. [all …]
|
| D | i2c-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 An i2c bus multiplexer/switch will have several child busses that are numbered 14 uniquely in a device dependent manner. The nodes for an i2c bus 15 multiplexer/switch will have one child node for each child bus. 17 For i2c multiplexers/switches that have child nodes that are a mixture of both 18 i2c child busses and other child nodes, the 'i2c-mux' subnode can be used for [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | bootconfig.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 #define BOOTCONFIG_ALIGN_MASK (BOOTCONFIG_ALIGN - 1) 30 * xbc_calc_checksum() - Calculate checksum of bootconfig 43 while (size--) in xbc_calc_checksum() 52 uint16_t child; member 59 /* Maximum size of boot config is 32KB - 1 */ 60 #define XBC_DATA_MAX (XBC_VALUE - 1) 75 * xbc_node_is_value() - Test the node is a value node 82 return node->data & XBC_VALUE; in xbc_node_is_value() 86 * xbc_node_is_key() - Test the node is a key node [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pwm/ |
| D | pwm-tipwmss.txt | 4 - compatible: Must be "ti,<soc>-pwmss". 5 for am33xx - compatible = "ti,am33xx-pwmss"; 6 for am4372 - compatible = "ti,am4372-pwmss","ti,am33xx-pwmss"; 7 for dra746 - compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss" 9 - reg: physical base address and size of the registers map. 10 - address-cells: Specify the number of u32 entries needed in child nodes. 12 - size-cells: specify number of u32 entries needed to specify child nodes size 14 - ranges: describes the address mapping of a memory-mapped bus. Should set to 15 physical address map of child's base address, physical address within 17 3 set of child register maps present, ECAP register space, EQEP [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
| D | pwm-tipwmss.txt | 4 - compatible: Must be "ti,<soc>-pwmss". 5 for am33xx - compatible = "ti,am33xx-pwmss"; 6 for am4372 - compatible = "ti,am4372-pwmss","ti,am33xx-pwmss"; 7 for dra746 - compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss" 9 - reg: physical base address and size of the registers map. 10 - address-cells: Specify the number of u32 entries needed in child nodes. 12 - size-cells: specify number of u32 entries needed to specify child nodes size 14 - ranges: describes the address mapping of a memory-mapped bus. Should set to 15 physical address map of child's base address, physical address within 17 3 set of child register maps present, ECAP register space, EQEP [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/cpu/ |
| D | cpu-topology.txt | 6 1 - Introduction 12 - socket 13 - cluster 14 - core 15 - thread 18 symmetric multi-threading (SMT) is supported or not. 20 For instance in a system where CPUs support SMT, "cpu" nodes represent all 22 In systems where SMT is not supported "cpu" nodes represent all cores present 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups 27 tree nodes. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/cpu/ |
| D | cpu-topology.txt | 6 1 - Introduction 12 - socket 13 - cluster 14 - core 15 - thread 18 symmetric multi-threading (SMT) is supported or not. 20 For instance in a system where CPUs support SMT, "cpu" nodes represent all 22 In systems where SMT is not supported "cpu" nodes represent all cores present 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups 27 tree nodes. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
| D | arm,pl172.txt | 5 - compatible: Must be "arm,primecell" and exactly one from 8 - reg: Must contains offset/length value for controller. 10 - #address-cells: Must be 2. The partition number has to be encoded in the 11 first address cell and it may accept values 0..N-1 12 (N - total number of partitions). The second cell is the 15 - #size-cells: Must be set to 1. 17 - ranges: Must contain one or more chip select memory regions. 19 - clocks: Must contain references to controller clocks. 21 - clock-names: Must contain "mpmcclk" and "apb_pclk". 23 - clock-ranges: Empty property indicating that child nodes can inherit [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ |
| D | arm,pl172.txt | 5 - compatible: Must be "arm,primecell" and exactly one from 8 - reg: Must contains offset/length value for controller. 10 - #address-cells: Must be 2. The partition number has to be encoded in the 11 first address cell and it may accept values 0..N-1 12 (N - total number of partitions). The second cell is the 15 - #size-cells: Must be set to 1. 17 - ranges: Must contain one or more chip select memory regions. 19 - clocks: Must contain references to controller clocks. 21 - clock-names: Must contain "mpmcclk" and "apb_pclk". 23 - clock-ranges: Empty property indicating that child nodes can inherit [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | samsung-pinctrl.txt | 6 on-chip controllers onto these pads. 9 - compatible: should be one of the following. 10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller, 11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller, 12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller, 13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller, 14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller, 15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller, 16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller. 17 - "samsung,exynos4210-pinctrl": for Exynos4210 compatible pin-controller. [all …]
|
| D | pinctrl-bindings.txt | 4 such as pull-up/down, tri-state, drive-strength etc are designated as pin 15 need to reconfigure pins at run-time, for example to tri-state pins when the 21 for client device device tree nodes to map those state names to the pin 28 nodes. The decision to do this or not somewhat rests with the author of 47 pinctrl-0: List of phandles, each pointing at a pin configuration 48 node. These referenced pin configuration nodes must be child 49 nodes of the pin controller that they configure. Multiple 52 from multiple nodes for a single pin controller, each 55 pin configuration nodes. 65 pinctrl-1: List of phandles, each pointing at a pin configuration [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/ |
| D | of_unittest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 (1) Documentation/devicetree/usage-model.rst 27 2. Test-data 30 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 35 drivers/of/unittest-data/tests-interrupts.dtsi 36 drivers/of/unittest-data/tests-platform.dtsi 37 drivers/of/unittest-data/tests-phandle.dtsi 38 drivers/of/unittest-data/tests-match.dtsi 60 ------------------------- 62 Un-flattened device tree structure: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Rafał Miłecki <rafal@milecki.pl> 14 Pin controller devices should contain the pin configuration nodes that client 17 The contents of each of those pin configuration child nodes is defined 22 The pin configuration nodes need not be direct children of the pin controller 24 whether there is any interaction between the child and intermediate parent 25 nodes, is again defined entirely by the binding for the individual pin [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/slimbus/ |
| D | bus.txt | 3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral 4 components like audio-codec. 7 - compatible - name of SLIMbus controller 9 Child nodes: 10 Every SLIMbus controller node can contain zero or more child nodes 15 If child node is not present and it is instantiated after device 18 In some cases it may be necessary to describe non-probeable device 19 details such as non-standard ways of powering up a device. In 20 such cases, child nodes for those devices will be present as 23 Required property for SLIMbus child node if it is present: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ |
| D | graph.txt | 4 --------------- 10 There already is a simple directed graph between devices tree nodes using 11 phandle properties pointing to other nodes to describe connections that 12 can not be inferred from device tree parent-child relationships. The device 22 Documentation/devicetree/bindings/media/video-interfaces.txt. 28 ----------------------------------- 30 Ports are described by child 'port' nodes contained in the device node. 33 remote device, an 'endpoint' child node must be provided for each link. 36 hardware interface, a common scheme using '#address-cells', '#size-cells' 37 and 'reg' properties is used to number the nodes. [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | bootconfig.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define BOOTCONFIG_ALIGN_MASK (BOOTCONFIG_ALIGN - 1) 22 u16 child; member 29 /* Maximum size of boot config is 32KB - 1 */ 30 #define XBC_DATA_MAX (XBC_VALUE - 1) 45 * xbc_node_is_value() - Test the node is a value node 52 return node->data & XBC_VALUE; in xbc_node_is_value() 56 * xbc_node_is_key() - Test the node is a key node 67 * xbc_node_is_array() - Test the node is an arraied value node 74 return xbc_node_is_value(node) && node->next != 0; in xbc_node_is_array() [all …]
|
| /kernel/linux/linux-5.10/drivers/of/ |
| D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #include <linux/dma-mapping.h> 26 { .compatible = "simple-bus", }, 27 { .compatible = "simple-mfd", }, 30 { .compatible = "arm,amba-bus", }, 36 { .compatible = "operating-points-v2", }, 41 * of_find_device_by_node - Find the platform_device associated with a node 64 * mechanism for creating devices from device tree nodes. 68 * of_device_make_bus_id - Use the device node data to assign a unique name 73 * parent nodes until a unique name can be derived. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/ |
| D | samsung-s3c2410.txt | 4 - compatible : The possible values are: 5 "samsung,s3c2410-nand" 6 "samsung,s3c2412-nand" 7 "samsung,s3c2440-nand" 8 - reg : register's location and length. 9 - #address-cells, #size-cells : see nand-controller.yaml 10 - clocks : phandle to the nand controller clock 11 - clock-names : must contain "nand" 13 Optional child nodes: 14 Child nodes representing the available nand chips. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/ |
| D | samsung-s3c2410.txt | 4 - compatible : The possible values are: 5 "samsung,s3c2410-nand" 6 "samsung,s3c2412-nand" 7 "samsung,s3c2440-nand" 8 - reg : register's location and length. 9 - #address-cells, #size-cells : see nand-controller.yaml 10 - clocks : phandle to the nand controller clock 11 - clock-names : must contain "nand" 13 Optional child nodes: 14 Child nodes representing the available nand chips. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/ |
| D | of_unittest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 (1) Documentation/devicetree/usage-model.rst 45 from 'scripts/dtc/of_unittest_expect --help'. 48 3. Test-data 51 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 56 drivers/of/unittest-data/tests-interrupts.dtsi 57 drivers/of/unittest-data/tests-platform.dtsi 58 drivers/of/unittest-data/tests-phandle.dtsi 59 drivers/of/unittest-data/tests-match.dtsi 81 ------------------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,gsbi.txt | 3 The GSBI controller is modeled as a node with zero or more child nodes, each 4 representing a serial sub-node device that is mux'd as part of the GSBI 9 - compatible: Should contain "qcom,gsbi-v1.0.0" 10 - cell-index: Should contain the GSBI index 11 - reg: Address range for GSBI registers 12 - clocks: required clock 13 - clock-names: must contain "iface" entry 14 - qcom,mode : indicates MUX value for configuration of the serial interface. 15 Please reference dt-bindings/soc/qcom,gsbi.h for valid mux values. 18 - qcom,crci : indicates CRCI MUX value for QUP CRCI ports. Please reference [all …]
|
| /kernel/linux/linux-5.10/drivers/base/ |
| D | swnode.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Software nodes for the firmware node framework. 38 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &software_node_ops; in is_software_node() 60 spin_lock(&swnode_kset->list_lock); in software_node_to_swnode() 62 list_for_each_entry(k, &swnode_kset->list, entry) { in software_node_to_swnode() 64 if (swnode->node == node) in software_node_to_swnode() 69 spin_unlock(&swnode_kset->list_lock); in software_node_to_swnode() 78 return swnode ? swnode->node : NULL; in to_software_node() 86 return swnode ? &swnode->fwnode : NULL; in software_node_fwnode() 90 /* -------------------------------------------------------------------------- */ [all …]
|
| /kernel/linux/linux-6.6/drivers/of/ |
| D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #include <linux/dma-mapping.h> 27 { .compatible = "simple-bus", }, 28 { .compatible = "simple-mfd", }, 31 { .compatible = "arm,amba-bus", }, 37 * of_find_device_by_node - Find the platform_device associated with a node 56 BUG_ON(ofdev->dev.of_node == NULL); in of_device_add() 60 ofdev->name = dev_name(&ofdev->dev); in of_device_add() 61 ofdev->id = PLATFORM_DEVID_NONE; in of_device_add() 68 set_dev_node(&ofdev->dev, of_node_to_nid(ofdev->dev.of_node)); in of_device_add() [all …]
|