Path: blob/master/Documentation/devicetree/bindings/hwlock/sprd,hwspinlock-r3p0.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/hwlock/sprd,hwspinlock-r3p0.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Spreadtrum hardware spinlock78maintainers:9- Orson Zhai <orsonzhai@gmail.com>10- Baolin Wang <baolin.wang7@gmail.com>11- Chunyan Zhang <zhang.lyra@gmail.com>1213properties:14compatible:15const: sprd,hwspinlock-r3p01617reg:18maxItems: 11920clocks:21maxItems: 12223clock-names:24const: enable2526'#hwlock-cells':27const: 12829required:30- compatible31- reg32- clocks33- clock-names34- '#hwlock-cells'3536additionalProperties: false3738examples:39- |40#include <dt-bindings/clock/sprd,sc9860-clk.h>4142hwlock@40500000 {43compatible = "sprd,hwspinlock-r3p0";44reg = <0x40500000 0x1000>;45clocks = <&aon_gate CLK_SPLK_EB>;46clock-names = "enable";47#hwlock-cells = <1>;48};49...505152