From patchwork Mon Dec 2 22:05:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11269969 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AAEB0921 for ; Mon, 2 Dec 2019 22:05:53 +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 8906020722 for ; Mon, 2 Dec 2019 22:05:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NgBkTR0K" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8906020722 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=KrUitLbmCpQ3no41+d35LloJxYxqIbp4gBt0LniUGcg=; b=NgBkTR0KNA4vIn XDBPzZ0r7FhTy8tNT2h1QNJGBoFKADZ8R64QDDLUzHmaIMCsk/a6abapQgNokmNHmDT2YPYRFDrb+ TimIYanZrXG0X9iOgj4tNMs9QJS3EeCdnuQyapzWMHhXH6eJaqAJEhkpZJj28nZGkDoJXI42o+8T+ +I4RZsLk+VmOHL3U6kFGiPJTbE6fx3n0iN15IfS2a88KNTzWMHMPIKA9eP7Zc/57q5mAo9+JvGgpg EcELMKtyXZa4MlCLbb0heIupAyVtC02W9S9iwMsCYNFdkW/Df72ugOVlVcCvgWQG6WjG+YaulnFlh ujwX1jmXT7le5VNZCnIw==; 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 1ibtpG-0007vn-Gy; Mon, 02 Dec 2019 22:05:50 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ibtpC-0007tV-NA; Mon, 02 Dec 2019 22:05:48 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3C093B2EC; Mon, 2 Dec 2019 22:05:45 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [RFC 1/5] dt-bindings: hwlock: Add Realtek RTD1195 SB2 Date: Mon, 2 Dec 2019 23:05:31 +0100 Message-Id: <20191202220535.6208-2-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191202220535.6208-1-afaerber@suse.de> References: <20191202220535.6208-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191202_140546_912626_2BE5D3AD X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Ohad Ben-Cohen , Mark Rutland , Cheng-Yu Lee , devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Define a binding for Realtek RTD1195 SoC's SB2 hardware semaphore. Signed-off-by: Andreas Färber Reviewed-by: Rob Herring --- .../bindings/hwlock/realtek,rtd1195-sb2-sem.yaml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwlock/realtek,rtd1195-sb2-sem.yaml diff --git a/Documentation/devicetree/bindings/hwlock/realtek,rtd1195-sb2-sem.yaml b/Documentation/devicetree/bindings/hwlock/realtek,rtd1195-sb2-sem.yaml new file mode 100644 index 000000000000..8035af02c667 --- /dev/null +++ b/Documentation/devicetree/bindings/hwlock/realtek,rtd1195-sb2-sem.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwlock/realtek,rtd1195-sb2-sem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTD1195 SB2 hardware semaphore device tree binding + +maintainers: + - Andreas Färber + +properties: + compatible: + const: realtek,rtd1195-sb2-sem + + reg: + maxItems: 1 + + "#hwlock-cells": + enum: [ 0, 1 ] + +required: + - compatible + - reg + - "#hwlock-cells" + +additionalProperties: false + +examples: + - | + hwspinlock@9801a000 { + compatible = "realtek,rtd1195-sb2-sem"; + reg = <0x9801a000 0x4>; + #hwlock-cells = <0>; + }; + - | + hwspinlock@9801a620 { + compatible = "realtek,rtd1195-sb2-sem"; + reg = <0x9801a620 0x20>; + #hwlock-cells = <1>; + }; +...