From patchwork Mon Mar 27 12:53:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 75409 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1492509vqo; Mon, 27 Mar 2023 06:02:39 -0700 (PDT) X-Google-Smtp-Source: AKy350aPjLRHTrdWJ2LEqeeRsF/AZeR6Ur/dAoi05UU/AbhYJk1PLC4ixwkiAk6XMW5It2c/3z8i X-Received: by 2002:adf:e70c:0:b0:2ce:9f35:59c7 with SMTP id c12-20020adfe70c000000b002ce9f3559c7mr8407787wrm.45.1679922159221; Mon, 27 Mar 2023 06:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679922159; cv=none; d=google.com; s=arc-20160816; b=l/2kdm1DSiD3dcUgMUXpfgrMhCQyE3De4rtbb7lDVOL4aVRjoYJF1DDQvHiGZXVClQ PatwIS8HYn/HslMrjh836R9okv6HjLsKpfeh54MMZb+PJ5NR9QUE/6R84SlnEDIuqgSp W4EzIIOor5miKZo+VwL01gTBNIJ7pjljb5jW8A29qAHOLjFIIjyoHt1DmEDU/Smj13a0 A4ACYtVwEjl51ItdgmWGJzvjK+1EKprDoeRd9jJdn8gVmY24I0rxuO6Beg9pmjQUNOvf 74EUZPXjPEaqb/FWyJyd0drJFrmdsOIynrtXZKhMYDpt3VjOZFaiJohTAAlj5NTm500t DUsg== 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=165NgY7uZe0xEaE1msAHdv1OQit9UrOek6qTFAsHcZc=; b=NAWBGB5VHhIzinK7GXSSMhfKhc5o5KYB2Ay4Q8tm2NicXfiKcO/MNiWGKLuAnWqX2W XrVwj04pc32a0e9Wbi9VCpboDE5eWSn1afmwsK2oYkbTyeS5tiEEcF4gta/uEc8iZnSp dS9KagdG6fzTr6DInYL2a8HeE45hs4nKW63ccjbNcLNvXf58so/4chtaQzu6j7n5MFzT DF11PBDrk700eONZTYw4l3BT5pBydoMf/eE9ScttYsY2r7KNe0pS+yTXiWUj79UceAiF CQITZQ9S6WKJB2I6MOQ7fDhyPnqsm3EyJnhhEzFtP8glofptgNG+9S4hOlR3ej244Ipj ghKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=ZzRhmBOY; 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 y12-20020aa7c24c000000b004eaaf1dc512si25763259edo.466.2023.03.27.06.02.10; Mon, 27 Mar 2023 06:02:39 -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=ZzRhmBOY; 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 S232952AbjC0MyU (ORCPT + 99 others); Mon, 27 Mar 2023 08:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230379AbjC0Mxd (ORCPT ); Mon, 27 Mar 2023 08:53:33 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 141E61734 for ; Mon, 27 Mar 2023 05:53:32 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id l8-20020a05600c1d0800b003ef6708bbf6so3158126wms.5 for ; Mon, 27 Mar 2023 05:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679921611; 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=165NgY7uZe0xEaE1msAHdv1OQit9UrOek6qTFAsHcZc=; b=ZzRhmBOYjHFtV/HSqmkL0kLriR8hVJjfbzzieDzQnAxxR0UBhTgzNsSNgRXNtq7wHy kZ1UlETe+FZzTaD/9lIyOGTVHf3dAh7ZohhWVUKFlXhOUmMrxeHk99/GawJ/hu/vwlcd 30+7bwW8hJjfs3a5GvkG7bDNETN/tGPlj7JNYWD4/vz4ePRb5tzQBvj3ZqNEJsf48zOc GxdKZk2I6tVYwvDDqKA1eOi4qRPHjCzTNP84/CvnbOCCUp96lGH6KvsD0YzQmhEATOrQ DqDMTlFCF7Id0cg/+prUJZdrlWUVva4ibYi9tLTssSS/xDvLgwpUO1SHpdtcNfp6ObaU XrBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679921611; 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=165NgY7uZe0xEaE1msAHdv1OQit9UrOek6qTFAsHcZc=; b=JMCSdERMmEfzSKFQ8UDjxzhWtQYxeDM6mzrEaK5HU77Zb9/JIZv3GmLLIVMLmhj2Io ZaJ/HPD8VwfF6n/zEAOX8r/E04cNf+Kj5fXMj8EIPWmppcy0ZZ/JuyYIc89D3ZERAQSS 6bAefKUisCGaYjbnoupqpXdvCyBgrb/lNdoMK/t9XCoD5Nh9Z7KnvfTT4+MxnYmhGtIB pblHBeUflMR65DVln8EYQcjwx8Vs6xY+RC3HRLQvm0CDrxMBRqPbUGZ9ynDuA92DeDDl c8X1dbRJpXHAX4QlGWp2HxVYrUJHzJHMnhH+bm0gFqMsO7bfw3ZnKyxJFJPSHffEOs1a F6FQ== X-Gm-Message-State: AAQBX9eKWk4Cneo9Uesi2TpQxfsYZo9CHQpw/Krkx+iQROFZ7z0Hxk1w EPUmMliJwGfDhSwl2TBFOqRPJw== X-Received: by 2002:a7b:c009:0:b0:3ef:62c6:9930 with SMTP id c9-20020a7bc009000000b003ef62c69930mr5765235wmb.3.1679921611697; Mon, 27 Mar 2023 05:53:31 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:313d:a304:2790:a949]) by smtp.gmail.com with ESMTPSA id q25-20020a1ce919000000b003ee58e8c971sm13572220wmc.14.2023.03.27.05.53.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 05:53:31 -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 v3 13/18] pinctrl: qcom: spmi-gpio: add support for pmm8654au-gpio Date: Mon, 27 Mar 2023 14:53:11 +0200 Message-Id: <20230327125316.210812-14-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230327125316.210812-1-brgl@bgdev.pl> References: <20230327125316.210812-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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?1761526058249060484?= X-GMAIL-MSGID: =?utf-8?q?1761526058249060484?= 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 Acked-by: Linus Walleij --- 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 },