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: 150948 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4193098ljp; Tue, 13 Nov 2018 01:51:58 -0800 (PST) X-Google-Smtp-Source: AJdET5cdgVLCX72/N80oAHYGa9BBc54xMyGitWfP/xqHrOjDkBFO86YgCZBQXXLtmsWAiUdqLYzs X-Received: by 2002:a17:902:59c8:: with SMTP id d8mr4396228plj.116.1542102717904; Tue, 13 Nov 2018 01:51:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542102717; cv=none; d=google.com; s=arc-20160816; b=PgDM4O3cS1Rj9cVf+9AWcS4qi0F0oWoQMNQ3IPqbXJYewiS1h4/ynDNgIvVh8sZwmY IyxAccvOY2NIFXVZIWvo8/8oiIIVfCYV8Ue3ao2Knhgilx+3UgT1F1FpiizaxYpblRC1 RdD6pLYzQ8lP3fhsaecMMpE4btPuNZmGRNMmUSzUITukYifW7zYOMbwwngRMJ7a91eI6 GrM00++yLqwJ6OVRdEA7LM0y+rxHkrc5E7rZsZg0soXo+lilb9i61IqkAEPccw88X8MT lrJ3N/8g7L8/T7gaO8ng6c95MZO8qBiG+yZpOS1CHpWjxZa1zxHONmO8NGNwndklpo2I /4GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=j3IWhqTdCei0mMsvFYCXlQcZEgy5UWilcxCSoGPiDas=; b=GXgUtFewEYvzz7MI1OUk6qwcpAnHciHdPb97WpSmYuWFSa5H5H3a2P7rBnAeNPgbHY gvooIzkMw/curJPjz151R6cBGQSOshuubhsQo8AbVNsUDKBrYxfh6ap/S1aP6TwYY/PO 3M0aCZ2hLf53ZkdhvrPxt+UDZ9dYSo1N9awCfPDyWOwT/Tq+9NjDmEIDMXpdfw/qy4YE B678eOZ+XOv5KgR6AGSSiYj0r9M05RPRN7UD3rcb48GLk66KtHIKe67paVn2doHCVOyU d6JLJIGOU58ECvWFLAFblYrQqgYqv3LDf8KVIgy4X8LqCJBm14gdXjwUA1Yi2kZe7wkX iaaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZXjkE/5c"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 i13-v6si19285912pgo.128.2018.11.13.01.51.57; Tue, 13 Nov 2018 01:51:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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="ZXjkE/5c"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1731634AbeKMTtP (ORCPT + 6 others); Tue, 13 Nov 2018 14:49:15 -0500 Received: from mail-wr1-f43.google.com ([209.85.221.43]:39460 "EHLO mail-wr1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731528AbeKMTtO (ORCPT ); Tue, 13 Nov 2018 14:49:14 -0500 Received: by mail-wr1-f43.google.com with SMTP id b13so12494891wrx.6 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=JItijV07uNrC01i+7MHxkgAYz2hiBC2Ih7+7KgPJ2V/R0DF8KnB49VDrMP+4dtGXUL ff7/JqIdgLjWHh1sdR1r6MHk+lpToDFP3icEJyxWwTw8MsasRP9mvMZjGwJzVC8ztxbm dq/NTHTipm+Eitzf8MnPUbUqMOQhL0icOCMTrExq1mNPpznKbx0BQwpajYtAxIy6whD4 gJFWTU+nqWONLPPdVDKAVfMRRGb5YdLJuZfAvYFJdzsZ02tgnICUQhOPpkoIIoz9BPC8 dThGXU0VC6DxzHmbnTqDRIXb95eRZ4pTOHEryMelMpOmS2he6a3ywHro+o4xgHxJ2qk/ l94g== X-Gm-Message-State: AGRZ1gLPifhe7OW+2v5B30YyAYZjO7j8paqaLhGv6fXHJmQ+W69US6K9 Z5A/Jkt/xajB5XOr8j0K+CTe2Q== 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 Cc: linux-gpio@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 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.15.0