From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AE59C352A3 for ; Tue, 11 Feb 2020 12:26:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5003720714 for ; Tue, 11 Feb 2020 12:26:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="THugWHeq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5003720714 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=eBHizjeYDDpw9uIp6DRa72iv0oLFNFzaOZ2J4PTKmus=; b=THugWHeqpibX5MNk9rULVAYbBp Z/mrGYZyGGgNo8no9ItaXIem+oi+d3XENCY+bZLcDZeOZ3PAiN2NuqjhfzPAmgDcPTxtqv8FZaLP4 C9ifWFSVDwIaWuNeRF4xlknqeUANaZ7yYpG0QygPTAOcFfUVMDwq7td42CiCEOqna5L5eyXnUI3vQ 9O8HvOKDqFD3beyXfK6qs8aSpvAa1n63ARhUEnrv/EqFnt9uKl8bzioBoa3q5V4nuliswAFg5pF+6 ShUlrNmWHaz4JDIH2Qxdr1F1/vh7C+65jwTe3AbEbjLNHCd/i6v5c6iNsrP2zwWEQdn/E5HjQoDhC Q+jCblJA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j1Ucl-0003bK-I7; Tue, 11 Feb 2020 12:26:43 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j1Ucb-0003SU-DN for linux-arm-kernel@lists.infradead.org; Tue, 11 Feb 2020 12:26:35 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C1CB6B0B7; Tue, 11 Feb 2020 12:26:31 +0000 (UTC) From: Nikolay Borisov To: mripard@kernel.org, bjorn.andersson@linaro.org Subject: [PATCH v2 3/3] dt-bindings: hwlock: Document A64 hwspinlock bindings Date: Tue, 11 Feb 2020 14:26:24 +0200 Message-Id: <20200211122624.16484-4-nborisov@suse.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200211122624.16484-1-nborisov@suse.com> References: <20200211122624.16484-1-nborisov@suse.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200211_042633_603843_AA39B97E X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nikolay Borisov , devicetree@vger.kernel.org, wens@csie.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding for the hwspinlock found on Allwinner A64 SoC. Signed-off-by: Nikolay Borisov --- .../allwinner,sun50i-a64-hwspinlock.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwlock/allwinner,sun50i-a64-hwspinlock.yaml diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun50i-a64-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun50i-a64-hwspinlock.yaml new file mode 100644 index 000000000000..46bfff2541d6 --- /dev/null +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun50i-a64-hwspinlock.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwlock/allwinner,sun50i-a64-hwspinlock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A64 SoC Hardware Spinlock bindings + +maintainers: + - Nikolay Borisov + +properties: + "#hwlock-cells": + const: 1 + + compatible: + const: allwinner,sun50i-a64-hwspinlock + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - "#hwlock-cells" + - compatible + - reg + - clocks + - resets + +additionalProperties: false + +examples: + - | + hwspinlock@1c18000 { + compatible = "allwinner,sun50i-a64-hwspinlock"; + #hwlock-cells = <1>; + reg = <0x01c18000 0x1000>; + clocks = <&ccu CLK_BUS_SPINLOCK>; + resets = <&ccu RST_BUS_SPINLOCK>; + }; + +... -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel