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: 51591 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id B266520323 for ; Tue, 28 Jul 2015 12:54:16 +0000 (UTC) Received: by lbbvz8 with SMTP id vz8sf37775021lbb.2 for ; Tue, 28 Jul 2015 05:54:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=ro3M0Bw3J0hy/eG6CopgqPzdMoM9HezyRym9bDKbk+I=; b=VCnQr+L5UNlP6ntanlJTRJginj1iOkrUW42rakk3rMxvzA1/wYAcaAZaTaeeK6rC5R 44JNm0JUk0CEYmf3KRwJXG8KmdYlN/XoFGzgohmHJW1AFukZLke4Ck8LI1cBuQEJY9Wk 7L6ucE50bQHhONqOkCyG2NL0foXHZt7xao0r/y/rh7np3lO+flTNgfdABZD2EE6BplYi 0I1Ru1DZT5m0yo1dKJFHVgZ0rx3e/SDDSIHL2j+N7Weks4y0JTjwp2n+S/M7msl7l5r7 0IdOEcFW1tEyAEXalLUKJKwepjNYUYBVWkPNV1lCaHMzPLL7riqD3F50m7iQxgDOtaPn SoqA== X-Gm-Message-State: ALoCoQm72YBodqeFO41DDVkTqIAurll/dbYZMmnRVUt57z2kLZ3CQXb0pPsKPapvQ+7Hzv3XQlmB X-Received: by 10.180.216.12 with SMTP id om12mr1228224wic.1.1438088055666; Tue, 28 Jul 2015 05:54:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.7 with SMTP id v7ls806453laa.107.gmail; Tue, 28 Jul 2015 05:54:15 -0700 (PDT) X-Received: by 10.152.87.165 with SMTP id az5mr32185790lab.8.1438088055440; Tue, 28 Jul 2015 05:54:15 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id ue11si18260254lac.46.2015.07.28.05.54.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 05:54:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by laah7 with SMTP id h7so67944221laa.0 for ; Tue, 28 Jul 2015 05:54:15 -0700 (PDT) X-Received: by 10.112.125.34 with SMTP id mn2mr29357044lbb.76.1438088055349; Tue, 28 Jul 2015 05:54:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp2122051lba; Tue, 28 Jul 2015 05:54:14 -0700 (PDT) X-Received: by 10.70.109.199 with SMTP id hu7mr81596427pdb.71.1438088053599; Tue, 28 Jul 2015 05:54:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pl6si686475pdb.124.2015.07.28.05.54.12; Tue, 28 Jul 2015 05:54:13 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932141AbbG1MyK (ORCPT + 28 others); Tue, 28 Jul 2015 08:54:10 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:34000 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755527AbbG1MyG (ORCPT ); Tue, 28 Jul 2015 08:54:06 -0400 Received: by wibud3 with SMTP id ud3so179463564wib.1 for ; Tue, 28 Jul 2015 05:54:05 -0700 (PDT) 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 Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 = ; + }; + }; }; }; };