From patchwork Tue Oct 30 10:11:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149724 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5249176ljp; Tue, 30 Oct 2018 03:12:06 -0700 (PDT) X-Google-Smtp-Source: AJdET5ffbOvz4534UcAePG5Cg6UKpkZJ9YSzztT9b/UbyuVJ9TYMVLWczU8bty2r6zJqspJvn7b2 X-Received: by 2002:a17:902:e089:: with SMTP id cb9-v6mr17602027plb.196.1540894326290; Tue, 30 Oct 2018 03:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894326; cv=none; d=google.com; s=arc-20160816; b=pn1jYsK1b2VF6spdXBFRBFefvy08J3XpXD1OkCez5N0iabhsPD923i8Qo5Zz6QYKXj 4TD7+U0mGkETPK8FOXqiDogIPcq0ogtk46iXoI/TOA1MPT4OBGZdBrUn8VdIroZYEZ8t tZ1+3nAdaAAiDHdmqNh1Rj+4Us0DGY3oZiEA8SdG3ku0VH3GQ9eT/GW6Jk5BN3TEYnDP zD9V53IGGljMaXhRHu/gLtKXmHRegWSbVcKMsf0xMyi90gLguoPCBoJ/8jxVzRuRFf+f OPo21gFtg+YtAv9tRZt52ZlMT6IWNMWnGSZJsCAGy4UD3QgXEof76gY/rB3oIPtpLsVb /8Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DmUzvNirhgZWnLcpOXTBrAgnWwtZZMiWoCCqzpA9fc0=; b=C5IBA7ocAM8mF/GTyIpW3FM9VZIQ0OXEeti6EL0M0iLxfrY5hZivZgGHn3SG0FBZYN x9BXV1Sqr/NQcZ4fuGzSmHyuoU6ZW7nii29R1WhrE5RS+kdcuiDSv++/AeMSD8YAH7eS 7JpfgEgHQdgWKpI5lHsri5XeaDGVKvbGIhY+aTSyXzP49aQiMRRPHTICvp3Eso95qbn9 7JeoAg9qyCQ/qzi9JWCY6vGz2KBU1WlCH/QsDFxIm3gw6nU/1Az1nEzo0ZFl9kpmQ99J rqMyFr1/ayIRgQI6gr/tHWplnqdlA/vbLd49/8zZw3+V4yS5Tp1TOQr+HWvBHvd874Ui 6rWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a71PxEPd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m70-v6si17034793pfj.48.2018.10.30.03.12.06; Tue, 30 Oct 2018 03:12:06 -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=pass header.i=@kernel.org header.s=default header.b=a71PxEPd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727695AbeJ3TEy (ORCPT + 14 others); Tue, 30 Oct 2018 15:04:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:43228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3TEx (ORCPT ); Tue, 30 Oct 2018 15:04:53 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 315CC20827; Tue, 30 Oct 2018 10:12:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894323; bh=rMCSijJpBWmHWNKbSgW22S4N+CpCoGYs5NW2zeDYw28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a71PxEPdpboZtZg7DNFC5SV3T4XtT4nIY3tn9Lo5tbFIQQwn/YuVGuY1DSGu4Q9tn BdzFpmPdKSZpzfT3bmFDyVHRNyHH2+4ExC8GN8GmKu5tOPZ/APGhc5ZlaVy+IEafX5 jQ+GygoXAWBVk1eYLKz2saApcKpeJHdRF99Uvl80= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH 11/17] arm64: dts: qcom: pms405: add gpios Date: Tue, 30 Oct 2018 15:41:02 +0530 Message-Id: <20181030101108.11041-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the GPIOs present on PMS405 chip. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index cdb4547c998b..18410d9f0f8f 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -17,5 +17,21 @@ reg-names = "rtc", "alarm"; interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; + + pms405_gpios: gpios@c000 { + compatible = "qcom,pms405-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0 0xc1 0 IRQ_TYPE_NONE>, + <0 0xc2 0 IRQ_TYPE_NONE>, + <0 0xc3 0 IRQ_TYPE_NONE>, + <0 0xc4 0 IRQ_TYPE_NONE>, + <0 0xc5 0 IRQ_TYPE_NONE>, + <0 0xc6 0 IRQ_TYPE_NONE>, + <0 0xc7 0 IRQ_TYPE_NONE>, + <0 0xca 0 IRQ_TYPE_NONE>, + <0 0xcb 0 IRQ_TYPE_NONE>; + }; }; };