Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4577252imu; Sat, 19 Jan 2019 12:49:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN40R+4ugskiZsLJ7t9+ue42KR9t0YUi+2cYeQ7kctME7XRSI9b+YyS2NU1xi4GUqyjMlc+i X-Received: by 2002:a17:902:b18b:: with SMTP id s11mr24015132plr.56.1547930991843; Sat, 19 Jan 2019 12:49:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547930991; cv=none; d=google.com; s=arc-20160816; b=huyD5UekoWOyNBUmU1s2pOcbumvgyrc4f0zG59dBPr1WAqGi8PeY1Ab6A/pnu2vqiT TIwptq6GYKQl5ShBky2YG/qKU6ueyVfoR8jTLKeO2jt/XAraVcZJ4Xqy8wUXrJVl7q1x o1eSGascL4r2prpiqGUmIDYFziL6B9rMbp/MByE4QO2lmyN2n9S41CLx+Tpg23ASTE2e vO4ecoSJPo6mgQmTuEatETjcgeClZrcSafHjXcBetExiaYe3Nq4XxFRLZ87oChoGQSU4 hR48d9XWJ2U+k+Hh/hQWmEz/ooK+ttm+RQJGewbyOoW33Hd6YhO25Wv2d7VAxvc6ioMr 7KgA== 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=3v2zwb2sdMLvJQ0MA/DApvXucNks3IWj8M0kwbASX4g=; b=XZB4LfXg46Zx77W2JRfyDE1fJrpzImYSBc/VQkuXAoa50WZqlqfD887Mt9IKMEoj4p HVect9DR/sq3Eg6S3gQ7UOtbpLw8A3JllZDyyRERVbNNGiEMq5+fXxjUCfvSVV24it27 amvkroBnWMzDVrd5TkIXYR3ZokC++V65WzcZjhjBvPDsBRwmr+qxKM4pr3a8cIqb8wrE z992XCgi3uYGxhIc6gi5r1MeGxPrUo4wSlsMmseZJynvHkSYClDEKV+u7BBndQagcryf 3dBsSmHoDDzuO0G5xIMq4zIGbaVrsxZtN3SvqAGhGw1wSRe38DelXyxDuxI6kq55kqWs 7fCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@onstation.org header.s=default header.b=I9dbTZ9B; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si2528248pgf.321.2019.01.19.12.49.34; Sat, 19 Jan 2019 12:49:51 -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=fail (test mode) header.i=@onstation.org header.s=default header.b=I9dbTZ9B; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730184AbfASUpD (ORCPT + 99 others); Sat, 19 Jan 2019 15:45:03 -0500 Received: from onstation.org ([52.200.56.107]:35174 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729209AbfASUnc (ORCPT ); Sat, 19 Jan 2019 15:43:32 -0500 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 129B63C9; Sat, 19 Jan 2019 20:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=onstation.org; s=default; t=1547930611; bh=DFgHa3haznYjy+rYPiuxbY7sR7Wg5p7utmT6YLE2+Nw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I9dbTZ9B4lN5xqjhHu/LVjyLKk5wmKm0H0eAZcIRi4ZCuM+SzHajslYtagXk8mJDU NYRjtm7KSESM5pVpP/W9pbz/B1Cac0UQ2YywtuztrhU07HoUhqnYoF/Y+UgPFPcFUY pwEvr4uR9B9RY9A+30j3rPKsMjccN7P/bDH/joOA= From: Brian Masney To: linus.walleij@linaro.org, sboyd@kernel.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, marc.zyngier@arm.com Cc: shawnguo@kernel.org, dianders@chromium.org, linux-gpio@vger.kernel.org, nicolas.dechesne@linaro.org, niklas.cassel@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, thierry.reding@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v6 02/15] pinctrl: qcom: spmi-gpio: add support for three new variants Date: Sat, 19 Jan 2019 15:42:39 -0500 Message-Id: <20190119204252.18370-3-masneyb@onstation.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190119204252.18370-1-masneyb@onstation.org> References: <20190119204252.18370-1-masneyb@onstation.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for qcom,pm8005-gpio, qcom,pm8998-gpio, and qcom,pmi8998-gpio. These three variants are already in use in some arm64 dtsi files. Those boards work since the generic binding qcom,spmi-gpio is also specified. Signed-off-by: Brian Masney Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson --- Changes since v5: - None Changes since v4: - None Patch introduced in v4. drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 4458d44dfcf6..5f2977982ef1 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1063,10 +1063,13 @@ static int pmic_gpio_remove(struct platform_device *pdev) } static const struct of_device_id pmic_gpio_of_match[] = { + { .compatible = "qcom,pm8005-gpio" }, /* 4 GPIO's */ { .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */ { .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */ { .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */ { .compatible = "qcom,pmi8994-gpio" }, /* 10 GPIO's */ + { .compatible = "qcom,pm8998-gpio" }, /* 26 GPIO's */ + { .compatible = "qcom,pmi8998-gpio" }, /* 14 GPIO's */ { .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */ { .compatible = "qcom,pms405-gpio" }, /* 12 GPIO's, holes on 1 9 10 */ { .compatible = "qcom,spmi-gpio" }, /* Generic */ -- 2.17.2