From patchwork Mon Nov 12 15:23:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 150849 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3268929ljp; Mon, 12 Nov 2018 07:23:52 -0800 (PST) X-Google-Smtp-Source: AJdET5ePVKFe8IgEGlnFh/hm4UQFB6BUtrlUs4WGtzMD5VZfVeU45mzlkbi4mrGTY/HhYEbpsyXd X-Received: by 2002:a17:902:6b0c:: with SMTP id o12mr1348062plk.291.1542036232575; Mon, 12 Nov 2018 07:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542036232; cv=none; d=google.com; s=arc-20160816; b=eniY6NO+6OZxh7V8hJf0bvC/F3PVupm4PBhH9nst2S6NfqvzmqOLDMOrARm+qkbp5/ QMj8E1h0RH4UUMWPTLcT2mf7NTHhXeDqKRVuEYOMzo1VF8UxiY/e9i6Xv2FHUI6yxqar zhXcO7dsDQD277izFc5WkSIiGnLmX8iwnAqboFuKWHDhTeGQdoTcfSEai87SvTfuJ3Lz pcrjLGNBJPINhWu9H+n+BnU/yqBYCZBxHXUrceqLUBUP8k/hZeWobkpewr6dEPm9pnBt cUI/g4Lr5qFxX/d1oVtlXANcE7zAKBLiNuvS+BW8b4cNU6J4ojL8RWiSoAPhTgDCY/a4 TMaA== 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=yyvl64X5FbEhFmlfbNEvG6Iy+6IGW5U2Gxn+yiL2vUg=; b=QO5fS9CBu9BHr36L2gKqU8gKqlRzvZBTFjNEU4HqfQRGfi/oiJHXXXGKeqcRr7T65Y uoWs+8mR7bfWYfzJqd6dmKWjX0FYVwTqX5Swq1/XEZOIIumW0L7y6pHyZLnINLPeRyP3 siMNqsgN/No0Y63qz013HkG15JnlguDRCV13BnYhLyMYpIRp2dbhPpuyVMthxO4NfTZG 9My7G1XOhhlkr5ErKdjJKCGxvTRnfU7H+2TV9viZHle1M8DInZd6NGBD5sR0eFC58jV7 NmMGfv8EzvX++uu5c6dPW+jHSwIaTzqXlkhS9xJjA0p0Oe46D+Un4U9XZ9C+vxEYnivZ Rssg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JM4J2WwD; 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 v4-v6si17315146plp.247.2018.11.12.07.23.52; Mon, 12 Nov 2018 07:23:52 -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; dkim=pass header.i=@linaro.org header.s=google header.b=JM4J2WwD; 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 S1729426AbeKMBRc (ORCPT + 32 others); Mon, 12 Nov 2018 20:17:32 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53195 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726981AbeKMBRc (ORCPT ); Mon, 12 Nov 2018 20:17:32 -0500 Received: by mail-wm1-f67.google.com with SMTP id r11-v6so8879160wmb.2 for ; Mon, 12 Nov 2018 07:23:49 -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=yyvl64X5FbEhFmlfbNEvG6Iy+6IGW5U2Gxn+yiL2vUg=; b=JM4J2WwDaJv7/mGrG8PzE4ZVTExFbQaSrBQ49OkalBJfw7gi0dP1ZomHuuXkm1sY/t FvmiGeuE1wY0pyii8aiTC4ZI2xMcG3QN+e+56zyA0/S7NDKWj1WFkoUqq6mbAiaH0peW NVr3I46lOOkRyx8FeDgtIaCKBPLUqOeD5pcQ4= 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=yyvl64X5FbEhFmlfbNEvG6Iy+6IGW5U2Gxn+yiL2vUg=; b=I8sn2sSo92CqFbdO1ohZ7n7j79cINJ9H2sbL0ZCp8w9ctf3c76KAdPGqXwEjq6byz1 K3V1BC5rzJkBog3p9rnmDbFJ3Y3Wfe9tkP0mrx52ImTB0YPhBvxgEhpFtXzZ4ue//0nT Po5qKYbO8mgos8EEJTkYUXyfiF2O8jDqtY2l6vhbr54ENyu5ok9GM5Nuz7mRTO2FCVPF TUHA2PSIhULUvpD77KezV6qd46UgjTKRqfiiZ7EkSGIH7pwkmgxwO1T3tnrrvJCwKxrs QmyGoURfCOeGdvPxRilKJM7CEwFGljxnKHd23JKuoeMjQg681ozLq+BKVW1YNGxuwEgJ eCDQ== X-Gm-Message-State: AGRZ1gJuARGrGAKDAwQrcMR4gnsubpLTd0GlOMftXDdIj73VpRbPh6hd 5S9qKdPjuFN31giBkn9xzvNqXA== X-Received: by 2002:a1c:7cc:: with SMTP id 195-v6mr40989wmh.139.1542036228751; Mon, 12 Nov 2018 07:23:48 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:105e:a8d5:7c2c:2737:d373:11ee]) by smtp.gmail.com with ESMTPSA id t82-v6sm11192849wme.30.2018.11.12.07.23.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Nov 2018 07:23:48 -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 v3 0/4] Add support of STM32 hwspinlock Date: Mon, 12 Nov 2018 16:23:38 +0100 Message-Id: <20181112152342.6561-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. 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 -- 2.15.0