From patchwork Thu Nov 8 09:04:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 150483 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp582526ljp; Thu, 8 Nov 2018 01:05:17 -0800 (PST) X-Google-Smtp-Source: AJdET5dB32y1SJscTUy2adtCrSLczCAuXdg+aV73lmPLFHjiUPuL5KQ6eUVzh429tNVjI9YsfKCM X-Received: by 2002:a62:65c3:: with SMTP id z186-v6mr3813363pfb.206.1541667917542; Thu, 08 Nov 2018 01:05:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541667917; cv=none; d=google.com; s=arc-20160816; b=dYqrHATAG2zEBuc/xpfm84b41wJpwHTi6L5asN+bdRLK5Ey4/XoNWGoRVZFEPKMY3A l714z1OeySpSGzVW9bm3DZtTyOzyyAZUJZmB3JIiPiniTxlKiu5sfMOw//DM6Juc4u7f /0UG1xCZ2Qr7MPS3VjObxLw/v23JhGlcbDJzJovlqpt/fVzO16f1Bl2vceaGbi2xX4UN ls39CMNMlOIpiTOBrq0qPCqGMPf/mivgDLcdt5T7N+LnSMp5c1Swv/r9MRvtgam9BCVl URFpJmJJ9HAyloXLqgQNwiSktNyPh0RLlgZ9+RWaBxFU8+4Ct9rdfu719H/f/QhieVnX pmrQ== 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=ApR5+JTGZKCLP8UbiiJuNXIs+T0w8vUoXZmHnl/mYkY=; b=dCvdwCCclHlgyA9PuD26G7u4405tBBELtzKo71mORT0ff+WbCayzz3hZTkZhmC0DLN DN0JE6jJkPhEzVG2uPpL9QIh/6L7BjioLEMcWBWeTAaMB/PjWheLpfO0sHPEXNSPE+Ke OndXtCQBIyTod6C8crK+gXjAdE5L4JXr/tTE8RWa+nhzOn1EarXck38ltEuEEjpxv8Ir zcuH2lWQ6qmX1tip0wKu0EmIy7wOwDgJA5cMTfTcRd2pVyXnlPAdF9VoQszak3uzZd4u 9YU67/r2xE/RCICveK9aIPq3ML9wyx8S47n1H66JR660mnRaMyeGD4phMfi04TEUGTmS fPVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jd5DlcOR; 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 m3-v6si3652506pfm.118.2018.11.08.01.05.17; Thu, 08 Nov 2018 01:05:17 -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=Jd5DlcOR; 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 S1726145AbeKHSjq (ORCPT + 6 others); Thu, 8 Nov 2018 13:39:46 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44038 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbeKHSjq (ORCPT ); Thu, 8 Nov 2018 13:39:46 -0500 Received: by mail-wr1-f67.google.com with SMTP id j17-v6so15209816wrq.11 for ; Thu, 08 Nov 2018 01:05:15 -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=ApR5+JTGZKCLP8UbiiJuNXIs+T0w8vUoXZmHnl/mYkY=; b=Jd5DlcORZDb5WSsHgbdofSkjB4aF/Ka/q9HJztSgKWfIMi9bUfMJPC7VSQzZNKG3R2 bKDUx9I6Av8je/Dz0etejzxrmHw4Gjmqc0/0J608mc28tZo1j54Isn6uFIT9h+HdJDtB zVgVAmH2zLC2pWRcP1b0vvDBJQiUdsY/qdQF4= 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=ApR5+JTGZKCLP8UbiiJuNXIs+T0w8vUoXZmHnl/mYkY=; b=SqPqtnTGqswTfvpfQVvewX3ztQc/C0rnx6m1Kh3a+LXfi9/s7F21KJARvgiJufu3r0 rcH3SVfFS6ErVZxkNhjpj2mZfHtowwFmw4EAweBWTSHq6CI5Tl/5p6pdD7IZTy7l3/Bm RrjtJmETS79cKTqwm+qv5oODIJZH29bbUDv0y4GmFYT83pgp7LLrx2V5msC0f5K+qGYq lzJJNctdY4h5eYGXjPERXT2PWuyxLUd+fs9o2Aqh2KNNBq0VOfcaweZDzWmN0aHBSvpU cQKrir4gnpoIdlvuD0P7wGfOM1q29SCXUw1pN1fSNynTlRVCcC+ZQHIVPYY29DWzWE8z w8Yg== X-Gm-Message-State: AGRZ1gK7Jn7Yd3VzoLgGAnnK3Q3sCZSuZ/etkcQuQXix0wdeArm7MT2P N7Fjay2rHXqe0aWDebHTVYjV3w== X-Received: by 2002:adf:ea82:: with SMTP id s2-v6mr3104433wrm.180.1541667914514; Thu, 08 Nov 2018 01:05:14 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:1094:149:440c:9368:8cda:a020]) by smtp.gmail.com with ESMTPSA id l140-v6sm6974469wmb.24.2018.11.08.01.05.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 01:05:13 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: ohad@wizery.com, bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, alexandre.torgue@st.com Cc: linux-remoteproc@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 v2 0/4] Add support of STM32 hwspinlock Date: Thu, 8 Nov 2018 10:04:58 +0100 Message-Id: <20181108090502.14543-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 serie adds the support of the hardware semaphore block for stm32mp1 SoC. 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 | 144 +++++++++++++++++++++ 6 files changed, 190 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt create mode 100644 drivers/hwspinlock/stm32_hwspinlock.c -- 2.15.0