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: 460703 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 A3860C48BE8 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 8C5E26142B for ; Tue, 15 Jun 2021 07:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231157AbhFOHwG (ORCPT ); Tue, 15 Jun 2021 03:52:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231146AbhFOHvy (ORCPT ); Tue, 15 Jun 2021 03:51:54 -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 94D45C0613A4 for ; Tue, 15 Jun 2021 00:49:49 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id m13-20020a17090b068db02901656cc93a75so1267091pjz.3 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=XT/QZBXLSJzReJKaWtBPxWUhwk1yIkNhLx806SqvNPibEXWpajIZXyTo5qzKLp3556 NuAhYHW+Ta8PKu6jo+1RaxX5vYN+X0W6L7NvWAiTECvtB2dYYjJ85H1a/u6Dv2OsF/2n SD2XQC7dN+9pG0SkXqev4R7ewm0XSP2P3oXSDFjbSDihIrjfB6VTs38SDPcCrkjrVtCw h8z79r88Z4M2+AihC3Au4FrapO6ygXIn/g7Qr5oxAfY45CDtAUqDAQ2wEc5xbsO7BaF+ KkXdIPJecdwHBsPKyOQ8KHGMWLkLe6gcelBbeFD3VVNfyF2MbdbgsGpybUPU7dPIcbbD x/qw== X-Gm-Message-State: AOAM532nkFR8u5GyAcv4wdtLvSmPiD2PaBJwg7W3ESSyCmBeeLfxOWb7 ykQ97R+NGe5MRQPEMgvFQDpDZA== 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: devicetree@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 },