Home
last modified time | relevance | path

Searched +full:- +full:- +full:prefix (Results 1 – 25 of 148) sorted by relevance

123456

/rk3399_rockchip-uboot/doc/device-tree-bindings/regulator/
H A Dregulator.txt5 by the prefix of regulator node's name, or, if this fails, by the prefix of the
6 regulator's "regulator-name" property. Usually the pmic I/O driver will provide
13 For the node name e.g.: "prefix[:alpha:]num { ... }":
14 - the driver prefix should be: "prefix" - case sensitive
15 - the node name's "num" is set as "dev->driver_data" on bind
17 Example the prefix "ldo" will pass for: "ldo1", "ldo@1", "ldoreg@1, ...
21 can't or do not want to change them then binding against the "regulator-name"
22 property is possible. The syntax for the prefix of the "regulator-name" property
26 named "BOOST_DRV". Using prefix "regualtor@1" for driver matching would load
27 the same driver for both regulators, hence the prefix is ambiguous.
[all …]
/rk3399_rockchip-uboot/lib/optee_clientApi/
H A Dtabinary_to_cfile.py4 # hisping lin, <hisping.lin@rock-chips.com>
6 # SPDX-License-Identifier: GPL-2.0+
13 parser.add_argument('--prefix', required=True, \
14 help='Prefix for the TA array in c file')
16 parser.add_argument('--out', required=True, \
19 parser.add_argument('--TA', required=True, help='Name of TA')
39 # f.write("const uint32_t " + args.prefix + "_exponent = " +
42 f.write("const uint8_t " + args.prefix + "_data[] = {\n")
53 f.write("const uint32_t " + args.prefix + "_size = " + str(i) + ";\n" )
/rk3399_rockchip-uboot/test/fs/
H A Dfs-test.sh5 # SPDX-License-Identifier: GPL-2.0+
8 # Invoke this test script from U-Boot base directory as ./test/fs/fs-test.sh
12 # fs-test.sb.ext4.out: Summary: PASS: 23 FAIL: 0
13 # fs-test.ext4.out: Summary: PASS: 23 FAIL: 0
14 # fs-test.fs.ext4.out: Summary: PASS: 23 FAIL: 0
16 # fs-test.sb.fat.out: Summary: PASS: 23 FAIL: 0
17 # fs-test.fat.out: Summary: PASS: 20 FAIL: 3
18 # fs-test.fs.fat.out: Summary: PASS: 20 FAIL: 3
21 # pre-requisite binaries list.
28 # Location of generated sandbox u-boot
[all …]
/rk3399_rockchip-uboot/include/
H A Dconfig_distro_bootcmd.h7 * SPDX-License-Identifier: GPL-2.0+
15 * reference a device that is not enabled in the U-Boot configuration, e.g.
17 * that BOOT_TARGET_DEVICES is a macro that's expanded by the C pre-processor
21 * reference a non-existent symbol, and have the name of that symbol encode
24 * prevalence of capitals here, this looks like a pre-processor macro and
26 * message that includes some other pre-processor symbols in the text.
101 * the $soc-$board$boardver.dtb name scheme for their device trees. Use that
105 "if test -z \"${fdtfile}\" -a -n \"${soc}\"; then " \
106 "setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; " \
125 "${fdt_addr_r} ${prefix}${efi_fdtfile}\0" \
[all …]
/rk3399_rockchip-uboot/drivers/power/pmic/
H A Dpmic-uclass.c2 * Copyright (C) 2014-2015 Samsung Electronics
5 * SPDX-License-Identifier: GPL-2.0+
14 #include <dm/device-internal.h>
15 #include <dm/uclass-internal.h>
36 debug("%s for '%s' at node offset: %d\n", __func__, pmic->name, in pmic_bind_children()
47 enable = fdtdec_get_is_enabled(gd->fdt_blob, in pmic_bind_children()
55 for (info = child_info; info->prefix && info->driver; info++) { in pmic_bind_children()
56 debug(" - compatible prefix: '%s'\n", info->prefix); in pmic_bind_children()
58 if (!strstr(node_name, info->prefix)) { in pmic_bind_children()
60 "regulator-name"); in pmic_bind_children()
[all …]
H A Dpmic_fp9931.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <dm/device-internal.h>
21 { .prefix = "vcom", .driver = FP9931_VCOM_DRIVER_NAME },
22 { .prefix = "vpos_vneg", .driver = FP9931_VPOS_VNEG_DRIVER_NAME },
27 { .prefix = "fp9931_thermal", .driver = FP9931_THERMAL_COMTATIBLE_NAME },
68 ret = gpio_request_list_by_name(dev, "power-gpios", data->power_gpio, 4, in pmic_fp9931_probe()
73 data->num_power_gpio = ret; in pmic_fp9931_probe()
75 ret = gpio_request_by_name(dev, "enable-gpios", 0, &data->enable_gpio, GPIOD_IS_OUT); in pmic_fp9931_probe()
102 return -ENXIO; in pmic_fp9931_bind()
109 children = pmic_bind_children(dev, dev->node, thermal_child_info); in pmic_fp9931_bind()
[all …]
H A Dpmic_rk801.c4 * SPDX-License-Identifier: GPL-2.0+
10 #include <irq-generic.h>
49 { .prefix = "DCDC", .driver = "rk801_buck"},
50 { .prefix = "LDO", .driver = "rk801_ldo"},
51 { .prefix = "SWITCH", .driver = "rk801_switch"},
56 { .prefix = "pwrkey", .driver = "rk8xx_pwrkey"},
113 return -ENXIO; in rk801_bind()
117 debug("%s: %s - no child found\n", __func__, dev->name); in rk801_bind()
119 children = pmic_bind_children(dev, dev->node, power_key_info); in rk801_bind()
121 debug("%s: %s - no child found\n", __func__, dev->name); in rk801_bind()
[all …]
H A Dsandbox.c5 * SPDX-License-Identifier: GPL-2.0+
20 { .prefix = SANDBOX_OF_LDO_PREFIX, .driver = SANDBOX_LDO_DRIVER },
21 { .prefix = SANDBOX_OF_BUCK_PREFIX, .driver = SANDBOX_BUCK_DRIVER },
35 return -EIO; in sandbox_pmic_write()
46 return -EIO; in sandbox_pmic_read()
55 pr_err("%s:%d PMIC: %s - no child found!", __func__, __LINE__, in sandbox_pmic_bind()
56 dev->name); in sandbox_pmic_bind()
58 /* Always return success for this device - allows for PMIC I/O */ in sandbox_pmic_bind()
H A Drk8xx.c5 * SPDX-License-Identifier: GPL-2.0+
11 #include <irq-generic.h>
191 /* enable the under-voltage protection,
192 * the under-voltage protection will shutdown the LDO3 and reset the PMIC
214 * if (!strstr(node_name, info->prefix)) {
218 * Without this order, the prefix "LDO" will be matched if a regulator
222 { .prefix = "DCDC", .driver = "rk8xx_buck"},
223 { .prefix = "NLDO", .driver = "rk8xx_ldo"},
224 { .prefix = "PLDO", .driver = "rk8xx_pldo"},
225 { .prefix = "LDO", .driver = "rk8xx_ldo"},
[all …]
H A Dmax77686.c2 * Copyright (C) 2014-2015 Samsung Electronics
5 * SPDX-License-Identifier: GPL-2.0+
20 { .prefix = "LDO", .driver = MAX77686_LDO_DRIVER },
21 { .prefix = "BUCK", .driver = MAX77686_BUCK_DRIVER },
35 return -EIO; in max77686_write()
45 return -EIO; in max77686_read()
56 regulators_node = dev_read_subnode(dev, "voltage-regulators"); in max77686_bind()
59 dev->name); in max77686_bind()
60 return -ENXIO; in max77686_bind()
63 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in max77686_bind()
[all …]
H A Dlp873x.c3 * Keerthy <j-keerthy@ti.com>
5 * SPDX-License-Identifier: GPL-2.0+
21 { .prefix = "ldo", .driver = LP873X_LDO_DRIVER },
22 { .prefix = "buck", .driver = LP873X_BUCK_DRIVER },
31 return -EIO; in lp873x_write()
41 return -EIO; in lp873x_read()
55 dev->name); in lp873x_bind()
56 return -ENXIO; in lp873x_bind()
61 printf("%s: %s - no child found\n", __func__, dev->name); in lp873x_bind()
H A Ds5m8767.c4 * SPDX-License-Identifier: GPL-2.0+
19 { .prefix = "LDO", .driver = S5M8767_LDO_DRIVER },
20 { .prefix = "BUCK", .driver = S5M8767_BUCK_DRIVER },
34 return -EIO; in s5m8767_write()
44 return -EIO; in s5m8767_read()
63 dev->name); in s5m8767_bind()
64 return -ENXIO; in s5m8767_bind()
67 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in s5m8767_bind()
71 debug("%s: %s - no child found\n", __func__, dev->name); in s5m8767_bind()
84 { .compatible = "samsung,s5m8767-pmic" },
H A Dpalmas.c3 * Keerthy <j-keerthy@ti.com>
5 * SPDX-License-Identifier: GPL-2.0+
21 { .prefix = "ldo", .driver = PALMAS_LDO_DRIVER },
22 { .prefix = "smps", .driver = PALMAS_SMPS_DRIVER },
31 return -EIO; in palmas_write()
41 return -EIO; in palmas_read()
66 debug("%s: %s pmic subnode not found!", __func__, dev->name); in palmas_bind()
67 return -ENXIO; in palmas_bind()
73 debug("%s: %s reg subnode not found!", __func__, dev->name); in palmas_bind()
74 return -ENXIO; in palmas_bind()
[all …]
/rk3399_rockchip-uboot/tools/patman/
H A Dseries.py3 # SPDX-License-Identifier: GPL-2.0+
16 # Series-xxx tags that we understand
17 valid_series = ['to', 'cc', 'version', 'changes', 'prefix', 'notes', 'name',
55 """Add a new Series-xxx tag along with its value.
59 name: Tag name (part after 'Series-')
60 value: Tag value (part after 'Series-xxx: ')
63 name = name.replace('-', '_')
80 raise ValueError("In %s: line '%s': Unknown 'Series-%s': valid "
118 for email in set(cc_list) - to_set - cc_set:
127 for item in cc_set - to_set:
[all …]
H A Dfunc_test.py1 # -*- coding: utf-8 -*-
5 # SPDX-License-Identifier: GPL-2.0+
38 self.tmpdir = tempfile.mkdtemp(prefix='patman.')
54 fname = re.sub('[ :]', '-', subject)
55 return fname.replace('--', '-')
62 src_fname = '%04d-%s.patch' % (i + 1, clean_subject[:52])
67 src_fname = '0000-cover-letter.patch'
77 This creates a series from some hard-coded patches build from a simple
80 Series-to: u-boot
81 Series-prefix: RFC
[all …]
/rk3399_rockchip-uboot/include/power/
H A Dpmic.h2 * Copyright (C) 2014-2015 Samsung Electronics
5 * Copyright (C) 2011-2012 Samsung Electronics
8 * SPDX-License-Identifier: GPL-2.0+
90 * U-Boot PMIC Framework
93 * UCLASS_PMIC - This is designed to provide an I/O interface for PMIC devices.
95 * For the multi-function PMIC devices, this can be used as parent I/O device
101 * |_ BUS 0 device (e.g. I2C0) - UCLASS_I2C/SPI/...
102 * | |_ PMIC device (READ/WRITE ops) - UCLASS_PMIC
103 * | |_ REGULATOR device (ldo/buck/... ops) - UCLASS_REGULATOR
104 * | |_ CHARGER device (charger ops) - UCLASS_CHARGER (in the future)
[all …]
/rk3399_rockchip-uboot/drivers/sysreset/
H A Dsysreset-syscon-reboot.c4 * SPDX-License-Identifier: GPL-2.0
13 #define CMD_PREFIX "mode-"
26 const char *prefix = CMD_PREFIX; in syscon_reboot_request_by_mode() local
34 command = calloc(1, strlen(mode) + sizeof(prefix)); in syscon_reboot_request_by_mode()
36 return -ENOMEM; in syscon_reboot_request_by_mode()
38 strcat(command, prefix); in syscon_reboot_request_by_mode()
64 { .compatible = "syscon-reboot-mode", },
/rk3399_rockchip-uboot/doc/
H A DREADME.mpc83xxads2 -----------------------------------------
7 $ CROSS_COMPILE=powerpc-linux-
10 $ powerpc-linux-gcc -v
11 Reading specs from /usr/powerpc/lib/gcc/powerpc-linux/3.4.3/specs
12 Configured with: ../configure --prefix=/usr/powerpc
13 --exec-prefix=/usr/powerpc --target=powerpc-linux --enable-shared
14 --disable-nls --disable-multilib --enable-languages=c,c++,ada,f77,objc
18 $ powerpc-linux-as -v
19 GNU assembler version 2.15 (powerpc-linux) using BFD version 2.15
53 CONFIG_TSEC_ENET Use on-chip 10/100/1000 ethernet
[all …]
/rk3399_rockchip-uboot/drivers/usb/eth/
H A Dlan7x.h4 * SPDX-License-Identifier: GPL-2.0+
127 const char *prefix, const u32 reg, in lan7x_wait_for_bit() argument
149 return -EINTR; in lan7x_wait_for_bit()
156 debug("%s: Timeout (reg=0x%x mask=%08x wait_set=%i)\n", prefix, reg, in lan7x_wait_for_bit()
159 return -ETIMEDOUT; in lan7x_wait_for_bit()
168 const char *prefix, in lan7x_mdio_wait_for_bit() argument
191 return -EINTR; in lan7x_mdio_wait_for_bit()
198 debug("%s: Timeout (reg=0x%x mask=%08x wait_set=%i)\n", prefix, reg, in lan7x_mdio_wait_for_bit()
201 return -ETIMEDOUT; in lan7x_mdio_wait_for_bit()
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/
H A Dmx6-pins.h4 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm/mach-imx/iomux-v3.h>
11 #define MX6_PAD_DECLARE(prefix, name, pco, mc, mm, sio, si, pc) \ argument
12 prefix##name = IOMUX_PAD(pco, mc, mm, sio, si, pc)
/rk3399_rockchip-uboot/lib/
H A Dhexdump.c1 // SPDX-License-Identifier: GPL-2.0+
23 * hex_dump_to_buffer - convert a blob of data to "hex ASCII" in memory
37 * The converted output is always NUL-terminated.
40 * hex_dump_to_buffer(frame->data, frame->len, 16, 1,
85 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
88 if (ret >= linebuflen - lx) in hex_dump_to_buffer()
96 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
99 if (ret >= linebuflen - lx) in hex_dump_to_buffer()
107 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
110 if (ret >= linebuflen - lx) in hex_dump_to_buffer()
[all …]
/rk3399_rockchip-uboot/scripts/
H A DKbuild.include13 # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
14 dot-target = $(dir $@).$(notdir $@)
17 # The temporary file to save gcc -MD generated dependencies must not
19 depfile = $(subst $(comma),_,$(dot-target).d)
50 # - If no file exist it is created
51 # - If the content differ the new file is used
52 # - If they are equal no change, and no timestamp update
53 # - stdin is piped in from the first prerequisite ($<) so one has
56 $(Q)set -e; \
58 mkdir -p $(dir $@); \
[all …]
/rk3399_rockchip-uboot/include/configs/
H A Dls1021atwr.h4 * SPDX-License-Identifier: GPL-2.0+
32 * EHCI Support - disbaled by default as
47 /* XHCI Support - enabled by default */
102 * with U-Boot image.
122 * with U-Boot image. Here u-boot max. size is 512K. So if binary
124 * it uses raw u-boot image instead of fit image.
402 "for prefix in ${boot_prefixes}; do " \
408 "${scriptaddr} ${prefix}${script}; " \
411 "${scripthdraddr} ${prefix}${boot_script_hdr} " \
455 "for prefix in ${boot_prefixes}; do " \
[all …]
/rk3399_rockchip-uboot/tools/buildman/
H A Dbsettings.py3 # SPDX-License-Identifier: GPL-2.0+
28 print 'To install tool chains, please use the --fetch-arch option'
78 # e.g. x86 = /opt/gcc-4.6.3-nolibc/x86_64-linux
80 [toolchain-prefix]
81 # name = path to prefix
82 # e.g. x86 = /opt/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-
84 [toolchain-alias]
92 [make-flags]
95 # snapper-boards=ENABLE_AT91_TEST=1
96 # snapper9260=${snapper-boards} BUILD_TAG=442
[all …]
/rk3399_rockchip-uboot/include/linux/
H A Dcompiler.h17 # define __release(x) __context__(x,-1)
56 #include <linux/compiler-gcc.h>
69 # include <linux/compiler-intel.h>
76 #include <linux/compiler-clang.h>
80 * Generic compiler-dependent macros required for kernel
194 /* Not-quite-unique ID. */
196 # define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __LINE__) argument
226 * '__maybe_unused' allows us to avoid defined-but-not-used warnings.
267 * compile-time warning.
270 * process-level code and irq/NMI handlers, all running on the same CPU,
[all …]

123456