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: 468776 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 9D1BCC11F66 for ; Tue, 29 Jun 2021 12:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87B5D61D94 for ; Tue, 29 Jun 2021 12:34:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233710AbhF2MhH (ORCPT ); Tue, 29 Jun 2021 08:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233721AbhF2MhF (ORCPT ); Tue, 29 Jun 2021 08:37:05 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46F8BC0617AE for ; Tue, 29 Jun 2021 05:34:34 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id g22so77747pgl.7 for ; Tue, 29 Jun 2021 05:34:34 -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=g5qCIfawFk9eh1LAOllBvB6prftbL/9erAjAHKpcxx2mQ3ETJsM9/RHHSpZyrmQ/bo zCTfUitiIDkml9UUJqD1WiJU1nsMzWw9QxSdJ5j5FObfS57mwqG2if11nKTH6oyL0qYv PYBLznGNKyTWA0VgZPAd/Op0KyJ97VhG7M9IqYFl76j2jrM6PGnJdOTm2w5B6bWxHlAQ O8kw6LxcoMKNIDaKjSc3rp5yXiPjeCRHohZ1ztk0Ul5m3/1JyDUq5pEaFp5DwVregj57 0K7J/ctDjgj34+v/N/jx5MNdHzbGHme1vFNFp00QbJ8poJDZ+3GsL9Zu959WbUh8XqFF zrWA== X-Gm-Message-State: AOAM5324Am53D4rCnBnQ/YQ5qzqdiATAHRUO2WX9lhyDBHoRI2O+g4/r QGT2xY9l5ih3lGyiPD0cZBlMlpMhevHljg== 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: linux-arm-msm@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: 468402 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 834FEC11F67 for ; Tue, 29 Jun 2021 12:34:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 68D7261D94 for ; Tue, 29 Jun 2021 12:34:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233739AbhF2MhH (ORCPT ); Tue, 29 Jun 2021 08:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233695AbhF2MhG (ORCPT ); Tue, 29 Jun 2021 08:37:06 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6407DC061787 for ; Tue, 29 Jun 2021 05:34:38 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id g21so15361528pfc.11 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=FFEtrGSlQyXOJUKMPT+gINlBBGt75lCtL0/dY27NHYPjiOlGg4xbSKAmy3kuXqEtJv U8h6W28gyOr9m68rP6jdoI3uobE4AZDgKpFkckTd1zA556wn8bGP+zFBu+UrP3s9Fe3H F1APLaqxBGoVseEljgggmVP6gxwDF5nSJ/KZ6ffBovs10xsAchLl3ity8mimym2Tl01Y NFLVsN+i3DpUcrl88+ojrNuMD5Slka3GyymbgjU5CZ2Gos6VoAUfElUGdA6/4otYACgI tYfFiW/zBTfyDPohEkBkTgJ2M8QU3Iv7eozMHcjAqA2PFLPoRXjGw+XRATu/TjB59wsm 2LZg== X-Gm-Message-State: AOAM531hyEDBxgklccRUjJ6FhKoVgpWEVMCifmHZXpx4UxFDGNcAUrAl 3ucfeZqstYQAhgt+AfiODJKnZkVVnNlbKw== X-Google-Smtp-Source: ABdhPJwwtgr/KYGiQfqHQq9RmG6rS6ASQeIvnpEJL9qBWh1lW89si/lXKpvz2RN45odFC3k7Nn74OA== 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: linux-arm-msm@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(+) 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: 468775 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 CA38EC11F69 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 B194161D92 for ; Tue, 29 Jun 2021 12:34:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233746AbhF2MhM (ORCPT ); Tue, 29 Jun 2021 08:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233748AbhF2MhK (ORCPT ); Tue, 29 Jun 2021 08:37:10 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EF2AC061768 for ; Tue, 29 Jun 2021 05:34:43 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id o3so5724945plg.4 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=D4sEbnW0aPf0HXUVEPhjzME02GzLMejqbYuxzdISgS7jxfytz7SNGUqT/qmxhlRYKm gVCS8XlfC0lggTxZWt6URaoJvNDv5Mlfy0e0T1fBnf8TwIi4rYVAvVke280zEDvjHTXO N7moqcnwGWFJScs4hMZoIWOLeSylF3+d3jxL+WPWN5bYP/c0l4eyzFP62JZ+xlRd814i FymEYP6r0/4+qeHy84+fEgB9mqcxx2m67d5eO7DXKz+P3OYSwSClAcMO41Jl7jVkfQEo gQWhisglY+XQ0FTG/XBobLZvMrMPc0jApJ5PiLGckjMkkH4xlvVZU0eF/6mSFcfAXMrU ytJg== X-Gm-Message-State: AOAM530ZuxjKjDk0kvQ6ccCzn1QGAfKv7RgwPxL3bEze3bs/Bh7jeT8q k8whynY1z70l8uHjkKsK5WM1BSe2tk/AmQ== 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: linux-arm-msm@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: 468401 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 A1195C11F69 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 8D5A361C94 for ; Tue, 29 Jun 2021 12:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233766AbhF2MhP (ORCPT ); Tue, 29 Jun 2021 08:37:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233768AbhF2MhO (ORCPT ); Tue, 29 Jun 2021 08:37:14 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A913C061787 for ; Tue, 29 Jun 2021 05:34:47 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id u19so5124782plc.3 for ; Tue, 29 Jun 2021 05:34:47 -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=P9pRmfhwAgR6ycI60x3vfG8ZmWQr75uArY4xVSoaIe9hTbkTTugVwefJ52xDUpDRjU ZL7vR52DZrOfvVEZxfBxKobAM8VjCfKXWv/rsXn/z9BKdJ0rgyFn5cWSfytpFHEogT6L CAQvoO5gCfggAyoFCGqYOaBLhg+g0b5vd5h3l9X2x6P1lHcxL+eSdvDg467oJkTSa8GM 3wep3wGxUd65QRWvPDqO5bM50seUNLgVcHMQfXYgdfSj2/194jipAlJIX6umynLNeC03 OW6Bgwfithb27M+PamxpUQr474I6ib0JgajQYHEqLNWjuJTgGRFvuOI9aj1SiZlgP5zY Xklw== X-Gm-Message-State: AOAM532VeOfYFtF94VVf2Qs3JOI37U0D0TUmGzWT79Amc4XZXBbUDY5z XhSSWanYjKEME8m//qazC1/TRaasn/0icA== 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: linux-arm-msm@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 */