From patchwork Fri Sep 18 12:32:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 53874 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 4B81E218E3 for ; Fri, 18 Sep 2015 12:32:58 +0000 (UTC) Received: by lamf6 with SMTP id f6sf18920871lam.1 for ; Fri, 18 Sep 2015 05:32:57 -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=/jys3UId9M2XzrU+na6zkbzC1iDNKyIE66XGS708wug=; b=W5cCGFf8t2fIxHngDySRMXa6W7+7exWojLlC2DBDM+B+WdOfLw9bLbPH6a0fuyx8ty +zHeRmmRw/4L12tPmWIJkNlhGhJ4H3FyAfpzzay2PEIYcwO/zuaFsC0iCRBeicgtQw9+ q2n2gRoPCjXEh3Ydul8FBGI66VufQm+8RXkIzWW0NfRNC0IpSFaRdgBRTNllsKAytrBW WfdfuU3ZmexqzKcvV5tufKlpFoFouH3JrEFDiv3cMQ6HKFxWVbREYaF4kGXBuHSTTM0U eJ0I5+umYygC7zVHgz+oqVIZLH0eNUvg9rxtQQION4uuqMKaDDDXq6oBwpG3kG0nAgfR 7gfQ== X-Gm-Message-State: ALoCoQkZT8WIlvLivXvSlrd8OP9/VoqiVAEniJLsDKgzIEr9RRis2HjM7SfOfA/02phJ990Y+5O5 X-Received: by 10.112.144.99 with SMTP id sl3mr843733lbb.12.1442579577188; Fri, 18 Sep 2015 05:32:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.11 with SMTP id ku11ls234078lac.2.gmail; Fri, 18 Sep 2015 05:32:56 -0700 (PDT) X-Received: by 10.112.180.65 with SMTP id dm1mr3041890lbc.90.1442579576892; Fri, 18 Sep 2015 05:32:56 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id sy6si5723707lbb.146.2015.09.18.05.32.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 05:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbpo4 with SMTP id o4so24423351lbp.2 for ; Fri, 18 Sep 2015 05:32:56 -0700 (PDT) X-Received: by 10.152.37.162 with SMTP id z2mr2923343laj.117.1442579576768; Fri, 18 Sep 2015 05:32:56 -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.59.35 with SMTP id w3csp264346lbq; Fri, 18 Sep 2015 05:32:55 -0700 (PDT) X-Received: by 10.107.28.5 with SMTP id c5mr6879443ioc.150.1442579575597; Fri, 18 Sep 2015 05:32:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sb9si2055698igb.102.2015.09.18.05.32.55; Fri, 18 Sep 2015 05:32:55 -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 S1754145AbbIRMcx (ORCPT + 30 others); Fri, 18 Sep 2015 08:32:53 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:37634 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754076AbbIRMcP (ORCPT ); Fri, 18 Sep 2015 08:32:15 -0400 Received: by wicfx3 with SMTP id fx3so29030746wic.0 for ; Fri, 18 Sep 2015 05:32:14 -0700 (PDT) X-Received: by 10.180.82.7 with SMTP id e7mr15951619wiy.19.1442579534362; Fri, 18 Sep 2015 05:32:14 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id fs9sm15300650wic.24.2015.09.18.05.32.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Sep 2015 05:32:13 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org Subject: [PATCH 13/14] ARM: dts: apq8064-ifc6410: add notify led support. Date: Fri, 18 Sep 2015 13:32:11 +0100 Message-Id: <1442579531-20482-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1442579371-19822-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.217.174 as permitted sender) smtp.mailfrom=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 notify led support on IFC6410, whose trigger can be configured from userspace. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 9c71a51..11ac608 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -26,6 +26,18 @@ }; }; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <¬ify_led>; + + led@1 { + label = "apq8064:green:user1"; + gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; + soc { pinctrl@800000 { card_detect: card_detect { @@ -230,6 +242,15 @@ power-source = ; }; }; + + notify_led: nled { + pios { + pins = "gpio18"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; }; }; };