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: 462296 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 9752EC49361 for ; Thu, 17 Jun 2021 05:34:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74AC16140B for ; Thu, 17 Jun 2021 05:34:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230082AbhFQFg7 (ORCPT ); Thu, 17 Jun 2021 01:36:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbhFQFg5 (ORCPT ); Thu, 17 Jun 2021 01:36:57 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 523F0C0617A6 for ; Wed, 16 Jun 2021 22:34:50 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id p4-20020a17090a9304b029016f3020d867so1078822pjo.3 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=NGLbWz3JChRNTRcnEQN3ZXeIDBoct1uU7vkMw4hiVcVOed56IDBNtPL3//BBu7kX/n TXXVg25m+dYLYAyfdP0g99PS9WzqxRXN0zq3nlUOxugKOqukZbmMC3MxnoymAhCQR2k6 PBaZ0jjCUKgDpyGIw0lPAWpjfQSQ3p+gQmkZQYWuArfXLeQZIvbBwsXcfg+fUj4fffv5 8eyx+br45CKz05Z8ifRe6nFWeQM+ob1GRdQHR5Z1CWFz99g7ZFGGg3cb/yJ79jdVG2YV 4JLdvCkFFbhqLB+jNajylmzM2K7IdGJPRxzFhW+6766vl0GyokapBpMbiaGYoUK3wC/p MXgw== X-Gm-Message-State: AOAM533l++qUSw5WB7ekc7ptR+Siup8NOUpmazPhe7RIthJfKutvBWZM CRKN0/QXYjXRj5dYtkbEMijfeXNq1RCogQ== X-Google-Smtp-Source: ABdhPJyPwl7B31LdfVyW4xxhljTdgfTaKBwcQ7ULtqWZptk2a47gLvT69SNWtCi1HT4v67HIoi2N2w== 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-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 Signed-off-by: Bhupesh Sharma Reviewed-by: Bjorn Andersson Acked-by: Rob Herring --- 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 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: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: 462295 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 7D7C2C48BE5 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 665576128C for ; Thu, 17 Jun 2021 05:35:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbhFQFhJ (ORCPT ); Thu, 17 Jun 2021 01:37:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbhFQFhG (ORCPT ); Thu, 17 Jun 2021 01:37:06 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1FACC0617A8 for ; Wed, 16 Jun 2021 22:34:57 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id m15-20020a17090a5a4fb029016f385ffad0so338957pji.0 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=QOKp+aY/JVE/Ou5RjsVHh9RhgoPBkXI3tdTa7Z/zrYEtvLoZwDR2nZCmRM9Gkb9u3p RaJJYeefsbd9JIACc3rwG3wH4K1jF1+pGbehdLlnaHprimuQkWlvAE74HogxqYWsC88V KAWKn6M9PeXThwzM6huYzu1p4QO5sMTFFANLCet0BMWYEl10BypAooLkSuoiWo/PY+nn 7XWHvo/kkmTS68J9dMz5gikmtU82RkELLOLS0E98itNRnrgeJp8U5TpoP9jvxKY0BnBv IhUuwfPMCfCAa70zUzpgBTb3hL5nwjkugqFE5LIftYb4SCReRdn+uo042CHjyPmSp7e2 35bw== X-Gm-Message-State: AOAM532Zmx6/WtlCQQP/Dcx5nSqeIZPvMCiSM7s4s8WT1pSnf/0omsbT wjQyuEmUJphRR49pEDsRRku7CLppA9ls7A== 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-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 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 */