TI HwSpinlock for OMAP and K3 based SoCs

Schema identifier ($id): "http://devicetree.org/schemas/hwlock/ti,omap-hwspinlock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Suman Anna <s-anna@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,omap4-hwspinlock", "ti,am64-hwspinlock", "ti,am654-hwspinlock"

reg — required here #

Maximum number of items (maxItems): 1

#hwlock-cells — required here #

Exact value (const): 1

The OMAP hwspinlock users will use a 0-indexed relative hwlock number as the argument specifier value for requesting a specific hwspinlock within a hwspinlock bank.

Please look at the generic hwlock binding for usage information for consumers, "Documentation/devicetree/bindings/hwlock/hwlock.txt"

Required in this object (required): "compatible", "reg", "#hwlock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

spinlock@4a0f6000 {
    compatible = "ti,omap4-hwspinlock";
    reg = <0x4a0f6000 0x1000>;
    #hwlock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 15: for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs

Line 16: for K3 AM64x SoCs

Line 17: for K3 AM65x, J721E and J7200 SoCs

Edit this page