Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5819972imd; Wed, 31 Oct 2018 02:31:35 -0700 (PDT) X-Google-Smtp-Source: AJdET5cbELI9OyH//lj0jyRt7550Okpez/Wbb0bad79uEjQVJ6MpcTKGI9Z2gfPJErUC/hOue7R4 X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr2507045pld.59.1540978295398; Wed, 31 Oct 2018 02:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540978295; cv=none; d=google.com; s=arc-20160816; b=wNXbB5hGJ4iIoQHW5vlZgwSoKa1JSSJF8CYEH66OjgRHFhhExkoOwGjMJ6nql+vyUF nMSKb0gNVri2C9wdt88RPZQGPVhGs0XE2IH2N+OO0mCSixK3rxtWfGBfPXPbPoFSFcF/ ocLD5mC3kXOQdyAYLKP2QP528n3fzpFQzr9E2b6FJXH5+7ZCY5Jlk/UHQoWxVI8eLKCE byaVTSIYM1krXyblDr0QMH50ed+NYP9gBpLix4ptalE1ahNAV2nWsP0EfB/KTsM6BgEf oYbBCeJIWP4nnuXlRqYIMmujGo96zDAaw7Ac8Akkp4sRa9hMGbQHBwsHfa6hSw/v2/Mj A+WQ== 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=i4hHSGsmWMk6v8HT5bX88V/ev/elSNXdtghM/lZz0Hw=; b=YpbuhyS0z1DnNjdIc0buAKv+jVqT1/VT9Nb0NV3a8SB2b1fegJTozK6NZGzEjXx7s5 Clj/TqvYXoEcKy/s89GxUMaf0aUvX0SGC1h+eno7RHMlDmr4cCigkk1OGiTh1a5/Z/OH 93D9oL7RNAjRkjE9egW5RLOwcFOLqm8MlqbjkhVjw3abdKgFs+jKvF8FErvuv9N2UbE0 HAZgw/2NXbBudd7SqmRdMt2pQeI+ZLQWYFRaJSlvwUgEh07fSz5pYSE9MQf0gKQXGQyp mcR7XOmI7ETQrkiL4aPBA3fv6R1p9IcKr4L0kzqsD6umhFpCVwW0W3DWkn/TAvXRPXOC G2jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZCz3p/z2"; 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; 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 a10-v6si8741048pfa.227.2018.10.31.02.31.19; Wed, 31 Oct 2018 02:31:35 -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=@linaro.org header.s=google header.b="ZCz3p/z2"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727980AbeJaS2J (ORCPT + 99 others); Wed, 31 Oct 2018 14:28:09 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:47095 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727597AbeJaS2J (ORCPT ); Wed, 31 Oct 2018 14:28:09 -0400 Received: by mail-wr1-f66.google.com with SMTP id 74-v6so7432704wrb.13 for ; Wed, 31 Oct 2018 02:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=i4hHSGsmWMk6v8HT5bX88V/ev/elSNXdtghM/lZz0Hw=; b=ZCz3p/z2iHtuFqhtgamPJy1ulsidAsb59E3JNxE9+0WQI4gv/9r/qXMVaMrIGt+ca5 fqpSqSCoouzTl1oVvuPjPRCl/mz9hZ/MCBvUyvAIyHZxHPBcbe4L7wXNGm16J/yU1fVK hf3h/QR7uGUWjmgCZ+tfFP+NuvKkVgm5y+x94= 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=i4hHSGsmWMk6v8HT5bX88V/ev/elSNXdtghM/lZz0Hw=; b=HVXZEHXv+wFtty/SJvyS1mM18+96sd0ZhkbOdAL9f740XNL/fsxQZQRIvxQGQ9KWFI dgKVIVA0Xm0Mwa6JlZgcbPrIbda4oJAwatSqSDHVyEmZ8lDQRm79ff6tAVNxqmiYo3pz Wz1jS+f3EpeFrCE+tZyKkUpW0myaZRNd1F8Ji9Rlc1iQjFqCldQkgRNY5iaU0e7aHqFx MBuFluoltBj3scqQCrOPrSHuLiWLe2FIFfg4Rq3f/7JSISpDwcF7QOIs2j+LRRQsYgk/ rzuQDxviU7qxJsgm19aMue2n+h/JUy6WA1lRYxYZ7a7EM5DeCSeJBlQ+8ZkviAStjSRy iEZg== X-Gm-Message-State: AGRZ1gLMt0+uRm6GgKpPWGSp4R8wPmgJDcNUTlVdZPRwZ/GlOmErqqZD c3s2JWXGGavCikZtAqMmptlnaA== X-Received: by 2002:a5d:4406:: with SMTP id z6-v6mr2046516wrq.294.1540978248230; Wed, 31 Oct 2018 02:30:48 -0700 (PDT) Received: from lmecxl0911.lme.st.com ([2a04:cec0:1086:999:fd1b:8629:a7fc:68b]) by smtp.gmail.com with ESMTPSA id w14-v6sm10737377wrt.73.2018.10.31.02.30.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Oct 2018 02:30:47 -0700 (PDT) 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 0/5] Add support of STM32 hwspinlock Date: Wed, 31 Oct 2018 10:30:27 +0100 Message-Id: <20181031093032.20386-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serie adds the support of the hardware semaphore block for stm32mp1 SoC. The last patch isn't related to the hardware itself but propose a way to test hwspinlocks. Benjamin Gaignard (5): 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 hwspinlock: Add test module .../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 | 18 +++ drivers/hwspinlock/Makefile | 2 + drivers/hwspinlock/hwspinlock_test.c | 132 ++++++++++++++++++ drivers/hwspinlock/stm32_hwspinlock.c | 147 +++++++++++++++++++++ 7 files changed, 335 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt create mode 100644 drivers/hwspinlock/hwspinlock_test.c create mode 100644 drivers/hwspinlock/stm32_hwspinlock.c -- 2.15.0