From patchwork Mon Jul 23 06:10:16 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: 142544 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5680460ljj; Sun, 22 Jul 2018 23:11:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf9BXfYf4sFP0BB2z407KMJq6PUvQvCibOTKD2Yeqbvx7y65lwx3pCIv2vFi+fvzhpstTLb X-Received: by 2002:a63:90c8:: with SMTP id a191-v6mr10915439pge.173.1532326279186; Sun, 22 Jul 2018 23:11:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326279; cv=none; d=google.com; s=arc-20160816; b=sNko28h6nehAflFIExuRjjOyibafykgP2A1ZHLN2rAUa4oJHVpS5GdbMWg4VbW1AnG ISCbsvKxrVohomxqj4CtU3kEF4wtoI/mbMMBCXVXmTw/H+JvzLaVI7h1ZEi1a274V1EU 33nzuBZickik8xUsIyIW8vJlnMHpKp/mPu8DFgiUMw5p/mRBvjxl01YzZxDf67Ppytdq mTTq2O3qioT9g82aoTxu+CIMz57qV7AAJZAqFgbbfUUtrGH7t+Qt179m40Hn+uCxKIQv AcV4NGWy3qIbs57UJ2AY2tnWXzsBbnomoZRfMLmaslnCptbs1y0PlS9ecD3EbMen0NxL 4xLg== 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=9tAWE+Lqhsz44/LXQBrf8ih3MftYGvIdZ9N0a39nGFs=; b=jxPLcIa1QN681M02FDYf9DWyAfO/Rx2lAuZ8kF5irCDLaVtypvz0GDV8E/0h4sEmiX 8I0SGPeadF009yazOymjjFjRGy9i6iM8b+do7YC1mxZoZfcMCl0emIXL9hJnotFcmk+W BmSIVIi/EYmaU8IBB6xZEYtTg85zDPqjc7AF6GHQMl+RX0dHgGVXGqMqVCfCOXzBdlZb dekEYWpS83PPCj7jleeIRKHE1x8uzhqaSM+RDSBbM6U2sSAlgt9Lf9X0/4y5XhRNNoje 4YzGp6q/Serl3ZmkoBBKdrbk5Bffrs1EdlYxq6oJ/z5C9ntuYn92D9VG8lTmrfFVF/6e He4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IHIRFn2c; 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 x19-v6si7934214pgk.80.2018.07.22.23.11.18; Sun, 22 Jul 2018 23:11:19 -0700 (PDT) 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=IHIRFn2c; 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 S1728235AbeGWHKv (ORCPT + 5 others); Mon, 23 Jul 2018 03:10:51 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:46411 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728206AbeGWHKv (ORCPT ); Mon, 23 Jul 2018 03:10:51 -0400 Received: by mail-pl0-f68.google.com with SMTP id t17-v6so5247259ply.13 for ; Sun, 22 Jul 2018 23:11:17 -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; bh=eLh+RCGI7jFU97vFKRaGVHWFxDScjVDx/ObeOqcYMEs=; b=IHIRFn2cNf+IdHPbtqzBxrOkghdQMjgCcMFDyQ2SqAoeLVMNQbqV4/jOmDX8TfNhv3 FnmBi/5YIsFynIqQEXerR/Worv1d6XgDr6AhpWjR00mJZdcHWxCaBYxWcdrThc16I3bH dorOU+Y++hgH1nzIGKDixKsqG1SLC1E0qkC9o= 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=eLh+RCGI7jFU97vFKRaGVHWFxDScjVDx/ObeOqcYMEs=; b=XEZJcxzj+lMK/yWpCT0JrHWxZmuvNix+fyW3PDLx8dhpN8godCUlvm3MvjdhQeW/9K T/HvcOtGJCK72qaL8ifz6jJe0fl6CXbCfUxH/NpiQQ1Mseju0YHpGVKiGzWejUPnbAQZ RYA9hk609SEmnwN93gpmu6xy478KarZQapmDUOMeQ5OsEA2xGZz5JgFQ8BcE+9tYj985 Ni8dgHFtG3srGnFynyozcANmVoI1ZBdKaOf47yuTJzEkkVRm9BS2LrqA1TEONEwAhbb1 H5eCoy4JfQe7W8zOhn27JcvKR3ry4oqccTFwTTHakmofnZ/qaRvyJgRFhiElYB5irHWy SfPQ== X-Gm-Message-State: AOUpUlHcfcRWB2ZcRFfEkzmsebaat5gBSkQMVgQ3CyVq8Y+0dQINkg2n 18P17886Kug53YgTDd6xvClFqg== X-Received: by 2002:a17:902:968c:: with SMTP id n12-v6mr11574828plp.15.1532326277673; Sun, 22 Jul 2018 23:11:17 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 8-v6sm11972303pfk.132.2018.07.22.23.11.14 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jul 2018 23:11:17 -0700 (PDT) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, orsonzhai@gmail.com, zhang.lyra@gmail.com Cc: 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: [PATCH 1/5] arm64: dts: sprd: Add SC27XX breathing light controller device Date: Mon, 23 Jul 2018 14:10:16 +0800 Message-Id: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.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 SC27xx breathing light controller can support 3 outputs: red LED, green LED and blue LED. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 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/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 98d3b4f..7d53ca6 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -17,6 +17,28 @@ #address-cells = <1>; #size-cells = <0>; + led-controller@200 { + compatible = "sprd,sc27xx-bltc", "sprd,sc2731-bltc"; + reg = <0x200>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + label = "red"; + reg = <0x0>; + }; + + led@1 { + label = "green"; + reg = <0x1>; + }; + + led@2 { + label = "blue"; + reg = <0x2>; + }; + }; + rtc@280 { compatible = "sprd,sc27xx-rtc", "sprd,sc2731-rtc"; reg = <0x280>; From patchwork Mon Jul 23 06:10:18 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: 142546 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5680634ljj; Sun, 22 Jul 2018 23:11:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdQCA1l9Ay06E33sIiiZiBXXa7f1kX7Cz4dVM/RWiaQuznFAgSjkeEuDUmG7XiYxk96SIrD X-Received: by 2002:a17:902:bc49:: with SMTP id t9-v6mr11604145plz.116.1532326286994; Sun, 22 Jul 2018 23:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326286; cv=none; d=google.com; s=arc-20160816; b=exgIA//MjFJhbumsLR6anwrfkEjs1rQtogDF31E/BCiTGIoJM5Vw3cn5XXfvAuffUU cEDyZpM0v6W4iuvjmhmUqSqB7wYjYi40rtDZVLYYXDCZHVDsPnz/szzgc+sEcLDhcm8B Q1cTAgI5NN+Ek8+Y74+KRFcxEc1KVZkbnUEsRGlt1/C6vdXZt7MV3pVlwr4H9UuR3XKq 1xTEqtQvYM/cNRNE3I+/WF6A1U4IsRMPlS0o6tmZe/+vIqyOIfEKxpYm4OxfddZNwjr3 JjDBtemB+CJnIoemEfFpHjGxadhaWPuELx/zUJKlMc0IEoFOa4T71dhuP/xgMbj55PPA dbbw== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=dZHzcx0tWMEH+38r1v2cIceGVojGB44TWBupe5Itttk=; b=IgG1ChqQrX9RsuIvijgJUIsl3i6uvqLo9bG7j/ZQZAsl0VgDRZRQIzq/E7eD5lMi4f eO+1N1zWq6JAEhMuq8kI0pKgzKt88guGLEM2bKstRl37rGLMqyAjbcqxm3eSBYngGCSl hjCnS0gBl6YyqeCBma0KZwkkE3+b4bg5KQoakzq5xguJ8CltJ+3Rx7zzRtWEGtCqI8CX dZppemUTLrZiL/xYjkPATX5aTJ6mcjhhd5SCoRSbehvwM8Eq+w1PjLuNPQXU0AxlKGsb H8Nlw5UNeGZaIwMlAY3ZYIBUKAHAtDRRvWzKCf8FXRlns/Az7JCQn1b8f1cjzkeAv7Qu d54g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TVstDRnf; 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 d130-v6si8070855pgc.189.2018.07.22.23.11.26; Sun, 22 Jul 2018 23:11:26 -0700 (PDT) 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=TVstDRnf; 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 S2387877AbeGWHK7 (ORCPT + 5 others); Mon, 23 Jul 2018 03:10:59 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:35901 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387905AbeGWHK6 (ORCPT ); Mon, 23 Jul 2018 03:10:58 -0400 Received: by mail-pl0-f68.google.com with SMTP id e11-v6so7802322plb.3 for ; Sun, 22 Jul 2018 23:11:25 -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 :in-reply-to:references; bh=LWxppdcTaKp3RkRdNBkHXwKcTm4kfWve60Wtgv2mUMI=; b=TVstDRnfD2iKsF/kQv1pOiQuoQ4ta7ArYXuSuhlVKlcvx82bzpkKOpUiisqEkvty79 sSBtBc1rFOQyJ86PvNV+GyllJsdjI07TDjVp24VhuQqDfG+VqQ1AvABommKdnDq7yRYx QAK3xRSd1nT89TpbXcgA3+gH1bHQHRWhMOP+8= 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:in-reply-to:references; bh=LWxppdcTaKp3RkRdNBkHXwKcTm4kfWve60Wtgv2mUMI=; b=DKaZuFHgb/OXwSih+T4cJ1fNvR4Can7Gf0RE4i2xe/1tlAhmejXexPHpoWmlZCCq0v Rf21L31xgZxxyFveA0No49InG+xOf1N/zQOqrIzvQuDQUdYqGXI/eo24lqcEGQGJ1bn/ Z8jJj81G7QbvZdT9FZTiwY1VOlYcM9ndJqaydCebW3x6P502XAn7WDTsm/phIukAaQu4 PNJqHNe/IseO3EKB9/swHABeL9I4K51GKaS/dFLhiVUH8Bh8y8GJnSYgBS4u5EmjT3Vv x/uh5DPuXl1+aykJFaw+A0+nGRO52Zz5MJs7NCFvPDXc4+ero3TRyYzxz6axx83ADCu6 WNLQ== X-Gm-Message-State: AOUpUlH2sdqbPs+PxBNKVj7PRk1ToeyzvQ+9MYEKd0WfOflq7H7fQL74 ex2F0OapsOhNJ9aZk72z6gZXDw== X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr11660175pld.104.1532326285498; Sun, 22 Jul 2018 23:11:25 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 8-v6sm11972303pfk.132.2018.07.22.23.11.21 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jul 2018 23:11:25 -0700 (PDT) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, orsonzhai@gmail.com, zhang.lyra@gmail.com Cc: 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: [PATCH 3/5] arm64: dts: sprd: Add SC27XX eFuse device Date: Mon, 23 Jul 2018 14:10:18 +0800 Message-Id: <9cfac30ae483e1ee1d7e3519b542d50a583f0b8d.1531881619.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds the eFuse device node for Spreadtrum SC27XX PMICs. The SC27XX eFuse contains 32 blocks and each block's data width is 16 bits. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 8 ++++++++ 1 file changed, 8 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/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 650bd68..fc68076 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -57,6 +57,14 @@ #interrupt-cells = <2>; }; + efuse@380 { + compatible = "sprd,sc27xx-efuse", "sprd,sc2731-efuse"; + reg = <0x380>; + #address-cells = <1>; + #size-cells = <1>; + hwlocks = <&hwlock 12>; + }; + vibrator@ec8 { compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator"; reg = <0xec8>; From patchwork Mon Jul 23 06:10:19 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: 142547 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5680718ljj; Sun, 22 Jul 2018 23:11:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcKuWh+UVAZauVmZ0/Cirm6gXd6iB+J7NFo9ZOwXL/l/8+6rhe8eWyUmZ2GeyRIrOuGfGwf X-Received: by 2002:a63:ed03:: with SMTP id d3-v6mr10997975pgi.56.1532326291491; Sun, 22 Jul 2018 23:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326291; cv=none; d=google.com; s=arc-20160816; b=WOdGTO+w77crq0LNjomrNUJvbI1KqF1uXzZBOdCo8T3OeqEruf2TGt70U2QNp4FPCl Xq2jXjIYfZx6PcuhGz+uk8f9x4/7emu/U8CtWZI+nU2tuYC6DZ0uFQLrkVRjEqUkAyOV XYcKrwGf4lpRd202bX0v4+aB8MSbvbH3eQ1ZWaFmWv62XaNcGWHCP+UXNbv8FypjRKKp X43sCuikEEUfh0anzKalMPWVrfAAdXwyjO7ASxuaoQ3/QEh0NeNDcwyj0pa4UPdDepqO AxndxW25ldfo3n4uhf80nTpEk91rHjwxK3WHBZ0c/MknA0ROO/34xLWuVM50sStJQ/Z1 AkSQ== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=F1ZckLlfDaPSEwNacw13xhe9FLi7ExB2944Vwp/7U3A=; b=GdMe15mMZe/Vl6KCTrSHLNBb/09H0W4gUdcFevU9pHuf/TDHUSPuvBC470QoeDIT/B eo+FbXpa/If3sBqisJj17tBMxsyNRNH9/+SdvSGIZQfaaDLBWFOcuCdQQyS52us8VmH3 d/C0VkB3NAN+Sy1pZdwSLjCondxITXf5/NrAUM/poU5sT7FT+SSifdbLhZH610Xh3IWh CBWS9sjUDMDEwx3QsPodlEf/eHhw1KL/bHhbIG8VT3mTpCIcCYo3DCNAT0OdNxmyIQ/H v3+4klwAbOg46NnU8abZv9o/btyCjwa0y5+/eBnoRlb6uhL+lJCvyJEzidKL8aMqVXob UqRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fALK6TmS; 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 u7-v6si8715331pfi.96.2018.07.22.23.11.31; Sun, 22 Jul 2018 23:11:31 -0700 (PDT) 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=fALK6TmS; 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 S2387922AbeGWHLD (ORCPT + 5 others); Mon, 23 Jul 2018 03:11:03 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:41925 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387921AbeGWHLC (ORCPT ); Mon, 23 Jul 2018 03:11:02 -0400 Received: by mail-pl0-f68.google.com with SMTP id w8-v6so7794800ply.8 for ; Sun, 22 Jul 2018 23:11:29 -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 :in-reply-to:references; bh=xmVG/3H/SqHkjHCnVbBdoRYLrJINBOgTFoQQWr7Ye/E=; b=fALK6TmSm9Biy+erkbFPV0bEPlgrRaGAJyqDfjI5tXSGgdv7pzHXg22uS1eLAtHdOk MKG5BVwvZhZUCZFXoSU50TrzRizFlLEz1UulOsiEtPn/IMPMmrfWctopn40RV2mU04Tn OmRiHFnfchm4X+AO9+Wvz8MtzIXkseBSsKHRA= 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:in-reply-to:references; bh=xmVG/3H/SqHkjHCnVbBdoRYLrJINBOgTFoQQWr7Ye/E=; b=ebAr4BePSZU2/yOEFTAi3fmjkFx/Dg5OHOBHCYQZ5FyZezR8QMdtA9aFo820WrmQ+b KDdpcbA2wc/ZTt4GS8pWXqDtsoW3oeLyK7ui05HrNaov+Tq1itPNfJk8eqgPmu23nx8e ZQGOUIpjmos/EwO8LLfGIPxRxV76AHZpASmJjQbheY2pm1IjN4DJeCKAgDVBc3lXmPmN I2sWivtM68Q/Z8dqc0A5Te8czPNcZ5T7xhAo3CpMx7c8upcHWUyDAPLNypzntE0RWpS0 XL25Fi2hKI3iD5iNxI2XA4b+J+LgJoIV0rvWlmeWiwMAArsIgPB6pl8h0jyTVZqc0ulw ICiw== X-Gm-Message-State: AOUpUlFJb8I5nMlXIkfMmyoW2NcfvrV++8v1ZZ5lKje+gMctqq7BfV1p gcqwpYV5RARr8U+PH6tQJ8FplA== X-Received: by 2002:a17:902:b7c5:: with SMTP id v5-v6mr11806523plz.30.1532326289474; Sun, 22 Jul 2018 23:11:29 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 8-v6sm11972303pfk.132.2018.07.22.23.11.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jul 2018 23:11:28 -0700 (PDT) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, orsonzhai@gmail.com, zhang.lyra@gmail.com Cc: 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: [PATCH 4/5] arm64: dts: sprd: Add SC27XX ADC device Date: Mon, 23 Jul 2018 14:10:19 +0800 Message-Id: <1b98cf860c86f745a1efea21f39abb2ba4d5493f.1531881619.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the Spreadtrum SC27XX PMICs ADC device node which contains 32 channels. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 9 +++++++++ 1 file changed, 9 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/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index fc68076..82bd642 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -65,6 +65,15 @@ hwlocks = <&hwlock 12>; }; + pmic_adc: adc@480 { + compatible = "sprd,sc27xx-adc", "sprd,sc2731-adc"; + reg = <0x480>; + interrupt-parent = <&sc2731_pmic>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + #io-channel-cells = <1>; + hwlocks = <&hwlock 4>; + }; + vibrator@ec8 { compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator"; reg = <0xec8>; From patchwork Mon Jul 23 06:10: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: 142548 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5680767ljj; Sun, 22 Jul 2018 23:11:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcIuFdbyuLg5cipiQG7wFAYFe/IBtrCkODa1t8uhuCRxwv/GNC4YvT2ma2e+WVo0RuMTmyU X-Received: by 2002:a63:6743:: with SMTP id b64-v6mr10876124pgc.91.1532326295398; Sun, 22 Jul 2018 23:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326295; cv=none; d=google.com; s=arc-20160816; b=lim8skdJ9v/unDJtFHxgL5goiQO9XLu8tmtJx6E5OZGzz1UVjkkxiZQ4gxw4ouUTQ3 F1ayDSoowEyyxUGaInuKZnyHx7t1vWONHmYdCOwJOo5eYjAJCt5IyLzNXxCqJ6v4jwhK crJT16KeFUV8EEGD1azXuAZVYVzUQPHJlzHh6+pTW7IOTyxuf4GIdH9KDcFPQtcBPGk0 YBBazQOU5BsboXnXYXXTkEMarpsGHMyY6+3tmNy4+gECW7C+PlG09GnOeGBgC7MzqH5z Ikl8rgjN4CHvwp0+U3oj/swHVbaRzMOvcrOo8TXwlrXsjrBiraXjXlSIRkyHMAJwq0mS kJAQ== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Yan97odHuKsLJeP2NAJsTcsUzHgvTK745gI0cfo9GN8=; b=cNAGA8DoWHlVHUy9ySvKra71e6WMKHPAt/nKw7GH1AdXX3IwX+NzUzyDMmj4h3K3Wp +XYoqvyNRgrVlV9Euwd+bqeAInOFHtyX5I7OAPWvhDgutyIVrqBYng4tMUdkPL1T/bbN MSQZEsi5anhCmbunF0zDJcrRZ/95LtbRraE+uDk4LTZGQkAxZ6wzT7cNWMwxN27stslC xC0DdTuNQUyRO/5VgZZ8z3ZrihYYUUc4QldbAsL3Tn4Z90ZH3xogM3wcdcA8US80lj6Q bivBw/nMSXLfEs2uId9emCi0Py8jrPyfeFkgWJjsReLRkxPTYQuB44vCcptHk/+p7uPS breg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ehSvf2q4; 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 v203-v6si8302081pgb.333.2018.07.22.23.11.35; Sun, 22 Jul 2018 23:11:35 -0700 (PDT) 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=ehSvf2q4; 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 S2387940AbeGWHLH (ORCPT + 5 others); Mon, 23 Jul 2018 03:11:07 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:35603 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387805AbeGWHLH (ORCPT ); Mon, 23 Jul 2018 03:11:07 -0400 Received: by mail-pl0-f68.google.com with SMTP id w3-v6so7800913plq.2 for ; Sun, 22 Jul 2018 23:11:33 -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 :in-reply-to:references; bh=NkthwwEMi7a4yyrhFCNi+MJpK1lyOUPQFCvHpXCK/FI=; b=ehSvf2q4bgyD1rOtVRN85iwNczGNSEnX1XdpFKm5kw8STBiIQljxglLbgbqfr4itot sDoXqFsHYvmeVEIdloeA6glXv0Y6uIYrZYt5RD08oT2Y6ldVOBN9VqSOYRJGLs2zk/CB d89H7qxQETsHil+ozUS5zvv3SAJGLlBRWn02w= 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:in-reply-to:references; bh=NkthwwEMi7a4yyrhFCNi+MJpK1lyOUPQFCvHpXCK/FI=; b=hWrVorPLtFM9PmcX8UYldQDgzLrFLBZ3JB3DowsTIvWSrxW6RDjXX17v2Fi1FMq+RI w/8WWpphrX2J0czrtt9lGnhImKbVknHkeq/LEr7+d6NNdwpLuKBVJnvUi2caVeoGyAPj bvbu91ajymcFnXrXW389xQdgimlzIwSk1LcLbctfNOm8qgmra4mtg9PB+VEjDu+F03tV 9ndiJFX5mxpKq4oxZX47PguW/Oi/a6RsVDnoxM9TtGDRAA/MAeZVVh5K2qdKktpBDcVi zLOkFkk51DJnzwgJdGJE1tcEPmQwgjxGZNhmpCC6/Qkazdm0sgfpM9k+PqHQilHz2uJQ uxJg== X-Gm-Message-State: AOUpUlECsrNx4FM96sKMd9UcpNPVdZBgf9Hl2uffKkwvROPdLoziZ5aH E0OGqdRNi0b+1UOmRGw7DjTjMQ== X-Received: by 2002:a17:902:18a:: with SMTP id b10-v6mr11826486plb.62.1532326293671; Sun, 22 Jul 2018 23:11:33 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 8-v6sm11972303pfk.132.2018.07.22.23.11.29 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jul 2018 23:11:33 -0700 (PDT) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, orsonzhai@gmail.com, zhang.lyra@gmail.com Cc: 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: [PATCH 5/5] arm64: dts: sprd: Add one suspend timer Date: Mon, 23 Jul 2018 14:10:20 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> In-Reply-To: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> References: <2531014d066e61063b3d7906e6df55caa028e17c.1531881619.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Spreadtrum platform, the current clocksource for timekeeping will be stopped in suspend state, thus add one always-on timer to calculate the suspend time. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 6 ++++++ 1 file changed, 6 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 e9db910..eb6be56 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -146,6 +146,12 @@ clocks = <&ext_32k>; }; + timer@40050020 { + compatible = "sprd,sc9860-suspend-timer"; + reg = <0 0x40050020 0 0x20>; + clocks = <&ext_32k>; + }; + hwlock: hwspinlock@40500000 { compatible = "sprd,hwspinlock-r3p0"; reg = <0 0x40500000 0 0x1000>;