From patchwork Wed Jun 29 14:22:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 71195 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp2179788qgy; Wed, 29 Jun 2016 07:22:19 -0700 (PDT) X-Received: by 10.66.49.134 with SMTP id u6mr12205698pan.118.1467210133428; Wed, 29 Jun 2016 07:22:13 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18si4652984pfk.107.2016.06.29.07.22.13; Wed, 29 Jun 2016 07:22:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752417AbcF2OWM (ORCPT + 8 others); Wed, 29 Jun 2016 10:22:12 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:36302 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094AbcF2OWL (ORCPT ); Wed, 29 Jun 2016 10:22:11 -0400 Received: by mail-lf0-f42.google.com with SMTP id q132so34657204lfe.3 for ; Wed, 29 Jun 2016 07:22:11 -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:in-reply-to:references; bh=nUm/s7gTQfFHZVrL/+IkjU9uq+xXNmCWqr4zIxTJOgM=; b=Mjsv/T6CEhZdZ8tccJp06hWELG3ssF08MkdtJwzhigWLyb9cME9iwyldw/KR7pptWm W1Q6OdshH62X1d0iXjRhSQpDjbDQetMvxzTcZBtzOgwuwyw3v+tuFaymVkfhZQW3SuZm IWXSWv7+j3bjgiqUaKgT1DFwYIoKZT9M7hTLY= 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=nUm/s7gTQfFHZVrL/+IkjU9uq+xXNmCWqr4zIxTJOgM=; b=fCrVyH7hnla2DBnslhn4/dnYpmlQG0Nk0EpmJp1k7ddClYyoQZFGqp5mlFASwqUfWZ DNRf52krZoYjgR7KCfAfp4j+JeSlqYciB5BJHQ4yfzcxbmnzhlnE503nmGvMVdKr0NqQ 9oeBVDSAIVjIYFf52hH8v/jU0kj2sCeSJ9XegyirYG6ZHPyjG7+2Ds0tWls2joNHWah1 6O7UfrzNcy0SjBAjPdmjr1ERy0dsQ32GOY3qzbQ3rzuf2ICFjdGdjwghu4Az4ZkxU9Mq IRiNWfhp03JbfzeHtLHO5mkYS5LyrxdCs9/s6O67Sz2+LSMuaVtMbF6uv/4CAIRQOEL0 etAg== X-Gm-Message-State: ALyK8tJhlMzHyh0YBI19V8wRvTHJF/cYLnYEdQnzPUrVNyN2E2wfeNt04bjAEKyN72BcbL2o X-Received: by 10.25.211.14 with SMTP id k14mr2739198lfg.125.1467210130190; Wed, 29 Jun 2016 07:22:10 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-cc7c71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.124.204]) by smtp.gmail.com with ESMTPSA id g28sm647329ljg.24.2016.06.29.07.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jun 2016 07:22:09 -0700 (PDT) From: Linus Walleij To: Jacek Anaszewski , Richard Purdie Cc: linux-leds@vger.kernel.org, Linus Walleij , linux-arm-msm@vger.kernel.org, Andy Gross , Stephen Boyd , Bjorn Andersson Subject: [PATCH 3/3] ARM: dts: add PM8058 LEDs to the APQ8060 Dragonboard Date: Wed, 29 Jun 2016 16:22:00 +0200 Message-Id: <1467210120-8829-3-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1467210120-8829-1-git-send-email-linus.walleij@linaro.org> References: <1467210120-8829-1-git-send-email-linus.walleij@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds the PM8058 LEDs as used in the platform. Cc: linux-arm-msm@vger.kernel.org Cc: Andy Gross Cc: Stephen Boyd Cc: Bjorn Andersson Signed-off-by: Linus Walleij --- arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts index 0abc93e5bb00..b0800b988174 100644 --- a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts +++ b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts @@ -239,6 +239,45 @@ }; }; }; + + led@48 { + /* + * The keypad LED @0x48 is routed to + * the sensor board where it is + * connected to an infrared LED + * SFH4650 (60mW, @850nm) next to the + * ambient light and proximity sensor + * Capella Microsystems CM3605. + */ + compatible = "qcom,pm8058-keypad-led"; + reg = <0x48>; + label = "proximity0"; + default-state = "off"; + }; + led@131 { + compatible = "qcom,pm8058-led"; + reg = <0x131>; + label = "pm8058:red"; + default-state = "off"; + }; + led@132 { + /* + * This is actually green too on my + * board, but documented as yellow. + */ + compatible = "qcom,pm8058-led"; + reg = <0x132>; + label = "pm8058:yellow"; + default-state = "off"; + linux,default-trigger = "mmc0"; + }; + led@133 { + compatible = "qcom,pm8058-led"; + reg = <0x133>; + label = "pm8058:green"; + default-state = "on"; + linux,default-trigger = "heartbeat"; + }; }; };