From patchwork Mon Nov 5 15:45:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150205 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759306ljp; Mon, 5 Nov 2018 07:46:50 -0800 (PST) X-Google-Smtp-Source: AJdET5dHLk4tbS2o2kes2BV2lwZ55Di9PlSG+HoQ99DlvFW/LviBYs78eHloyIHUxJKNx+PsXs/A X-Received: by 2002:a62:f599:: with SMTP id b25-v6mr22854485pfm.253.1541432810213; Mon, 05 Nov 2018 07:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432810; cv=none; d=google.com; s=arc-20160816; b=NXBnTgKUBaC+w38iEgKn2BJwW2KD8D3Zj9RAg8qstjorWXlu+9mJwIcRZMfI1wK2GX NDkhvDrhOXYfoXe6y4ZryK1v2vqokhDgFPVOLCX7RAuCZ0lsPNJtOWrnupN/aOM1o2yo RZYCSmShOD+26RUEDp8QoD+nHfMZMOwBzrZdNGf45nNQe1N5ThFeMwjvSjuSjZqIwVX+ 26sobUWpFtC3xg4vikqSEnA3PyFZvtCKSLf2vfAB6lvMI/veJPw7Ca+hEejYvlzqUCq5 xHyWW8VFgkdprHzYzV41vDEe348OF6wXlgWpWgoJcBITcSJiUleo0KaFoCdV5Yre1Wsn acpg== 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=N1No8GzBNPVOJJGsKbN5KjDN3F0EJKIq5SDVEIfb9yXm4e9ouWroSxf/S6lW4v6CIa qkfcghWVsEAPAU0Cn305DuFROPDLXKJ6El6qJQdie4MvT+B/RGu+6UrLZ6bGxCsF02bW eAV5s8QBt6IKw0fbwQc96dpH+eoigq6t/Anga5P+kZuQofHqVD4gnx74smBxCDE7pHYQ 7WcVx8iixIGmUvJyk1pb2pkbLJQuvz8Rl311nmo03NQJHuPDNNuGXChuVzMasbCHatat 8LnG0fb9al1tCoxMNKZJYG71iyHNDIhpRHjbILJ1H5Co8TcFoj/5xUi25bZnM2dxtDSr GR6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TvezLXCZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 c18-v6si35030322plz.116.2018.11.05.07.46.49; Mon, 05 Nov 2018 07:46:50 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TvezLXCZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2387648AbeKFBHF (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:52630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbeKFBHF (ORCPT ); Mon, 5 Nov 2018 20:07:05 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 64E9920866; Mon, 5 Nov 2018 15:46:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432807; bh=rMCSijJpBWmHWNKbSgW22S4N+CpCoGYs5NW2zeDYw28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TvezLXCZxzpPNoIM8j08HVg0pkm/7Sguyzd1Nf7feHgtYqphBHgoLgVpPQ86ppxfN 1Wd7A15N7kdJ2HzUeIU3K+qZITwoGRvhNJVGzEpE75PpjhlMjp8xgDSKB63Iw0Pm9n /nTeUYqzqGZ+4U5m6ruJUcR7Pf9CfaZD+n1Lm3sM= 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 v2 11/17] arm64: dts: qcom: pms405: add gpios Date: Mon, 5 Nov 2018 21:15:23 +0530 Message-Id: <20181105154529.7614-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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>; + }; }; };