From patchwork Tue Jun 29 12:34:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 468435 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DDBEC11F68 for ; Tue, 29 Jun 2021 12:34:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE3E661D9A for ; Tue, 29 Jun 2021 12:34:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233706AbhF2MhF (ORCPT ); Tue, 29 Jun 2021 08:37:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233585AbhF2MhE (ORCPT ); Tue, 29 Jun 2021 08:37:04 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC851C0617A8 for ; Tue, 29 Jun 2021 05:34:33 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id a127so17019071pfa.10 for ; Tue, 29 Jun 2021 05:34:33 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=v9DYlWSWic1b68MEKNTSvKWtqRdyWA1mD3gX3M18m2w=; b=LFiFoi136IysUwzZESYIY+zVaVM3jxao0XpXOZ66W2JxOhTUXRobwI0mZG9B8ntBon fsO4+FESgF9+LibMYGpX1XnDMsd/zWHfcyds+jrpoYAe7L8jhOenS/Fm0sOAHIsNhqyQ HjyKGyfZyemtUCNoHSmeccWNX4+7fuxiT9z43znracKHan76oVexnuuRI8U/InxONGgQ 4ypG6/998bPtjWoFWbo0gmcziQjdmyrEo+KIhcVkevs1RnCi+Fc9jriHGfPw50MEp6l0 7MEX3VXs5uNbSvI8oXX4VAr00dUmzwmzyQLH8whjcQA9SACnkSZ5mvBmwbYCxsrSOibd p1IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v9DYlWSWic1b68MEKNTSvKWtqRdyWA1mD3gX3M18m2w=; b=JMIpRbUVenMbUsWlJ7hQ31vzcMfQxd193ZyaW0nmiLGYtuKfwJSpYfNIwoF2kKNh6B izSRhy0+mRMHX9mIA7OjlldK69qgqDCU1AkCiPCD2NY7J7UVH/PX4fAHDNvNv/3jdDQy Cj1cri72qn2OMYHqBVYTlNNXs/SoWiEmkjgoVVVRMnZVSGTOj8hgXkdZELeS1oq4KKqv gw0RjGoS+l7gU7mqElG1WmudntPnUR7LnfgMiIYXl3HByfDVwUEDYPmsN/5CM5EW3yEP yvTkunOyNQJ7ZuZK1tsP8qazEbrdR0tmml0M+cAqjs2NaJjrHryi6nyMeXT5kuPqWTxQ NEwA== X-Gm-Message-State: AOAM533YcVH9pgh1tnjQOQNMvCpi9tijXwle8r7kNio16/m8dSa7lP7J KgwXTQtfqFY4BNnykx5E44onMQ== X-Google-Smtp-Source: ABdhPJwUGm+TPzInvCxfXZfDS0j6yozQ+HyOvr4MNSz6JFKKbNSiEA/j8+oQf10bWXX/s/JRpBKsIg== X-Received: by 2002:a63:f65:: with SMTP id 37mr17583270pgp.367.1624970073332; Tue, 29 Jun 2021 05:34:33 -0700 (PDT) Received: from localhost.name ([182.69.252.226]) by smtp.gmail.com with ESMTPSA id 143sm16176692pfx.46.2021.06.29.05.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 05:34:32 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, Linus Walleij , Bjorn Andersson , Rob Herring Subject: [PATCH v4 1/4] dt-bindings: pinctrl: qcom, pmic-gpio: Arrange compatibles alphabetically Date: Tue, 29 Jun 2021 18:04:04 +0530 Message-Id: <20210629123407.82561-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210629123407.82561-1-bhupesh.sharma@linaro.org> References: <20210629123407.82561-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Arrange the compatibles inside qcom-pmic gpio device tree bindings alphabetically. While at it, also make some minor cosmetic changes to allow future compatible addition to the bindings simpler. Cc: Linus Walleij Cc: Bjorn Andersson Reviewed-by: Bjorn Andersson Acked-by: Rob Herring Signed-off-by: Bhupesh Sharma --- .../bindings/pinctrl/qcom,pmic-gpio.txt | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index 161216daf463..c9f02062774a 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -7,10 +7,21 @@ PMIC's from Qualcomm. Usage: required Value type: Definition: must be one of: + "qcom,pm660-gpio" + "qcom,pm660l-gpio" + "qcom,pm6150-gpio" + "qcom,pm6150l-gpio" + "qcom,pm7325-gpio" "qcom,pm8005-gpio" + "qcom,pm8008-gpio" "qcom,pm8018-gpio" "qcom,pm8038-gpio" "qcom,pm8058-gpio" + "qcom,pm8150-gpio" + "qcom,pm8150b-gpio" + "qcom,pm8350-gpio" + "qcom,pm8350b-gpio" + "qcom,pm8350c-gpio" "qcom,pm8916-gpio" "qcom,pm8917-gpio" "qcom,pm8921-gpio" @@ -22,21 +33,10 @@ PMIC's from Qualcomm. "qcom,pmi8950-gpio" "qcom,pmi8994-gpio" "qcom,pmi8998-gpio" - "qcom,pms405-gpio" - "qcom,pm660-gpio" - "qcom,pm660l-gpio" - "qcom,pm8150-gpio" - "qcom,pm8150b-gpio" - "qcom,pm8350-gpio" - "qcom,pm8350b-gpio" - "qcom,pm8350c-gpio" "qcom,pmk8350-gpio" - "qcom,pm7325-gpio" "qcom,pmr735a-gpio" "qcom,pmr735b-gpio" - "qcom,pm6150-gpio" - "qcom,pm6150l-gpio" - "qcom,pm8008-gpio" + "qcom,pms405-gpio" "qcom,pmx55-gpio" And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio" @@ -98,35 +98,35 @@ to specify in a pin configuration subnode: Value type: Definition: List of gpio pins affected by the properties specified in this subnode. Valid pins are: - gpio1-gpio4 for pm8005 - gpio1-gpio6 for pm8018 + gpio1-gpio10 for pm6150 + gpio1-gpio12 for pm6150l + gpio1-gpio10 for pm7325 + gpio1-gpio4 for pm8005 + gpio1-gpio2 for pm8008 + gpio1-gpio6 for pm8018 gpio1-gpio12 for pm8038 gpio1-gpio40 for pm8058 - gpio1-gpio4 for pm8916 + gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7 + and gpio8) + gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7) + gpio1-gpio12 for pm8150l (hole on gpio7) + gpio1-gpio10 for pm8350 + gpio1-gpio8 for pm8350b + gpio1-gpio9 for pm8350c + gpio1-gpio4 for pm8916 gpio1-gpio38 for pm8917 gpio1-gpio44 for pm8921 gpio1-gpio36 for pm8941 - gpio1-gpio8 for pm8950 (hole on gpio3) + gpio1-gpio8 for pm8950 (hole on gpio3) gpio1-gpio22 for pm8994 gpio1-gpio26 for pm8998 gpio1-gpio22 for pma8084 - gpio1-gpio2 for pmi8950 + gpio1-gpio2 for pmi8950 gpio1-gpio10 for pmi8994 + gpio1-gpio4 for pmk8350 + gpio1-gpio4 for pmr735a + gpio1-gpio4 for pmr735b gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10) - gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7 - and gpio8) - gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7) - gpio1-gpio12 for pm8150l (hole on gpio7) - gpio1-gpio10 for pm8350 - gpio1-gpio8 for pm8350b - gpio1-gpio9 for pm8350c - gpio1-gpio4 for pmk8350 - gpio1-gpio10 for pm7325 - gpio1-gpio4 for pmr735a - gpio1-gpio4 for pmr735b - gpio1-gpio10 for pm6150 - gpio1-gpio12 for pm6150l - gpio1-gpio2 for pm8008 gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10 and gpio11) From patchwork Tue Jun 29 12:34:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 468304 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4912065jao; Tue, 29 Jun 2021 05:34:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydEN709b9WCA5lsCIpB3ayPH1xmT5yKnjs1g1VDSht/lTGCdYoSeva4cnaEuItPzvqQPSx X-Received: by 2002:aa7:c891:: with SMTP id p17mr27078703eds.225.1624970081168; Tue, 29 Jun 2021 05:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624970081; cv=none; d=google.com; s=arc-20160816; b=vVWt2+NYstbAIGAinDfGoBcLZFpKuIY58M9cFuLGNuguHuozvOH8ehNB+t2COZCLbr 1fLLoCjJs9FwoQKEXUk2nD2ygLuW0a/lrRgu2cHu7J/sDLEzn73FpfVem6O4j3Qkqfev /BdrbTFYUTeLUoF/jNwnP1um/6DUyPb7+1Y0thS7QPUVVQltQ2CVYy8vqGmyO34Jt0jd OzYhQLr9CUhI51JIf6ZeRkSzz8o9Zey5zDUw9iAgLzYd1gcuMZIgEGB5BAZOXVm0S9nm 7ut/oCNNOzDdkEx7PWscnCEmgQG6C0MmC9rrlQGmKZL6H+4csaOObVrXx6nAEDZcuG5T zbGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tAxSAdg/rIMcJx/szXV2ix1QgDPfMpKoEmOCLfDuAgg=; b=ILKTr2CT5s0CJYc9pjiyZ6xx3mGqgptP2NRE/FECd1md8EJvyN59v3uVB8EkLiGZ3t O/6seFZYw5tHSNNaF98uFZATUPZdhQD5Gqg38oYxdo7tZCJRHTOJlyaBZXDeAw8dM6h6 +gNq9TveSZJ4+ubICQUXNBBZSwEFEnnu/9iP8ZeMTeo8i7KtkUSpHZbunabiqdH0kyjS lpwJDueZqiFMSzRifU8W/nEg1qX1XTCAsbQRvbpNJrmawTy+Z/nasRSqA4ukPcio2ad0 0dbK2uiz8Gi9GQ/KvgI97UKhSjeIOkL4tPqSTqXDj3yIxgcHONNdwOdbtzJ0SPdAFiFd zb9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vjIgtKgn; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g18si17568759eds.64.2021.06.29.05.34.40; Tue, 29 Jun 2021 05:34:41 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vjIgtKgn; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S233725AbhF2MhG (ORCPT + 7 others); Tue, 29 Jun 2021 08:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233709AbhF2MhF (ORCPT ); Tue, 29 Jun 2021 08:37:05 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD81C061760 for ; Tue, 29 Jun 2021 05:34:38 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id i6so17085648pfq.1 for ; Tue, 29 Jun 2021 05:34:38 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=tAxSAdg/rIMcJx/szXV2ix1QgDPfMpKoEmOCLfDuAgg=; b=vjIgtKgnYzu738FMpBj/MnDisNwDF1/nYqTS4mT6QiYAO74LdAQr8uqFfkDC7pQWR+ Lbv9SccE5AIwIWmT8fmTsiSjlpk9nPzr5viPTz5gCdkZK7e1EmT1rgVh1hpy+ql3yjxc VEaAKh7JUnWTgR/g6ZQUVoQaYQeDOBKhitYsU5rb4a9VT3wKIsp1bF2NUZ+0caB7xXoX GtszcwC1opLoE/r2tATqbXBMIWcKr4DQl/A20ml4GWlNUG5SK5xhJnJ9h/L0++G1He/v fe1PivQTdOOxDyyg6oAl/T0Ag5w+R2dCUyZGEJzREeyhYcYTPG7kgSxVVd3Z/sH1IC/M jzbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tAxSAdg/rIMcJx/szXV2ix1QgDPfMpKoEmOCLfDuAgg=; b=sRvXOKxfbSLXC/f+Aii46jfUu4oeNTsZgSpccMV3T+zSQnTFnD/+GohUx0zVNu/FaO tmMbzFW/pHhnE6GESoTbC7a3mDHomoigWv9uafpmyUtw4QJQEnpLG309bXCuUgi0vETN 5CackL7vbD8o4geDQnY37mkY+zCobjg6yeUmJrr07vvYcsdYVT++6vqkc6ToZldRU1kz lJjWz3MHJ5TpUL5I+KUM/j/yKdykQs/k3UFItYOACyjHGSGTvGOG0H1nyIIO9CFWXJcL noZkcKm8IzMp3AFxxfKxU2ROc3JogyEkSSNROarsAzPBMVVSegnl/sdGtpFDijXhydfI aLnA== X-Gm-Message-State: AOAM5330MRkL6ALl4lsKPJj//8AFHqYhqtoBQQrI3LOhoOBKjRzttjiC 7AUd25iSLsheqZjjrqAv7NalaA== X-Received: by 2002:a05:6a00:26c3:b029:304:8e6c:be0a with SMTP id p3-20020a056a0026c3b02903048e6cbe0amr30123692pfw.65.1624970077691; Tue, 29 Jun 2021 05:34:37 -0700 (PDT) Received: from localhost.name ([182.69.252.226]) by smtp.gmail.com with ESMTPSA id 143sm16176692pfx.46.2021.06.29.05.34.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 05:34:37 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, Linus Walleij , Bjorn Andersson , Rob Herring Subject: [PATCH v4 2/4] dt-bindings: pinctrl: qcom, pmic-gpio: Add compatible for SA8155p-adp Date: Tue, 29 Jun 2021 18:04:05 +0530 Message-Id: <20210629123407.82561-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210629123407.82561-1-bhupesh.sharma@linaro.org> References: <20210629123407.82561-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add pmic-gpio compatible string for pmm8155au pmic found on the SA8155p-adp board. Cc: Linus Walleij Cc: Bjorn Andersson Reviewed-by: Bjorn Andersson Acked-by: Rob Herring Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index c9f02062774a..261a1d114253 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -34,6 +34,7 @@ PMIC's from Qualcomm. "qcom,pmi8994-gpio" "qcom,pmi8998-gpio" "qcom,pmk8350-gpio" + "qcom,pmm8155au-gpio" "qcom,pmr735a-gpio" "qcom,pmr735b-gpio" "qcom,pms405-gpio" @@ -124,6 +125,7 @@ to specify in a pin configuration subnode: gpio1-gpio2 for pmi8950 gpio1-gpio10 for pmi8994 gpio1-gpio4 for pmk8350 + gpio1-gpio10 for pmm8155au gpio1-gpio4 for pmr735a gpio1-gpio4 for pmr735b gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10) From patchwork Tue Jun 29 12:34:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 468434 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59324C11F67 for ; Tue, 29 Jun 2021 12:34:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 42B6561D94 for ; Tue, 29 Jun 2021 12:34:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233749AbhF2MhM (ORCPT ); Tue, 29 Jun 2021 08:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233746AbhF2MhK (ORCPT ); Tue, 29 Jun 2021 08:37:10 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0676CC061767 for ; Tue, 29 Jun 2021 05:34:43 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id b5so3291706plg.2 for ; Tue, 29 Jun 2021 05:34:43 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=TPXbvy+pe/ZgHSulNWzsbEUPTKXE98FkKXq40hDTOqc=; b=DE2nlgn+bAMUYSSarERaZjcWV66GUdM9doax3dnhOP/205vxKOYbZryR9HtJqBrC02 0sKeVK4A0qwBOMHclYMykGVGqq4hf5tpm3C6ONf2KH2YSEwCbEbSBumdEUQF3PXgzqKv Xn61oXSjf2MKQ9dS6J8MSARx5PooquK1buRtvPz8m+lUMA2mJ9MCmC94O5NEKFRXOip2 XOzx5shvWVKNv+AZx908nUgK4xEepXbOpPgwHDoPnxDlYvaXhq+8VRQt34ItA81XkWmc 1uW0nnDNZUSDx66XvaaBXfLT0ghzZvsUexaLE2MUYNh7JL17u/rUCjh4VOt4S38CljwT k3sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TPXbvy+pe/ZgHSulNWzsbEUPTKXE98FkKXq40hDTOqc=; b=GaONYMTI9Kni0rmBHOz85VGNVj9vCVTWZVTrcPnIJzSmOJkrUWYtrYbJwS+K1Mz1Nx oFnXex66PUuQeKFJOsFuZksL6sKTnpO6bqKMiHwDxp5/akZHWxygn7bPyjuFr77d5F0w KCMh/OYNETXSEnL9KwKworW7qUpNRXR8BWNyfqkh0zV61KNfv3wHjfnW0kDMIAPG2MGX 6pt4k7F+eVooOThi/CQrBbozqQqduTgk/c1jh0s2PE1CkSz1a2RD206SbcDnf398evsO 1tw6SC7eKq8v6uwdwiDpm3Qjw5Bjg3L+zumxv7TaL9exdZbIv0diQ2mWLGH+ogBAVgU1 h3GQ== X-Gm-Message-State: AOAM530L64UQ4WfLPS/zx9ChFaC7CeCBZcGoQKh0Gpqocz9xDSa8WL+R 1R7yQTmNTHxQc5op3wxIzBDDTv/zsshw/Q== X-Google-Smtp-Source: ABdhPJwa5WEHjIL2CTD9yFqh+pZBrkIp9jeEb63VTLnGsWP9iq00SYGAaoZJTme80vdC7dnIvee/1A== X-Received: by 2002:a17:902:ea84:b029:126:a26f:2cf8 with SMTP id x4-20020a170902ea84b0290126a26f2cf8mr27612818plb.72.1624970082556; Tue, 29 Jun 2021 05:34:42 -0700 (PDT) Received: from localhost.name ([182.69.252.226]) by smtp.gmail.com with ESMTPSA id 143sm16176692pfx.46.2021.06.29.05.34.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 05:34:41 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, Linus Walleij , Bjorn Andersson Subject: [PATCH v4 3/4] pinctrl: qcom/pinctrl-spmi-gpio: Arrange compatibles alphabetically Date: Tue, 29 Jun 2021 18:04:06 +0530 Message-Id: <20210629123407.82561-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210629123407.82561-1-bhupesh.sharma@linaro.org> References: <20210629123407.82561-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Arrange the compatibles inside qcom pinctrl-spmi gpio driver alphabetically. Cc: Linus Walleij Cc: Bjorn Andersson Reviewed-by: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index a89d24a040af..5246ea09c295 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1104,23 +1104,15 @@ static int pmic_gpio_remove(struct platform_device *pdev) } static const struct of_device_id pmic_gpio_of_match[] = { - { .compatible = "qcom,pm8005-gpio", .data = (void *) 4 }, - { .compatible = "qcom,pm8916-gpio", .data = (void *) 4 }, - { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 }, - /* pm8950 has 8 GPIOs with holes on 3 */ - { .compatible = "qcom,pm8950-gpio", .data = (void *) 8 }, - { .compatible = "qcom,pmi8950-gpio", .data = (void *) 2 }, - { .compatible = "qcom,pm8994-gpio", .data = (void *) 22 }, - { .compatible = "qcom,pmi8994-gpio", .data = (void *) 10 }, - { .compatible = "qcom,pm8998-gpio", .data = (void *) 26 }, - { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 }, - { .compatible = "qcom,pma8084-gpio", .data = (void *) 22 }, - /* pms405 has 12 GPIOs with holes on 1, 9, and 10 */ - { .compatible = "qcom,pms405-gpio", .data = (void *) 12 }, /* 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 */ { .compatible = "qcom,pm660l-gpio", .data = (void *) 12 }, + { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 }, + { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 }, + { .compatible = "qcom,pm7325-gpio", .data = (void *) 10 }, + { .compatible = "qcom,pm8005-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pm8008-gpio", .data = (void *) 2 }, /* pm8150 has 10 GPIOs with holes on 2, 5, 7 and 8 */ { .compatible = "qcom,pm8150-gpio", .data = (void *) 10 }, /* pm8150b has 12 GPIOs with holes on 3, r and 7 */ @@ -1130,13 +1122,21 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8350-gpio", .data = (void *) 10 }, { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 }, { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 }, + { .compatible = "qcom,pm8916-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 }, + /* pm8950 has 8 GPIOs with holes on 3 */ + { .compatible = "qcom,pm8950-gpio", .data = (void *) 8 }, + { .compatible = "qcom,pm8994-gpio", .data = (void *) 22 }, + { .compatible = "qcom,pm8998-gpio", .data = (void *) 26 }, + { .compatible = "qcom,pma8084-gpio", .data = (void *) 22 }, + { .compatible = "qcom,pmi8950-gpio", .data = (void *) 2 }, + { .compatible = "qcom,pmi8994-gpio", .data = (void *) 10 }, + { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 }, { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 }, - { .compatible = "qcom,pm7325-gpio", .data = (void *) 10 }, { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 }, - { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 }, - { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 }, - { .compatible = "qcom,pm8008-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 */ { .compatible = "qcom,pmx55-gpio", .data = (void *) 11 }, { }, From patchwork Tue Jun 29 12:34:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 468866 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0936C11F68 for ; Tue, 29 Jun 2021 12:34:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBF2A61C94 for ; Tue, 29 Jun 2021 12:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233788AbhF2MhP (ORCPT ); Tue, 29 Jun 2021 08:37:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233683AbhF2MhO (ORCPT ); Tue, 29 Jun 2021 08:37:14 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DED0AC061766 for ; Tue, 29 Jun 2021 05:34:46 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id b1so4326621pls.5 for ; Tue, 29 Jun 2021 05:34:46 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=yoxmMGMX6APkhsw6SVYeGJ+YIxw2LxE4cfQgI08dndw=; b=S+RqgRpL6UqG8/NOfPsFmX1mn34qTwzQW1mQaf884NbfIdMcM6kIJAeNUtdya1pko5 zRMzE5qg4EC9PpW5iiZMMJDrroILu+tTRuWjRvvKvNkDQ2mxHow/N6ZMvr28pI674nUA o8vnNFSHpq3nP9qJQGNK90ivAbwdRTF+2EkhO+KbXQWboaiuV3pCDCT4vccqXbtbzEws AFtnyMiEEVYzESmoII1uxecSQAhdikSggVQe5YM1FYlTjlrXg3dEeVRFj7E89GJWAEw0 UXuQH3uT6SZrTFT72FpUsw9nsaFmRfaaKG7q+LRnkosFBcp9yliWfvllFr2tB85zhShM kzcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yoxmMGMX6APkhsw6SVYeGJ+YIxw2LxE4cfQgI08dndw=; b=CGPRx/cFNpFUFiL7socfeANy9sXfM7mxr+kHF5Jq82cZ5AYGyUDljoazkpoebzCIQl NcxxKcUfPA6Wxt29W0qGK9hhMHvMas1fRXWzg67mh8KhKSkg8+PEQyIbLvyPf8Opypzo 2H0pjH9Hq4XWlKHm3DumR6SSaBwj3gV+G6ShCKAjp2Bd1OnnQg3j/ui/GqH6MoHp455I 9+xiMovEDC+Vlb8ciYtr+NLCFxXVrWMgz/f2WY87icafNaHr6wbfu+s8AVudUlANH10X k04EebcpSQ7ghRrulddNGJ+luGoQSWVyVDVi70jnJk7bl6CmM6m/yijJrD1HBJDE8rk1 bDWA== X-Gm-Message-State: AOAM532BWgLkGnUNe7f7tqgVPWOu+PvhWC+NNsZhtURRwnoia4QyIF/Y RDMgif+se9Wa4QepKVV7pl+spA== X-Google-Smtp-Source: ABdhPJxN5b9kWRb8alrTMFBu8a6+hr0xMyi0Dj3xF7L/aB035UbGVfm7naiLBxg0UJCvumqkvoG8hQ== X-Received: by 2002:a17:902:446:b029:120:1fd:adbf with SMTP id 64-20020a1709020446b029012001fdadbfmr27976253ple.52.1624970086450; Tue, 29 Jun 2021 05:34:46 -0700 (PDT) Received: from localhost.name ([182.69.252.226]) by smtp.gmail.com with ESMTPSA id 143sm16176692pfx.46.2021.06.29.05.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 05:34:46 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, Linus Walleij , Bjorn Andersson Subject: [PATCH v4 4/4] pinctrl: qcom/pinctrl-spmi-gpio: Add compatible for pmic-gpio on SA8155p-adp Date: Tue, 29 Jun 2021 18:04:07 +0530 Message-Id: <20210629123407.82561-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210629123407.82561-1-bhupesh.sharma@linaro.org> References: <20210629123407.82561-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org SA8155p-adp PMIC (PMM8155AU) exposes 10 GPIOs. Add support for the same in the pinctrl driver. Cc: Linus Walleij Cc: Bjorn Andersson Reviewed-by: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- 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 5246ea09c295..bbea3499178e 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1133,6 +1133,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,pmm8155au-gpio", .data = (void *) 10 }, { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 }, /* pms405 has 12 GPIOs with holes on 1, 9, and 10 */