/freebsd/sys/contrib/device-tree/Bindings/ |
H A D | submitting-patches.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Submitting Devicetree (DT) binding patches 11 Documentation/process/submitting-patches.rst applies. 13 1) The Documentation/ and include/dt-bindings/ portion of the patch should 14 be a separate patch. The preferred subject prefix for binding patches is:: 16 "dt-bindings: <binding dir>: ..." 21 "<binding dir>: dt-bindings: ..." 25 docs. Repeating "binding" again should also be avoided. 27 2) DT binding files are written in DT schema format using json-schema 28 vocabulary and YAML file format. The DT binding files must pass validation [all …]
|
H A 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`. 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: 21 A json-schema unique identifier string. The string must be a valid [all …]
|
H A 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 …]
|
H A D | ABI.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Devicetree (DT) ABI 7 I. Regarding stable bindings/ABI, we quote from the 2013 ARM mini-summit 10 "That still leaves the question of, what does a stable binding look 11 like? Certainly a stable binding means that a newer kernel will not 12 break on an older device tree, but that doesn't mean the binding is 15 then default to the previous behaviour if it is missing. If a binding 21 II. General binding rules 24 binding because it isn't perfect. 30 the old binding. ie. add additional properties, but don't change the
|
/freebsd/sys/contrib/device-tree/Bindings/iommu/ |
H A D | mediatek,iommu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | mediatek,iommu.txt | 6 ARM Short-Descriptor translation table format for address translation. 14 +--------+ 16 gals0-rx gals1-rx (Global Async Local Sync rx) 19 gals0-tx gals1-tx (Global Async Local Sync tx) 21 +--------+ 25 +----------------+------- 27 | gals-rx There may be GALS in some larbs. 30 | gals-tx 36 +-----+-----+ +----+----+ 53 smi-common and m4u, and additional GALS module between smi-larb and [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | maxim,max77686.txt | 1 Binding for Maxim MAX77686/MAX77802/MAX77620 32k clock generator block 4 multi-function device. More information can be found in MFD DT binding 12 dt-bindings/clock/maxim,max77686.h. 17 dt-bindings/clock/maxim,max77802.h. 21 dt-bindings/clock/maxim,max77620.h. 27 - #clock-cells: from common clock binding; shall be set to 1. 30 - clock-output-names: From common clock binding. 34 - 0: 32khz_ap clock (max77686, max77802), 32khz_out0 (max77620) 35 - 1: 32khz_cp clock (max77686, max77802), 36 - 2: 32khz_pmic clock (max77686). [all …]
|
H A D | alphascale,acc.txt | 7 - compatible: must be "alphascale,asm9260-clock-controller" 8 - reg: must contain the ACC register base and size 9 - #clock-cells : shall be set to 1. 11 Simple one-cell clock specifier format is used, where the only cell is used 13 It is encouraged to use dt-binding fo [all...] |
H A D | baikal,bt1-ccu-div.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/clock/baikal,bt1-ccu-div.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Baikal-T1 Clock Control Unit Dividers 11 - Serge Semin <fancer.lancer@gmail.com> 14 Clocks Control Unit is the core of Baikal-T1 SoC System Controller 18 IP-blocks or to groups of blocks (clock domains). The transformation is done 19 by means of an embedded into CCU PLLs and gateable/non-gateable dividers. The 20 later ones are described in this binding. Each clock domain can be also [all …]
|
H A D | clk-palmas-clk32kg-clocks.txt | 5 This binding uses the common clock binding ./clock-bindings.txt. 8 - compatible : "ti,palmas-clk32kg" for clk32kg clock 9 "ti,palmas-clk32kgaudio" for clk32kgaudio clock 10 - #clock-cells : shall be set to 0. 13 - ti,external-sleep-control: The external enable input pins controlled the 22 dt-bindings/mfd/palmas.h 25 #include <dt-bindings/mfd/palmas.h> 30 compatible = "ti,palmas-clk32kg"; 31 #clock-cells = <0>; 32 ti,external-sleep-control = <PALMAS_EXT_CONTROL_PIN_NSLEEP>;
|
H A D | st,stm32mp1-rcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/st,stm32mp1-rcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Gabriel Fernandez <gabriel.fernandez@foss.st.com> 15 Please also refer to reset.txt for common reset controller binding usage. 17 This binding uses common clock bindings 18 Documentation/devicetree/bindings/clock/clock-bindings.txt 24 dt-bindings/clock/stm32mp1-clks.h header and can be used in device 43 include/dt-bindings/reset-controller/stm32mp1-resets.h [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ti/ |
H A D | dra7-atl.txt | 7 signals - can compensate the drift between the two ws signal. 12 Clock tree binding: 13 This binding uses the common clock binding[1]. 14 To be able to integrate the ATL clocks with DT clock tree. 16 Since the clock instances are part of a single IP this binding is used as a node 17 for the DT clock tree, the IP driver is needed to handle the actual configuration 20 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 23 - compatible : shall be "ti,dra7-atl-clock" 24 - #clock-cells : from common clock binding; shall be set to 0. 25 - clocks : link phandles to functional clock of ATL [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/reset/ |
H A D | reset.txt | 3 This binding is intended to represent the hardware reset signals present 10 reset consumer (the module being reset, or a module managing when a sub- 11 ordinate module is reset). This binding exists to represent the provider and 15 specifier - a list of DT cells that represents the reset signal within the 17 are dictated by the binding of the reset provider, although common schemes 23 the DT node of each affected HW block, since if activated, an unrelated block 24 may be reset. Instead, reset signals should be represented in the DT node 27 block node for dedicated reset signals. The intent of this binding is to give 35 #reset-cells: Number of cells in a reset specifier; Typically 0 for nodes 41 rst: reset-controller { [all …]
|
H A D | snps,hsdk-reset.txt | 1 Binding for the Synopsys HSDK reset controller 3 This binding uses the common reset binding[1]. 8 - compatible: should be "snps,hsdk-reset". 9 - reg: should always contain 2 pairs address - length: first for reset 12 - #reset-cells: from common reset binding; Should always be set to 1. 16 compatible = "snps,hsdk-reset"; 17 #reset-cells = <1>; 28 The index could be found in <dt-bindings/reset/snps,hsdk-reset.h>
|
/freebsd/sys/contrib/device-tree/Bindings/arm/freescale/ |
H A D | fsl,scu.txt | 2 -------------------------------------------------------------------- 4 The System Controller Firmware (SCFW) is a low-level system function 5 which runs on a dedicated Cortex-M core to provide power, clock, and 9 The AP communicates with the SC using a multi-ported MU module found 22 ------------------- 23 - compatible: should be "fsl,imx-scu". 24 - mbox-names: should include "tx0", "tx1", "tx2", "tx3", 27 - mboxes: List of phandle of 4 MU channels for tx, 4 MU channels for 51 for detailed mailbox binding. 63 Client nodes are maintained as children of the relevant IMX-SCU device node. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/gpio/ |
H A D | nvidia,tegra186-gpio.txt | 4 controller. This binding document applies to both controllers. The register 42 extremely non-linear. The header file <dt-bindings/gpio/tegra186-gpio.h> 43 describes the port-level mapping. In that file, the naming convention for ports 45 sorted within a particular controller. Drivers need to map between the DT GPIO 52 both the overall controller HW module and the sets-of-ports as "controllers". 56 interrupt signals generated by a set-of-ports. The intent is for each generated 59 per-port-set signals is reported via a separate register. Thus, a driver needs 60 to know which status register to observe. This binding currently defines no 62 GPIO_${port}_INTERRUPT_STATUS_G1_0. Future revisions to the binding could 66 - compatible [all …]
|
H A D | gpio.txt | 5 ----------------- 7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 8 of this GPIO for the device. While a non-existent <name> is considered valid 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 21 binding of the device. 24 and bit-banged data signals: 27 gpio-controller; 28 #gpio-cells = <2>; 32 data-gpios = <&gpio1 12 0>, 43 documented in the device tree binding for the device, but it is strongly [all …]
|
H A D | nvidia,tegra186-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/nvidia,tegra186-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 controller. This binding document applies to both controllers. The register 53 controller, are both extremely non-linear. The header file 54 <dt-bindings/gpio/tegra186-gpio.h> describes the port-level mapping. In 57 particular controller. Drivers need to map between the DT GPIO IDs and HW [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | max77620_thermal.txt | 10 ------------------- 11 #thermal-sensor-cells: For more details, please refer to 12 <devicetree/bindings/thermal/thermal-sensor.yaml> 15 For more details, please refer generic thermal DT binding document 18 Please refer <devicetree/bindings/mfd/max77620.txt> for mfd DT binding 22 -------- 23 #include <dt-bindings/mfd/max77620.h> 24 #include <dt-bindings/thermal/thermal.h> 31 #thermal-sensor-cells = <0>; 36 cool_dev: cool-dev { [all …]
|
H A D | thermal.txt | 3 This file describes a generic binding to provide a way of 7 binding descriptors. 15 - thermal sensors: devices which may be used to take temperature 17 - cooling devices: devices which may be used to dissipate heat. 18 - trip points: describe key temperatures at which cooling is recommended. The 20 - cooling maps: used to describe links between trip points and cooling devices; 21 - thermal zones: used to describe thermal data within the hardware; 33 - #thermal-sensor-cells: Used to provide sensor device specific information 38 the IC. See thermal zone binding for more details 58 should be defined in a particular device's binding. [all …]
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | dbinfo.c | 43 const krb5_config_binding *binding; member 67 di->label = strdup(label); in get_dbinfo() 68 di->dbname = strdup(p); in get_dbinfo() 72 di->realm = strdup(p); in get_dbinfo() 75 di->mkey_file = strdup(p); in get_dbinfo() 78 di->acl_file = strdup(p); in get_dbinfo() 81 di->log_file = strdup(p); in get_dbinfo() 83 di->binding = db_binding; in get_dbinfo() 94 struct hdb_dbinfo *di, **dt, *databases; in hdb_get_dbinfo() local 96 const char *default_mkey = HDB_DB_DIR "/m-key"; in hdb_get_dbinfo() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | max77620.txt | 4 ------------------- 5 - compatible: Must be one of 9 - reg: I2C device address. 12 ------------------- 13 - interrupts: The interrupt on the parent the controller is 15 - interrupt-controller: Marks the device node as an interrupt controller. 16 - #interrupt-cells: is <2> and their usage is compliant to the 2 cells 17 variant of <../interrupt-controller/interrupts.txt> 19 are defined at dt-bindings/mfd/max77620.h. 21 - system-power-controller: Indicates that this PMIC is controlling the [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pwm/ |
H A D | nvidia,tegra20-pwm.txt | 4 - compatible: Must be: 5 - "nvidia,tegra20-pwm": for Tegra20 6 - "nvidia,tegra30-pwm", "nvidia,tegra20-pwm": for Tegra30 7 - "nvidia,tegra114-pwm", "nvidia,tegra20-pwm": for Tegra114 8 - "nvidia,tegra124-pwm", "nvidia,tegra20-pwm": for Tegra124 9 - "nvidia,tegra132-pwm", "nvidia,tegra20-pwm": for Tegra132 10 - "nvidia,tegra210-pwm", "nvidia,tegra20-pwm": for Tegra210 11 - "nvidia,tegra186-pwm": for Tegra186 12 - "nvidia,tegra194-pwm": for Tegra194 13 - reg: physical base address and length of the controller's registers [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | mediatek,mt8192-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8192-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8192-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 23 Number of cells in GPIO specifier. Since the generic GPIO binding is used, 25 binding representation for description of particular cells. [all …]
|
H A D | pinctrl-mt8192.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-mt8192.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 17 const: mediatek,mt8192-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 23 Number of cells in GPIO specifier. Since the generic GPIO binding is used, 25 mentioned gpio binding representation for description of particular cells. [all …]
|