Home
last modified time | relevance | path

Searched refs:subnode (Results 1 – 25 of 125) sorted by relevance

12345

/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/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/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()
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()
312 plat->tslch_ns = fdtdec_get_uint(blob, subnode, "cdns,tslch-ns", 20); in cadence_spi_ofdata_to_platdata()
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dlantiq,pinctrl-falcon.txt18 The name of each subnode is not important as long as it is unique; all subnodes
21 Each subnode only affects those parameters that are explicitly listed. In
22 other words, a subnode that lists a mux function but no pin configuration
24 Similarly, a pin subnode that describes a pullup parameter implies no
31 Required subnode-properties:
49 Required subnode-properties:
53 Optional subnode-properties:
H A Daxis,artpec6-pinctrl.txt8 A pinctrl node should contain at least one subnode representing the pinctrl
9 groups available on the machine. Each subnode will list the mux function
10 required and what pin group it will use. Each subnode will also configure the
15 Required subnode-properties:
49 Optional subnode-properties (see pinctrl-bindings.txt):
H A Dpinctrl-vt8500.txt25 configuration. Each subnode only affects those parameters that are explicitly
26 listed. In other words, a subnode that lists only a mux function implies no
27 information about any pull configuration. Similarly, a subnode that lists only
30 Required subnode-properties:
33 Optional subnode-properties:
H A Dqcom,apq8064-pinctrl.txt32 The name of each subnode is not important; all subnodes should be enumerated
35 Each subnode only affects those parameters that are explicitly listed. In
36 other words, a subnode that lists a mux function but no pin configuration
38 Similarly, a pin subnode that describes a pullup parameter implies no
43 to specify in a pin configuration subnode:
H A Dqcom,ipq8064-pinctrl.txt32 The name of each subnode is not important; all subnodes should be enumerated
35 Each subnode only affects those parameters that are explicitly listed. In
36 other words, a subnode that lists a mux function but no pin configuration
38 Similarly, a pin subnode that describes a pullup parameter implies no
43 to specify in a pin configuration subnode:
H A Dqcom,ipq4019-pinctrl.txt35 The name of each subnode is not important; all subnodes should be enumerated
38 Each subnode only affects those parameters that are explicitly listed. In
39 other words, a subnode that lists a mux function but no pin configuration
41 Similarly, a pin subnode that describes a pullup parameter implies no
46 to specify in a pin configuration subnode:
H A Dbrcm,bcm2835-gpio.txt41 configuration. Each subnode only affects those parameters that are explicitly
42 listed. In other words, a subnode that lists only a mux function implies no
43 information about any pull configuration. Similarly, a subnode that lists only
64 Required subnode-properties:
68 Optional subnode-properties:
H A Dqcom,apq8084-pinctrl.txt67 The name of each subnode is not important; all subnodes should be enumerated
70 Each subnode only affects those parameters that are explicitly listed. In
71 other words, a subnode that lists a mux function but no pin configuration
73 Similarly, a pin subnode that describes a pullup parameter implies no
78 to specify in a pin configuration subnode:
84 this subnode. Valid pins are:
H A Dlantiq,pinctrl-xway.txt23 The name of each subnode is not important as long as it is unique; all subnodes
26 Each subnode only affects those parameters that are explicitly listed. In
27 other words, a subnode that lists a mux function but no pin configuration
29 Similarly, a pin subnode that describes a pullup parameter implies no
36 Required subnode-properties:
106 Required subnode-properties:
110 Optional subnode-properties:
/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()
/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)
412 subnode = Node(self._fdt, self, None, name, path)
413 self.subnodes.append(subnode)
414 return subnode
/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/linux/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c102 int subnode, len, i; in overlaps_reserved_region() local
117 for (subnode = fdt_first_subnode(fdt, regions.reserved_mem); in overlaps_reserved_region()
118 subnode >= 0; in overlaps_reserved_region()
119 subnode = fdt_next_subnode(fdt, subnode)) { in overlaps_reserved_region()
124 reg = fdt_getprop(fdt, subnode, "reg", &len); in overlaps_reserved_region()
/openbmc/linux/scripts/dtc/
H A Ddtc-parser.y86 %type <node> subnode
558 | subnode subnodes
562 | subnode propdef
569 subnode:
578 | DT_OMIT_NO_REF subnode
582 | DT_LABEL subnode
/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/linux/drivers/staging/fieldbus/Documentation/devicetree/bindings/fieldbus/
H A Darcx,anybus-controller.txt34 for the subnode.
40 Required subnode properties:
41 - reg: Must contain the host index of the card this subnode describes:
63 /* optional subnode for a card plugged into the first host */
/openbmc/u-boot/common/
H A Dimage-fdt.c101 int nodeoffset, subnode; in boot_fdt_add_mem_rsv_regions() local
118 subnode = fdt_first_subnode(fdt_blob, nodeoffset); in boot_fdt_add_mem_rsv_regions()
119 while (subnode >= 0) { in boot_fdt_add_mem_rsv_regions()
121 ret = fdt_get_resource(fdt_blob, subnode, "reg", 0, in boot_fdt_add_mem_rsv_regions()
129 subnode = fdt_next_subnode(fdt_blob, subnode); in boot_fdt_add_mem_rsv_regions()
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,apq8096.txt67 Each subnode of sndcard represents either a dailink, and subnodes of each
78 Value type: <subnode>
83 Value type: <subnode>
88 Value type: <subnode>
/openbmc/u-boot/scripts/dtc/
H A Ddtc-parser.y88 %type <node> subnode
506 | subnode subnodes
510 | subnode propdef
517 subnode:
526 | DT_LABEL subnode
/openbmc/linux/Documentation/devicetree/bindings/perf/
H A Dapm-xgene-pmu.txt22 Required properties for L3C subnode:
26 Required properties for IOB subnode:
30 Required properties for MCB subnode:
35 Required properties for MC subnode:
/openbmc/u-boot/include/dm/
H A Dread.h770 #define dev_for_each_subnode(subnode, dev) \ argument
771 for (subnode = dev_read_first_subnode(dev); \
772 ofnode_valid(subnode); \
773 subnode = ofnode_next_subnode(subnode))

12345