From patchwork Fri Nov 18 08:24:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 22175 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp62712wrr; Fri, 18 Nov 2022 00:25:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6AwI4/CQmq4Fb6GcMK+g+2Gy7ejj55IQXxWJ9sgLyHuz+XW7yWW3tEb9ThQM1NO75G4wCC X-Received: by 2002:a17:90a:1b86:b0:213:acf:dbc0 with SMTP id w6-20020a17090a1b8600b002130acfdbc0mr6721206pjc.64.1668759945394; Fri, 18 Nov 2022 00:25:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668759945; cv=none; d=google.com; s=arc-20160816; b=Bn2LMAPa6+uCVqnvL5ZzAdtA/tgTl2DthqGhJxFnFmUlaUrm0kijYmGrlqlSO+bdPk Q/geU2CbrIaKT7VE6WDX1ZZLL6r70wMoFA8XaMCNrlM6/2j+HcdMumY+L4LTdw4pODpb 6fy7/C6w0tOw3AvQDtUgzQ/DoINXY28jlD9DErHBxFoZmt1WeBwCCAnaCR5vXXkrAWRO fq7nSczlyTYLZvJdzQLsUILVrxCtPOBTLurBEMqsdQNiF1BquYDEZJ9qik839uZdD1Qb LdyOwkKnYJ0nRdepPyqsp6WEA1LtzfrhZFQcLRAmL2g40vpPsLmkgZczrAo+sI3sSJ0h kEKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=a2nzUnquKhTHdxUFFZNgy9G2jhcrS0mBp0qXvalRQRg=; b=Qk1s6/1kUy7x6jyZA1S/3qJcTsAyzPozRjhB8CeissPQz07sUPGq2fcfTXWymGG3Mu xVtJoR6UUGnpi4Vea43xYTwbX3A1NAYin6K3JXwfE0YESjsU9picdq1twf3276aqhW00 s5mUkMyha3WbHYJopVcm7PLL8B+9H1ABPqO6DP+zAnZAoSfydChyLeDzVnVs0GZ5wOly QidmrB17vAZHyvHirAecF4ivGe8Em+qi192gZRYNmf+ObUGB6wzGOGLjdkK0bkyDfMJp OBEjJAAknCPlyMbM/zB4K9zyD2jt3ol1a0d6vzTWcCqa+I4pYWAGxUe4C4eX+Sqmp4xU 4BJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tA1pJFtD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on1-20020a17090b1d0100b002180eb2c6e3si3065602pjb.139.2022.11.18.00.25.32; Fri, 18 Nov 2022 00:25:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tA1pJFtD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241402AbiKRIYv (ORCPT + 99 others); Fri, 18 Nov 2022 03:24:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241374AbiKRIYs (ORCPT ); Fri, 18 Nov 2022 03:24:48 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90BA668298 for ; Fri, 18 Nov 2022 00:24:43 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id v1so8050690wrt.11 for ; Fri, 18 Nov 2022 00:24:43 -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=a2nzUnquKhTHdxUFFZNgy9G2jhcrS0mBp0qXvalRQRg=; b=tA1pJFtDp9WQT25hGIrKQMzytVC8SbeOX4gPydZDOU9DPo5CydhhVVgQ1Wp3nTbqGx VtKcR0AcaCPwhclVCbXq2aI1tmMxJcVLLpYTIT16dOvoWMmG3Uc8WLd+22NLy/E19hLh Kfe0QSu7l/d/djVFeqZBxLuCPkfpvuvDTXMN/LaI38fkjykH/WR8MVvkCA/8buVW0n1C 62I/v0AwPcTtgCKyYp+nj9xkI0hYnjJm4ojKC8m5VVwjQpru3jk/pr8MHeHyWNswBNmJ NuliWmQYitW7Ry3XLrX8PmdYFXvsOrQ5ADVIcXNstmRWD7GM/0CSIT8t0rYlTpNIaHto BHag== 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=a2nzUnquKhTHdxUFFZNgy9G2jhcrS0mBp0qXvalRQRg=; b=pivbkSUHvMo1aNs2okO7/vqtHqbbVm2d4CqXgDkURHTeUoZzoSSghFnZtzXqsyZb6e 1Ox2PnoP4uH7TVv8znLhM5TJErDcDw/b9qAMb1ceI9NTDshJcDxm5K03oWpqvI2uMq0s z4JBDxMQ0iQHJWxF7nWFiY7yvXXYveK7NBiSYEE4W0etejATT+LkByyyn2UuxlLdkLWq zjLGLjSj5Oz/qnMMlJFnMFMWuTJLXzMEqVXMFAkTJI3RnJ+60a2pphxPSBigoMhBW6Jf xGmhDYgZ1WvCXGp6+8ddyvRQjji+pbLhHG7W49ZKNxZzmCCxC/2MJnPAJjDVfam2EdW/ pb1A== X-Gm-Message-State: ANoB5plQtw88bFpykadzeVJNI5jg942j0Oq8YRGGI7FfDr7R8ayn/dQ5 MOihz4GODG+AsLvn8gy/M+sepw== X-Received: by 2002:a5d:58d7:0:b0:230:e4e7:b191 with SMTP id o23-20020a5d58d7000000b00230e4e7b191mr3476268wrf.158.1668759882115; Fri, 18 Nov 2022 00:24:42 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id m4-20020a05600c4f4400b003cffd3c3d6csm4070084wmq.12.2022.11.18.00.24.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 00:24:41 -0800 (PST) From: Neil Armstrong Date: Fri, 18 Nov 2022 09:24:38 +0100 Subject: [PATCH v2 1/3] dt-bindings: mfd: qcom,spmi-pmic: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550, pm8010 & pmr735d MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v2-1-b839bf2d558a@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> To: Bjorn Andersson , Krzysztof Kozlowski , Andy Gross , Linus Walleij , Konrad Dybcio , Rob Herring , Lee Jones , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , Neil Armstrong , Konrad Dybcio , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749821628743347374?= X-GMAIL-MSGID: =?utf-8?q?1749821628743347374?= Document compatible for the pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550. pm8010 & pmr735d SPMI PMICs Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index c8362efd4345..8c9b042b4f30 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -43,6 +43,7 @@ properties: - qcom,pm8004 - qcom,pm8005 - qcom,pm8009 + - qcom,pm8010 - qcom,pm8019 - qcom,pm8028 - qcom,pm8110 @@ -54,6 +55,10 @@ properties: - qcom,pm8350 - qcom,pm8350b - qcom,pm8350c + - qcom,pm8550 + - qcom,pm8550b + - qcom,pm8550ve + - qcom,pm8550vs - qcom,pm8841 - qcom,pm8909 - qcom,pm8916 @@ -70,10 +75,12 @@ properties: - qcom,pmi8998 - qcom,pmk8002 - qcom,pmk8350 + - qcom,pmk8550 - qcom,pmm8155au - qcom,pmp8074 - qcom,pmr735a - qcom,pmr735b + - qcom,pmr735d - qcom,pms405 - qcom,pmx55 - qcom,pmx65 From patchwork Fri Nov 18 08:24:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 22176 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp62764wrr; Fri, 18 Nov 2022 00:25:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf7F3n5Y7T9ya1GWHr1ATvM659MshCiewC8HgYwhyXCR76aE/i1UWzceDZ1TciqKM/Khi76o X-Received: by 2002:a17:90b:683:b0:213:cfb4:719 with SMTP id m3-20020a17090b068300b00213cfb40719mr6658250pjz.188.1668759956723; Fri, 18 Nov 2022 00:25:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668759956; cv=none; d=google.com; s=arc-20160816; b=KxD0hTYA/qPDNKMFNo7QfqD4w5AiJBs31Y9gxN+yCceMFIxmzui1idu8VS9Ga7YyvZ A5AWItyCeqi+4muqMAFBkTZ2qoNaDdtP0UIthhqwOlS2crCdsyyuxXSuL4PNt/nCpvBH +L1EBhJuf2ElYBavWp6WTwPmkjklFFHSZ6zwtYznZgxrh6UMVr3CHXC4sEybGLFmHqBN W3mJXBU2LhXph1arOQ8F4f2caqFUCBDB8WYdBxiJ6KpUx/FHEMoeEac9UlT39nre2UHe sOHkTUZy3+gHFid+J7DRCfikikDrZuA9KuzmJx5Vs5r4sifuzC0f4QhEVVdJar5iNJaO JEFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=eMGR4In1ez92l+6LPD0CMqRP2g3QAqepco0/vRQIOao=; b=PMX823E/H/h6jRUCkBN04KTwpTBqxgkNmzfVoiZidDLqXihOCQ6CjBLbxWUZ140o3y M5ieULhDitcG84vzbj/nrifXLSH3zO9qL36A5SMzbpSNUuqicXEhcKF/DpKXEWt/FS+e PiroLsi0YiXoCp4lq3OMjgkgAn8aAIzGkZLRAUdTPz+wWmKNUvzfKtS0UQO2GUiSQjYB jMLA6p2d4UlvJwbLW0XqABtvGzn4w5Ix+MlkJylCpnKCU37yYHYlUiqbMju+L29ZWkor nrbd20FOp41clX2kfN0c6WLIhHsFie94VWdjBbyL3WGBB8ZwpebEucVFttdqWO/qMnvR Rejw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sdMJayyr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a056a00170200b00545c63d5387si3438250pfc.21.2022.11.18.00.25.44; Fri, 18 Nov 2022 00:25:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sdMJayyr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241415AbiKRIY4 (ORCPT + 99 others); Fri, 18 Nov 2022 03:24:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241388AbiKRIYt (ORCPT ); Fri, 18 Nov 2022 03:24:49 -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 8ED6668687 for ; Fri, 18 Nov 2022 00:24:44 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id k8so8173602wrh.1 for ; Fri, 18 Nov 2022 00:24: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=eMGR4In1ez92l+6LPD0CMqRP2g3QAqepco0/vRQIOao=; b=sdMJayyrnbsiU4fsXxIN7vd1owzQRMv9kP0Mx1vtR8UGFPpNAWzCi9u7FZmteegJg/ upE1BrV9BgLaBo06fZy416X4/BV4Wo2+TKND96Z/qnA67N9XbpsY6Vep7r/zxZ2X1rb/ yBSkMdDb5h4aFhYOhLlK6MA3pgVxIx+xZuhfqdcZFqkHcelyM/L8Q1JADjfvPj5Rw8+u 8AMVm6gAwXb5MUdJ5TCKRHMXGCBp+MgmESRLLmuL2MTOUzkwKmW89lSDu8MUTeINRk8c XajthPDgJrL4FKXIJAS44HjJhspFZP3FSXne27Xtcn1+u66drhQclsCiD81BXq13K1ET g9TA== 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=eMGR4In1ez92l+6LPD0CMqRP2g3QAqepco0/vRQIOao=; b=feMIl9/1GkrGV5WMeoetwXYtGIe/Dh7M9Zt0GT/cNfT7am5skO0Es3lhkuHdP5sMZA VNmxujF6D0DPA3JjYTMt2vCd7hz8Ux7/eHTAl3Ss4baKKg7cRuAkSTWx0tj3YoRzpnC5 tfizhqoXycWob+xNtchnciIyiDvupOCZjC5Aq/WpuPz8XTyvvnV+fVqHllKZEsLXWG/n uQY9u9KGKzXkDjxqdIXS5Nol/25y7WsgabPfywMPMsEh5Suex9hNrI0qG+WaajcUopna 5GQRjZrNSy8cll8tj8M4sMelG+RFhlge76P5g6PDhST4CowSM9fOf+nZrYfZMZ9Rai8F NMlA== X-Gm-Message-State: ANoB5pmzbd8yyBDm6/Kgjcrm1idZTO9xghp69DWfMb3VX/nlzMFMHTPN 3HMLoz0zzEGSHG34rImvrHI1nQ== X-Received: by 2002:adf:e78e:0:b0:22e:32ab:c37 with SMTP id n14-20020adfe78e000000b0022e32ab0c37mr3718829wrm.317.1668759883035; Fri, 18 Nov 2022 00:24:43 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id m4-20020a05600c4f4400b003cffd3c3d6csm4070084wmq.12.2022.11.18.00.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 00:24:42 -0800 (PST) From: Neil Armstrong Date: Fri, 18 Nov 2022 09:24:39 +0100 Subject: [PATCH v2 2/3] dt-bindings: pinctrl: qcom,pmic-gpio: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v2-2-b839bf2d558a@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> To: Bjorn Andersson , Krzysztof Kozlowski , Andy Gross , Linus Walleij , Konrad Dybcio , Rob Herring , Lee Jones , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , Neil Armstrong , Konrad Dybcio , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749821640539283101?= X-GMAIL-MSGID: =?utf-8?q?1749821640539283101?= Document compatible, pin count & pin names for pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d SPMI GPIO controllers. Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml index 29dd503f9522..db505fdeac86 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml @@ -40,6 +40,10 @@ properties: - qcom,pm8350b-gpio - qcom,pm8350c-gpio - qcom,pm8450-gpio + - qcom,pm8550-gpio + - qcom,pm8550b-gpio + - qcom,pm8550ve-gpio + - qcom,pm8550vs-gpio - qcom,pm8916-gpio - qcom,pm8917-gpio - qcom,pm8921-gpio @@ -52,10 +56,12 @@ properties: - qcom,pmi8994-gpio - qcom,pmi8998-gpio - qcom,pmk8350-gpio + - qcom,pmk8550-gpio - qcom,pmm8155au-gpio - qcom,pmp8074-gpio - qcom,pmr735a-gpio - qcom,pmr735b-gpio + - qcom,pmr735d-gpio - qcom,pms405-gpio - qcom,pmx55-gpio - qcom,pmx65-gpio @@ -111,6 +117,7 @@ allOf: enum: - qcom,pm8008-gpio - qcom,pmi8950-gpio + - qcom,pmr735d-gpio then: properties: gpio-line-names: @@ -146,6 +153,8 @@ allOf: enum: - qcom,pm8018-gpio - qcom,pm8019-gpio + - qcom,pm8550vs-gpio + - qcom,pmk8550-gpio then: properties: gpio-line-names: @@ -162,6 +171,7 @@ allOf: enum: - qcom,pm8226-gpio - qcom,pm8350b-gpio + - qcom,pm8550ve-gpio - qcom,pm8950-gpio then: properties: @@ -236,6 +246,8 @@ allOf: - qcom,pm8038-gpio - qcom,pm8150b-gpio - qcom,pm8150l-gpio + - qcom,pm8550-gpio + - qcom,pm8550b-gpio - qcom,pmc8180c-gpio - qcom,pmp8074-gpio - qcom,pms405-gpio @@ -411,6 +423,10 @@ $defs: - gpio1-gpio8 for pm8350b - gpio1-gpio9 for pm8350c - gpio1-gpio4 for pm8450 + - gpio1-gpio12 for pm8550 + - gpio1-gpio12 for pm8550b + - gpio1-gpio8 for pm8550ve + - gpio1-gpio6 for pm8550vs - gpio1-gpio38 for pm8917 - gpio1-gpio44 for pm8921 - gpio1-gpio36 for pm8941 @@ -421,10 +437,12 @@ $defs: - gpio1-gpio2 for pmi8950 - gpio1-gpio10 for pmi8994 - gpio1-gpio4 for pmk8350 + - gpio1-gpio6 for pmk8550 - gpio1-gpio10 for pmm8155au - gpio1-gpio12 for pmp8074 (holes on gpio1 and gpio12) - gpio1-gpio4 for pmr735a - gpio1-gpio4 for pmr735b + - gpio1-gpio2 for pmr735d - gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10) - gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10 From patchwork Fri Nov 18 08:24:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 22177 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp63258wrr; Fri, 18 Nov 2022 00:27:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4olDLMgFvsJY30WCAGOgQUj279+i02/H2bu7Cc+4ufcJxSMmuvaW4RV8rFNoFO4vGAFTb5 X-Received: by 2002:a17:906:c24d:b0:7ac:2e16:a8d2 with SMTP id bl13-20020a170906c24d00b007ac2e16a8d2mr4987258ejb.584.1668760060803; Fri, 18 Nov 2022 00:27:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668760060; cv=none; d=google.com; s=arc-20160816; b=Zzei0+Vmd7TrEIo6QUL5gI0YXtpe2HNx7QWPG9gmSB1xdmr5rf5odEbQ10pxhAzlkv ER0YKO1/tLEVmQ3DkxlH7xiM374Vwu6YgcMKaMm9aadQzNQ7tDwkgA9MqBzBZwDEFcaU LdQdnVLPxALCJqlTjpoMWbknyk0ljvzSRw4/6JzyFNW5tjGImbIE+Lkkc3MB58hapOM5 sEPm358KHX/6rKIQUPTGSs6D2MOwVjviExad8hIN0XpzK7nN2HrGJrmfwkZyFzIA2Ao0 qvDBJReAcXkxs0SLnCMHGGEwrJbG1cSoGzGBu3qsJs2ffo4Lcbc95Opr//QUWuvC7UHM DHQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=GiBxSrL28JGP0DNg6s8GgXKGYTQyCsmgm2nfUqqKcn0=; b=EzofsV8gQe6oXSua+O7tfropoxoshSUGKXoZfK7S74Sg7fJfVRQEcdJIPOeSfGylOb 4O9XvEDJXgqsQfh/6BsWdvIKokI19ZZ5Wo2zOKDZa72+JhNCHOSUpkbsX6NHT8+fDrfJ rT8ss90/8/a6B0h2fz43MWyT03Olhu0n3rwS/TUaUNHjD1UDqAhQQmk8sgGW7RcCB7Gf xyDvG370c4cSVytthKOEqtUZsg3FYFu4Lrkw95Tr+SYxm02HQskjbkend3fd6Eb7EHIf SXerGtru/U4L9XLKKhwf1SE/hPsZX61eHSVTXBRcj1pAvktShPUuO80opNEh4VnoAxBY QywQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r9D596iI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a170906794d00b007adb80fc5d0si2738895ejo.461.2022.11.18.00.27.16; Fri, 18 Nov 2022 00:27:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r9D596iI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241425AbiKRIZA (ORCPT + 99 others); Fri, 18 Nov 2022 03:25:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241391AbiKRIYu (ORCPT ); Fri, 18 Nov 2022 03:24:50 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8097268C55 for ; Fri, 18 Nov 2022 00:24:45 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id k8so8173658wrh.1 for ; Fri, 18 Nov 2022 00:24:45 -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=GiBxSrL28JGP0DNg6s8GgXKGYTQyCsmgm2nfUqqKcn0=; b=r9D596iI5oH2Q20YxqLfmXNZWeSrDF+EeAgL8EC45v2B0xm5tb1c2LpX8OKlnVp7aE ULNvkfHu5Ocbi5YL4H/Mln5dGws81C/eAckKlZ25Ss6IVeyxE+RRkeOnwVc0avbpJCGv Dw7JyLiM6LIuSXOZ/ujnutUiBm7WauQxeYNdHxhR5+vK+sdAkhdwV+BKs6G4ZeigTZ3A 6sXxKgbzsA67/5GpBsKNv+Y7VemYH2/fWz4Ewlb6NbPsxfw9plx6xK2HNGNKvbb2+RMg 8pSGY+ko2IPUeBN3pyXYFXjnkU5Xl0j79pOg1S9fxeS5AZFCeSypmbbhZJLdhRgOFyYv 1dyA== 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=GiBxSrL28JGP0DNg6s8GgXKGYTQyCsmgm2nfUqqKcn0=; b=Kvbxc8VcEpmZlwdQtC4YcVs3/36C811jz+E7SGx+o3bG3cgVsNP0bIhwv3jEBM81mR +e1GKD1s+QhXJPMAOh7Tfd1fIg4C5FMR3qN4kpEowcl44XzDtaqLLgN3VmoedmGSv0/y uGpvBa0UE84ParOH+iDqkth0OVW+W0LnyhIunzWc6CyZHdHvn+zg10mwCCAnwgpnNb64 dAbFaPQqnLW2q22NBhgRumVR9lho2EE/4v8ngn8KrgOl62gKNH9sAuAcUEf/P9we7y12 /fvcFJ72vEcWUgKykZMqtrHszjQlAxICKQ9fT+XyC+sgmn+vfrp6uzEMn/QGxjQBk9Ma QcSA== X-Gm-Message-State: ANoB5plVA5V66yqxyyvbTp+AIouRnL9tr3HOJISI7IaCZdDnC7ODW9NH 2hFD/aCh7f9Q6IOKrrjH7V8iPA== X-Received: by 2002:a5d:5960:0:b0:241:bd31:fecc with SMTP id e32-20020a5d5960000000b00241bd31feccmr2088932wri.635.1668759884009; Fri, 18 Nov 2022 00:24:44 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id m4-20020a05600c4f4400b003cffd3c3d6csm4070084wmq.12.2022.11.18.00.24.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 00:24:43 -0800 (PST) From: Neil Armstrong Date: Fri, 18 Nov 2022 09:24:40 +0100 Subject: [PATCH v2 3/3] pinctrl: qcom: spmi-gpio: add support for pm8550 & pmr735d gpio control MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v2-3-b839bf2d558a@linaro.org> References: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> To: Bjorn Andersson , Krzysztof Kozlowski , Andy Gross , Linus Walleij , Konrad Dybcio , Rob Herring , Lee Jones , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , Neil Armstrong , Konrad Dybcio , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749821749471620780?= X-GMAIL-MSGID: =?utf-8?q?1749821749471620780?= Add support for the pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d gpio controllers providing GPIO control over SPMI. Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 8c31a8f6b7e4..d65c9f2ece73 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1219,6 +1219,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 */ @@ -1230,11 +1234,13 @@ 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 }, { .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 */