Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp256808imu; Thu, 8 Nov 2018 01:07:34 -0800 (PST) X-Google-Smtp-Source: AJdET5flQb1Cc6ZNXi2mUQMv/4aMILpyU1q4pSocxvmiTG9hJQAzgc9U7O/WZcxnbONRhlPMgzjx X-Received: by 2002:a63:d547:: with SMTP id v7mr3073260pgi.339.1541668054341; Thu, 08 Nov 2018 01:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541668054; cv=none; d=google.com; s=arc-20160816; b=OySOTO4OVx053cA5udYCjn/q0meVLfXUoXoJyA0t4UZaFNLrM/U5hmlTgMEyazQLtT Y2+SiBIOyHKtYkwLy1+vfmtz+l7EwSWQGgcLe1vZglXpD85hL1SQlM/z26YSHW/NO5nU GU9y8xA3s/FpXcWLijHfNt0OCLBh8Efz7l9vJO2z0PvYRRHuWL1jzuibJoWsdCYQZIsP ffed3m+YP7IjquGG7LHFNhmJ+AcLnKhGNuI82ppzxCYr4JYR9nHYOio0mYPYO5PxIUlP QEBxiKbFe8r/osoCOrgdQyjkuHVJAtn+VKDdjHqYWeV/J5F7Bi3B7eApFjc6ea4SPmIC moGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=jRCk5lNBlPCD7GwKBzaRehaZeMJbLJXp2+/KqxIsFvY=; b=SNuNktD2vvMbVldDY/cMNGSoywdt/3VlGX/ruxY/P7LfnhnscM2hsKIOlvM/3ppirM SgMzoqwuHYW4+GiretSyy8h4D+G/Z7xACpGT91c4AT6scWpJURu2xdak6LRbiDEizZ45 JfD4dWPxs9hKKQijHMex3QFoEYELyHrEaRXCVoQ7NgCIHahOtcOfZmJKwoA8Dk6vgrx0 uFYTL+uHFPEz3qMz4jQ7OIxxgBoOc9CusLTmCkM0drGavxTy9nlqCXAxs+pz5PXi7ZWd jxQ33MsM+tqfO5z5+/ssj6NH2hkTuaOuJACQD4Jc4uK3j64ayoRTgvA6Fdm0vmoNuiWX BjTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PRCeYAKI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si3903403plk.407.2018.11.08.01.07.19; Thu, 08 Nov 2018 01:07:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PRCeYAKI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726862AbeKHSju (ORCPT + 99 others); Thu, 8 Nov 2018 13:39:50 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53023 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726649AbeKHSjs (ORCPT ); Thu, 8 Nov 2018 13:39:48 -0500 Received: by mail-wm1-f68.google.com with SMTP id r11-v6so446392wmb.2 for ; Thu, 08 Nov 2018 01:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jRCk5lNBlPCD7GwKBzaRehaZeMJbLJXp2+/KqxIsFvY=; b=PRCeYAKI1JDWmpfIB+fVwGmz1XhZopfERjhSMfAfj3b0fJndvCuqDwWV6yzY1OtbFK 0W//QSrqpdNuwU+HsEqHP9pCgjJsWcXAJay1v5nz294M2/jrG/HVUvpKpy0mHF2fRCeq M0S3gqspgYb9Z1kMebrHkdqa0KPLAVfu6Vbzg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jRCk5lNBlPCD7GwKBzaRehaZeMJbLJXp2+/KqxIsFvY=; b=gGS4/nFgOA7jT8RZj4sV74dMcC9JzOXFvLlSxj+A93GqKeJ+mulys1ILiIumdlABEW lAXueP0VvETjBcaPY4jXEW3mQC6Mbcte8YWs7mxDv/SsSHM35KZNRTNzdl725RhJl3VZ v2gykjW/EOjg2NCNs6+PepzewMXVWNMS1nmjnAoidBXHI7qgYbIKYSw/ow/IJM05egAA Rmj27iB3v+HwvZK5fAX7bU1a+Mm+VuFXqDE/754Txg56rUXCCJ2GGvQDEfLzvp6SSmKP BN784byiedW7Sfg0our1j4+tY/9qvWHyWq8Oa0y1OVoYDLRvs+JbAtoSAgBcEM+2HhJr WoEw== X-Gm-Message-State: AGRZ1gIl5LXa9o3N4J4utqc79p+mTf2iMlJZtZcmYWJ3U/Dq/KVeBwOx YRa3M7A9QkeXwaWlqTd5qlIQsA== X-Received: by 2002:a1c:b4c1:: with SMTP id d184-v6mr412831wmf.143.1541667916129; Thu, 08 Nov 2018 01:05:16 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:1094:149:440c:9368:8cda:a020]) by smtp.gmail.com with ESMTPSA id l140-v6sm6974469wmb.24.2018.11.08.01.05.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 01:05:15 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: ohad@wizery.com, bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, alexandre.torgue@st.com Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Benjamin Gaignard Subject: [PATCH v2 1/4] dt-bindings: hwlock: Document STM32 hwspinlock bindings Date: Thu, 8 Nov 2018 10:04:59 +0100 Message-Id: <20181108090502.14543-2-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20181108090502.14543-1-benjamin.gaignard@st.com> References: <20181108090502.14543-1-benjamin.gaignard@st.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for STM32 hardware spinlock device Signed-off-by: Benjamin Gaignard --- version 2 : - change clock name from hwspinlock to hsem to be align with hardware documentation .../bindings/hwlock/st,stm32-hwspinlock.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt diff --git a/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt new file mode 100644 index 000000000000..6e933b218574 --- /dev/null +++ b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt @@ -0,0 +1,23 @@ +STM32 Hardware Spinlock Device Binding +------------------------------------- + +Required properties : +- compatible : should be "st,stm32-hwspinlock". +- reg : the register address of hwspinlock. +- #hwlock-cells : hwlock users only use the hwlock id to represent a specific + hwlock, so the number of cells should be <1> here. +- clock-names : Must contain "hwspinlock". +- clocks : Must contain a phandle entry for the clock in clock-names, see the + common clock bindings. + +Please look at the generic hwlock binding for usage information for consumers, +"Documentation/devicetree/bindings/hwlock/hwlock.txt" + +Example of hwlock provider: + hwspinlock@4c000000 { + compatible = "st,stm32-hwspinlock"; + #hwlock-cells = <1>; + reg = <0x4c000000 0x400>; + clocks = <&rcc HSEM>; + clock-names = "hsem"; + }; -- 2.15.0