From patchwork Mon Mar 20 15:48:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 72260 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1309325wrt; Mon, 20 Mar 2023 09:25:44 -0700 (PDT) X-Google-Smtp-Source: AK7set+gREJhaef/DRqzDwPnqT/en8Ap5qkEYKQd5nGLcWZ0gzEatf+3MWPEctDTyBTjDAQJ363P X-Received: by 2002:a17:90b:1d0c:b0:23a:66:1d3a with SMTP id on12-20020a17090b1d0c00b0023a00661d3amr19187165pjb.45.1679329544075; Mon, 20 Mar 2023 09:25:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679329544; cv=none; d=google.com; s=arc-20160816; b=w/2wElOKT4MbTMVP5JK/EaKybDVfYZV2BKZo3UoTf3tooRSJak4zu1MDVQ0zVGFm1l fVRmCZ8qeLYJB+zwwzSPythP5CPRBlZDV2dIf4CpRCXbg3/c8vq+D1uuQNpAnxyF7T85 PSE1SqkcxPyurTh47+FDN+8v6VaOY7buF3LQL9Fa9kGBF1aOw0o+4pu0vsU05OdsxJ2W nXRXgs7V1XsD8lBWtRKrlbiBk1BP7ZqR9MtorgKL9TDWS3JFNdS9hu4TlmcQTcyIJ3HY ZPQ4uJ4+1YK/F7vwT9Hmh9Kxx2laNyf186rY6g3yHhKJF0FsR0DRwwumZVLgfxPRHGW3 EEnw== 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=JifIy6SXQvMSqoW8+4+hT3YBFsgtzfOOQGnYahfHW4g=; b=GsXRfSwLCwjYcF5pEAJVGe5g9C6QbZQ/kS/jciQNlMnloD84o8M1fYP9j5rCvuProl it15iJDtyCXNsS1Cev2uSDKr+NmrktwmClcwOiRnBBLJEKN4O12P6qxwwFxGP3EYe+Cc zK9cWr+ikZgOBqHlVsLeysOFdmypc85evCODfSTkaX2XekcExy/T/01ZL37banmscmdN Q6+7bdFWMFeVvc+/W0TrLn2WUUj9wIUdGTWYYYq3wZluxd/6GYnpPxkuUnEI1dNnyD9X +Qv9O8DWURtNQoQSL7L+oLqmCyZgGLIOq+SU3jYJc+ZX7Q4LE29Sng031M5YJqve5qPL MCNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=q61Md8Iv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z7-20020a17090abd8700b0023f37b648d9si10557152pjr.157.2023.03.20.09.25.28; Mon, 20 Mar 2023 09:25:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=q61Md8Iv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232119AbjCTP7N (ORCPT + 99 others); Mon, 20 Mar 2023 11:59:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232548AbjCTP6J (ORCPT ); Mon, 20 Mar 2023 11:58:09 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81C54149AA for ; Mon, 20 Mar 2023 08:49:26 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id m2so10817651wrh.6 for ; Mon, 20 Mar 2023 08:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679327344; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JifIy6SXQvMSqoW8+4+hT3YBFsgtzfOOQGnYahfHW4g=; b=q61Md8IvJXQikmFB0pYYtxgmDqCGyiiP94Vufuo9bl96lJUqWNOCYqENi9xncctpci 5OAkxdJCe/sqBQuaGjfTb6s/iXmZTO97GGKBPlG66oguwBP4AHKtDHNfNOg2ZctkW4wp /qAPUICABdole7almsISyZBOVudOPkXxXVSo9hdDDpeDGq/dRoUuVH7ij9LX0O9FF7LC jIBAJ3NYOtWNyz6PSlQChXBHOj1tNIlC6d8ljCbRsrwfwal21YINv0wj/zZpVaL7ZXA5 8s3wQDzrrMCxgPjhg2QYDvCfoOljhc/BEmW4HVJCBks9BO9DPYPgB4TxW2yKW7xGf/ru 6PXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679327344; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JifIy6SXQvMSqoW8+4+hT3YBFsgtzfOOQGnYahfHW4g=; b=Eq1OLPkLdQWIihwUdJeSdocaWT8tjl6Ij+UKw9XED+cBUPFQaaK6aaqsLZCQma0CAb 34cIDHO/BgIgsxOgONBsfur5RznxMhRBrDK2ij9XGtm9dark4CGTlvKMUEiHYhXzeomd 5p/ZkUfTtKs02o5hrh53YOKBR/8noYmpTTxo+iVMzN9MW0C0FtxkPZXupmP8FB8mbHKa UqvcmtyiSCAFwb/BUMRrNqkuU/+5Q5IBhDk27mF8MGfcFas5sxpyJ5C3EwQrClLN53/r SeQphc18ixMzGLaoKDgCc07rI4jgwtaQ1eO9SYrwMC4qKCNf0Z+bu4Idm1EQvikyW9El S7og== X-Gm-Message-State: AO0yUKX/HNxBgpGSYN0lueQESnWYRWrRBsZLdefzK8cB9rmuNxfAhxxT dbT4xDv/jh8gWekhfO0Y5TPtFA== X-Received: by 2002:a5d:618c:0:b0:2d7:3d7c:19cb with SMTP id j12-20020a5d618c000000b002d73d7c19cbmr45082wru.4.1679327344729; Mon, 20 Mar 2023 08:49:04 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d7d9:4f38:38b4:82b4]) by smtp.gmail.com with ESMTPSA id o6-20020adfeac6000000b002c71a32394dsm9202578wrn.64.2023.03.20.08.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 08:49:04 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski , Linus Walleij Subject: [PATCH v2 14/15] pinctrl: qcom: spmi-gpio: add support for pmm8654au-gpio Date: Mon, 20 Mar 2023 16:48:40 +0100 Message-Id: <20230320154841.327908-15-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230320154841.327908-1-brgl@bgdev.pl> References: <20230320154841.327908-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760904655733516726?= X-GMAIL-MSGID: =?utf-8?q?1760904655733516726?= From: Bartosz Golaszewski Add support for the GPIO controller present on the pmm8654au PMIC. Signed-off-by: Bartosz Golaszewski Cc: Linus Walleij Reviewed-by: Konrad Dybcio --- 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 ea3485344f06..0d94175b34f8 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1238,6 +1238,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmk8550-gpio", .data = (void *) 6 }, { .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 }, + { .compatible = "qcom,pmm8654au-gpio", .data = (void *) 12 }, /* pmp8074 has 12 GPIOs with holes on 1 and 12 */ { .compatible = "qcom,pmp8074-gpio", .data = (void *) 12 }, { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 },