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: 10673807 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A37C317D4 for ; Thu, 8 Nov 2018 09:06:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 928112B659 for ; Thu, 8 Nov 2018 09:06:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 870D52BA2B; Thu, 8 Nov 2018 09:06:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 349F52BA97 for ; Thu, 8 Nov 2018 09:06:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=wV0wIYkHCszxSAGsSZwF8runtR23gL8eAZJ109mFP3I=; b=mr6fDFvxwwnbBxTgDpz72VG1De OXfZig4Tmo7LPusgygwWlBZHYvsqn1vtyCH/k5LK/jpk8wQwZxQSzzTSpFJORwmSZrVGM4ZtMP3F/ jBah913M8GDLTUEYBrzd/mN1nf7kgkqCdU+jjbdbdrbIA6x01iRysecgSMlutYEsI1B5zxrVijnBv woq9hdRrMfhFf7PMlQCHoc6zFtjECHBdoHrPNFQilaoPur9t+eUgpIDCaifycRVwW0zysI8M460ZR DJ05MxiyZqh4bM7zaLSvNB4Vuq+OU2uQMr8O5+qTZqtEeBc0ZcskKV/NQ4+hFYwzg6yYZWsWRQUv7 MHJ3oUXA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKgGY-0002nx-4q; Thu, 08 Nov 2018 09:06:18 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKgFn-0001jW-FG for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2018 09:05:34 +0000 Received: by mail-wm1-x343.google.com with SMTP id a8-v6so419708wmf.1 for ; Thu, 08 Nov 2018 01:05:21 -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=Qq8Y3wd622ex6yt9UOtW0mTEPO66EF7gd5woUq/BqYPA4GkLsVDMUR6p50shGNYO84 njH386eydfXYxwRan+p7TwFteqQHJqr6gqlDUSpEkA/G85ihkpwqhGwBOEeq5zlGp6mY dgLXuNKildxV6dEwq1zgoKCG8MZlOyVKm5Gsft6vWa0n+W1fL32nlcOoPCWnkT8b1v8H WbOChAP9CXNAwnl/RMxcApvD3EiZSIR9umIUq2uXWP+ashLgrZdatcCHKquuVluuOz/q TpakHTYLTz4LNLL9Dbt8Y0KGdeYCaFu+XV1HEjNhEio7oPdoojK4isV0U+sw90SWs0hA rgWA== X-Gm-Message-State: AGRZ1gKtmiGdVMCRkSSzMslWRJeUySC8yQZ/dfhV6wI98VysA11FLj0Z f6n89opOOtXC9Pfx1WYJTsTZqw== X-Google-Smtp-Source: AJdET5dWLP0Ce4B9uITjiq/lmAggodgFZlChTXhroWfVryZH8jjR7e4xWMzgmBWrk3AvoTdTZjH9bg== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_010531_520358_64F17D15 X-CRM114-Status: GOOD ( 12.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Benjamin Gaignard , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;