From patchwork Tue Nov 13 09:51:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 10680147 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5A351747 for ; Tue, 13 Nov 2018 09:52:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4DFC2A07E for ; Tue, 13 Nov 2018 09:52:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98B3D2A17E; Tue, 13 Nov 2018 09:52:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 31AB12A07E for ; Tue, 13 Nov 2018 09:52:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=L/dSxFfZWgxgelEG62LwkzWjycndsADNf/WVriDdjXo=; b=l9s FtrbrTtYxqU46s9Xy3oNERqPMwpCsobNRgsjHyjMYxt2zjYFOP1WarzhqPVeycnRRglvZqSzjnfNz ZpK83FGD+okBoNCCnA5Jfkzp+4g9KfQlcFNn7GvwYg8GAMDNkSSING2z7T++heGuNP8GSirEn44Jf IpPb9UKSlOEDJTUnKOgVx9cM8mrp6+2MAjeBObnzYNkvKhILfcsP+HXexgMg/CXrDXCURN/jSFoGd A1vsskA0lgTKkrLlwfhxtCBInfqJxDqflMC7tOiVnOjicTpd02iSGqdnvSc3bII2kVxD8rlUxguyp aFuEvYbCWfv2KbMMIbBHpuUZ8m4ATCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMVN2-0002HY-7l; Tue, 13 Nov 2018 09:52:32 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMVMd-0001or-Nq for linux-arm-kernel@lists.infradead.org; Tue, 13 Nov 2018 09:52:13 +0000 Received: by mail-wr1-x42f.google.com with SMTP id z13-v6so12531495wrs.3 for ; Tue, 13 Nov 2018 01:51:56 -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; bh=j3IWhqTdCei0mMsvFYCXlQcZEgy5UWilcxCSoGPiDas=; b=ZXjkE/5cyyG9DtNGqtvwvsNjSv96aDnSN/OVXnHtwIGFbBDsvVCA1F6QC3LhMcdZd6 2aZ0TXGK0uDxEJkhWh5yBX69xAR8LAw2YhWxJBAypBWgbzR9Ftu9h7DjpVNFIMD+T8/e rmttRAQYe9CZww7DTLesOuUyTz3y87mWxkr5Y= 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; bh=j3IWhqTdCei0mMsvFYCXlQcZEgy5UWilcxCSoGPiDas=; b=gkkQWhGrcoUDIzRWnfsQfs3h9lHCBQ3xmOGdFoAjBD8Dw5xKw5pA4joG43VMbkp+9Y YjV3vexh+bvDmWItb1h2i21mpGXFXIr3hTlnt+56o8UMtKvunKZSuV5Ow7MtBuv18hh7 go0Vk2UqrcYfHwOyEr3vxnMZXRmSGDQcD/5G0jCszo5mjfYTfrkfIHcY77UGrqhvv6uu cKzyVGbPrfaqdCtv3hdxBeUfWzzmF5o8Vynujd+JFWMYy4Ox8IrOcb5M/xMp9qFAeS+b bZx75asRQOEJLTFTX7lppPIr/7Fvssw9jS8PHJEJExrDmar/LEUJQjVXY9iK4y3Db9nB H4JA== X-Gm-Message-State: AGRZ1gI4xtfLYRePT4YYGRA6snxx6Wto4cS4klowIHq+Iws2BzghBXdk tp7t7U12XvxtIAA6x5lBHl8icQ== X-Google-Smtp-Source: AJdET5cwcdAgVV7Jhq5zTxRLS+FVbTzhwXoOKwqZIUZJj+niOpbsv7ulUfIa1ryCFzGsuv1SxRxRBw== X-Received: by 2002:a05:6000:d2:: with SMTP id q18mr4146853wrx.302.1542102715450; Tue, 13 Nov 2018 01:51:55 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:1088:2b4c:8cab:bca7:b2f2:d2bb]) by smtp.gmail.com with ESMTPSA id d4sm6044279wrp.89.2018.11.13.01.51.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Nov 2018 01:51:54 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: linus.walleij@linaro.org, robh+dt@kernel.org, alexandre.torgue@st.com Subject: [PATCH 0/3] make pin-controller use hwspinlock Date: Tue, 13 Nov 2018 10:51:39 +0100 Message-Id: <20181113095142.32015-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181113_015207_775933_DB1E37C4 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Benjamin Gaignard , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series allow to protect pin controller configuration registers with a hwspinlock to avoid conflicting accesses between processors. Benjamin Gaignard (3): dt-bindings: pinctrl: stm32: Document hwlocks properties pinctrl: stm32: protect configuration registers with a hwspinlock ARM: dts: stm32: Add hwlock for pinctrl .../bindings/pinctrl/st,stm32-pinctrl.txt | 1 + arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 1 + drivers/pinctrl/stm32/pinctrl-stm32.c | 71 +++++++++++++++++++++- 3 files changed, 72 insertions(+), 1 deletion(-)