Searched +full:json +full:- +full:schema (Results 1 – 18 of 18) sorted by relevance
/linux-6.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 | 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# 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 30 # schema should be applied to the node. It is optional and by default the [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 19 $(DT_DOC_CHECKER) --version 2>/dev/null || echo 0; } | sort -Vc >/dev/null || \ 28 find_all_cmd = find $(src) \( -name '*.yaml' ! \ 29 -name 'processed-schema*' \) 33 grep -F -e "$(subst :," -e ",$(DT_SCHEMA_FILES))" | \ 39 xargs -n200 -P$$(nproc) \ 40 $(DT_SCHEMA_LINT) -f parsable -c $(src)/.yamllint >&2) \ [all …]
|
D | .gitignore | 1 # SPDX-License-Identifier: GPL-2.0-only 3 /processed-schema*.yaml 4 /processed-schema*.json 7 # We don't want to ignore the following even if they are dot-files
|
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>: ..." 21 "<binding dir>: dt-bindings: ..." 27 2) DT binding files are written in DT schema format using json-schema 33 See Documentation/devicetree/bindings/writing-schema.rst for more details 34 about schema and tools setup. 37 (GPL-2.0-only OR BSD-2-Clause). 57 7) DTS is treated in general as driver-independent hardware description, thus [all …]
|
/linux-6.15/tools/net/ynl/pyynl/ |
D | cli.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 5 import json 23 raise Exception(f"Schema directory {schema_dir} does not exist") 33 class YnlEncoder(json.JSONEncoder): 39 return json.JSONEncoder.default(self, obj) 44 YNL CLI utility - a general purpose netlink utility that uses YAML 48 The --multi option can be repeated to include several do operations 55 spec_group.add_argument('--family', dest='family', type=str, 57 spec_group.add_argument('--list-families', action='store_true', 59 spec_group.add_argument('--spec', dest='spec', type=str, [all …]
|
D | ethtool.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 5 import json 18 Verify and convert command-line arguments to the ynl-compatible request. 21 valid_attrs.remove('header') # not user-provided 45 Pretty-print a set of fields from the reply. desc specifies the 70 Print out the speed-like strings from the value dict. 72 speed_re = re.compile(r'[0-9]+base[^/]+/.+') 82 'dev-name': args.device, 99 if msg['header']['dev-name'] == args.device: 100 if args.json: [all …]
|
/linux-6.15/tools/perf/scripts/python/ |
D | gecko.py | 1 # gecko.py - Convert perf record output to Firefox's gecko profile format 2 # SPDX-License-Identifier: GPL-2.0 9 # perf record -a -g -F 99 sleep 60 14 # perf script gecko -F 99 -a sleep 60 19 import json 32 # Add the Perf-Trace-Util library to the Python path 34 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 48 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty… 53 PRODUCT = os.popen('uname -op').read().strip() 68 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty… [all …]
|
/linux-6.15/tools/testing/selftests/net/lib/py/ |
D | nsim.py | 1 # SPDX-License-Identifier: GPL-2.0 4 import json 18 # In case udev renamed the netdev to according to new schema, 30 ret = ip("-j link show dev %s" % ifname, ns=ns) 31 self.dev = json.loads(ret.stdout)[0]
|
/linux-6.15/Documentation/userspace-api/netlink/ |
D | netlink-raw.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>` 15 schema with properties that are needed to specify the protocol numbers and 17 information. The raw netlink families also make use of type-specific 18 sub-messages. 21 ------- 29 .. code-block:: yaml 31 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 33 name: rt-addr [all …]
|
/linux-6.15/Documentation/netlink/ |
D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int, const name, or limit based on fixed-width type 18 # e.g. u8-min, u16-max, etc. 20 pattern: ^[0-9A-Za-z_-]+$ [all …]
|
D | genetlink-c.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int, const name, or limit based on fixed-width type 18 # e.g. u8-min, u16-max, etc. 20 pattern: ^[0-9A-Za-z_-]+$ [all …]
|
D | genetlink-legacy.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int, const name, or limit based on fixed-width type 18 # e.g. u8-min, u16-max, etc. 20 pattern: ^[0-9A-Za-z_-]+$ [all …]
|
D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 17 # Schema for specs 21 required: [ name, doc, attribute-sets, operations ] 30 description: Schema compatibility level. 31 enum: [ netlink-raw ] # Trim [all …]
|
/linux-6.15/scripts/ |
D | Makefile.dtbs | 1 # SPDX-License-Identifier: GPL-2.0-only 4 dtb-$(CONFIG_OF_ALL_DTBS) += $(dtb-) 7 multi-dtb-y := $(call multi-search, $(dtb-y), .dtb, -dtbs) 9 real-dtb-y := $(call real-search, $(dtb-y), .dtb, -dtbs) 11 base-dtb-y := $(filter %.dtb, $(call real-search, $(multi-dtb-y), .dtb, -dtbs)) 13 dtb-y := $(addprefix $(obj)/, $(dtb-y)) 14 multi-dtb-y := $(addprefix $(obj)/, $(multi-dtb-y)) 15 real-dtb-y := $(addprefix $(obj)/, $(real-dtb-y)) 17 always-y += $(dtb-y) 18 targets += $(real-dtb-y) [all …]
|
/linux-6.15/Documentation/devicetree/bindings/mailbox/ |
D | xlnx,zynqmp-ipi-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/xlnx,zynqmp-ipi-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 +-------------------------------------+ 16 +-------------------------------------+ 17 +--------------------------------------------------+ 18 TF-A | | 21 +--------------------------+ | 24 +--------------------------------------------------+ [all …]
|
/linux-6.15/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 14 ifeq ($(filter output-sync,$(.FEATURES)),) 28 # Most importantly: sub-Makefiles should only ever modify files in 31 # unavoidable when linking the built-in.a targets which finally 41 this-makefile := $(lastword $(MAKEFILE_LIST)) 42 abs_srctree := $(realpath $(dir $(this-makefile))) 47 # Do not use make's built-in rules and variables 48 # (this increases performance and avoids hard-to-debug behaviour) 49 MAKEFLAGS += -rR 61 # --------------------------------------------------------------------------- [all …]
|
/linux-6.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 …]
|