From patchwork Fri Jun 3 22:11:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 69304 Delivered-To: patches@linaro.org Received: by 10.140.106.246 with SMTP id e109csp477163qgf; Fri, 3 Jun 2016 15:11:43 -0700 (PDT) X-Received: by 10.66.178.139 with SMTP id cy11mr7680035pac.157.1464991895650; Fri, 03 Jun 2016 15:11:35 -0700 (PDT) Return-Path: Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com. [2607:f8b0:400e:c00::230]) by mx.google.com with ESMTPS id uy8si8132802pac.229.2016.06.03.15.11.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Jun 2016 15:11:35 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::230 as permitted sender) client-ip=2607:f8b0:400e:c00::230; 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::230 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-pf0-x230.google.com with SMTP id b124so47563035pfb.0 for ; Fri, 03 Jun 2016 15:11:35 -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=6akX0G09E43eoOUwfcrSWr+17XPXJMivXJ3XrJ5bo6k=; b=Wo3h1trw2txr20yCTANxzKbCpRiUe8DjPQlx1X30t9lTXbsJNzlFL43WhTL0nG9AaD 6HAkQMSe9cLkBqzg/4hxlMeGHufJjxzf4GESeE79oDfzFgxFqNRC5kYzCT9KtJK/SiGg YHNE4qEXxk28AKtxp3gUqs9vCO94RA6l8qcOI= 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=6akX0G09E43eoOUwfcrSWr+17XPXJMivXJ3XrJ5bo6k=; b=InPmWH9aziBL7cdeCWyjSUvQfUoP1Y56NWf0irZ/+uRn+ASbbLBCI+2Ajt2A/eiPh2 Lh0evbFvY5Qp+GG8l6huV+TblPBqVwSht1gjy00h0Et3bN57va7SuQqYegML+eUKAudW ToeCCRsGS52yxy8t7Pe6SUKy+P753patIGMfaalKj1fY+5vOyx5gs+ArC9U0M0gle9md VebPqbHprS4NQNtoPkRZqvuCz+G+SJqGMlmyP9cLjnOWLsRfS07Nbbt1N5Fcn8ZpQUZ8 XsTc5hvgXMrFPOdaIhD5yRQkqy7NQkdnWz5jv0tcWvYiUjWaLSlaz8h6vh9U7ckL+p09 5e6w== X-Gm-Message-State: ALyK8tJ3w+Ydjylzp8SY372hHgAo2M7itdTlbBJFizcFzR8FF0tpPJQu3OfLGlQl87VT88bY7mo= X-Received: by 10.98.102.205 with SMTP id s74mr8516294pfj.54.1464991895341; Fri, 03 Jun 2016 15:11:35 -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 d184sm10596841pfc.56.2016.06.03.15.11.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Jun 2016 15:11:34 -0700 (PDT) From: John Stultz To: lkml Cc: Guodong Xu , Dmitry Torokhov , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Lee Jones , Jorge Ramirez-Ortiz , Wei Xu , John Stultz Subject: [PATCH 5/5] arm64: dts: Add powerkey info to pmic for hi6220-hikey Date: Fri, 3 Jun 2016 15:11:26 -0700 Message-Id: <1464991886-632-6-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464991886-632-1-git-send-email-john.stultz@linaro.org> References: <1464991886-632-1-git-send-email-john.stultz@linaro.org> From: Guodong Xu Add powerkey entry to the HiKey dts. Cc: Dmitry Torokhov Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Lee Jones Cc: Jorge Ramirez-Ortiz Cc: Wei Xu Cc: Guodong Xu Signed-off-by: Guodong Xu Signed-off-by: John Stultz --- 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..1a61a8b 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 { + 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";