Searched +full:json +full:- +full:schema (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/Documentation/devicetree/bindings/ |
D | writing-schema.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Writing Devicetree Bindings in json-schema 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 7 written in a JSON compatible subset of YAML. YAML is used instead of JSON as it 11 Also see :ref:`example-schema`. 13 Schema Contents 14 --------------- 16 Each schema doc is a structured json-schema which is defined by a set of 17 top-level properties. Generally, there is one binding defined per file. The 18 top-level json-schema properties used are: [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 DT_DOC_CHECKER ?= dt-doc-validate 3 DT_EXTRACT_EX ?= dt-extract-example 4 DT_MK_SCHEMA ?= dt-mk-schema 13 $(DT_DOC_CHECKER) --version 2>/dev/null || echo 0; } | sort -Vc >/dev/null || \ 23 DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json 25 find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \ 26 -name 'processed-schema*' ! \ 27 -name '*.example.dt.yaml' \) 31 xargs $(DT_SCHEMA_LINT) -f parsable -c $(srctree)/$(src)/.yamllint >&2) || true [all …]
|
D | example-schema.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 # All the top-level keys are standard json-schema keywords except for 10 $id: http://devicetree.org/schemas/example-schema.yaml# 11 # $schema is the meta-schema this schema should be validated with. 12 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 title: An example schema annotated with jsonschema details 17 - Rob Herring <robh@kernel.org> 20 A more detailed multi-line description of the binding. 29 # 'select' is a schema applied to a DT node to determine if this binding [all …]
|
D | .gitignore | 1 # SPDX-License-Identifier: GPL-2.0-only 3 /processed-schema*.yaml 4 /processed-schema*.json
|
D | submitting-patches.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Documentation/process/submitting-patches.rst applies. 13 1) The Documentation/ and include/dt-bindings/ portion of the patch should 16 "dt-bindings: <binding dir>: ..." 22 2) DT binding files are written in DT schema format using json-schema 28 See Documentation/devicetree/bindings/writing-schema.rst for more details 29 about schema and tools setup. 32 (GPL-2.0-only OR BSD-2-Clause). 55 - compatible: Must contain '"nvidia,<chip>-pcie", 56 "nvidia,tegra20-pcie"' where <chip> is tegra30, tegra132, ... [all …]
|
/Linux-v5.15/tools/testing/kunit/ |
D | kunit_json.py | 1 # SPDX-License-Identifier: GPL-2.0 3 # Generates JSON from KUnit results according to 4 # KernelCI spec: https://github.com/kernelci/kernelci-doc/wiki/Test-API 9 import json 16 def get_json_result(test_result, def_config, build_dir, json_path) -> str: 34 # failure message, see https://api.kernelci.org/schema-test-case.html#get 55 json_obj = json.dumps(test_group, indent=4)
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_offload.py | 7 # June 1991 as shown in the file COPYING in the top-level directory of this 20 import json 50 log_level -= sub 113 stdout = stdout.decode("utf-8") 114 stderr = stderr.decode("utf-8") 119 if stderr[-1] == "\n": 120 stderr = stderr[:-1] 129 if len(stderr) > 0 and stderr[-1] == "\n": 130 stderr = stderr[:-1] 139 cmd("rm -f %s" % (f)) [all …]
|
/Linux-v5.15/Documentation/dev-tools/ |
D | checkpatch.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 27 - -q, --quiet 31 - -v, --verbose 35 - --no-tree 39 - --no-signoff 41 Disable the 'Signed-off-by' line check. The sign-off is a simple line at 43 or otherwise have the right to pass it on as an open-source patch. 47 Signed-off-by: Random J Developer <random@developer.example.org> 49 Setting this flag effectively stops a message for a missing signed-off-by 52 - --patch [all …]
|
/Linux-v5.15/scripts/ |
D | Makefile.lib | 1 # SPDX-License-Identifier: GPL-2.0 3 asflags-y += $(EXTRA_AFLAGS) 4 ccflags-y += $(EXTRA_CFLAGS) 5 cppflags-y += $(EXTRA_CPPFLAGS) 6 ldflags-y += $(EXTRA_LDFLAGS) 9 KBUILD_AFLAGS += $(subdir-asflags-y) 10 KBUILD_CFLAGS += $(subdir-ccflags-y) 15 # When an object is listed to be built compiled-in and modular, 16 # only build the compiled-in version 17 obj-m := $(filter-out $(obj-y),$(obj-m)) [all …]
|