From patchwork Thu Jun 17 05:34:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 463339 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 15850C48BE5 for ; Thu, 17 Jun 2021 05:34:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E491C613EF for ; Thu, 17 Jun 2021 05:34:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbhFQFgz (ORCPT ); Thu, 17 Jun 2021 01:36:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbhFQFgy (ORCPT ); Thu, 17 Jun 2021 01:36:54 -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 6FC1CC0617A6 for ; Wed, 16 Jun 2021 22:34:46 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id x73so4052486pfc.8 for ; Wed, 16 Jun 2021 22: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=mXC2NA+CSEwSuQ2JUNooTVOMpQPHWlDfkI99DL5Kw+A=; b=uA6oN8l2LKCr6Dbrep/XAPRBGNqFDwLt1sC+AZBEqwdO9pR2ZhOlBwhUVKJl+lkhzx G0NGmpyzRfuCpKRK+KbTWt6YtAJofkCjUa891fj/oAZGFssUQP0QqjbdL59BVzHviGjj qK/RRLEocaVW1Y7eAqCvd50I4gbXZNW9LoSLgp2Pq29UDubF1dT6X6lUWUjtPVxQi998 Au9igrArV5SnAYdoa3Hj4UMMjslnNwsn/XvHwxRWjGp+sK2DQ0af/L/xnCblQzQ1o4PS xAVGYPAuSmMRAmvMH09OZ6l1TMG7RI48jDVKNpPIx3drXuPsPfM4hEJaME7SK4jF2hjP 4o8g== 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=mXC2NA+CSEwSuQ2JUNooTVOMpQPHWlDfkI99DL5Kw+A=; b=mOkHbjtHRpMFm1eIqbzivMb6pQ3iBEJAc5+tSpoJQwX3XYE4rwuY5fxqkijxRmqykj iQ4Bj6tn6FSTvsDuTmNjZCBYkPmUum36b8rDRmJJchq/58rfTytn3iPYa3kPZUvdYBl5 4Og//sq7nuLVegwbjGLhb0pvJFztL91u8i7XpazjYhMM3SyUMLhqarXDqNMPBwawT5YU ar+2L9T4so18U9SvnnhRjmjm73Nnt2UES3/RhtzF8Ie5OC1tyJ8K+F1vQb7tmFnVl9RR eBurNht8HGHuhDJBa2FCQNZZvuRuga8hXGX8ju6OLjNmm/sCbbp7BN2OSAKofYxGLj9H 49wg== X-Gm-Message-State: AOAM533yfpG/IgBvO8w0mWi01tuZAHyrF8OZn3FpoDw47eXgaOOTDbPg 7Od3zAtPmSKgTUW9uy54o5Lh1g== X-Google-Smtp-Source: ABdhPJyzbBuh2N9W618czQhIOGirFq73oAKVDmeTJy10jp/+3K4l8Ma+i7OTMPVLyuAjHPxk4tSxNw== X-Received: by 2002:a63:5a5d:: with SMTP id k29mr3237914pgm.215.1623908085941; Wed, 16 Jun 2021 22:34:45 -0700 (PDT) Received: from localhost.name ([122.177.46.2]) by smtp.gmail.com with ESMTPSA id m126sm4056405pfb.15.2021.06.16.22.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 22:34:45 -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, Linus Walleij , Bjorn Andersson Subject: [PATCH v3 1/4] dt-bindings: pinctrl: qcom, pmic-gpio: Arrange compatibles alphabetically Date: Thu, 17 Jun 2021 11:04:29 +0530 Message-Id: <20210617053432.350486-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617053432.350486-1-bhupesh.sharma@linaro.org> References: <20210617053432.350486-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 Signed-off-by: Bhupesh Sharma Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,pmic-gpio.txt | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index f6a9760558a6..10f049e21264 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -7,10 +7,20 @@ 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,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,20 +32,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,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" @@ -97,34 +97,34 @@ 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-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-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 Thu Jun 17 05:34:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 462114 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp111208jae; Wed, 16 Jun 2021 22:34:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrT0iTC9G2InkOj24II8FJ9NzAe/Rqpl+2pVunUhZp0g6x+/yw1YveGyWREJsd1ozvclwZ X-Received: by 2002:a17:906:748b:: with SMTP id e11mr3286207ejl.297.1623908091886; Wed, 16 Jun 2021 22:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623908091; cv=none; d=google.com; s=arc-20160816; b=MFgtu9m9QO19+Xc0Z2BNy8+RArzIqDWpOk6Ezlv/vBqzpVxv1KJbkpV7qTLRJYGQsy fupuTZHW3qJvot1CHbIK8lTUniZN9T+KCTC3YFQbnhYAdj9n0p+p5VkETkQR0/3rJxaN 0+cTh1GF2+Mxa2yukIY3g2SJPtqgEoIaGUMDJFcKIESCGxZFQlplndAuhBSnvOKsgwzw 5v6+mJUG6IwqozWsF5H7JJpvLRjmHpXVyDPL0HbleOW7EwkSeIYvncQclytlKq2VsRLy NEPowXbQYZFHUBJoJVmTQct2DWcfpHNEK5TrwGWQSADFknZS3MS2Zt6lK0/oPHXn3M4S rV6w== 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=UcB/vjjB0e9gJipKA//v703MbAzCMRsupGuwwOTjDio=; b=buWFUTimplXCdIqkuWWXMDKUJzj9hrCwwPZxz/hS5TewJeOpb39zsMGqQAdhze+nqB PtqVQ24yC/QQ3nppQq64rjpgKw3ejW+FP9EiACt7ql1I4PcOkQZTDiLsn4sePgW37iuv MZruaW6CgowEGNjSAnRqNzAf4stL83nPfA7db1rNWlDPuR2RktZmLzeV02fd+pH7WF7c Ude6QOQBHjIjL3Mtxdx5ZwYhotS5wDR9IcFETBYg/+1wF3rxjL8/7V96/pZFWbOLZL7C FRATfGpV+aQDnmyaJofL/fsoMzmjPuR2gkfd8u0rH2WDSE0+0EeeIeSStFHBmqnTujQM /wOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fgXIaaj0; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 ia4si1061212ejc.84.2021.06.16.22.34.51; Wed, 16 Jun 2021 22:34:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=fgXIaaj0; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S230047AbhFQFg5 (ORCPT + 3 others); Thu, 17 Jun 2021 01:36:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbhFQFg5 (ORCPT ); Thu, 17 Jun 2021 01:36:57 -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 34583C061767 for ; Wed, 16 Jun 2021 22:34:50 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id o21so2314715pll.6 for ; Wed, 16 Jun 2021 22:34:50 -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=UcB/vjjB0e9gJipKA//v703MbAzCMRsupGuwwOTjDio=; b=fgXIaaj0HsETVKRyV7KBf7e8L7whuTkRdRypBzdMxreL8fpjS/pj+jJmzd/e6Tqsoc fwz8wO2Ex40oAjBGyov+1j71RuXcfPZzstyUVkSOtB+fkkJGA2MaBq268rPFZH3K05AX lkozkVGK9PW7AEUmagUY7QhmXxxIF6/YEGfaRuLAuPewiWAEDgbHtPCq/3ejFk9cKeBw A1ckh0w3ipZWbLUGS/Nk/hvpqsgJpJnt3RsCUQxoSclVLbyH4wY6ljG7uS/MBqhIopDI I9DAkT7PcDUtFbZYSelMnwPvDSuFbHQE6sPPJKxLsJc+jf0aEHwgMVCkGtoyTG0qYJf0 mBww== 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=UcB/vjjB0e9gJipKA//v703MbAzCMRsupGuwwOTjDio=; b=UQ5Ba/oGGkMoKWT0BypBbniX/OkWiCwXqMmeT8HV0Q0y67v/RlzQmeAAyurdumrUdz ++cXfG2UbwsgPjUvNum44vMiakA82uPcXgSpAsBJ1NmR6Zerohdx+F72GKWwE3TSVXs7 2sscxy83QJjjk9Rp8S7xsWbDn4Zt7VXCIguOehOWLAF0OoWqOWcSHD1cv1J6/+nDx+Be SxToY81ylX7Rs4PRBEDh4p41Rjhdl148uLJn4RqnfEWd/W0BC5oUCaDd8bPNhZqIfmXx Lr3MKbaOu+XJsfgi4e1I7+fWn0t65Rc7g0UF434ozXNohcSe9ipXJt/25+sgo4NbsVyH rJlw== X-Gm-Message-State: AOAM532VePEA5c4Sk9hEQnFZ4wfYrihE0mfft6unULYJvzcc/q/5gYZD HteMC6vuBW201Gkoh4ffvR1Ffw== X-Received: by 2002:a17:90a:1da3:: with SMTP id v32mr2774502pjv.192.1623908089665; Wed, 16 Jun 2021 22:34:49 -0700 (PDT) Received: from localhost.name ([122.177.46.2]) by smtp.gmail.com with ESMTPSA id m126sm4056405pfb.15.2021.06.16.22.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 22:34:49 -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, Linus Walleij , Bjorn Andersson Subject: [PATCH v3 2/4] dt-bindings: pinctrl: qcom, pmic-gpio: Add compatible for SA8155p-adp Date: Thu, 17 Jun 2021 11:04:30 +0530 Message-Id: <20210617053432.350486-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617053432.350486-1-bhupesh.sharma@linaro.org> References: <20210617053432.350486-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add pmic-gpio compatible string for pmm8155au pmic found on the SA8155p-adp board. Cc: Linus Walleij Cc: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 Reviewed-by: Bjorn Andersson Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index 10f049e21264..95d158848546 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -33,6 +33,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" @@ -122,6 +123,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 Thu Jun 17 05:34:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 463338 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 BC3B7C48BE5 for ; Thu, 17 Jun 2021 05:34:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B0F66128C for ; Thu, 17 Jun 2021 05:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbhFQFhB (ORCPT ); Thu, 17 Jun 2021 01:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbhFQFhA (ORCPT ); Thu, 17 Jun 2021 01:37:00 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBBB6C061760 for ; Wed, 16 Jun 2021 22:34:53 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id q15so3972102pgg.12 for ; Wed, 16 Jun 2021 22:34:53 -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=X2Jgtg46fvD0VIIhEX+lIqgmEij/wG71wKNSQ3al/aA=; b=Ip7TwC6rRWlDR9SuxOZpNs/qeBiPgadNvjKxhRfcESXkNzEHAA7A2KOVX2uSYX+Kd/ HTAbnTwxs4GZNn6L3S9KJPUVD5CpemInFh//I2wrlYL/jlf4YK429yn7DHYgMUnYVLr0 hPgixvfbSUYX7NEN6Ar+RDJ8b0RZNbUk00ler14z63/IAPvH4HHBSMN8MxGmKNvoaFcl xcv8jPvDXJzGyRfduRJwgM5EY3ykQNvIUv898sJEm6vdPnVM7OVMKpkUPl7BjGaxQXwW cZ51bBSl52DR3ahEFB10Qeh8rDn4JHMo7y3EhFHP49eUop889WNVEcCtg7A33Sh16iLn SktQ== 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=X2Jgtg46fvD0VIIhEX+lIqgmEij/wG71wKNSQ3al/aA=; b=rD+wd4e8GW1RL9UjIHqsL/8fmoNytUy+xORB53yWGTFg+AXldqOHTAKvgsHZ7iForw xUODbP2xGk4H75OjXL+m8b9uEUGVEdB3qVnaqrevJ8ulKU6d0hih7v/wLnMHSEAkzRaf bM4/4+SOWhFwik6lnDKZGfMeo+ifROUk9O8I+ls4iB5XU3HENQZILxt2Mkng6GFuqnk+ 8Q0JFUvfu2IZ7ejRgPE2ohhQ1Cy4tGGqlOAz/K5B5di41gHOPHNKZG5dDDqHJdmPWcxn ibNeSQV5EVuvRBo0Uv70RGdCJ6xuuY1PVTaSthohXi9OwGbeUl91NeSS0MrHQiTjEwXN M7oA== X-Gm-Message-State: AOAM533cc1DrjZhcnCUrJVNQgqG0P1GJm/6f0IyC8a193ICkM2KkQV9g j/nJfDIyi0jjAogpRt3Cr0bFvQ== X-Google-Smtp-Source: ABdhPJwXxHI+EA4FyBkcl0IPGZqiN90udih7ZsjFkb9Ol0jjGSZrJ6fGpbpWJE+xnD8jIgD8O8LYzw== X-Received: by 2002:a63:1021:: with SMTP id f33mr3412981pgl.236.1623908093358; Wed, 16 Jun 2021 22:34:53 -0700 (PDT) Received: from localhost.name ([122.177.46.2]) by smtp.gmail.com with ESMTPSA id m126sm4056405pfb.15.2021.06.16.22.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 22:34:53 -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, Linus Walleij , Bjorn Andersson Subject: [PATCH v3 3/4] pinctrl: qcom/pinctrl-spmi-gpio: Arrange compatibles alphabetically Date: Thu, 17 Jun 2021 11:04:31 +0530 Message-Id: <20210617053432.350486-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617053432.350486-1-bhupesh.sharma@linaro.org> References: <20210617053432.350486-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Arrange the compatibles inside qcom pinctrl-spmi gpio driver alphabetically. Cc: Linus Walleij Cc: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 32 ++++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 00870da0c94e..89f6147efe58 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1104,23 +1104,14 @@ 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,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,12 +1121,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,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 Thu Jun 17 05:34:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 462485 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 914F6C2B9F4 for ; Thu, 17 Jun 2021 05:35:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7D6C7613E2 for ; Thu, 17 Jun 2021 05:35:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbhFQFhJ (ORCPT ); Thu, 17 Jun 2021 01:37:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbhFQFhH (ORCPT ); Thu, 17 Jun 2021 01:37:07 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4C33C061767 for ; Wed, 16 Jun 2021 22:34:57 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id p4-20020a17090a9304b029016f3020d867so1078978pjo.3 for ; Wed, 16 Jun 2021 22:34:57 -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=mlXK69v2pPrOsRLDV4z5stHJFaT50+6OHMAHmJSQD6I=; b=rrWQRz1BJVYbRPYMwQ5hwKXNONO6Ld5gpLPy9Ua2PeauTkcKcX4cvqJOGkEXgxu4wu aP8MbfSFaC5dzv+sAdcc9nNslsvyEvXLHzbYBf/5ylHgO72VuzCnS1FhAs73WlaQcZbe UGbZT0Le8FTKq2SBkbQ9f/cOc36KrLav29kOt9visUvjZtrkv3ErMYh6traHIq+RuvDp 7P+wwvXmpzfmHj8i4Z5ReK7af0uGBoU8ND4Vvm+mVrPcnrrfCQODrCedqMq2FNytaRYl 5KwFVw2Mr4vNzADxuEuUIQ6MlpiwZnK51aSn9nuO3sIL/RbuhkOu5XL4G3W6LJEk8bNY XzCg== 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=mlXK69v2pPrOsRLDV4z5stHJFaT50+6OHMAHmJSQD6I=; b=ifwqwBXC0ULrSV9zGJS7fQCf/BN5qRws+/AkuRQcFLhZ7Q67Vq2eTPTBpwkB8wSxu6 tUm2JcJmGpmvZv52ufol/+YL/hHbfGmB9WfVNt/1GshDc9X/y+yoePoTd0Mail28Q/Wb mQJHBgPn9wdLG7RePE0B0L9ARoSZ9Snk92/fnDhSnHlM99QgGMkJmyKfBjzd+fUQuJi4 a2NPIxUi0fzHHi6E5nrTNbxJNoBcqOQ5TFlf7y2nuIIzDo1hzMJqkuvbSJq5Hw0htrRn fHicM06mKXG9suDK5Z+Jk5S7ZJf3z9LVADFYITQKOMDmZZ2JXbN1bsbRQEj/wxF1Kg2F 1uEw== X-Gm-Message-State: AOAM532bSQEDHa/EKSjZkTBYzWFvItDYl4GBvUpQzgeHZg2nEtba8jWy pLH3eZVXQfHeK9T9qWqRiaUFnw== X-Google-Smtp-Source: ABdhPJw0nmxdi9o8bhp15PUKfbIimW3pxzpfJBcHnzId9n4+7gj4Xkv3huob0sEHZj1mho0h7rErsA== X-Received: by 2002:a17:90b:45d5:: with SMTP id jt21mr2305526pjb.75.1623908097236; Wed, 16 Jun 2021 22:34:57 -0700 (PDT) Received: from localhost.name ([122.177.46.2]) by smtp.gmail.com with ESMTPSA id m126sm4056405pfb.15.2021.06.16.22.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 22:34:56 -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, Linus Walleij , Bjorn Andersson Subject: [PATCH v3 4/4] pinctrl: qcom/pinctrl-spmi-gpio: Add compatible for pmic-gpio on SA8155p-adp Date: Thu, 17 Jun 2021 11:04:32 +0530 Message-Id: <20210617053432.350486-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617053432.350486-1-bhupesh.sharma@linaro.org> References: <20210617053432.350486-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 Signed-off-by: Bhupesh Sharma Reviewed-by: Bjorn Andersson --- 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 89f6147efe58..cc50cfc576fd 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1132,6 +1132,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 */