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: 462116 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp111348jae; Wed, 16 Jun 2021 22:35:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZvypcrcBZqP5DynUXC5pLbfKxfRB+bExZFF02ofAXU0rZyQEeS1aG2Nk4GCBzRd/nS6dF X-Received: by 2002:a17:906:b2d6:: with SMTP id cf22mr3301979ejb.29.1623908103857; Wed, 16 Jun 2021 22:35:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623908103; cv=none; d=google.com; s=arc-20160816; b=tk4rQ9kbrPg2csPhS3xxsuOKFrk0qDPiYLmW7nq/H3C1QYkNYzfVyNEI1bkZ4E06tF 2GClFj35P094vrc0m/JCketWZ5JdOz1wC4MwLsBy1fm3ZgDkECpEYGjSFV1wVBq/WhI4 chu20A2JjFGGRD1RAOv+JKRb+sXvcBtzMjoAbF7CJG9E+6xB58p3PiiwOmieTrEw3zG8 rDUOHN+wQQh2u36eCpv00XVpOKJoismFlGCCOoX5WTG40vZGd3C+lxZCIQfO/wQhyXeM llkMNAjj0gT+xIlkzVVX/EQQiBn56NDb+MN9h5Rg/P8IAE/vRwFT52ahpb4hjdEXYxd+ lZlw== 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=mlXK69v2pPrOsRLDV4z5stHJFaT50+6OHMAHmJSQD6I=; b=jTZT+6hrBBX8tdRukxTK19G4wgLmeSZhE5xZyOf4hU6ag/qff5Zh1SysK1qKC9IqSe uYzG0a5d/xe6TNdHP8Sfq13+euu3D0xYgE8QYkr2kTMFPIaZBlXkbqQ+Zp7xdomgbVX8 YD+WD68wuf4TB3NhNOL4vzmpept4ACHFMNj8m/UU+LOD67Co0ky8mJ90vzfx3A+WVOq3 StxlrV0KGlwVrIAf9jvFS4wGBKWEH+U4BvcuPjOTrMrZXjilaH/sIi9kAFdXix/+DwQ7 lDdvdSoOQX3GKPGCafNf3X1Fb7i5eTt9l83murTU9c/ffu73DRx2802tCkoNDyHnUrWu gMOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rrWQRz1B; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 6si4417787eje.471.2021.06.16.22.35.03; Wed, 16 Jun 2021 22:35:03 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=rrWQRz1B; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S229868AbhFQFhI (ORCPT + 7 others); Thu, 17 Jun 2021 01:37:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbhFQFhG (ORCPT ); Thu, 17 Jun 2021 01:37:06 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BADC061768 for ; Wed, 16 Jun 2021 22:34:57 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id k5so3121958pjj.1 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=po8ZSgnhqtR7qf6mSYjo1ft1CPfHTTOwBAgO2QgXkrNQwGDwUsR6kkRLHPhq9a+RmO yKu9gh6nVchso9YmDbCIjRj8WkDNfPK5DyXCbbC+r3MOmhsSPNbjUCpHDAC4+wMJ7Zr9 q3t3hXs9JP0mzujlG6X2mJ0kX1eYaKUOu7NMo/dJQ46QuZUDVxdZ1QnuCd6ACsoyNiPN 2NaP0Ogavdkua9iTPvADpzVE8tLXmRsW+7NXjXnVdeJUjvCazDnh9xzz0KRuUrYkDfXk TGBfUmo71FYnGxaKoC1tfnniQ4Pkw5/VtNrrlilsFnIo9BF+fEq3gOvKk0lpQdKk/o2H 0zYQ== X-Gm-Message-State: AOAM532GCWs1Z0hf+Fu2aPQgW28je4RNwFjUuAtybqCtN1MfGFUIxXWD SF4W16JPd9hKfJoz/EdxFG+aRg== 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: devicetree@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 --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) -- 2.31.1 Reviewed-by: Bjorn Andersson 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 */