| /rk3399_rockchip-uboot/tools/dtoc/ |
| H A D | dtoc_test_phandle.dts | 12 phandle: phandle-target { label 32 phandle-source { 35 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
|
| /rk3399_rockchip-uboot/arch/x86/cpu/broadwell/ |
| H A D | pinctrl_broadwell.c | 32 int phandle; member 57 int phandle = fdt_get_phandle(blob, node); in broadwell_pinctrl_read_configs() local 59 if (!phandle) in broadwell_pinctrl_read_configs() 67 conf->phandle = phandle; in broadwell_pinctrl_read_configs() 88 debug("config: phandle=%d\n", phandle); in broadwell_pinctrl_read_configs() 98 int conf_count, int phandle) in broadwell_pinctrl_lookup_phandle() argument 103 if (conf[i].phandle == phandle) in broadwell_pinctrl_lookup_phandle() 132 uint phandle = fdt32_to_cpu(prop[i * 3 + 1]); in broadwell_pinctrl_read_pins() local 141 phandle); in broadwell_pinctrl_read_pins() 144 phandle); in broadwell_pinctrl_read_pins()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/px30/ |
| H A D | px30.c | 375 u32 phandle; in fdt_fixup_cpu_opp_table() local 385 phandle = fdt_get_phandle(blob, opp_node); in fdt_fixup_cpu_opp_table() 386 if (!phandle) { in fdt_fixup_cpu_opp_table() 402 pp[0] = cpu_to_fdt32(phandle); in fdt_fixup_cpu_opp_table() 412 u32 phandle; in fdt_fixup_dmc_opp_table() local 421 phandle = fdt_get_phandle(blob, opp_node); in fdt_fixup_dmc_opp_table() 422 if (!phandle) { in fdt_fixup_dmc_opp_table() 436 pp[0] = cpu_to_fdt32(phandle); in fdt_fixup_dmc_opp_table() 445 u32 phandle; in fdt_fixup_gpu_opp_table() local 454 phandle = fdt_get_phandle(blob, opp_node); in fdt_fixup_gpu_opp_table() [all …]
|
| /rk3399_rockchip-uboot/drivers/net/fm/ |
| H A D | fdt.c | 21 uint32_t phandle; in fdt_fixup_fman_firmware() local 98 phandle = fdt_create_phandle(blob, fwnode); in fdt_fixup_fman_firmware() 99 if (!phandle) { in fdt_fixup_fman_firmware() 119 phandle); in fdt_fixup_fman_firmware()
|
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | of.h | 15 typedef u32 phandle; typedef 47 phandle phandle; member
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | pmic_rk801.c | 131 u32 interrupt, phandle; in rk801_ofdata_to_platdata() local 134 phandle = dev_read_u32_default(dev, "interrupt-parent", -ENODATA); in rk801_ofdata_to_platdata() 135 if (phandle == -ENODATA) { in rk801_ofdata_to_platdata() 136 printf("Read 'interrupt-parent' failed, ret=%d\n", phandle); in rk801_ofdata_to_platdata() 137 return phandle; in rk801_ofdata_to_platdata() 146 priv->irq = phandle_gpio_to_irq(phandle, interrupt); in rk801_ofdata_to_platdata()
|
| H A D | rk8xx_spi.c | 158 u32 interrupt, phandle; in rk8xx_spi_ofdata_to_platdata() local 163 phandle = dev_read_u32_default(dev, "interrupt-parent", -ENODATA); in rk8xx_spi_ofdata_to_platdata() 164 if (phandle == -ENODATA) { in rk8xx_spi_ofdata_to_platdata() 165 printf("Read 'interrupt-parent' failed, ret=%d\n", phandle); in rk8xx_spi_ofdata_to_platdata() 166 return phandle; in rk8xx_spi_ofdata_to_platdata() 175 rk8xx->irq = phandle_gpio_to_irq(phandle, interrupt); in rk8xx_spi_ofdata_to_platdata()
|
| /rk3399_rockchip-uboot/lib/libfdt/ |
| H A D | fdt_ro.c | 57 uint32_t phandle; in fdt_get_max_phandle() local 65 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle() 66 if (phandle == (uint32_t)-1) in fdt_get_max_phandle() 69 if (phandle > max_phandle) in fdt_get_max_phandle() 70 max_phandle = phandle; in fdt_get_max_phandle() 504 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument 508 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle() 522 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle() 529 int fdt_node_offset_by_phandle_node(const void *fdt, int node, uint32_t phandle) in fdt_node_offset_by_phandle_node() argument 533 if ((phandle == 0) || (phandle == -1) || (node < 0)) in fdt_node_offset_by_phandle_node() [all …]
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | drm_of.c | 43 uint phandle; in drm_of_lvds_get_remote_pixels_type() local 57 if (ofnode_read_u32(endpoint, "remote-endpoint", &phandle)) in drm_of_lvds_get_remote_pixels_type() 60 endpoint = ofnode_get_by_phandle(phandle); in drm_of_lvds_get_remote_pixels_type()
|
| H A D | rockchip_display.c | 932 int phandle, ret; in display_enable() local 934 phandle = ofnode_read_u32_default(state->node, "bridge", -1); in display_enable() 935 if (phandle < 0) in display_enable() 938 ret = uclass_get_device_by_phandle_id(UCLASS_I2C_GENERIC, phandle, &dev); in display_enable() 1117 int phandle; in get_crtc_id() local 1129 phandle = ofnode_read_u32_default(connect, "remote-endpoint", -1); in get_crtc_id() 1130 if (phandle < 0) in get_crtc_id() 1133 remote = of_find_node_by_phandle(phandle); in get_crtc_id() 1891 uint phandle; in rockchip_of_graph_get_remote_node() local 1897 if (ofnode_read_u32(np_to_ofnode(ep_node), "remote-endpoint", &phandle)) in rockchip_of_graph_get_remote_node() [all …]
|
| /rk3399_rockchip-uboot/scripts/dtc/ |
| H A D | checks.c | 406 cell_t phandle; in check_phandle_prop() local 436 phandle = propval_cell(prop); in check_phandle_prop() 438 if ((phandle == 0) || (phandle == -1)) { in check_phandle_prop() 440 node->fullpath, phandle, prop->name); in check_phandle_prop() 444 return phandle; in check_phandle_prop() 452 cell_t phandle, linux_phandle; in check_explicit_phandles() local 455 assert(!node->phandle); in check_explicit_phandles() 457 phandle = check_phandle_prop(c, dti, node, "phandle"); in check_explicit_phandles() 461 if (!phandle && !linux_phandle) in check_explicit_phandles() 465 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles() [all …]
|
| H A D | livetree.c | 539 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument 543 assert((phandle != 0) && (phandle != -1)); in get_node_by_phandle() 545 if (tree->phandle == phandle) { in get_node_by_phandle() 552 node = get_node_by_phandle(child, phandle); in get_node_by_phandle() 572 static cell_t phandle = 0x10000000; /* FIXME: ick, static local */ in get_node_phandle() local 574 if ((node->phandle != 0) && (node->phandle != -1)) in get_node_phandle() 575 return node->phandle; in get_node_phandle() 577 while (get_node_by_phandle(root, phandle)) in get_node_phandle() 578 phandle++; in get_node_phandle() 580 node->phandle = phandle; in get_node_phandle() [all …]
|
| /rk3399_rockchip-uboot/test/overlay/ |
| H A D | test-fdt-overlay.dts | 39 /* Test that we add a new node (by phandle) */ 75 test-phandle = <&test>, <&local>; 83 test-several-phandle = <&local>, <&local>;
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/adc/ |
| H A D | adc.txt | 6 - use regulator phandle to enable/read supply's Voltage 16 - vdd-supply: phandle to Vdd regulator's node 17 - vss-supply: phandle to Vss regulator's node 31 Example of supply phandle usage, for the ADC's VDD/VSS references as below:
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3308/ |
| H A D | rk3308.c | 415 u32 phandle; in fdt_fixup_cpu_opp_table() local 425 phandle = fdt_get_phandle(blob, opp_node); in fdt_fixup_cpu_opp_table() 426 if (!phandle) { in fdt_fixup_cpu_opp_table() 442 pp[0] = cpu_to_fdt32(phandle); in fdt_fixup_cpu_opp_table() 452 u32 phandle; in fdt_fixup_dmc_opp_table() local 461 phandle = fdt_get_phandle(blob, opp_node); in fdt_fixup_dmc_opp_table() 462 if (!phandle) { in fdt_fixup_dmc_opp_table() 476 pp[0] = cpu_to_fdt32(phandle); in fdt_fixup_dmc_opp_table()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | kernel_dtb.c | 80 int phandle, ncells; in phandles_fixup_cru() local 86 phandle = -ENODATA; in phandles_fixup_cru() 100 phandle = fdt_get_phandle(fdt, offset); in phandles_fixup_cru() 107 if (phandle == -ENODATA || ncells == -ENODATA) in phandles_fixup_cru() 111 __func__, ncells, fdt32_to_cpu(phandle)); in phandles_fixup_cru() 160 clocks[j] = phandle; in phandles_fixup_cru()
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt_overlay.c | 55 uint32_t phandle; in overlay_get_target() local 60 phandle = overlay_get_target_phandle(fdto, fragment); in overlay_get_target() 61 if (phandle == (uint32_t)-1) in overlay_get_target() 65 if (!phandle) { in overlay_get_target() 73 ret = fdt_node_offset_by_phandle(fdt, phandle); in overlay_get_target() 368 uint32_t phandle; in overlay_fixup_one_phandle() local 385 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_one_phandle() 386 if (!phandle) in overlay_fixup_one_phandle() 395 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
|
| H A D | fdt_ro.c | 98 uint32_t phandle; in fdt_get_max_phandle() local 106 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle() 107 if (phandle == (uint32_t)-1) in fdt_get_max_phandle() 110 if (phandle > max_phandle) in fdt_get_max_phandle() 111 max_phandle = phandle; in fdt_get_max_phandle() 525 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument 529 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle() 543 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
|
| /rk3399_rockchip-uboot/Documentation/devicetree/bindings/rtc/ |
| H A D | brcm,brcmstb-waketimer.txt | 10 - interrupt-parent: The phandle to the Always-On (AON) Power Management (PM) L2 12 - clocks : The phandle to the UPG fixed clock (27Mhz domain)
|
| /rk3399_rockchip-uboot/arch/arm/mach-omap2/omap5/ |
| H A D | fdt.c | 203 uint32_t phandle; in ft_fixup_clocks() local 220 phandle = fdt_get_phandle(fdt, node_offs); in ft_fixup_clocks() 221 if (!phandle) { in ft_fixup_clocks() 228 phandle); in ft_fixup_clocks()
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | of_access.c | 412 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle() 420 if (np->phandle == handle) in of_find_node_by_phandle() 427 if (np->phandle == handle) in of_find_node_by_phandle() 623 phandle phandle; in __of_parse_phandle_with_args() local 641 phandle = be32_to_cpup(list++); in __of_parse_phandle_with_args() 642 if (phandle) { in __of_parse_phandle_with_args() 653 node = of_find_node_by_phandle(phandle); in __of_parse_phandle_with_args() 691 if (!phandle) in __of_parse_phandle_with_args() 902 app->np->full_name, app->np->phandle, in of_alias_dump()
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/pwm/ |
| H A D | pwm.txt | 11 single-pwm ::= <pwm-phandle> <pwm-specifier> 12 pwm-phandle : phandle to PWM controller node
|
| /rk3399_rockchip-uboot/drivers/power/dvfs/ |
| H A D | rockchip_wtemp_dvfs.c | 319 u32 phandle, uv, clock[2]; in __wtemp_common_ofdata_to_platdata() local 324 if (!ofnode_read_u32(node, e->supply_name, &phandle)) { in __wtemp_common_ofdata_to_platdata() 325 supply = ofnode_get_by_phandle(phandle); in __wtemp_common_ofdata_to_platdata() 345 if (!ofnode_read_u32(node, "operating-points-v2", &phandle)) { in __wtemp_common_ofdata_to_platdata() 346 opp_node = ofnode_get_by_phandle(phandle); in __wtemp_common_ofdata_to_platdata() 503 u32 phandle; in wtemp_dvfs_ofdata_to_platdata() local 579 ofnode_read_u32_array(node, "cooling-device", &phandle, 1); in wtemp_dvfs_ofdata_to_platdata() 580 name = ofnode_get_name(ofnode_get_by_phandle(phandle)); in wtemp_dvfs_ofdata_to_platdata()
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/serial/ |
| H A D | omap_serial.txt | 13 controller phandle and interrupt 19 - dmas : DMA specifier, consisting of a phandle to the DMA controller
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/gpu/ |
| H A D | nvidia,tegra20-host1x.txt | 128 - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing 131 - nvidia,panel: phandle of a display panel 154 - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing 157 - nvidia,panel: phandle of a display panel 184 - avdd-dsi-supply: phandle of a supply that powers the DSI controller 185 - nvidia,mipi-calibrate: Should contain a phandle and a specifier specifying 190 - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing 193 - nvidia,panel: phandle of a display panel 214 - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing 217 - nvidia,panel: phandle of a display panel [all …]
|