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: 460494 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp4035002jae; Tue, 15 Jun 2021 00:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztb8tEORnfboMVnq1uzBvgX+AT6Ao5Ve/gsJUtnGnP2J1jgCrbCbCjeN8bsQdtD8N1uz+Y X-Received: by 2002:a17:906:70d4:: with SMTP id g20mr19036979ejk.327.1623743403387; Tue, 15 Jun 2021 00:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623743403; cv=none; d=google.com; s=arc-20160816; b=P17S+fGygZJ9XDYo2Zjc9eXo217X0RTtOJvRwprD5W3IYDrhTKU5GP+Rc7ke+LDdFk prpJNokAfm1ZCVMJ8CMgWmxOF8+x5NfLc9dCc2HjlcEdeHGSyx5SmlMA+EpVD1znHnuN kLgEQ3sxVqEYEeSVyKslXWiluiXl4HphX/pAOegKcVoP2NlAeYKaA6zSyFCDJ/qLNCj+ fE23jB8zsFI1kZMHsR6mY9G5uQheAmuXaGjHQ28gwH8zva7pvvxqkIQVn9IQyl9v/EM3 7mwkwoDWMvob2Oc8MDxqpm1fzWz/2yvqw8L7aNQOp32+80Z5pLg18dKTWIvFiNQTvE30 GhSw== 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=bLfug41KVgS8QwhKgdDpf17Gh2yCuqzm2B1HR6V7kSQ=; b=Q2XgYXAVOo6DeEJAnMYFM57vc7zAQ0Cpxj9/8nkwHF3Es5rrVN6PZPd2Ro3sVwpyZO 8dVgxMM8o8BY7C/vvSJxIQtsOxvf9n6hnRzwI9aF9YozFVHmVCki7DhvC1jGC5EuBLDV lMuAhtMhQYGbgJDql8ELKbYLYa4sPgsLd/pphClgpFJwPCj35gxc47fo3xV2TykCB8aS f6XLQhXR9evtagWKkk9XTVgJ8GjIqiNstX7D5jPa43QLrWRyyfl7IPSstO/sNJX88SOs Z68t3MzMRJ8em27LUsZ4MUfntKpTNJd1vCQejCKeXiXPCLgUOFzKmGaYvSY0gUxjwU7o 8hBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=irDRlDL7; 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 6si3671960ejr.201.2021.06.15.00.50.03; Tue, 15 Jun 2021 00:50:03 -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=irDRlDL7; 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 S230527AbhFOHwG (ORCPT + 3 others); Tue, 15 Jun 2021 03:52:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231157AbhFOHvx (ORCPT ); Tue, 15 Jun 2021 03:51:53 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B428C0613A3 for ; Tue, 15 Jun 2021 00:49:49 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id o88-20020a17090a0a61b029016eeb2adf66so1086738pjo.4 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=XocZouTg88+VtmZjVsMY4D/7tqpOAHTBtwMmvw8cpHTMSA8RDOnAbfooexQNFmq9r/ 5TmH687acNn79B5FQ2KUh8WSTjO/MkiPx+I30u63P/+byiYDuTwk6qQHb4Q1ZxoBd+0X yp2zAFgzJeMSMclcWE1LLymAZAjymHlowAr6smK2j6FmnAhI1eR/lvfM2UgiVAyEf0pp 83yK0KS3fNCU74ZRGKiCV79lb7dE3jsJTzSPZk1Ah9paeGcjm/xZgUsvfsOZezqg+SVh OU44h8D/0kkP3cYpAR9DoeCW340Etm/j/LcFpxm8P5igEzOOBy+lE786w8mVF3gpYstZ To2Q== X-Gm-Message-State: AOAM531NqDPJq025iLdfPBa7DQoR05iXF2t1Q20rlRmMD/2MJ8LdQiJ8 f7k8g90gPhUthXnuh6aXAippyQ== 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-gpio@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(+) -- 2.31.1 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 },