From patchwork Wed Oct 31 09:30:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 10662329 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 48B2913BF for ; Wed, 31 Oct 2018 09:31:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 367BB2A33E for ; Wed, 31 Oct 2018 09:31:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A9312A344; Wed, 31 Oct 2018 09:31:29 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 CCF232A33E for ; Wed, 31 Oct 2018 09:31:28 +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=kRHdUtFyWVilqsR3lk35/uC9kF8Z5fuXR1qFCHZMQkg=; b=UfP5rOKfX5N/sZK58mfSUjn3rU lnpm2YNuGPOX0Q3htSRx+QnYcii6CN8cVsyBc0HUUCYgupNFtt6OJYPtlmYGLcZXRLwSWjWQvEmqh Ci5eoLE7TKkmiFvtJA78IYtC8zlZ5Hy0ZME+ZYSXOLO6nlvS65qMkgcZaLXAyVm1aXzC5rquBE1em HVoS5En872Acyq+QBNwjSn5oMcvjQA3nGf6kZMIgHMvTIExA/dBenV/XiocyOgWa40Lfi5+NJVB5P 1awV+AaTk7Xxw79QXr7F3Se6os+imPhNlS29qgck0lhAORpd7h0AmIV40tB9UcpHq3S+KT9MjQrmP 5+USlwjA==; 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 1gHmqU-00040F-Nn; Wed, 31 Oct 2018 09:31:26 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHmqA-0003X1-7f for linux-arm-kernel@lists.infradead.org; Wed, 31 Oct 2018 09:31:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id d17-v6so15337905wre.11 for ; Wed, 31 Oct 2018 02:30:55 -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:in-reply-to:references; bh=YT2BGL73pI00O7JsdMy6/bfTMju1hXp1TWklR4ycj/Y=; b=BZum8nXLTQ4NN966TU5Ngk/Fw9BfsYRg3AezKMn0W/0NnzF4JHYdoxnWX2otpQY7nq aJ5rNEnIqV4EdmjoG8rYDO3DqRMVPJdLTlk4yAtAHizGIHHsAqNyybbtYK1sU1fYHpzT 16ITGm0vTNp4UO2j1RqijxyBtY1o+dutoj2sc= 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=YT2BGL73pI00O7JsdMy6/bfTMju1hXp1TWklR4ycj/Y=; b=P0FVz80NGqKJdpDKS9autzYmEWh2+4T8JTnwdteMR2cF7t5VOnOiD/i6aYOC6JwTH0 xUqhXaW7KnnEScC4Q0odLM6V1cGjmXqjQL8p37z5QJwkvn9Zr1glu0rAAg9ffj6SQfGw 4nWEDY7yV482YLhB7F9I8LpFF49TQP/iSXmtrWlrlAtoysdNBC42c062XvZApkMQ1ahu JFHQHwdApLMzsPZe7+S7QKMqyM7uTVJs3QR9GXrg7OxX7I/5GynBTskaYr9RRm0/tPUX xl2zVCxNAIDainJklo0bSyZl3JMlKmU8O8WYE1xz5Xjn1/o2VsuiQkk2ni+9QBgafiAd XWwA== X-Gm-Message-State: AGRZ1gJ8wcFPn4n0sY9J7vEbvo3/dBXLlWwZ2ulSIs/SJGIUl0+ueRx+ S5jVGE7a8NZGS6lrLuUI6SPcP/UYwW8= X-Google-Smtp-Source: AJdET5eKYC/7D+pc1y5wcN4lTTcmB32J+l72dNO2mYye69Sc9Fue++6Bntxs0gBclQDyvVxGsKmq2Q== X-Received: by 2002:a5d:560c:: with SMTP id l12-v6mr2038566wrv.281.1540978254624; Wed, 31 Oct 2018 02:30:54 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Oct 2018 02:30:54 -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 Subject: [PATCH 3/5] ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC Date: Wed, 31 Oct 2018 10:30:30 +0100 Message-Id: <20181031093032.20386-4-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20181031093032.20386-1-benjamin.gaignard@st.com> References: <20181031093032.20386-1-benjamin.gaignard@st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181031_023106_549070_7E23341C X-CRM114-Status: GOOD ( 12.33 ) 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 Acked-by: Bjorn Andersson --- 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..9b16c28f8ac3 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 = "hwspinlock"; + status = "disabled"; + }; + rcc: rcc@50000000 { compatible = "st,stm32mp1-rcc", "syscon"; reg = <0x50000000 0x1000>;