From patchwork Wed Nov 14 09:00:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 151042 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5434617ljp; Wed, 14 Nov 2018 01:00:42 -0800 (PST) X-Google-Smtp-Source: AJdET5e7/xd4Z2qbdAkcY/7lsics88SwxQrBE8a3ebpQSZe7sp7YnXbLG0e0RyunOdfT36Gc1bgP X-Received: by 2002:a63:ac46:: with SMTP id z6mr983016pgn.162.1542186041927; Wed, 14 Nov 2018 01:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542186041; cv=none; d=google.com; s=arc-20160816; b=K+i7KUaXATyWbeMHotFRv7yzhiyE7A+2l96AxflEgTJAOzIpOYgqvlD1xwWMh1i8Aq uxObhhd4X6egl1ABxaijKfbmLiTDum2360o+i+G8NpT7TYok75r10GePBVD91f760dfu I2B5gQ2hH0EaeSo+hX4cOsUwNuWYneejFFBmbdqgZNqUELAnDGtrsi3qA3RHbZt9DS9Z EdaqfKwOFZpciltMwp9n96F56oN/w8udhdSJwVeljH6HP8FsgBJnCBuR7SwUSwCeu90+ E4jF13B3kEjTCyT4rcf18lIqz5cEf5k8Rst2CqokdDCsu0jsIFUdPnynt1EjQuAOuLsq MV7w== 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=ZOwBQshcAUV9PVEubJRR0swJTsYLQ7NnXoIXsmWc1ME=; b=S76PWkXfYqZ77k8qkdRRQBW4F22oWxtQGlV3Khdrw5YlsLf4U7gWwlHNDyfRIY3iRO P1L2/DLOMGZB+IeeLSoikxtkPoF+uQaNzCY5dHimNng9aA2pqU2Zk6vX8wBCyx50cCr4 swfekt8efd+ahFoTxZafayGYvwotSBrIQCF2a+nDb60HxXmBJkcTvzUl8j0KlLiu/2fO ffF9ZG19DvKWbdauvVHtBgH/2+uSululDxaHsN9e8nwhzX6w0soUUJFX05gJ3suFuy9d CPlvv3mLN+dj+22nezihh8/Vhy9LTxb6o8feHLem3SMnZSdqd8/nlx+tWR+e6D2HycbV IipA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ynq4OZFF; 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 n6-v6si23440779pla.245.2018.11.14.01.00.41; Wed, 14 Nov 2018 01:00:41 -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=Ynq4OZFF; 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 S1727618AbeKNTDA (ORCPT + 6 others); Wed, 14 Nov 2018 14:03:00 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37371 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727576AbeKNTC7 (ORCPT ); Wed, 14 Nov 2018 14:02:59 -0500 Received: by mail-wr1-f67.google.com with SMTP id j10so2123192wru.4 for ; Wed, 14 Nov 2018 01:00:39 -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=ZOwBQshcAUV9PVEubJRR0swJTsYLQ7NnXoIXsmWc1ME=; b=Ynq4OZFFUalIB2oPEQzAV3xGL71KB6yOHuyQwYRLGoDd3zWuE7JpgAuM7q52u9DYZv NlQurGIk3A2wf3DVs+AauYZbjjY8p0UEBYOs0PcCkxMNHJrWx81395llk210wRKklAFe P9leC0jIQgnV3v/RZS98bZG/+GKbtxVqktWGE= 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=ZOwBQshcAUV9PVEubJRR0swJTsYLQ7NnXoIXsmWc1ME=; b=g9TZTZgdxiV3S21VPtL6k0YAB8/nuduJRj4fBZ+2qTXJcIcd7VmSLspPLmmmeSnhwH cC5ehLr1qz+jGce7aGBrIcz3ywBQBNvUqITMzkb7CJCA0HXss+Vx2mCRXyMcsMJNf5h3 8ROgG1IXh5+Eqh2eeNYL7ZW+jAARviKjVDPG6NFaSTQAjUOC8jxKU3dOyJ1WhzXgKaiH 7sU+/uukCfEPGRqaUq7Fx1jXuiSh0cPzVdKmzCwupRnfC/jVMgwUKK7nXK/J7dXzb25B BMKoypExcFrgegesC2aNN9tOaE9JVq7qSlOVjuzdFfjWSlvU+Bo1mqrwkVXOV8koH1AG 8Tsw== X-Gm-Message-State: AGRZ1gJ8GuZ3DEYq2coVXkaUkrPHvX0p0tlegHTrsgOc3v61fxJEP/u+ +wRjE1xBwIkeSyNNV/65wAyBHw== X-Received: by 2002:adf:b181:: with SMTP id q1-v6mr990973wra.95.1542186038727; Wed, 14 Nov 2018 01:00:38 -0800 (PST) Received: from lmecxl0911.lme.st.com ([2a04:cec0:1088:2b4c:4d39:8b22:d570:822a]) by smtp.gmail.com with ESMTPSA id n7-v6sm16951441wrt.60.2018.11.14.01.00.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Nov 2018 01:00:38 -0800 (PST) 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 v4 0/4] Add support of STM32 hwspinlock Date: Wed, 14 Nov 2018 10:00:23 +0100 Message-Id: <20181114090027.7580-1-benjamin.gaignard@linaro.org> 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 4: - add Linaro SoB 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