Home
last modified time | relevance | path

Searched full:subnode (Results 1 – 25 of 97) sorted by relevance

1234

/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dsensor_utils_test.cpp79 ChassisSubNode subNode = ChassisSubNode::unknownNode; in TEST() local
81 subNode = chassisSubNodeFromString("EnvironmentMetrics"); in TEST()
82 EXPECT_EQ(subNode, ChassisSubNode::environmentMetricsNode); in TEST()
84 subNode = chassisSubNodeFromString("Power"); in TEST()
85 EXPECT_EQ(subNode, ChassisSubNode::powerNode); in TEST()
87 subNode = chassisSubNodeFromString("Sensors"); in TEST()
88 EXPECT_EQ(subNode, ChassisSubNode::sensorsNode); in TEST()
90 subNode = chassisSubNodeFromString("Thermal"); in TEST()
91 EXPECT_EQ(subNode, ChassisSubNode::thermalNode); in TEST()
93 subNode = chassisSubNodeFromString("ThermalMetrics"); in TEST()
[all …]
/openbmc/u-boot/tools/binman/etype/
H A Dfiles.py49 subnode = self._node.FindNode(name)
50 if not subnode:
51 subnode = state.AddSubnode(self._node, name)
52 state.AddString(subnode, 'type', 'blob')
53 state.AddString(subnode, 'filename', fname)
54 state.AddString(subnode, 'compress', self._compress)
/openbmc/u-boot/drivers/power/pmic/
H A Dpalmas.c47 ofnode subnode; in palmas_bind() local
50 dev_for_each_subnode(subnode, dev) { in palmas_bind()
54 name = ofnode_get_name(subnode); in palmas_bind()
57 pmic_node = subnode; in palmas_bind()
63 debug("%s: %s pmic subnode not found!\n", __func__, dev->name); in palmas_bind()
70 debug("%s: %s reg subnode not found!\n", __func__, dev->name); in palmas_bind()
H A Dmax77686.c55 debug("%s: %s regulators subnode not found!\n", __func__, in max77686_bind()
60 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in max77686_bind()
H A Ds2mps11.c56 debug("%s: %s regulators subnode not found!\n", __func__, in s2mps11_probe()
61 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in s2mps11_probe()
H A Dact8846.c53 debug("%s: %s regulators subnode not found!\n", __func__, in act8846_bind()
58 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in act8846_bind()
H A Dtps65090.c57 debug("%s: %s regulators subnode not found!\n", __func__, in tps65090_bind()
62 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in tps65090_bind()
H A Dlp87565.c52 debug("%s: %s regulators subnode not found!\n", __func__, in lp87565_bind()
57 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in lp87565_bind()
H A Dstpmu1.c64 dev_dbg(dev, "regulators subnode not found!\n"); in stpmu1_bind()
67 dev_dbg(dev, "found regulators subnode\n"); in stpmu1_bind()
H A Ds5m8767.c59 debug("%s: %s regulators subnode not found!\n", __func__, in s5m8767_bind()
64 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in s5m8767_bind()
/openbmc/u-boot/drivers/phy/marvell/
H A Dcomphy_core.c80 int subnode; in comphy_probe() local
129 fdt_for_each_subnode(subnode, blob, node) { in comphy_probe()
131 if (!fdtdec_get_is_enabled(blob, subnode)) in comphy_probe()
135 blob, subnode, "phy-speed", PHY_TYPE_INVALID); in comphy_probe()
137 blob, subnode, "phy-type", PHY_SPEED_INVALID); in comphy_probe()
139 blob, subnode, "phy-invert", PHY_POLARITY_NO_INVERT); in comphy_probe()
140 comphy_map_data[lane].clk_src = fdtdec_get_bool(blob, subnode, in comphy_probe()
142 comphy_map_data[lane].end_point = fdtdec_get_bool(blob, subnode, in comphy_probe()
/openbmc/u-boot/doc/device-tree-bindings/pmic/
H A Dmax77686.txt17 To bind each regulator, the optional regulators subnode should exists.
19 Optional subnode:
20 - voltage-regulators: subnode list of each device's regulator
/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi.c285 int subnode; in cadence_spi_ofdata_to_platdata() local
296 subnode = fdt_first_subnode(blob, node); in cadence_spi_ofdata_to_platdata()
297 if (subnode < 0) { in cadence_spi_ofdata_to_platdata()
298 printf("Error: subnode with SPI flash config missing!\n"); in cadence_spi_ofdata_to_platdata()
303 plat->max_hz = fdtdec_get_uint(blob, subnode, "spi-max-frequency", in cadence_spi_ofdata_to_platdata()
307 plat->page_size = fdtdec_get_uint(blob, subnode, "page-size", 256); in cadence_spi_ofdata_to_platdata()
308 plat->block_size = fdtdec_get_uint(blob, subnode, "block-size", 16); in cadence_spi_ofdata_to_platdata()
309 plat->tshsl_ns = fdtdec_get_uint(blob, subnode, "cdns,tshsl-ns", 200); in cadence_spi_ofdata_to_platdata()
310 plat->tsd2d_ns = fdtdec_get_uint(blob, subnode, "cdns,tsd2d-ns", 255); in cadence_spi_ofdata_to_platdata()
311 plat->tchsh_ns = fdtdec_get_uint(blob, subnode, "cdns,tchsh-ns", 20); in cadence_spi_ofdata_to_platdata()
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dxusb-padctl-common.c222 ofnode subnode; in tegra_xusb_padctl_config_parse_dt() local
226 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_config_parse_dt()
232 err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); in tegra_xusb_padctl_config_parse_dt()
247 ofnode subnode; in tegra_xusb_padctl_parse_dt() local
256 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_parse_dt()
259 debug("%s: subnode=%s\n", __func__, ofnode_get_name(subnode)); in tegra_xusb_padctl_parse_dt()
261 subnode); in tegra_xusb_padctl_parse_dt()
/openbmc/u-boot/tools/dtoc/
H A Dfdt.py250 for subnode in self.subnodes:
251 if subnode.name == name:
252 return subnode
297 for subnode in self.subnodes:
298 if subnode.name != fdt_obj.get_name(offset):
300 (subnode.name, fdt_obj.get_name(offset)))
301 subnode.Refresh(offset)
403 """Add a new subnode to the node
409 New subnode that was created
412 subnode = Node(self._fdt, self, None, name, path)
[all …]
/openbmc/u-boot/doc/device-tree-bindings/memory/
H A Dmemory.txt16 Each subnode must define
18 reg - board ID or mask for this subnode
21 Each subnode may optionally define:
/openbmc/u-boot/include/dm/
H A Dread.h118 * dev_read_subnode() - find a named subnode of a device
120 * @dev: device whose DT node contains the subnode
121 * @subnode_name: name of subnode to find
122 * @return reference to subnode (which can be invalid if there is no such
123 * subnode)
433 * dev_read_first_subnode() - find the first subnode of a device's node
436 * @return reference to the first subnode (which can be invalid if the device's
442 * ofnode_next_subnode() - find the next sibling of a subnode
445 * @return reference to the next subnode (which can be invalid if the node
767 * @subnode: ofnode holding the current subnode
[all …]
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/
H A Dst,stm32-pinctrl.txt63 Contents of function subnode node:
65 Subnode format
66 A pinctrl node should contain at least one subnode representing the
67 pinctrl group available on the machine. Each subnode will list the
H A Datmel,at91-pio4-pinctrl.txt13 Subnode format
14 Each node (or subnode) will list the pins it needs and how to configured these
/openbmc/bmcweb/redfish-core/include/utils/
H A Dsensor_utils.hpp58 constexpr std::string_view chassisSubNodeToString(ChassisSubNode subNode) in chassisSubNodeToString() argument
60 switch (subNode) in chassisSubNodeToString()
81 ChassisSubNode subNode = ChassisSubNode::unknownNode; in chassisSubNodeFromString() local
85 subNode = ChassisSubNode::environmentMetricsNode; in chassisSubNodeFromString()
89 subNode = ChassisSubNode::powerNode; in chassisSubNodeFromString()
93 subNode = ChassisSubNode::sensorsNode; in chassisSubNodeFromString()
97 subNode = ChassisSubNode::thermalNode; in chassisSubNodeFromString()
101 subNode = ChassisSubNode::thermalMetricsNode; in chassisSubNodeFromString()
104 return subNode; in chassisSubNodeFromString()
107 inline bool isExcerptNode(const ChassisSubNode subNode) in isExcerptNode() argument
[all …]
/openbmc/u-boot/drivers/i2c/muxes/
H A Di2c-mux-gpio.c76 int i = 0, subnode, ret; in i2c_mux_gpio_probe() local
86 fdt_for_each_subnode(subnode, fdt, node) { in i2c_mux_gpio_probe()
87 *(values + i) = fdtdec_get_uint(fdt, subnode, "reg", -1); in i2c_mux_gpio_probe()
/openbmc/u-boot/doc/device-tree-bindings/regulator/
H A Dmax77686.txt12 Required subnode:
25 (subnode of max77686 pmic node)
/openbmc/u-boot/tools/binman/
H A Dstate.py194 """Add a new subnode to a node in affected device trees
201 New subnode that was created in main tree
205 subnode = n.AddSubnode(name)
207 first = subnode
H A Dentry_test.py73 sub_node = Node('subnode', base_node)
75 self.assertEqual('root.subnode', sub_entry.GetUniqueName())
/openbmc/u-boot/drivers/usb/host/
H A Ddwc3-sti-glue.c158 /* check if one subnode is present */ in sti_dwc3_glue_bind()
161 pr_err("Can't find subnode for %s\n", dev->name); in sti_dwc3_glue_bind()
165 /* check if the subnode compatible string is the dwc3 one*/ in sti_dwc3_glue_bind()
168 pr_err("Can't find dwc3 subnode for %s\n", dev->name); in sti_dwc3_glue_bind()

1234