From patchwork Tue Nov 16 15:35:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 12622693 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04749C433F5 for ; Tue, 16 Nov 2021 15:24:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE28961BF9 for ; Tue, 16 Nov 2021 15:24:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238157AbhKPP1I (ORCPT ); Tue, 16 Nov 2021 10:27:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238104AbhKPP1H (ORCPT ); Tue, 16 Nov 2021 10:27:07 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AECC6C061746 for ; Tue, 16 Nov 2021 07:24:09 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id d27so38374131wrb.6 for ; Tue, 16 Nov 2021 07:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Hb8StdvkhuwqjYrqbshLfc0V2nPtAGB1TlClikG+/W4=; b=kpgkmj9vddqDwV3u7YsBA/AtAr3+HZscJ0U59XnhXILqqXkV64ZffvqX45ZJM2lnO8 qtI9eArOnpdLw6XqRwz/P0mRsg5xp1a77F3i2Hd79L4kkpcIog4OTcxX1/X/0EYSgGDG 4EeixZwH5SoQbaEcFQkYB4rJXtBHfgjLwLAVDENd2BJggEyOziuhDqdthgybHXWMvhUO Nbfpojd2GbCqySHHbBzOE9++E3uAWfg696bahtCUuXhO+oMqYBpwGLFV7rMpyPOzUWQx o7KqNUpP+Zr5luZK9wPx1uXxsrMIB9JFWh4dMoufywtAGW37+DQCFo5LUoH8Aixc5Vjl UeFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Hb8StdvkhuwqjYrqbshLfc0V2nPtAGB1TlClikG+/W4=; b=w5lxcMiv6cAW5S/+w8l11bYlKJ7Miac7L7GnKXYXsVLAikZ2GfRhx5v89yzmilVs5u N3QCMOc3hg/zoag7RtzJNB8IZA958zyjw+ObBeKWYHzbcRKJQ6MYBOkTKmy7CmeRjzHp Jvk/oXqOBwiGN6w5H4eqUPHRTT88kOU2g3RI9pfUmOa+tXJekEk2isKeO9vrBeFhkqtY ZYIBgWf5dQyOadfZ73az8kFYZ9aVPLUkjEk5J9psZwIXEj693qq2bi8Xi5h5eJMz7cOa VG10a3IsfhabRDRyNkY9PnaWMa6vDeE8CPtAqk3+v/rlk4HvON3oRPQVHUD33yddbzFO Wp3A== X-Gm-Message-State: AOAM531tFHnGLO/r9Fsx28Cf0V3f4vfo+E3HrQRMY9qIpmsZ6r+6RsPZ 7HX+29txI628y+gdU8SOq+kX2w== X-Google-Smtp-Source: ABdhPJyx9E3jDaIaXCPSmT4h//ywS47dRwiYotz2zbdJMKuGHIZfXaLDRQeruZg/yFH8qRjzzTaEJg== X-Received: by 2002:a05:6000:252:: with SMTP id m18mr10258797wrz.117.1637076248101; Tue, 16 Nov 2021 07:24:08 -0800 (PST) Received: from localhost.localdomain ([88.160.176.23]) by smtp.gmail.com with ESMTPSA id u23sm18847352wru.21.2021.11.16.07.24.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Nov 2021 07:24:07 -0800 (PST) From: Loic Poulain To: agross@kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, shawn.guo@linaro.org, bjorn.andersson@linaro.org, Loic Poulain Subject: [PATCH 1/2] pinctrl: spmi-gpio: Add support for PM2250 Date: Tue, 16 Nov 2021 16:35:14 +0100 Message-Id: <1637076915-3280-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org PM2250, commonly combined with QCM2290, provides ten SPMI GPIOs. Signed-off-by: Loic Poulain --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 5283d5e..a1a8a48 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1141,6 +1141,7 @@ static int pmic_gpio_remove(struct platform_device *pdev) } static const struct of_device_id pmic_gpio_of_match[] = { + { .compatible = "qcom,pm2250-gpio", .data = (void *) 10 }, /* pm660 has 13 GPIOs with holes on 1, 5, 6, 7, 8 and 10 */ { .compatible = "qcom,pm660-gpio", .data = (void *) 13 }, /* pm660l has 12 GPIOs with holes on 1, 2, 10, 11 and 12 */ From patchwork Tue Nov 16 15:35:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 12622695 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3341CC433FE for ; Tue, 16 Nov 2021 15:24:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 186C361A64 for ; Tue, 16 Nov 2021 15:24:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238105AbhKPP1J (ORCPT ); Tue, 16 Nov 2021 10:27:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238124AbhKPP1I (ORCPT ); Tue, 16 Nov 2021 10:27:08 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A32AC061764 for ; Tue, 16 Nov 2021 07:24:11 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id i12so16490043wmq.4 for ; Tue, 16 Nov 2021 07:24:11 -0800 (PST) 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=ic7tuGpaS8/hqtPDK3UcPIMhRerIURUqlJhICnkZYYk=; b=TFNgiwmCLGCEdZck6rW5G5PXMyo9TiiyaF3olI3ZQNcUnvhbxzUtTzytWCIG8590fP Gvl7Kbompuj+h3ZSdbIXsTIBtTOwuu4NBaaET/Pu3V8NYt3zghmOkES9NX55cRFyCmoP 238ugihGpWjJSgX+1PKhK8ennyq75SWv4u44nIJOcdqTKCkOyHrIeOaP8umP+k4Vlbk4 XyK8S2+OwJYeS4Xz4ZkykFMsSa6MY362JSHui4xaWfMzizHBNRuCvlu7FMi8Gigv9dg8 q1Tirl7+tZAEpE8JKQVugR8Nloi6dL5uVv+q6De3n27VAFvS5t4MRI5S42x445Qlp9/Z K0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ic7tuGpaS8/hqtPDK3UcPIMhRerIURUqlJhICnkZYYk=; b=F+YzieZpemmyF2DPdmM0ybml/nl579LhUEKi3J9RAdkMNwlsBOSo94ZJedO8MhF6dl 1QWTTIQYGgxgNt1ay2cKS1HdUrgui4t5DLWzYYnbsOiX0K/dwsVq49Iv+37kv1uCuD6J HLnGrbnUBCCd29ZUu/2LUPBC2AivqlyGZfQejlvc5fV9LWv7olYwfSO/25c+9BqeEo1z 8ldiWDYsYMYPrON1c1oiCRapXorj2QeitS15Hn/uYMdkDcj5t68x0A8Kjxch+5lXbPKd ulMGJ5GmmcmFZ57n9hfh3dTKf1GutaPV5U6pEJOrq72nnuNIdcrIevlrotb2iH/bv7f4 c07A== X-Gm-Message-State: AOAM531gYDttHGZJ3EeX3B18pqQtrgpsPk53fPYEo8OY3WRsxKOnHI9j GaN3a1Bx/+hj9gbcUl8aSiVDUg== X-Google-Smtp-Source: ABdhPJwdMTQXcwElNEb7d90Bgd7XvdzwElkRm0YBfVkOQaFEmb/6q16deDVzwqbeSC+m0k6krrjzxg== X-Received: by 2002:a7b:c76e:: with SMTP id x14mr8788746wmk.27.1637076249577; Tue, 16 Nov 2021 07:24:09 -0800 (PST) Received: from localhost.localdomain ([88.160.176.23]) by smtp.gmail.com with ESMTPSA id u23sm18847352wru.21.2021.11.16.07.24.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Nov 2021 07:24:09 -0800 (PST) From: Loic Poulain To: agross@kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, shawn.guo@linaro.org, bjorn.andersson@linaro.org, Loic Poulain Subject: [PATCH 2/2] dt-bindings: qcom,pmic-gpio: Add pm2250 compatible string Date: Tue, 16 Nov 2021 16:35:15 +0100 Message-Id: <1637076915-3280-2-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1637076915-3280-1-git-send-email-loic.poulain@linaro.org> References: <1637076915-3280-1-git-send-email-loic.poulain@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add compatible strings for pm2250 SPMI GPIO to documentation. Signed-off-by: Loic Poulain --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml index 8952b4c..42d8491 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml @@ -17,6 +17,7 @@ properties: compatible: items: - enum: + - qcom,pm2250-gpio - qcom,pm660-gpio - qcom,pm660l-gpio - qcom,pm6150-gpio