Home
last modified time | relevance | path

Searched full:dtc (Results 1 – 25 of 244) sorted by relevance

12345678910

/openbmc/u-boot/scripts/dtc/
H A Dupdate-dtc-source.sh3 # Simple script to update the version of DTC carried by the Linux kernel
5 # This script assumes that the dtc and the linux git trees are in the
6 # same directory. After building dtc in the dtc directory, it copies the
7 # source files and generated source file(s) into the scripts/dtc directory
12 # $ ./scripts/dtc/update-dtc-source.sh
14 # The script will change into the dtc tree, build and test dtc, copy the
16 # message will need to be modified to reflect the version of DTC being
24 # - The dtc "make check" target needs to return a failure
25 # * Extract the version number from the dtc repo for the commit message
26 # * Build dtc in the kernel tree
[all …]
H A DMakefile2 # scripts/dtc makefile
4 hostprogs-y := dtc
7 dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
29 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
H A DMakefile.dtc1 # Makefile.dtc
9 dtc.c \
17 DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
/openbmc/linux/scripts/dtc/
H A Dupdate-dtc-source.sh3 # Simple script to update the version of DTC carried by the Linux kernel
5 # This script assumes that the dtc and the linux git trees are in the
6 # same directory. After building dtc in the dtc directory, it copies the
7 # source files and generated source file(s) into the scripts/dtc directory
12 # $ ./scripts/dtc/update-dtc-source.sh
14 # The script will change into the dtc tree, build and test dtc, copy the
16 # message will need to be modified to reflect the version of DTC being
24 # - The dtc "make check" target needs to return a failure
25 # * Extract the version number from the dtc repo for the commit message
26 # * Build dtc in the kernel tree
[all …]
H A DMakefile2 # scripts/dtc makefile
5 hostprogs-always-$(CONFIG_DTC) += dtc fdtoverlay
6 hostprogs-always-$(CHECK_DT_BINDING) += dtc
8 dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
10 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
27 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
H A Ddtx_diff37 Each DTx is processed by the dtc compiler to produce a sorted dts source
94 if ( ! ${DTC} -I fs ${dtx} ) ; then
105 if ( ! ${DTC} -I dtb ${dtx} ) ; then
116 | ${DTC} ${dtc_include} -I dts ) ; then
272 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH
282 DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc"
284 if [ ! -x ${DTC} ] ; then
285 __DTC="dtc"
299 ERROR: unable to find a 'dtc' program
301 Preferred 'dtc' (built from Linux kernel source tree) was not found or
[all …]
/openbmc/u-boot/scripts/
H A Ddtc-version.sh3 # dtc-version dtc-command
5 # Prints the dtc version of `dtc-command' in a canonical 6-digit form
6 # such as `010404' for dtc 1.4.4
9 dtc="$*"
11 if [ ${#dtc} -eq 0 ]; then
12 echo "Error: No dtc command specified."
13 printf "Usage:\n\t$0 <dtc-command>\n"
17 MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1)
18 MINOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 2)
19 PATCH=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 3 | cut -d - -f 1)
H A DMakefile.extrawarn59 dtc-warning-2 += -Wnode_name_chars_strict
60 dtc-warning-2 += -Wproperty_name_chars_strict
62 dtc-warning := $(dtc-warning-$(findstring 1, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
63 dtc-warning += $(dtc-warning-$(findstring 2, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
64 dtc-warning += $(dtc-warning-$(findstring 3, $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)))
66 DTC_FLAGS += $(dtc-warning)
/openbmc/openbmc/poky/meta/recipes-bsp/u-boot/files/
H A D0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch4 Subject: [PATCH] scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput
15 | scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
16 | scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_App…
24 scripts/dtc/pylibfdt/libfdt.i_shipped | 6 +++---
27 diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped b/scripts/dtc/pylibfdt/libfdt.i_shipped
29 --- a/scripts/dtc/pylibfdt/libfdt.i_shipped
30 +++ b/scripts/dtc/pylibfdt/libfdt.i_shipped
/openbmc/linux/drivers/dma/
H A Ddmatest.c247 struct dmatest_chan *dtc; in is_threaded_test_run() local
249 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_run()
252 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_run()
263 struct dmatest_chan *dtc; in is_threaded_test_pending() local
265 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_pending()
268 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_pending()
934 static void dmatest_cleanup_channel(struct dmatest_chan *dtc) in dmatest_cleanup_channel() argument
940 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { in dmatest_cleanup_channel()
950 dmaengine_terminate_sync(dtc->chan); in dmatest_cleanup_channel()
952 kfree(dtc); in dmatest_cleanup_channel()
[all …]
/openbmc/u-boot/doc/
H A DREADME.fdt-overlays8 Please refer to dt-object-internal.txt in the dtc sources for information
10 https://git.kernel.org/pub/scm/utils/dtc/dtc.git/tree/Documentation/dt-object-internal.txt
20 Note support for -@ option can only be found in dtc version 1.4.4 or newer.
22 of dtc that meets this requirement.
38 $ dtc -@ -I dts -O dtb -o base.dtb base.dts
57 $ dtc -@ -I dts -O dtb -o bar.dtb bar.dts
H A DREADME.OFT16 There is a static part which is compiled in with DTC and a dynamic
19 You'll need a fairly recent DTC tool, which is available by git at
21 rsync://ozlabs.org/dtc/dtc.git
H A DREADME.fdt-control60 provided by U-Boot automatically. If you have a system version of dtc
63 If you want to build your own dtc, it is kept here:
65 git://git.kernel.org/pub/scm/utils/dtc/dtc.git
69 $ git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git
70 $ cd dtc
76 $ dtc -v
77 Version: DTC 1.2.0-g2cb4b51f
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/
H A Dtrusted-services-src.inc21 # DTC, tag "v1.6.1"
22 SRC_URI += "git://github.com/dgibson/dtc;name=dtc;protocol=https;branch=main;destsuffix=git/dtc"
24 LIC_FILES_CHKSUM += "file://../dtc/README.license;md5=a1eb22e37f09df5b5511b8a278992d0e"
61 apply_local_src_patches ${S}/external/libfdt ${WORKDIR}/git/dtc
71 EXTRA_OECMAKE += "-DDTC_SOURCE_DIR=${WORKDIR}/git/dtc \
/openbmc/linux/mm/
H A Dpage-writeback.c127 struct dirty_throttle_control *gdtc; /* only set in memcg dtc's */
164 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument
166 return dtc->dom; in mdtc_valid()
169 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument
171 return dtc->dom; in dtc_dom()
218 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument
223 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument
368 * @dtc: dirty_throttle_control of interest
370 * Calculate @dtc->thresh and ->bg_thresh considering
372 * must ensure that @dtc->avail is set before calling this function. The
[all …]
/openbmc/linux/drivers/perf/
H A Darm-cmn.c119 /* The DTC node is where the magic happens */
123 /* DTC counters are paired in 64-bit registers on a 16-byte stride. Yuck */
149 * Even in the worst case a DTC counter can't wrap in fewer than 2^42 cycles,
282 s8 dtc; member
345 struct arm_cmn_dtc *dtc; member
523 s8 dtc = xp[x].dtc; in arm_cmn_map_show() local
525 if (dtc < 0) in arm_cmn_map_show()
526 seq_puts(s, " DTC ?? |"); in arm_cmn_map_show()
528 seq_printf(s, " DTC %d |", dtc); in arm_cmn_map_show()
582 /* @i is the DTC number, @idx is the counter index on that DTC */
[all …]
/openbmc/linux/drivers/ata/
H A Dpata_cs5536.c51 DTC = 2, enumerator
112 u32 dtc; in cs5536_program_dtc() local
114 cs5536_read(pdev, DTC, &dtc); in cs5536_program_dtc()
115 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc()
116 dtc |= tim << dshift; in cs5536_program_dtc()
117 cs5536_write(pdev, DTC, dtc); in cs5536_program_dtc()
/openbmc/openbmc/poky/meta/lib/patchtest/selftest/files/
H A DTestMbox.test_series_merge_on_head.2.skip4 Subject: [PATCH] python3-dtc: upgrade 1.6.1 -> 1.7.0
6 Changelog: https://kernel.googlesource.com/pub/scm/utils/dtc/dtc/+log/039a99414e778332d8f9c04cbd307…
11 [tgamblin@megalith dtc]$ git tag --contains c001fc01a43e7a06447c06ea3d50bd60641322b8
/openbmc/linux/drivers/of/
H A DKconfig2 config DTC config
34 this file with scripts/dtc/of_unittest_expect to reduce the
43 select DTC
52 select DTC
/openbmc/u-boot/test/
H A Drun35 # Set up a path to dtc (device-tree compiler) and libfdt.py, a library it
37 DTC_DIR=build-sandbox_spl/scripts/dtc
39 export DTC=${DTC_DIR}/dtc
/openbmc/u-boot/doc/uImage.FIT/
H A Dhowto.txt15 create an uImage in the new format: mkimage and dtc, although only one
16 (mkimage) is invoked directly. dtc is called from within mkimage and operates
18 important that the dtc used has support for binary includes -- refer to
20 git://git.kernel.org/pub/scm/utils/dtc/dtc.git
22 for its latest version. mkimage (together with dtc) takes as input
36 - dtc (with support for binary includes)
43 image source file mkimage + dtc transfer to target
84 DTC: dts->dtb on file "kernel.its"
194 DTC: dts->dtb on file "kernel_fdt.its"
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-dtc_1.7.2.bb7 DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc"
9 SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=main \
/openbmc/qemu/pc-bios/
H A Dmeson.build87 dtc = find_program('dtc', required: false) variable
95 if dtc.found()
102 command: [ dtc, '-I', 'dts', '-O', 'dtb', '-o', '@OUTPUT@', '@INPUT0@' ])
/openbmc/u-boot/test/py/tests/
H A Dtest_vboot.py34 @pytest.mark.requiredtool('dtc')
47 def dtc(dts): function
57 util.run_and_log(cons, 'dtc %s %s%s -O dtb '
142 dtc('sandbox-kernel.dts')
143 dtc('sandbox-u-boot.dts')
155 dtc('sandbox-u-boot.dts')
/openbmc/u-boot/dts/
H A DKconfig8 config DTC config
27 select DTC
294 string "Path to dtc binary for use within mkimage"
295 default "dtc"
298 calls to the dtc application in order to create the output. In
299 some cases the system dtc may not support all required features

12345678910