From patchwork Tue Feb 6 09:28:20 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: 126960 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2740403ljc; Tue, 6 Feb 2018 01:28:52 -0800 (PST) X-Google-Smtp-Source: AH8x225I5dUa+6ZaqOsAUy8QvGddGCQH3WD/qrzwLMbB015yPlk6cCDJpf7P1g6z+Ua6tPpJP2iM X-Received: by 10.99.122.93 with SMTP id j29mr1440639pgn.351.1517909332353; Tue, 06 Feb 2018 01:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517909332; cv=none; d=google.com; s=arc-20160816; b=RvgBj3KKWfTyAcE3yty5MxCZNqSMd8iCM883t1887cN/Kv22hjEQcRHrL4q9ZCsj6N CD/O1Dyi5vlZtKz/twgD/2xl1eVfbRrMHLf7LlzyJKy39VO7rdB3eWRh/K/mLZVOmhGL y1nNwlw5zd2+OLpPEMwPI1pLiBFnWOTlAmuhCV4rXMb2EsC4iaP34nR59j/AoFJDTV4m yVmX/8pSlIcqh6mRL5+n6gCydCTfdRozhYFeASKgKSaW4TY8FNrOsnSir/ApOnm7rB/J BkE7We2e7oX29oueZOYoSf/ep3HWan89YN1jZXkK/8vvp7y0fg2Wp+vL2WD/hqZJ35kT OJaQ== 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=8MKS+8FQTQewz21nkYIGPfVE/T/3a2MBRvwf4wPophs=; b=rPemd24Ql4lrr1B3AZfxsWGEq6T9jeVO43CB09+SeVBKsxWY6gkiHHkTXGadho1iFg Nvvb5P3yUBgnJHCPIpGnSHUB4Xop8ocA22Puu/6Rf+0GzmX4KwAw+QjqmIJz+vy+ON3g PBjuSUGN+R4GbHfyjSBosRx97hqrpsU97L3XtZyVm073IyGS7My++XJwTfAFTp7myZDB 3S5l4/QCU6u5o21tz4lOMlrTY8++Yw4u3K7eeFEcW1f6FsvnlKI6deitmp+nvJ+xFyyz T/pP6WAft42DAJodcj7LhrcMdgQU7auF3fk2SLLVvC4rTzCFlZUoZEXAHXO4jp0wThGR f69g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IJhjnPLp; 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=fail (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 o11si4945945pgn.796.2018.02.06.01.28.51; Tue, 06 Feb 2018 01:28:52 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IJhjnPLp; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbeBFJ2u (ORCPT + 6 others); Tue, 6 Feb 2018 04:28:50 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33297 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbeBFJ2t (ORCPT ); Tue, 6 Feb 2018 04:28:49 -0500 Received: by mail-pf0-f193.google.com with SMTP id u15so354684pfa.0 for ; Tue, 06 Feb 2018 01:28:49 -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=IJhjnPLpMNHmWXCZnj+R2alH6ouDvpAs8S07OuGDq8OVr0NIb2HMy5GS6aesx37hOo l1PHM7bKVORvOHyL5/5dfPnu2GzEC8SGLllBdNjP78c3pFSRCV7chLOO06fA4d5hEEt1 eDWzigl64FCklmNajwmcLdec8VoJEZINyByDc= 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=MyBEjkMlE8Hto4czlp1ycMYGKwZRG/U4EK5oqlXAla1Ibg7DYzPZBgysQ6/H0Pm3vr 6AoVngojtpKzhmNtzsEqMaPynXajfhLaCNTMppcplfEL1IlcaURMAM1DNfcPyXz37ay6 zzUNUW8qiycgwWGG6y1QM0i2RJIJd+Xe7Ryb1ZvlCVtOQ8qDH69z8upHPKAjOnNdsWjU jklra1sU4wbCeaE2tEAXYYDNYYaP4R3SaInYu4R3jL2vWdUF7FwfN/1ebS42cy/SHEEI rnUkccfMOERORrhiiu/4xLvrrFNyyV7TqIicMcXsgIF90hsXnuCBTfYWGhZC+8nL7sxc bkGw== X-Gm-Message-State: APf1xPBqgYJUJ0jCPrzQiZjYaTi1WLvNjKNowXQktWDiYW6ZjCLHcWcI 3IYlmhoSRWBECLBvFTzZimOsem1GKHs= X-Received: by 10.99.128.73 with SMTP id j70mr1464583pgd.37.1517909329124; Tue, 06 Feb 2018 01:28:49 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id t16sm18618429pfh.131.2018.02.06.01.28.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Feb 2018 01:28:48 -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@spreadtrum.com, orson.zhai@spreadtrum.com, mathieu.poirier@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860 Date: Tue, 6 Feb 2018 17:28:20 +0800 Message-Id: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 {