From patchwork Thu Nov 8 09:05:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 150485 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp582631ljp; Thu, 8 Nov 2018 01:05:24 -0800 (PST) X-Google-Smtp-Source: AJdET5f7iyEQz/pu+P3pEMPynrp45jQT906qqGwzPcOTH97VAcLmL9hF1zoS/NksThluyl+dVmNl X-Received: by 2002:a62:250:: with SMTP id 77-v6mr3871494pfc.16.1541667924001; Thu, 08 Nov 2018 01:05:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541667923; cv=none; d=google.com; s=arc-20160816; b=zewbdpk33zbjx2N3l2KBT7Mw/ibcCqHWtMlv3qtB44PiCvbHcsVQVNX/Iyqk0kHifS 31KS1EyUrNHI4bgQsXOU+wu1ppYnYwUaf98RC6RFisIS9o3ptdOC5WiosmrrXykm6fM2 xHmP+UMSahvgw2fF3IUJacVgQQngibwPIMh4MHx3OChnCx1qO7QCJpJQUi3cdnsL/vw1 paSXZlRnNww/J6+QgwGH/Qey9yKxgJeL72Bz+U0CFSsDDIppvaDObdlWYrL6QmHUEoBx edLkR04AVvvIOSU1WQdkm+h5Uv0NOHXhFWXMdrQGMmdKfX81CQMvn+CZiBtJOEkY6Flc 0Zug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tQkj1hz0jEEKFJdYxtoN3LCnWHFTEXeYAE7pWLaze8c=; b=xnxbQdiauSYUf6/9JOlqzsNSHoWZJemjNesTSqjumrdeYDFCe4i9Gg2zHoAbqSwlmD 3P/gGD8quYzo3Qb6N5MarWxkaNubEIxHZor7fq0ItWFpRof+/af341z27Qzq8TDvzGsh M+IszDdDm5Jc/tyuoQKT2OfY+df+vrGZiwgBxdSuQxP1rzvKST5WWfjMT0YDi6j3FBG/ LFtlszpJdVSrcV2xdP4fGfFbWtqrufa6XCFv0bE3SCFTpPgt8kPC/mLz80O6NDykc9O4 7yRMLezOhIkqWnHHe/c27cAO8ZS0OD44V7YVmQmYNuKSzu9forORgmNIujfG9EX65y1u M2Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bZP5HsXK; 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 t75-v6si3898922pfi.221.2018.11.08.01.05.23; Thu, 08 Nov 2018 01:05:23 -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=bZP5HsXK; 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 S1726952AbeKHSjv (ORCPT + 32 others); Thu, 8 Nov 2018 13:39:51 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39134 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbeKHSjv (ORCPT ); Thu, 8 Nov 2018 13:39:51 -0500 Received: by mail-wm1-f65.google.com with SMTP id u13-v6so414251wmc.4 for ; Thu, 08 Nov 2018 01:05:20 -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:in-reply-to:references; bh=tQkj1hz0jEEKFJdYxtoN3LCnWHFTEXeYAE7pWLaze8c=; b=bZP5HsXKn+NmVZUSWhMsRAUIB1J4stGd5tz0mcnKqJ8haMeq5yBEqxBOjzyK8AaaAT JBJ3ueWEg6b6sV9/RspHgteD14PuGQJvmvdkoNdoE08d1fT9H/ymvM88SjucAmv2IRgM yvlf5K+Ernu/tqAZ3JjtWOhJQLwrMBq8TLn2c= 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:in-reply-to :references; bh=tQkj1hz0jEEKFJdYxtoN3LCnWHFTEXeYAE7pWLaze8c=; b=UJSCThc+YNqyf0PhNDe/tc4PCNQcTRbENpeHOLi3bot3BKQuN/kzCd+bRSmEX9mNPZ pZbTtGeKRJ3P2sBwKwioimtT4VFKbEi5a5Lx6qaHVq1p9SDMVTd1KenSVV1XUwAUnP7A O3e31vLZZovKcbqxpUftGkXdEAUeyaYoPNbOiaGaZl2z6/1bpsXayZwzx2bzZYz4gvGQ YCIXi7o+QXUT3Q1m6LJ1V5hN1BuW+f/WY8sUjIvvdvUSjwfxhWCVQU+bHqcOyh4+1j7b 49VZVqNYm4cNDtEhM/j1V8Zb5o3SmD7uwwjAP2FuHLU128qEN0KTyezot4DkqZCg8RlP DDHA== X-Gm-Message-State: AGRZ1gLTtt3BIzfsERt6tnCOf8cmP9kwjlQFH7+s7EJA51Q/HX+kT6N/ S/GegDWySa7UYl1t32RNvq6Xag== X-Received: by 2002:a1c:8314:: with SMTP id f20-v6mr446270wmd.120.1541667919767; Thu, 08 Nov 2018 01:05:19 -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.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 01:05:19 -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 3/4] ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC Date: Thu, 8 Nov 2018 10:05:01 +0100 Message-Id: <20181108090502.14543-4-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20181108090502.14543-1-benjamin.gaignard@st.com> References: <20181108090502.14543-1-benjamin.gaignard@st.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Declare hwspinlock device for stm32mp157 SoC Signed-off-by: Benjamin Gaignard --- version 2 : - change clock name from hwspinlock to hsem to be align with hardware documentation arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.15.0 diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 185541a5b69f..98f824d8b0f0 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -803,6 +803,15 @@ status = "disabled"; }; + hsem: hwspinlock@4c000000 { + compatible = "st,stm32-hwspinlock"; + #hwlock-cells = <1>; + reg = <0x4c000000 0x400>; + clocks = <&rcc HSEM>; + clock-names = "hwsem"; + status = "disabled"; + }; + rcc: rcc@50000000 { compatible = "st,stm32mp1-rcc", "syscon"; reg = <0x50000000 0x1000>;