From patchwork Wed Feb 28 10:47:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 129935 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp872674lja; Wed, 28 Feb 2018 02:48:00 -0800 (PST) X-Google-Smtp-Source: AH8x226FgCkMehqTgCbH1SGxS7ej4uhYfHjene6ThZrelTc8AYV//zNQdc76ZgNuWp1rbGOe49k8 X-Received: by 10.99.124.68 with SMTP id l4mr13840102pgn.225.1519814879916; Wed, 28 Feb 2018 02:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519814879; cv=none; d=google.com; s=arc-20160816; b=jY3ighMU4ipWZGZ2YbR9GjO+cBP3qN7h8L1cUEmHPfUkXLzoKMujIVOz69RIkNNQGc CssHzoyYbglFa4rIIzTygiCpJWUk17mwRYvNwTZzin7C2Hz/hEXQ8Vs8534gxet2HXy3 +GQxb+XB+iSpHJb5zw/eZE88g9ruKLP/yxmgvgdRnhnzTvK2zRbaq5leZ2B4fDlmI9Cr gF7RDNq+CU1zfpV3oUKerjZcAhW6kFxIetrcfOJCpmuvSpLDb6nEQpkJ/7E59Ts3xIJR xANUbOemiB76hZ7sCA40kDQYXy7Tyh+QU1gKrwy/8OgaY0gev1Zfxz8OmUoTMGtNtTZu NWXg== 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:arc-authentication-results; bh=ZxrG12OKWB4Lae8OO2iBPm3wSddfnEatRlxiJPBxwz0=; b=FKXOs3c5qbp4SEtmFp20uFUAoKtp1D1M152NhhX/0SVbdfQNODwNaCzDNTJ9ZxeuSV ueqkGd6W5ERRGw+be08ENlrQ9dlDYXAFG6Y6uR8pdDJtO5CFw17T/D8orMVvRQ7YSwY0 QxBqlHNLp9ZVk+RAo/ZA6GIDFp6b4+aUuD4mRJrmKcn6FG/Gkc3G7F5XBGRnuDEk5oLI uw+dMrfJMT7J35NMuiYKXS68cpXYr70zVn8ZzbdjnrHBS1uXtmaIIGt5dIjYFn2Qsmyr I9gbjMowAZKRlXt91Gx+7tB0j/5yfSrhxsdmGvkMip28F8rVUhOyZfag3/se1JI+iegU Lnhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LAAOqKNu; 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 m12-v6si1099013pln.400.2018.02.28.02.47.59; Wed, 28 Feb 2018 02:47:59 -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=LAAOqKNu; 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 S1752556AbeB1Krz (ORCPT + 28 others); Wed, 28 Feb 2018 05:47:55 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:38557 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbeB1Krw (ORCPT ); Wed, 28 Feb 2018 05:47:52 -0500 Received: by mail-pl0-f67.google.com with SMTP id d4-v6so1268809pll.5 for ; Wed, 28 Feb 2018 02:47:52 -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=ZxrG12OKWB4Lae8OO2iBPm3wSddfnEatRlxiJPBxwz0=; b=LAAOqKNu4UlpBpkRRgBBhugmB4SvIhdJ2NQTiWfY/xLgbidr0OdB4mjjmIMtmMT6ft jNITAHnOl5zm0AcwJnFoo+/U1PQatlgzy7Ope4UYpQyUTNw1pBAKD62FW3ZoJf4ksMBH pPrnfct2LidEJRZnXAaKYZkPKudfVfFdGtpX0= 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=ZxrG12OKWB4Lae8OO2iBPm3wSddfnEatRlxiJPBxwz0=; b=AxphbKi6kr2HBJo/cIeeQnKN+xoBV4LHUVAz9adeRJenupEWse+kHBtMYGUoS8ghsS hNPHpfxryjLnjnHgsEJXXkBFuYjXEY0D8kbWsPk3HU4EY378SasWKyAvnj/GgPyPqsm+ THO0umZtN3XaTtEAtt3mpq3QI+cyxyAZU4mtrHV6oCl6zxIM4NiMQOIbVmyB0ibQcB8L bWpKt0KRP2Yxo1J9hAI3XN1K1C2+b75dzDu2pvHE/MN73NLyO4HFw2nWcETlje/Kov4X mo14DtJ2w19GUvijWvZlGn6VYtTvvoTQIdfCNK+Fst6zLnrsu/+qJE1Ozdox4Q+rGJqH y5qQ== X-Gm-Message-State: APf1xPALktPxVdLgF7j9PbDu6sRQF4cek/kWBV9DJHYDoSBQw68XL6Yv 31u45kYC/t5Gki2n63Y9bsyg7ZDqCPY= X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr17450199ple.0.1519814872127; Wed, 28 Feb 2018 02:47:52 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id v14sm3636129pfi.8.2018.02.28.02.47.48 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Feb 2018 02:47:51 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de Cc: chunyan.zhang@linaro.org, orson.zhai@spreadtrum.com, mathieu.poirier@linaro.org, devicetree@vger.kernel.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [RESEND PATCH 1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860 Date: Wed, 28 Feb 2018 18:47:04 +0800 Message-Id: <5ec790b43c6fea9f36e06b5b20233b2adebd7d50.1519814593.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Spreadtrum SC9860 platform only has one hardware spinlock device, which is located on AON system of Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 1.7.9.5 diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 328009c..b9cc0fb 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -6,6 +6,8 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include + / { interrupt-parent = <&gic>; #address-cells = <2>; @@ -104,6 +106,21 @@ status = "disabled"; }; }; + + aon { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + hwlock: hwspinlock@40500000 { + compatible = "sprd,hwspinlock-r3p0"; + reg = <0 0x40500000 0 0x1000>; + #hwlock-cells = <1>; + clock-names = "enable"; + clocks = <&aon_gate CLK_SPLK_EB>; + }; + }; }; ext_32k: ext_32k {