Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1589433yba; Thu, 25 Apr 2019 02:18:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVmQo201jrDTla3b5zXlRtk4N0M3UPqGzLvRf4KGYYK3rZs4XSfKtf8Smukpp716EPfrqL X-Received: by 2002:a65:648c:: with SMTP id e12mr35947671pgv.346.1556183939578; Thu, 25 Apr 2019 02:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556183939; cv=none; d=google.com; s=arc-20160816; b=Onjz+Wd1PQo1hteR+H0vFIqlh71fMXavprqXfSBw/Yv37+WiLjslDiW7F/kKU9yVSJ U6MQCmH6xB/CL8A8xawD9/kv0nJpegFe+uuLfqiemH272SW3c/y9q2bryx2dEhaWck1U 5TT+MmZQDSKXyPITPCjPAvc9Kfzf7kjEeMyrhcqqeOJW7h8iOvuQqjuHrCSZRcW5P9am n7tS5DSfXVN+Qw+LQFlBcm7ksmnv/B5e9BjvYamTjYZY53uyh0lvgA4xxuCdqEXqMgvd y5B02vWR48eT4w8G8lK/eHmVg+A5RN3dFeMkUaPTEeSuOh74/j5LrW3min1uWgC6IBns rOQg== 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:dkim-signature; bh=TB3BkgmyReUhhLwwZP6E0LuWO4jA3RAmt5KETLnSFmk=; b=o8tqB++bW7L9BJwlS2L2BppRaaRT41Mu8g6At/HHSu2kwFYod/vZ6hz92QJ3UL0wGX dGpOpj/ThXT1CMg0oafZ2X24xkIPY03iAVnsgsXXLLOAeNxHlPIZBiGIHecku1RtL8pN 5I9TzUMuJ+hi614sTXIH3L+gHA5sQUPZ2Uz0JdS71JkDdk+glQS/CoEgCcq7okoh/5Uw mmFrEzxP0PjpCa081YDSJ4ZxSfdSYYGlcmLdeWKpV+Z41YVkiyylOn3ZfKDx3c8iQ18F 5WOvzQoR+QHjAyZIDqn9hM2S2kERTiSA+1qCoUb/iv0ekiZE7vv6I6IeY7uMHVjklTS8 Q/jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=erSsRncW; 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 d25si20225698pgb.229.2019.04.25.02.18.44; Thu, 25 Apr 2019 02:18:59 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=erSsRncW; 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 S1728168AbfDYJRv (ORCPT + 99 others); Thu, 25 Apr 2019 05:17:51 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:11406 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726887AbfDYJRu (ORCPT ); Thu, 25 Apr 2019 05:17:50 -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 x3P98EbV001148; Thu, 25 Apr 2019 11:17:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=TB3BkgmyReUhhLwwZP6E0LuWO4jA3RAmt5KETLnSFmk=; b=erSsRncWHfTfgt1hSBbJVJkg4qpjxVOYOW155egY+s/7bfch9x6ovQd99jhKgW32hzAp iOo04rFy+9NpvhSA9Bf/HKtFOxlYSA8oxTdfiL8j/uxo5sACisdBXQdSJ0p30mfZ6xTn D9EeRrmLENOkU5ioixzzmPYz2VR8+ds33mPOZsUKLDNKl4Hd+k3MZNdxfanzD0GxcgI5 2PO4ZJhyLNtwEsD8Smktfsyc7kGm6g9leXkczQgnbzNqBLYB/7mTMtZ/Nb5qJTJ/Mp0k rVx+HW3073yt3Vd3rTX3lc5HvKjjpxRAifn/qO7b66qn2Pk4g4EFysbtejs/sZi7K0wv BQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ryrj6cabb-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 25 Apr 2019 11:17:37 +0200 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 2B9B83A; Thu, 25 Apr 2019 09:17:37 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0B409161E; Thu, 25 Apr 2019 09:17:37 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by SAFEX1HUBCAS21.st.com (10.75.90.44) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 25 Apr 2019 11:17:36 +0200 Received: from localhost (10.201.23.25) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 25 Apr 2019 11:17:36 +0200 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 v2 6/6] ARM: dts: stm32: hwlocks for GPIO for stm32mp157 Date: Thu, 25 Apr 2019 11:17:23 +0200 Message-ID: <1556183843-28033-7-git-send-email-fabien.dessenne@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556183843-28033-1-git-send-email-fabien.dessenne@st.com> References: <1556183843-28033-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-04-25_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Declare a shared hwlock to be used by all gpio / pin controllers. Signed-off-by: Fabien Dessenne --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi index 6b3a9c6..9fd562a 100644 --- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi @@ -14,6 +14,7 @@ ranges = <0 0x50002000 0xa400>; interrupt-parent = <&exti>; st,syscfg = <&exti 0x60 0xff>; + hwlocks = <&hsem 0 1>; pins-are-numbered; gpioa: gpio@50002000 { @@ -424,6 +425,7 @@ pins-are-numbered; interrupt-parent = <&exti>; st,syscfg = <&exti 0x60 0xff>; + hwlocks = <&hsem 0 1>; gpioz: gpio@54004000 { gpio-controller; -- 2.7.4