Spreadtrum hardware spinlock
Schema identifier ($id): "http://devicetree.org/schemas/hwlock/sprd,hwspinlock-r3p0.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sprd,hwspinlock-r3p0"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "enable"
#hwlock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#hwlock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sprd,sc9860-clk.h>
hwlock@40500000 {
compatible = "sprd,hwspinlock-r3p0";
reg = <0x40500000 0x1000>;
clocks = <&aon_gate CLK_SPLK_EB>;
clock-names = "enable";
#hwlock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause