From patchwork Wed Jun 1 20:54:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 69070 Delivered-To: patches@linaro.org Received: by 10.140.23.41 with SMTP id 38csp4882qgo; Wed, 1 Jun 2016 13:54:22 -0700 (PDT) X-Received: by 10.98.100.132 with SMTP id y126mr12863352pfb.101.1464814459263; Wed, 01 Jun 2016 13:54:19 -0700 (PDT) Return-Path: Received: from mail-pf0-x236.google.com (mail-pf0-x236.google.com. [2607:f8b0:400e:c00::236]) by mx.google.com with ESMTPS id w1si53186833pfj.95.2016.06.01.13.54.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jun 2016 13:54:19 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::236 as permitted sender) client-ip=2607:f8b0:400e:c00::236; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::236 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-pf0-x236.google.com with SMTP id g64so21909272pfb.2 for ; Wed, 01 Jun 2016 13:54:19 -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=VP3Q3bCOlEAaHvsOFL+crbSxnwQUdHmkoPaRuVCffqE=; b=FPC/5UUNdfeuFguW3T5gi/Cz++a3cwdGhNr/tkzPr6i2arjjlHpz8at2+ZmdkGi+ui 2wnonzCDcYRfbMcj5WcjIfRsCvZOjaPFMIuyiX2Z09jSS/L4aXJwx4K7nVJqR8iRrTLh gNBREtuzjdBJgUbfdfDvIRV2enunI+Zkfo1gw= 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=VP3Q3bCOlEAaHvsOFL+crbSxnwQUdHmkoPaRuVCffqE=; b=anJKdgFNdRqpLbAfmDGamJogXilkrg2aDvFp7zYfq0CB1Gz13TuUaOoCNPEARyFoeO EQvKrCOK9dfaqEfzFBvM7FBMYhIKiz8OhCOaoXaJI0GvM1V0WK6ydMXTKSubT0q9IBVT BR1fBUsFjHIWvFZ2ocRq2VAuaABuftdRAdnbM9Yg/Hl1vRf9uwgTtyWrYA7a7dZaVxth UuA/O9leBwn2DvPmnTtoNSFYW8eRk9cpEHMSp+NsXC1StcKwi3GbMmoLqauLC77nOvyC pYYSS+96Gqx93dXoHuwDqpiizXsiFFHbTHtf8V3npeWaFEN1om0lh0pcWS+B5Qnja9t3 CDbg== X-Gm-Message-State: ALyK8tLhiQ78lh5P4Awn87mJ8YvehMbD+23tb3vOMs6HnQXm7hu1I6Y7JAM5U3x+gkbALs1lT8o= X-Received: by 10.98.149.20 with SMTP id p20mr12667350pfd.95.1464814458857; Wed, 01 Jun 2016 13:54:18 -0700 (PDT) Return-Path: Received: from localhost.localdomain (c-73-67-244-238.hsd1.or.comcast.net. [73.67.244.238]) by smtp.gmail.com with ESMTPSA id 7sm50233325pfn.30.2016.06.01.13.54.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Jun 2016 13:54:18 -0700 (PDT) From: John Stultz To: Jorge Ramirez Ortiz Cc: Guodong Xu Subject: [PATCH 4/4] arm64: dts: Add powerkey info to pmic for hi6220-hikey Date: Wed, 1 Jun 2016 13:54:10 -0700 Message-Id: <1464814450-14776-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464814450-14776-1-git-send-email-john.stultz@linaro.org> References: <1464814450-14776-1-git-send-email-john.stultz@linaro.org> From: Guodong Xu Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index e92a30c..c8e49a6 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -144,6 +144,13 @@ #interrupt-cells = <2>; pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + powerkey:powerkey@b1{ + compatible = "hisilicon,hi6552-powerkey"; + interrupt-parent = <&pmic>; + interrupts = <6 0>, <5 0>, <4 0>; + interrupt-names = "down", "up", "hold 4s"; + }; + regulators { ldo2: LDO2 { regulator-name = "LDO2_2V8";