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>;