Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/drivers/phy/marvell/
H A Dcomphy_core.c110 int subnode; in comphy_probe() local
154 fdt_for_each_subnode(subnode, blob, node) { in comphy_probe()
156 if (!fdtdec_get_is_enabled(blob, subnode)) in comphy_probe()
160 blob, subnode, "phy-speed", PHY_TYPE_INVALID); in comphy_probe()
162 blob, subnode, "phy-type", PHY_SPEED_INVALID); in comphy_probe()
164 blob, subnode, "phy-invert", PHY_POLARITY_NO_INVERT); in comphy_probe()
165 comphy_map_data[lane].clk_src = fdtdec_get_bool(blob, subnode, in comphy_probe()
167 comphy_map_data[lane].end_point = fdtdec_get_bool(blob, subnode, in comphy_probe()
/rk3399_rockchip-uboot/drivers/power/pmic/
H A Dpalmas.c50 ofnode subnode; in palmas_bind() local
53 dev_for_each_subnode(subnode, dev) { in palmas_bind()
57 name = ofnode_get_name(subnode); in palmas_bind()
60 pmic_node = subnode; in palmas_bind()
/rk3399_rockchip-uboot/drivers/spi/
H A Dcadence_qspi.c286 int subnode; in cadence_spi_ofdata_to_platdata() local
306 subnode = fdt_first_subnode(blob, node); in cadence_spi_ofdata_to_platdata()
307 if (subnode < 0) { in cadence_spi_ofdata_to_platdata()
313 plat->max_hz = fdtdec_get_uint(blob, subnode, "spi-max-frequency", in cadence_spi_ofdata_to_platdata()
317 plat->page_size = fdtdec_get_uint(blob, subnode, "page-size", 256); in cadence_spi_ofdata_to_platdata()
318 plat->block_size = fdtdec_get_uint(blob, subnode, "block-size", 16); in cadence_spi_ofdata_to_platdata()
319 plat->tshsl_ns = fdtdec_get_uint(blob, subnode, "cdns,tshsl-ns", 200); in cadence_spi_ofdata_to_platdata()
320 plat->tsd2d_ns = fdtdec_get_uint(blob, subnode, "cdns,tsd2d-ns", 255); in cadence_spi_ofdata_to_platdata()
321 plat->tchsh_ns = fdtdec_get_uint(blob, subnode, "cdns,tchsh-ns", 20); in cadence_spi_ofdata_to_platdata()
322 plat->tslch_ns = fdtdec_get_uint(blob, subnode, "cdns,tslch-ns", 20); in cadence_spi_ofdata_to_platdata()
/rk3399_rockchip-uboot/drivers/video/drm/display-serdes/
H A Dserdes-core.c323 ofnode subnode; in serdes_gpio_register() local
337 dev_for_each_subnode(subnode, dev) { in serdes_gpio_register()
339 !ofnode_pre_reloc(subnode)) in serdes_gpio_register()
342 name = ofnode_get_name(subnode); in serdes_gpio_register()
347 status = ofnode_read_string(subnode, "status"); in serdes_gpio_register()
356 subnode, &subdev); in serdes_gpio_register()
363 subnode, in serdes_gpio_register()
387 ofnode subnode; in serdes_pinctrl_register() local
402 dev_for_each_subnode(subnode, dev) { in serdes_pinctrl_register()
404 !ofnode_pre_reloc(subnode)) in serdes_pinctrl_register()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-tegra/
H A Dxusb-padctl-common.c223 ofnode subnode; in tegra_xusb_padctl_config_parse_dt() local
227 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_config_parse_dt()
233 err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); in tegra_xusb_padctl_config_parse_dt()
248 ofnode subnode; in tegra_xusb_padctl_parse_dt() local
257 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_parse_dt()
260 debug("%s: subnode=%s\n", __func__, ofnode_get_name(subnode)); in tegra_xusb_padctl_parse_dt()
262 subnode); in tegra_xusb_padctl_parse_dt()
/rk3399_rockchip-uboot/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
H A Dsandbox.txt16 Required PMIC's "emul" subnode, with property:
/rk3399_rockchip-uboot/drivers/i2c/muxes/
H A Di2c-mux-gpio.c77 int i = 0, subnode, ret; in i2c_mux_gpio_probe() local
87 fdt_for_each_subnode(subnode, fdt, node) { in i2c_mux_gpio_probe()
88 *(values + i) = fdtdec_get_uint(fdt, subnode, "reg", -1); in i2c_mux_gpio_probe()
/rk3399_rockchip-uboot/scripts/dtc/
H A Ddtc-parser.y88 %type <node> subnode
501 | subnode subnodes
505 | subnode propdef
512 subnode:
521 | DT_LABEL subnode
/rk3399_rockchip-uboot/include/dm/
H A Dread.h716 #define dev_for_each_subnode(subnode, dev) \ argument
717 for (subnode = dev_read_first_subnode(dev); \
718 ofnode_valid(subnode); \
719 subnode = ofnode_next_subnode(subnode))
/rk3399_rockchip-uboot/tools/dtoc/
H A Dfdt.py194 for subnode in self.subnodes:
195 if subnode.name == name:
196 return subnode
241 for subnode in self.subnodes:
242 subnode.Refresh(offset)
/rk3399_rockchip-uboot/scripts/dtc/pylibfdt/
H A Dlibfdt.i_shipped134 """Get the offset of a named subnode
138 name: Name of the required subnode, e.g. 'subnode@1'
154 path: Path to the required node, e.g. '/node@3/subnode@1'
234 """Find the first subnode of a parent node
241 The offset of the first subnode, if any
244 FdtException if no subnode found or other error occurs
249 """Find the next subnode
252 nodeoffset: Node offset of previous subnode
256 The offset of the next subnode, if any
259 FdtException if no more subnode found or other error occurs
/rk3399_rockchip-uboot/doc/device-tree-bindings/regulator/
H A Dmax77686.txt12 Required subnode:
25 (subnode of max77686 pmic node)
H A Dsandbox.txt18 For each PMIC's regulator subnode, there is one required property:
/rk3399_rockchip-uboot/drivers/phy/
H A Dphy-rockchip-naneng-usb2.c392 ofnode subnode; in rockchip_usb2phy_bind() local
396 dev_for_each_subnode(subnode, dev) { in rockchip_usb2phy_bind()
397 if (!ofnode_valid(subnode)) { in rockchip_usb2phy_bind()
402 node_name = ofnode_get_name(subnode); in rockchip_usb2phy_bind()
406 node_name, subnode, &child); in rockchip_usb2phy_bind()
/rk3399_rockchip-uboot/doc/device-tree-bindings/power/
H A Dtps65090.txt10 This node is a subnode of the tps65090 PMIC.
/rk3399_rockchip-uboot/drivers/pinctrl/mvebu/
H A Dpinctrl-armada-37xx.c531 int subnode; in armada_37xx_gpiochip_register() local
541 fdt_for_each_subnode(subnode, blob, node) { in armada_37xx_gpiochip_register()
542 if (fdtdec_get_bool(blob, subnode, "gpio-controller")) { in armada_37xx_gpiochip_register()
554 device_bind(parent, &armada_37xx_gpio_driver, name, NULL, subnode, in armada_37xx_gpiochip_register()
556 dev_set_of_offset(dev, subnode); in armada_37xx_gpiochip_register()
/rk3399_rockchip-uboot/doc/device-tree-bindings/pinctrl/
H A Dst,stm32-pinctrl.txt63 Contents of function subnode node:
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.txt14 Each node (or subnode) will list the pins it needs and how to configured these
/rk3399_rockchip-uboot/drivers/core/
H A Dofnode.c123 ofnode subnode; in ofnode_find_subnode() local
135 subnode = np_to_ofnode(np); in ofnode_find_subnode()
139 subnode = offset_to_ofnode(ooffset); in ofnode_find_subnode()
141 debug("%s\n", ofnode_valid(subnode) ? in ofnode_find_subnode()
142 ofnode_get_name(subnode) : "<none>"); in ofnode_find_subnode()
144 return subnode; in ofnode_find_subnode()
/rk3399_rockchip-uboot/scripts/dtc/libfdt/
H A Dfdt_overlay.c554 int subnode; in overlay_apply_node() local
574 fdt_for_each_subnode(subnode, fdto, node) { in overlay_apply_node()
575 const char *name = fdt_get_name(fdto, subnode, NULL); in overlay_apply_node()
589 ret = overlay_apply_node(fdt, nnode, fdto, subnode); in overlay_apply_node()
/rk3399_rockchip-uboot/drivers/net/
H A Dcpsw.c1300 int subnode; in cpsw_eth_ofdata_to_platdata() local
1361 fdt_for_each_subnode(subnode, fdt, node) { in cpsw_eth_ofdata_to_platdata()
1365 name = fdt_get_name(fdt, subnode, &len); in cpsw_eth_ofdata_to_platdata()
1369 mdio_base = cpsw_get_addr_by_node(fdt, subnode); in cpsw_eth_ofdata_to_platdata()
1382 phy_mode = fdt_getprop(fdt, subnode, "phy-mode", NULL); in cpsw_eth_ofdata_to_platdata()
1388 fdtdec_lookup_phandle(fdt, subnode, in cpsw_eth_ofdata_to_platdata()
1397 fdtdec_get_int_array(fdt, subnode, "phy_id", in cpsw_eth_ofdata_to_platdata()
1407 subnode); in cpsw_eth_ofdata_to_platdata()
1414 if (fdt_get_property(fdt, subnode, "rmii-clock-ext", in cpsw_eth_ofdata_to_platdata()
1418 phy_sel_compat = fdt_getprop(fdt, subnode, "compatible", in cpsw_eth_ofdata_to_platdata()
/rk3399_rockchip-uboot/doc/device-tree-bindings/misc/
H A Dcros-ec.txt21 The CROS_EC node should appear as a subnode of the interrupt that connects it
/rk3399_rockchip-uboot/doc/device-tree-bindings/mtd/
H A Daltera_qspi.txt12 - flash device tree subnode, there must be a node with the following fields:
/rk3399_rockchip-uboot/doc/device-tree-bindings/net/
H A Daltera_tse.txt33 - mdio device tree subnode: When the TSE has a phy connected to its local
34 mdio, there must be device tree subnode with the following

12