Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3101569imc; Wed, 13 Mar 2019 08:52:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzc0RN2gfe28YtOVOaTqJGS+AweyfBH4EDWkaRw00DfEcJj8aNu4VqQwFU7DXwXp03tr/Wo X-Received: by 2002:a63:e90f:: with SMTP id i15mr40849240pgh.430.1552492356757; Wed, 13 Mar 2019 08:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552492356; cv=none; d=google.com; s=arc-20160816; b=unPjeo5Jf0575bBfkVGc7Ars5foDexbPJvq+5wXbcQaVqV03X1qKTUOYvBWczO9tep Eh6rvGvqDSlIXTYyRhFfrVK8SQCGdmcBpnqqx+F/NIJztz+y3t/2AFeWsi1j4Eg9nQB/ W5luk3+C3r7XBTsvRLUeZ8KBho67n0bNdPvzhXQYnsmB9NHwka4yVFify8Mn/dZ8ZUUn NhzLi/O5AoW1sSvxLaibPm+TW5GFqgT3xdA1SaVUu5OBm1MJW+mJY0HQWXiQsE08lVXW +ySErz+e5JqXbUCcfdG6dBme/22jRYQ13e+4HoPiNtUWOvxx1ofwRZMYfckmV8dJE695 Kmsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Vt2mbPG14fBUcI//x3TQbnv5Ak3jOgoTjBJLyw7qSv8=; b=BKRiO8DuGhU/m0OowObh/GNovg0LIVcdKS35zATA01Y+XMU9UySgK+rKwGyA6XWSy7 whQ/Xj+p8j5LV1ngqbWC+7ZK64756CYX9K0XS1rcwi3gEhqaJ2uMegGGWXgyI1G87zj0 DNXnQVZvGoe9Y7vSNPwuC+8wS8zWq/zhFlnqhjDNAA2P1tL6zvhHjn627OwSy6lerQ70 Rm2GPN+IzLjixtl3aCkl/0WUXcavxDnwhRSwipQ1Va4uT9DYi33wYqM9KIBX3tQBadcg EwWsucatLbXDrHexj0epWQpnrvhxtrFQJD4LlTRZAz2E/YOIVeeeK1VTQ+3IK3W/1ANN Mg5g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si10668477pfn.155.2019.03.13.08.52.21; Wed, 13 Mar 2019 08:52:36 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726656AbfCMPvU (ORCPT + 99 others); Wed, 13 Mar 2019 11:51:20 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:18518 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726109AbfCMPvU (ORCPT ); Wed, 13 Mar 2019 11:51:20 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2DFk5F0027591; Wed, 13 Mar 2019 16:51:09 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2r71mb95a8-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 13 Mar 2019 16:51:09 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AB10531; Wed, 13 Mar 2019 15:51:08 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7A7E753EF; Wed, 13 Mar 2019 15:51:08 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.435.0; Wed, 13 Mar 2019 16:51:08 +0100 Received: from localhost (10.201.23.25) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 13 Mar 2019 16:51:08 +0100 From: Fabien Dessenne To: Ohad Ben-Cohen , Bjorn Andersson , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , Jonathan Corbet , , , , , , CC: Fabien Dessenne , Benjamin Gaignard Subject: [PATCH 3/6] dt-bindings: hwlock: update STM32 #hwlock-cells value Date: Wed, 13 Mar 2019 16:50:34 +0100 Message-ID: <1552492237-28810-4-git-send-email-fabien.dessenne@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552492237-28810-1-git-send-email-fabien.dessenne@st.com> References: <1552492237-28810-1-git-send-email-fabien.dessenne@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.23.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-13_09:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use a value of 2, so users can share hwlocks. Signed-off-by: Fabien Dessenne --- Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt index adf4f000..60a3716 100644 --- a/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt +++ b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt @@ -4,8 +4,8 @@ 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. +- #hwlock-cells : should be <2> so the hwlock users use the hwlock id to + represent a specific hwlock and define its shared / exclusive attribute. - clock-names : Must contain "hsem". - clocks : Must contain a phandle entry for the clock in clock-names, see the common clock bindings. @@ -16,7 +16,7 @@ Please look at the generic hwlock binding for usage information for consumers, Example of hwlock provider: hwspinlock@4c000000 { compatible = "st,stm32-hwspinlock"; - #hwlock-cells = <1>; + #hwlock-cells = <2>; reg = <0x4c000000 0x400>; clocks = <&rcc HSEM>; clock-names = "hsem"; -- 2.7.4