Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5456682imm; Sun, 22 Jul 2018 23:12:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfeoqSfQ+n8UGEbzE6rIJImG7PegQa2BBMLYGHxIyzl5ic+90kWXR21yz73X677IYZXec9A X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr11303659plb.248.1532326347406; Sun, 22 Jul 2018 23:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326347; cv=none; d=google.com; s=arc-20160816; b=enz/ajhdSbrjxqDjhkH/bwPKxyDnTLcEXSOSTiSrphrHhmJjEESEPnMWDG9epGmOyM Rd5LTHvrCJlBFWzmxP8wvXP/dxtVMdXhZLmjSqE6e4sYEoq6PKO02B2k5sAX5Kl64Ro1 pz7jSRP7DEJndMA50cVhiu0v4jEKIauXPrfLaMKVlwe24LDG7sVmIro4yCuq1iFv0I/o vm4J1ijvbDEfGoxg1+K9u9dkuc6mgeqA5bLEEqZINHvaB7qnOEHDPhwKF+cSlTnAv7mW yX/Vz+LOYwxUNCdCp+JtBM6C96Z8O+aCo+FjoFPlmqFDVCdYnjHLe0xZ0q9phFGKxzS3 Qjow== 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=eLh+RCGI7jFU97vFKRaGVHWFxDScjVDx/ObeOqcYMEs=; b=z9l5NF2lZ3M/wtE26O6un/fuiCn8AFZ9Yq3VT0tWY82UJiDMP8kyIQ859kVHguUy51 ZfNhZbpnwaaf+/18ll+T+LWjKBWHqUYC29XKmrmi5w/QJB42XPTWRTzKNy+ej/eHJQkG fg885BjEt89mrFJaRd7b8jXUfX7UqJ5O6f8oFSS3sVBc9gZn6gx+2Ltm8RrAEVFjFuNu 0P3hweOcV2eZwLDZq1CgwM6AQ01fSntysxKETVJq29w55O+bkco436JNDzIu9ZrZ7ApW Yhs9uIQajnDKMbvxweO4GI0M5FdhGKr+e3bbqgQ5Un42ZTBRSHHbCT0505hNxdACdfmR g4jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IHIRFn2c; 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 r128-v6si7282509pgr.634.2018.07.22.23.12.13; Sun, 22 Jul 2018 23:12:27 -0700 (PDT) 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=IHIRFn2c; 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 S2387867AbeGWHKv (ORCPT + 99 others); Mon, 23 Jul 2018 03:10:51 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:41910 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728217AbeGWHKv (ORCPT ); Mon, 23 Jul 2018 03:10:51 -0400 Received: by mail-pl0-f68.google.com with SMTP id w8-v6so7794585ply.8 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=Dn2PWnq70Dc+YXL4l4Ly3zcQfiv0Pny0YlQtPBSYeGH1y0OgBFjdR3lbqATW4hyCv2 Lx9+875mVPxpdRSWLO6W4HBTICo7KFV7aegxx0eMX76qMebzZq+0tjslkhjggzxGG9zN PwDo8X0o3DIx1CMac/QWG6WwVWE5km13l+cGP464e5osXyn2rFwj5MCXSm8fDX8+JndD WQWlJ9NLc24AqA5SIJU23KGFvfDyDMFYvt02n9OPB7igZwVm46UpSezSFqyIDitIyElA dp+cFvmo1ald71dt0dwsoxY00XG2YglZTM1ofpMwwo2UWKun+e/LEA+Lg5TAKOV1VGR7 kYjA== X-Gm-Message-State: AOUpUlEFqmu3wLFfiUexsSuZZoE1Lt6M5HkvBC4bsuLOaDMp0npBKPuv 7Cqe1GlsYcn2mwRFpWW9I2eDUA== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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>; -- 1.7.9.5