From patchwork Tue Jul 28 12:54:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 6884441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E054C9F39D for ; Tue, 28 Jul 2015 12:56:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 226D5206D0 for ; Tue, 28 Jul 2015 12:56:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 504552064F for ; Tue, 28 Jul 2015 12:56:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK4P6-0004B4-Dw; Tue, 28 Jul 2015 12:54:44 +0000 Received: from mail-wi0-f182.google.com ([209.85.212.182]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK4Op-0003ox-1q for linux-arm-kernel@lists.infradead.org; Tue, 28 Jul 2015 12:54:28 +0000 Received: by wibud3 with SMTP id ud3so158071505wib.0 for ; Tue, 28 Jul 2015 05:54:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R3OLS1raaaw/Km2/SJplciDXokwQ4hFggR/tNJMAG8s=; b=TcAGWVxNKMnwXzC6aDLDRILKHbrsu3stuqKoRgohLlqSRWBrBgUQHfT4VKC7QnGU2R DNiJabFo0UUJN9LBbXqcpEK++5164PzAjFvF/rPDpLWjAvCPcBbrN3S5/06bzAdEIk1J RJ3z5wtMxOryjzUOmNkyS+9pScRgI+vOdo+qiZgPETtZy09nB1tqTUNc2/QwUUlm2drp UozuIEUTFw993vE5KfFqO3mtaj+p8Ndb037zgX7w6xXuEPqhmnQqxqBE1zpKDbhZHg6h jIURQci/MU43SCCmRrvVT6gJG1WyCSi5yoPZmXokfRsJcYKXeIxZbOJoye9IDeY5BMAZ SAmQ== X-Gm-Message-State: ALoCoQkcS56yJRsbvUmUc1vdIzndOquXfSZ87lf+UJaByKFkiH7XX1Qluqu1jBZu34wTHx2KuizX X-Received: by 10.180.85.134 with SMTP id h6mr32564140wiz.66.1438088045189; Tue, 28 Jul 2015 05:54:05 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-147-3-201.as13285.net. [78.147.3.201]) by smtp.gmail.com with ESMTPSA id eu2sm18920640wic.8.2015.07.28.05.54.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 05:54:04 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v1 3/7] ARM: dts: apq8064-ifc6410: add heart-beat led support. Date: Tue, 28 Jul 2015 13:54:00 +0100 Message-Id: <1438088040-17437-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438087956-17307-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1438087956-17307-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150728_055427_405988_E9A46C6D X-CRM114-Status: GOOD ( 12.62 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Kumar Gala , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds heart-beat led support on IFC6410. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index df560cf..1fc2ea5 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -207,6 +207,19 @@ status = "okay"; }; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <¬ify_led>; + + led@1 { + label = "apq8064:green:user1"; + gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + default-state = "on"; + }; + }; + qcom,ssbi@500000 { pmicintc: pmic@0 { pm8921_gpio: gpio@150 { @@ -220,6 +233,15 @@ power-source = ; }; }; + + notify_led: nled { + pios { + pins = "gpio18"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; }; }; };