From patchwork Wed Nov 16 10:11:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625300 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39097C4321E for ; Wed, 16 Nov 2022 10:11:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232954AbiKPKLs (ORCPT ); Wed, 16 Nov 2022 05:11:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232778AbiKPKLq (ORCPT ); Wed, 16 Nov 2022 05:11:46 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 012C720BDF for ; Wed, 16 Nov 2022 02:11:45 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id p16so11532759wmc.3 for ; Wed, 16 Nov 2022 02:11:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xrFpP9QwUo7UqKYXxLix0MUsi0KOqYbvwdMGQZr77xU=; b=eMTVGG49sC4X6HIhmiWz0T/pIw4BVcQA8T/8TD08hCKMLsVkfU5p6azY4KGAH3Dwg5 X4zszBAoOc2To0cXd6IlAZvLOQLwOzVlQ7lB8cbxwyLkPJkC8Oejd8LAK5B9PbQRKwUk 88lzJYTazF+xSsIGfvUPHu7JmLX2LUHNidlTPNAlmimVvh7hDQ5xZhhb09R9MqUulmqI VE2nOhTgwC98QGkO2eEiT+ahYjZE782fOfUYYfM0/XClx2silBSkrQOwT2OrVsOseYio 5ZG6gfCJew4YIejFYFUXpBIsWIbWdCpHDOomdUaDuqPQJu4B8geMzAtvfaoPAufsU8tE 89Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xrFpP9QwUo7UqKYXxLix0MUsi0KOqYbvwdMGQZr77xU=; b=h0wfbbx/taM/wzAWQinxASBmgKy3PO7N3FlP1KJw61n/lqyj61NYd2CG8rZP1mg3to ISewnESGASKstGj31IZl4AgjoBDX9vYhpYEWJ+q+fTJFoaXT4eI+Ef9o//V7nM8um1Tx 5d6lvtNgWjRX73a4UH8qnpJLW44gB0uki48d3Ev5m3qE8R6Jz1Pq0+MG1fG/UhKy7NSX Aa86rCh+sh6jJ3s7YU+ETr6Z3QHzc8p+viOdvcf+zwxJ9xi4ZVJCtY6AUGbXHrE8NSHz k+SddMliLJ7kldIsHQ0pwp8Xy8N6mtSiOnw0LdlX7oXAASnUdJfmU6I1NIU6sNwkznHE V5ig== X-Gm-Message-State: ANoB5pl6y8WNiZ+fnPnhbvB2VdeaboIjXevFjJiFyr0F8te6Su6pVPHq U4cmVFwTD7Vzb+Ge6nS6Ign1xA== X-Google-Smtp-Source: AA0mqf5B3TT3UbZWZIPIYVSwDm7bpf27/Yg3J5xtbt2zfp6zKAu4+azwrHIc/fLSAVuD+4pcpfY26Q== X-Received: by 2002:a05:600c:21d2:b0:3cf:b2b1:3c7 with SMTP id x18-20020a05600c21d200b003cfb2b103c7mr1570335wmj.176.1668593503465; Wed, 16 Nov 2022 02:11:43 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id h12-20020a05600c350c00b003c6bd91caa5sm1741752wmq.17.2022.11.16.02.11.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:11:43 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:11:30 +0100 Subject: [PATCH 1/7] dt-bindings: mfd: qcom,spmi-pmic: document pm8550, pm8550b, pm8550ve, pm8550vs & pmk8550 MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v1-1-6338a2b4b241@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> To: Andy Gross , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Lee Jones , Linus Walleij , Stephen Boyd Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Neil Armstrong , linux-gpio@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Document compatible for the pm8550, pm8550b, pm8550ve, pm8550vs & pmk8550 SPMI PMICs Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index c01a00128eda..93e76d7f7814 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -55,6 +55,10 @@ properties: - qcom,pm8350 - qcom,pm8350b - qcom,pm8350c + - qcom,pm8550 + - qcom,pm8550b + - qcom,pm8550ve + - qcom,pm8550vs - qcom,pm8841 - qcom,pm8909 - qcom,pm8916 @@ -71,6 +75,7 @@ properties: - qcom,pmi8998 - qcom,pmk8002 - qcom,pmk8350 + - qcom,pmk8550 - qcom,pmm8155au - qcom,pmp8074 - qcom,pmr735a From patchwork Wed Nov 16 10:11:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625299 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21F18C4332F for ; Wed, 16 Nov 2022 10:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233022AbiKPKLu (ORCPT ); Wed, 16 Nov 2022 05:11:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232925AbiKPKLs (ORCPT ); Wed, 16 Nov 2022 05:11:48 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7A8129C8C for ; Wed, 16 Nov 2022 02:11:46 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id y16so29070007wrt.12 for ; Wed, 16 Nov 2022 02:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MWwgXwpGXH5XYvc8N8GrQQ7u8RORdttRwjGHHNF6/jM=; b=ronOanEJ5I8pno9bKXqmyTsx0rJCBidFbR+Bgu9L262hTWSmsymEn/gocxa0i525mu 2xSD8/prB6gMsh7s74aYHV8U+dl6fkX2rpT1rbZLaEHlWdCr37AC7K0MRAZ8AtweMVkF bPf9WF71NtMs72P5RWLnuz7Eq1tnisrIg3K8YR3278llBtfYmF50YwJezkh+T6PN1ZzW u+jnKt4BX9ibuq+dmpM49eiTbaEeRrpcSEe0ZRVdUQ+SdCZoumUTkk6Mt0JeCv91DEsq cKqxOaEaQWTxXUMEqscaHPcM/E/CGyjSi9o5ycLsRai03PrZA+nlc47rA0ZsBUHsh7ZY NA6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MWwgXwpGXH5XYvc8N8GrQQ7u8RORdttRwjGHHNF6/jM=; b=hhOB+cLEsAgZjsYivB1MUeUZ2aKiN7VgaABErJNorA/V4l//KRj3uSk2bYfDuTDbnn xXoq54GEsC1C554/WyJuTACJF2Gl4u8b+033vO204OTE0Ynppe5cRM95sCYKd3NVYXFw 8v2FbiPqbee13mdgP8JcdHqQfRyB9lPacUZ5OnRSjO8HWJWXA2aribp2aPairok1Gez1 aiRtTaqBznw7NjnaTpg3EsIrxFTOZSFS0gVJSU5viRiyINGuY8nmCZmwAijQ1NExqENu 2e9lFgGKfn2kZtWshKh3a4YIVy0sKX9OD3OhTSoNq6ZZB4PwpdIsUtCefXumnhpG6Fgd diDw== X-Gm-Message-State: ANoB5pkTXljc9E2f+n8F1yrZZjvbSrGWSZk+/G0i2aR8r+YWI1eSW75l MVNLNpe3YDwvnyTWnlUwnLgYxg== X-Google-Smtp-Source: AA0mqf7+Cazc0CjAZ4VGqek/GdWkAQT+c5m9fPe9tQtsg3u0ohJVelHFoqQo9fASRuEQ7If9dvbxrQ== X-Received: by 2002:a5d:58c3:0:b0:238:8896:7876 with SMTP id o3-20020a5d58c3000000b0023888967876mr13445030wrf.645.1668593505307; Wed, 16 Nov 2022 02:11:45 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id h12-20020a05600c350c00b003c6bd91caa5sm1741752wmq.17.2022.11.16.02.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:11:44 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:11:32 +0100 Subject: [PATCH 3/7] dt-bindings: mfd: qcom,spmi-pmic: document pmr735d MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v1-3-6338a2b4b241@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> To: Andy Gross , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Lee Jones , Linus Walleij , Stephen Boyd Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Neil Armstrong , linux-gpio@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Document compatible for the pmr735d SPMI PMIC. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 10a71a130987..5d4400ec8f28 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -81,6 +81,7 @@ properties: - qcom,pmp8074 - qcom,pmr735a - qcom,pmr735b + - qcom,pmr735d - qcom,pms405 - qcom,pmx55 - qcom,pmx65 From patchwork Wed Nov 16 10:11:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625298 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C772C4167E for ; Wed, 16 Nov 2022 10:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232277AbiKPKLy (ORCPT ); Wed, 16 Nov 2022 05:11:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232974AbiKPKLt (ORCPT ); Wed, 16 Nov 2022 05:11:49 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A08A29C91 for ; Wed, 16 Nov 2022 02:11:48 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id cl5so29070591wrb.9 for ; Wed, 16 Nov 2022 02:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DomrnSm96zSkZhM662uK9kmnG2CwT9HGpFGat7R0RuE=; b=L0HLr2ApuBLN9ODseDtZ7fQx7rZUezBQWIvjTICqT7R+u/7cKpEPy7RXegSlBKXAYY S+avTR1gK22gih/ALc29dC5mOnMF6FfUGjozpf0xtpxkQ8mym67TZEv+t3tP6l9iB50T TFZI1XF+zW0ZhKYWlIx92fa20YTDXxlizOiFYyVe+rAW4k58VaXtJNfKAH9n/hm6U+rj m/ZnKIiwcnUzTN2m90xauNeqauP2Bqy9O6IYCP/FGJqvz6QME3Vj9VZNLHzb5W1ENIWO dBAk2jR/DEH4VEIS2XpjlkdCYTZj4o/kEwSn2A51t9ZSczuta+k7iGka9Qzx/DklIVqe jejA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DomrnSm96zSkZhM662uK9kmnG2CwT9HGpFGat7R0RuE=; b=bMszJQkU8yHbOKaSAWZ+f3hgq6eKVktzEqcOcIB9BFmRZ/xgjIHL45eceYFYZkXg17 xZqyYeHmYSzsQp2QOgjUIrK/hf2BqZWP9goRI3PSX40Cy3di9JBHgQf5rZv5gaJ41EKI 3Sm+hKDS4e8H/N0iZtGp+7cYLT/AISyiODEv3vi0TaECbyUmGovtqhuKqto2mfjvP9do uQfAfasJuCv+hx/NRYB+zMWBTjWeOpYlaNdivfONHSAu3d2v/SHlhK0g25JO4F2DsTxs hjC+S3PouZNmn8iOfbt3f9a9bCvtvz9f7+df7TDWGkeOrMF8PLdK85/gJlKtIKnBtCm1 UPeQ== X-Gm-Message-State: ANoB5plMp55umsevydRCE2w5tFf/CruKFZDHr2q0djku3Q7TxScdpRIE jEK80m4VEVEy8OBE4gKv4/nm1g== X-Google-Smtp-Source: AA0mqf46L3aO5Wq2TgigsokvsrVab1bV5ZmAtx/l2FRYWi6zJ/iR3zRqhDoHxoAWdmBbFIDhjfZO9w== X-Received: by 2002:a5d:4810:0:b0:22e:3659:2d92 with SMTP id l16-20020a5d4810000000b0022e36592d92mr13278929wrq.604.1668593507966; Wed, 16 Nov 2022 02:11:47 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id h12-20020a05600c350c00b003c6bd91caa5sm1741752wmq.17.2022.11.16.02.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:11:47 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:11:35 +0100 Subject: [PATCH 6/7] pinctrl: qcom: spmi-gpio: add support for pm8550 gpio control MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v1-6-6338a2b4b241@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> To: Andy Gross , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Lee Jones , Linus Walleij , Stephen Boyd Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Neil Armstrong , linux-gpio@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add support for the pm8550, pm8550b, pm8550ve, pm8550vs & pmk8550 gpio controllers providing GPIO control over SPMI. Signed-off-by: Neil Armstrong --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 89695b5a2ce7..f758522d035e 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1221,6 +1221,10 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 }, { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 }, { .compatible = "qcom,pm8450-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pm8550-gpio", .data = (void *) 12 }, + { .compatible = "qcom,pm8550b-gpio", .data = (void *) 12 }, + { .compatible = "qcom,pm8550ve-gpio", .data = (void *) 8 }, + { .compatible = "qcom,pm8550vs-gpio", .data = (void *) 6 }, { .compatible = "qcom,pm8916-gpio", .data = (void *) 4 }, { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 }, /* pm8950 has 8 GPIOs with holes on 3 */ @@ -1232,6 +1236,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pmi8994-gpio", .data = (void *) 10 }, { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 }, { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pmk8550-gpio", .data = (void *) 6 }, { .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 }, /* pmp8074 has 12 GPIOs with holes on 1 and 12 */ { .compatible = "qcom,pmp8074-gpio", .data = (void *) 12 }, From patchwork Wed Nov 16 10:11:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625297 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6EACC4332F for ; Wed, 16 Nov 2022 10:12:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233161AbiKPKL4 (ORCPT ); Wed, 16 Nov 2022 05:11:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233018AbiKPKLu (ORCPT ); Wed, 16 Nov 2022 05:11:50 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BCAE2338F for ; Wed, 16 Nov 2022 02:11:49 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id y16so29070240wrt.12 for ; Wed, 16 Nov 2022 02:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=VBLFfpuYzGwgHiIgmRksJJfjyWbMcIkXPEI0JtdHAgc=; b=E9OGNwlxBGugaTZ7cl1i+RM4u7NF8JNxQAcVNkYohJjc1dGfLkXj0IsPcGsTvqnbao z3aD3MBh41ssAllpNEb4BmNlP98uuyL+MSvYHewAylnGeC3Co7QlOPO3D6XeIweyblq9 cO7TcpFa7Ym7LG87mixQonkX7mSKeuDrIGrmYpqtQoB9vS7fJRjgGnxHdXDf3va8lR/+ mTKDUljTUxlmos6TuAHeNA2PsolL9f7bEbTM/mKDfo3DOJIR6HIdNWKx85yFoKnntZwo ohMRILZ8o/tF1SDkOa5wNF1eb7TZUzBFjMbL8CBdjwdcrrBYZ7P8ah9W9jqnZF7lcmHV unVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VBLFfpuYzGwgHiIgmRksJJfjyWbMcIkXPEI0JtdHAgc=; b=3eN7zsl5aiykW7xxcpb1OsBQPNYBeDsbQFUgXJeJl2yXwsEiNrP0b0zdq5VQSklcSP R9IN1dwi6Cjc1uWZ+szDsVtNowuKDqd0WFdmmiiV0NEu+fnRau/HlJpUmX/PY381li3g 5ioJg+AFVSVhdzsXGcQd5vVIYqioT+hT9M93Z+v/QXEXWZGMYwZ94+PW8+E551u8FW3G KJCFE7RMvwfFvyquHcwOwgt3rCxMnkLOT8ovhaAs6FMf2wkQV7vKHF+ASjP9cbYMmEr8 FdTkvn1+1uaIr4YQMlXCdhJfSZfVNIGLOWrMsC0caPttxyDVvT8q1FIP0GNV4xxyx+0j uHJw== X-Gm-Message-State: ANoB5pnvCvZGbzujBH5TeZPJ8dOLevHyUmrqSjwyZPhIKXfipZuWG0bU ZVbVZr0edEtPkrFVj7rWB3FWVQ== X-Google-Smtp-Source: AA0mqf67BDpZ8h0XiJsmLizFY7Aa6egS8/MBdPM5GdJT1i1IHJ4mldiWcZ+Dm2j07ccNTRbLfW9bVQ== X-Received: by 2002:a05:6000:12d1:b0:236:6e2a:ac17 with SMTP id l17-20020a05600012d100b002366e2aac17mr13307315wrx.345.1668593508782; Wed, 16 Nov 2022 02:11:48 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id h12-20020a05600c350c00b003c6bd91caa5sm1741752wmq.17.2022.11.16.02.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:11:48 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:11:36 +0100 Subject: [PATCH 7/7] pinctrl: qcom: spmi-gpio: add support for pmr735d gpio control MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v1-7-6338a2b4b241@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org> To: Andy Gross , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Lee Jones , Linus Walleij , Stephen Boyd Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Neil Armstrong , linux-gpio@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add support for the pmr735d gpio controller providing GPIO control over SPMI. Signed-off-by: Neil Armstrong --- 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 f758522d035e..66d6d7ffbd43 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1242,6 +1242,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pmp8074-gpio", .data = (void *) 12 }, { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pmr735d-gpio", .data = (void *) 2 }, /* pms405 has 12 GPIOs with holes on 1, 9, and 10 */ { .compatible = "qcom,pms405-gpio", .data = (void *) 12 }, /* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */