Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6684319imu; Mon, 3 Dec 2018 00:48:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wy/DJnaSo/FUjmUWaJsqcT4Q1zsWd0RF92SDEufF+zdmmUsefN+S/cPCqVV2uvNz7u+ETP X-Received: by 2002:a62:3241:: with SMTP id y62mr14998246pfy.178.1543826912023; Mon, 03 Dec 2018 00:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543826911; cv=none; d=google.com; s=arc-20160816; b=0JKPfefyxjq2+/nXtn2HtXnd1jGdc+e7l91LEVgiMZFYFROoE5YqgWqEF/vb+ie+Kq CJZ+ofmvE4JIznEgN3QYGI1CyiJz32lNSSu2QFWlAhg5auyCjfMQd12Kv3pPIEXq1S7k WAdm4XuHtuifcULlrAGIZMorbYP5eR6XNFXzfaLqUdKkDTVpCnEmgzzCIE0/DoBdhR4f RaSNbb30cpCtrxoDBSSleLQ16kVA9FrK6JGKYA3J53Vn4HcIEWJV3r/4NnK3h80OBx3q QBZJbKqGJL84phZEwk149iRA5al3K/pxQMyY4mfbCG3X3xvDlZIkuJoz9NHtWRhtQJ3l nDPg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UDaJ/e8v/0771oHNva5inQAsUAke/SlAvm+bzfenJ3Y=; b=0IpqcjOzhPKaHHfKZw8/BXjVPJKQhtEdn/bItbcFcwIbhOpWLKPNzvDw6ABvI5W1CO 4qbC2SoVz+FnSpFFR0kRfRaWctUTL/tFVOnW/nhlFR/vSBTZngsnJezy/FC/5FNezbRM r3Q6a3BQIuCW3PqIThz56DfpBO7ZWFN07J1ifQFOGV310BfbT671/Qef/S1LlCu9fRwN qyf5vutYmRsq3UiO1/+SlrtlGGl3upE2JT5din0gwXrznevQeUO5G4eDK1Ui88D2n8ak onScDu3r/gL9wGQbfni88+7nXgr6bvHp6G5PgxVj/l2LUuMo7Q7iZUgJinUARJacZgX+ FnAw== 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 h188si14038856pfg.44.2018.12.03.00.48.16; Mon, 03 Dec 2018 00:48:31 -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; 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 S1725999AbeLCIqf (ORCPT + 99 others); Mon, 3 Dec 2018 03:46:35 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:27710 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725870AbeLCIqe (ORCPT ); Mon, 3 Dec 2018 03:46:34 -0500 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 wB38fMVq009068; Mon, 3 Dec 2018 09:46:07 +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 2p3u7v8kad-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 03 Dec 2018 09:46:07 +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 E5A3734; Mon, 3 Dec 2018 08:46:05 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 860FEFCC; Mon, 3 Dec 2018 08:46:05 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.47) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 3 Dec 2018 09:46:04 +0100 Subject: Re: [PATCH v3 0/4] Add support of STM32 hwspinlock To: Benjamin Gaignard , , , , CC: , Benjamin Gaignard , , , , References: <20181112152342.6561-1-benjamin.gaignard@st.com> From: Alexandre Torgue Message-ID: <5c137862-e8fa-abb4-d931-f5c63db50649@st.com> Date: Mon, 3 Dec 2018 09:46:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181112152342.6561-1-benjamin.gaignard@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-12-03_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Benjamin, On 11/12/18 4:23 PM, Benjamin Gaignard wrote: > This serie adds the support of the hardware semaphore block for stm32mp1 SoC. > > version 3: > - fix clock name in properties description. > - use postcore_initcall() instead of module_platform_driver() > > version 2: > - fix comments done by Bjorn about clock naming, license terms in header, > alphabetic ordering in Makefile and Kconfig and remove function > - Do not push test module in this version while waiting for feedbacks about it > > > Benjamin Gaignard (4): > dt-bindings: hwlock: Document STM32 hwspinlock bindings > hwspinlock: add STM32 hwspinlock device > ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC > ARM: dts: stm32: enable hwspinlock on stm32mp157c-ed1 > > .../bindings/hwlock/st,stm32-hwspinlock.txt | 23 +++ > arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 + > arch/arm/boot/dts/stm32mp157c.dtsi | 9 ++ > drivers/hwspinlock/Kconfig | 9 ++ > drivers/hwspinlock/Makefile | 1 + > drivers/hwspinlock/stm32_hwspinlock.c | 156 +++++++++++++++++++++ > 6 files changed, 202 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt > create mode 100644 drivers/hwspinlock/stm32_hwspinlock.c > There is a (strong) dependency between pinctrl and hsem. As our pin controller is enabled by default, it's better to enable also your hwspinlock device by default. It will avoid pin controller probe defer and a no stable behavior. So, I gonna remove DT patches from stm32-next. Those Dt patches will not be included in my 4.20 pull-request. regards Alex