From patchwork Tue Aug 18 13:10:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 52512 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 2670A22DB1 for ; Tue, 18 Aug 2015 13:10:28 +0000 (UTC) Received: by labth1 with SMTP id th1sf57230281lab.2 for ; Tue, 18 Aug 2015 06:10:27 -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=cWWxJIWDs2RB+bSUVv7ZSMSXkG3TdzWY7b+fZzlLEJ8=; b=OoOIZw4qbt+UyyUVJ5yJYvIyIYIP0jTeuphAkqXnYUAfQeHxPHUMyrRrNxpMabQ9el arttDUoQZM7BiNE0yS/Q9oxycvao73SaoN/6idcbtlbKL+y10zhwjtLM+US9gBQkje6Q Oo5caqw0lWXzc5NUhhfP0kaouivdY8c0op3dcmvYL/HSXTclCesLOd7hvVwNw8sUELi8 twZkX0Vx51whjwv3EidAxJGZB7MY0/hmJSAR9gzEvriVayJ+XcjrFLkk0DamW0Ttaza4 8O0fgvzZsCszx5VkadpTtz2fMzaCun+v/C4vD/Jc6mzmdoAXBJACB9Dr6e0ykNbojQs+ agUA== X-Gm-Message-State: ALoCoQmDFfYV2+fwM6Gu9H67+f/8j+bxke+nPFiBTjCMKa2sEQA7I6JE3+u0VdZ0EEkVyo10sCi3 X-Received: by 10.180.205.198 with SMTP id li6mr6304703wic.5.1439903427068; Tue, 18 Aug 2015 06:10:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.2 with SMTP id wm2ls708933lac.38.gmail; Tue, 18 Aug 2015 06:10:26 -0700 (PDT) X-Received: by 10.152.36.226 with SMTP id t2mr6244925laj.6.1439903426875; Tue, 18 Aug 2015 06:10:26 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id k8si1265644lbd.51.2015.08.18.06.10.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Aug 2015 06:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lahi9 with SMTP id i9so98606340lah.2 for ; Tue, 18 Aug 2015 06:10:26 -0700 (PDT) X-Received: by 10.152.164.130 with SMTP id yq2mr5648028lab.76.1439903426773; Tue, 18 Aug 2015 06:10:26 -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.162.200 with SMTP id yc8csp472381lbb; Tue, 18 Aug 2015 06:10:25 -0700 (PDT) X-Received: by 10.69.26.38 with SMTP id iv6mr13289981pbd.151.1439903425622; Tue, 18 Aug 2015 06:10:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tt2si30274243pbc.54.2015.08.18.06.10.24; Tue, 18 Aug 2015 06:10:25 -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 S1753168AbbHRNKV (ORCPT + 28 others); Tue, 18 Aug 2015 09:10:21 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:35009 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753144AbbHRNKP (ORCPT ); Tue, 18 Aug 2015 09:10:15 -0400 Received: by wicne3 with SMTP id ne3so95004661wic.0 for ; Tue, 18 Aug 2015 06:10:14 -0700 (PDT) X-Received: by 10.195.18.5 with SMTP id gi5mr13876377wjd.0.1439903414488; Tue, 18 Aug 2015 06:10: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 bq7sm26392143wjc.31.2015.08.18.06.10.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Aug 2015 06:10:14 -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 v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support. Date: Tue, 18 Aug 2015 14:10:09 +0100 Message-Id: <1439903409-20233-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439903069-19752-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1439903069-19752-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.52 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 b1f9ddb..08daafe 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -221,6 +221,18 @@ 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>; + default-state = "on"; + }; + }; + qcom,ssbi@500000 { pmic@0 { gpio@150 { @@ -232,6 +244,15 @@ power-source = ; }; }; + + notify_led: nled { + pios { + pins = "gpio18"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; }; }; };