From patchwork Tue Jun 15 07:45:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12320711 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 6B844C49361 for ; Tue, 15 Jun 2021 07:50:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 588C06142E for ; Tue, 15 Jun 2021 07:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbhFOHwG (ORCPT ); Tue, 15 Jun 2021 03:52:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231158AbhFOHvx (ORCPT ); Tue, 15 Jun 2021 03:51:53 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA559C06124C for ; Tue, 15 Jun 2021 00:49:49 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id h1so8031423plt.1 for ; Tue, 15 Jun 2021 00:49:49 -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=bLfug41KVgS8QwhKgdDpf17Gh2yCuqzm2B1HR6V7kSQ=; b=irDRlDL7X1yLJIf1BNnCEPedzyb5KPte5tkIyfJkfWNJN69SIKa94Efr0HsO37IV/U blB152fy1QW0f451J5TGwaxeWzUTqSNkBmj90sZQ7f72k0oXkmOPFqhu0NcmwP+EXpe8 EA/9hYjZlNg3aP7wRG11vH5t1fNTLA+oVuyTdVTdKoAbE8NnxOFt7FpzqpZzdreEmBRi 6h1wMKu78Phw7YXuEgdZOHCnFpHmKVc/xlcvZpQC2xVf9EzLEsUPp5jHRMTXOS25X0FR ys9umdHBoPunSVp/jyA8ebQ/MoSM5cW7lNw5vb+5l/HVYQ+CfFdzCBr/yRBuUGjCMXji Ur4g== 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=bLfug41KVgS8QwhKgdDpf17Gh2yCuqzm2B1HR6V7kSQ=; b=TtwQhtGoEsPAPDEpGNN7yIHs4XF+Z88/f1zrRusD4dY1AV/QutTzZSlZNjtaBKAo36 wYFu0fde88ykbdFdwFzO33stQJEtUjrM8ELwYYILO4fK7LnrWcQYUe7LXQ4uxbeqv8/6 qgzJxemWZXpxIJYs4gKNrRDMR114pIlXXbkc3rXKnVQeuYa+gSl5RCxKvSEAW5/PNTuQ VtBRHKjAWuCjps6thOJOePjlmIqtQcceg6e620/DpbXuyJ2AFwARIaIdeV0SuFJ31cnk E7x2uFYrba+qSCsskVShWoVa7ho/lrejNXxWrRk8wMvffekeSBgZbdwCpTV+aPlpTRXY Xhyw== X-Gm-Message-State: AOAM5312Kp6lS2vm18+vHWwiaq0eS58OMkjiMfocJjdTonyNNptdVmd7 WD9DVr9hWmWRxZ26DQJH5aeivjlPqQfJDg== X-Google-Smtp-Source: ABdhPJw+k0l+t8wDSvmtX9WX1CS+pgbRdSl4Z0t2W3TIHUWvl+hjzatDZSYOZZikTbO1rLP/DOH5PQ== X-Received: by 2002:a17:90b:3ec3:: with SMTP id rm3mr24186956pjb.105.1623743389143; Tue, 15 Jun 2021 00:49:49 -0700 (PDT) Received: from localhost.localdomain.name ([122.177.197.114]) by smtp.gmail.com with ESMTPSA id c25sm14273097pfo.130.2021.06.15.00.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 00:49:48 -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, Linus Walleij , Liam Girdwood , Mark Brown , Bjorn Andersson , Vinod Koul , Rob Herring , Andy Gross Subject: [PATCH v2 07/10] pinctrl: qcom/pinctrl-spmi-gpio: Add compatible for pmic-gpio on SA8155p-adp Date: Tue, 15 Jun 2021 13:15:40 +0530 Message-Id: <20210615074543.26700-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210615074543.26700-1-bhupesh.sharma@linaro.org> References: <20210615074543.26700-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: Liam Girdwood Cc: Mark Brown Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Cc: Andy Gross 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 00870da0c94e..f886c683e2bd 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1127,6 +1127,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 }, /* pm8150l has 12 GPIOs with holes on 7 */ { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 }, + { .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 }, { .compatible = "qcom,pm8350-gpio", .data = (void *) 10 }, { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 }, { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },