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: 180651 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp610281ile; Mon, 2 Dec 2019 14:05:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyfAxPRnxgtQTd0qfOJn3EE8CKD0AUeV1uL3+L6Pq6837HO9FMFVD8mXmrq4SAKKSUG3w+G X-Received: by 2002:aa7:c2d3:: with SMTP id m19mr1609667edp.136.1575324348371; Mon, 02 Dec 2019 14:05:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575324348; cv=none; d=google.com; s=arc-20160816; b=s0iOPnUH4B4qilu3khqHHCNq/x64iPBS1g+pIiS91K7Au3cVok45Uvzk8tvDf2pUyF C+HtC/pRtzuHP5cCEcqxb2C9sRXb8JxSRouiDrS0f4z0Wp+Ivr7etIZi6JqvVq+xKEwU QkLjP/VkX5C59d3F52kdSRRgVaLWthk7Qz2Ld0xBrAoSoqhL0sI0YhfCW+DFatm3Bvbw QBWPavoSrt74yK0ysHumlxfk/YSwX+BfyUSF41Ei0Hm8MST1XIhZv9+w7ceoIrL2dVyy 2DAnHVHgHLd+VLnusRe82Ov3BO6BzjciwWYVR2Q1pPuA49CFTSB9iCMj93mZJGaDAhRY BEXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=a/84UTR1x0bb6NDM3o5H//uaOyCD3DK0ZxJpCknSRwM=; b=ug1RIhh9lICLX3l1bb12DljLRBqLd44QDfnDVYcMjorQ9HaWe70uDRTYAc1Z0ZI9+J VRRdRdLzfkpegQcvi8qpOrdU6NmFITNgr+r5Va0tyZbhJQK2dcfRnVCDOIzmyMxAE+Dg rPH2/yyMNR7myUtNO27xctcaQHZhWkp4AFQX7QGq6yxne97bXhFnWS/pP5TizTrSNnSF sHRl+F7U7CEyluDO+46iXJavkBSbxU8ySlvOJVOnLshf3J18Y5ppb3zbPPf76fHZX9hS Gr4fYc5EfiPKCLTV2QeK5IE9C+8x9m2z3Z3dCytikZsAXHZilQSYGIEW6hPMXzNx87N2 /X5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j19si625558ejv.428.2019.12.02.14.05.48; Mon, 02 Dec 2019 14:05:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726780AbfLBWFr (ORCPT + 8 others); Mon, 2 Dec 2019 17:05:47 -0500 Received: from mx2.suse.de ([195.135.220.15]:49118 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726443AbfLBWFr (ORCPT ); Mon, 2 Dec 2019 17:05:47 -0500 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 Cc: Cheng-Yu Lee , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Ohad Ben-Cohen , Bjorn Andersson , Rob Herring , Mark Rutland , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Define a binding for Realtek RTD1195 SoC's SB2 hardware semaphore. Signed-off-by: Andreas Färber --- .../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 -- 2.16.4 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>; + }; +...