From patchwork Tue Mar 14 18:30:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 69768 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1919554wrd; Tue, 14 Mar 2023 11:34:56 -0700 (PDT) X-Google-Smtp-Source: AK7set8ULdQG64FpCM02FII9XJAPd4pJ9WxQFuM/V+Nru3tujieNVbeKQRtZiKe4MQKkwSHxrzpb X-Received: by 2002:a62:1944:0:b0:623:e4c3:4ade with SMTP id 65-20020a621944000000b00623e4c34ademr5986046pfz.32.1678818896662; Tue, 14 Mar 2023 11:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678818896; cv=none; d=google.com; s=arc-20160816; b=gd9sigxoIZleUFy36cCrY8Otlh9W0MGVmyt7fIErj7qzm4n3ciLCTCDuYzXLoq1OXU xs7zwlyBq1cGBBy2Mahw2WECxSo75F5/5Bbnc7uO5bHZmKJ1rJgvN/lq+rkschNo8gj0 M6iow8W00lVXX54AM9CCcfczBlT6ovFxA+sz/0lMVcwDnGso5d6UPCu4UN3Y/7qlXH9D 6iKjZCKSh6Om1wuikoUaUakAPf9DQMNVcteRZmkr9Wplq+yeKjWEBHar+qaorkbp3HJX lPrpZWYvpoVcA90MTfLlAh4fWbS2+RtVqFhLlIXhV2H9/yJF+Vswh7gHmD4neAFMlZ7W sk5w== 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=y2Kw/oMhlmntiy3ZVaHNq6OSOQj1plMU4epU3dBQVUp9rV1P03EEAWwCo3HYb0ZmnX FjVnKh0+53h3OE25u3YTthrZ+LqbFMLpHRWp+DkbothRdLMAFr412QzqgouDX+LT9P52 at/R6SK2URrq/Xd7/mll/rmUGmoNga4q2zRuZ9l3qdx+vZ24YkpJouoMKGyd1Rx52qQp zdPjj+qoL/ZPIY6U9DeCZQRii5bvnfUCkmb3nmFHYXA34FV81CQZCqzcRpnmLNL3zTl+ ayxEdw1B+DPySlfCDEcNq2diWvJm+9tQV2CCtoGsRQITundICC/4oHBOzQclaAKWuBjQ nOWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=W1i3Unlg; 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 f32-20020a635560000000b004a1b205441dsi2720862pgm.121.2023.03.14.11.34.42; Tue, 14 Mar 2023 11:34:56 -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=W1i3Unlg; 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 S230414AbjCNScE (ORCPT + 99 others); Tue, 14 Mar 2023 14:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230498AbjCNSbZ (ORCPT ); Tue, 14 Mar 2023 14:31:25 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5DD98A6D for ; Tue, 14 Mar 2023 11:31:07 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id o11-20020a05600c4fcb00b003eb33ea29a8so10842878wmq.1 for ; Tue, 14 Mar 2023 11:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678818666; 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=W1i3UnlgeTIvRzO2pcQbq1x1SNcmRThsyh1/fsnHrWYmRnPJKGWqlSBW6hqMXUf3DP W44R1ZjxFAmOPsvhf/DKrTs052n6Wcv+d0XqQluFxXs1IoPNhLNGtrXagDpZXnzdFTrR YbfLQF9Jlfq01zm6+yTzZNt/7mvrXdDWxwJ/ghcSdOmIhLpTK9WHzulsbhOylhWLEYt4 zvrHZrcAU1A2ewhzLz9oXUVpNXYd7VWa7ukHG6fnquudpU1/bNQUZJAmszqK06BMdely 9rP5aPjTNIjYPQQlnCNL2uZph0lbFocF4ZeivU16DBJmgrAJlBkmUv8t6qL1p6wZqbbf mdtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678818666; 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=IMohlos9nUVqtkY+0eFFOE+8rr/GowhM+2u02Y0OLWa3gqPDYyQnaoc33p+KepwTvR uHUiBA7ucL0oDqMzjlQEmSjgJJeiBzp7fO3XvYCNJ18o+3fO2dPXmyXh+Ea8CiZPAULg FvzShdlN4Jv5oWBIuKA9v6aAU2xraGnb7d9aAi1AftF0Qn2SCjS0iYr/duw7lyQg2EJX pQfTq+66ExAAe0ISaETdnwHsw8zff4mbTKiT7Vu7KCO6/zy6dv4POhz+zZUPq5LF7L+v UOHvvXxR83D9LRF1HScfb1yy2/qdqm3CO/oE1slNbnONC0LAwj0veDzAInfDxG3kkF2S phjg== X-Gm-Message-State: AO0yUKWbaHoAZpEiTw1V1Dkyr3wuFNQMzECyf+hy+bRVISE+UaUxE3TX nbzMWnW8scfemK6pTxQY0uEFvg== X-Received: by 2002:a05:600c:4452:b0:3e1:374:8b66 with SMTP id v18-20020a05600c445200b003e103748b66mr15026640wmn.40.1678818666079; Tue, 14 Mar 2023 11:31:06 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:fd14:bd52:b53b:d94c]) by smtp.gmail.com with ESMTPSA id k28-20020a05600c1c9c00b003e209b45f6bsm4083938wms.29.2023.03.14.11.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 11:31:05 -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 13/14] pinctrl: qcom: spmi-gpio: add support for pmm8654au-gpio Date: Tue, 14 Mar 2023 19:30:42 +0100 Message-Id: <20230314183043.619997-14-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230314183043.619997-1-brgl@bgdev.pl> References: <20230314183043.619997-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?1760369203551520029?= X-GMAIL-MSGID: =?utf-8?q?1760369203551520029?= From: Bartosz Golaszewski Add support for the GPIO controller present on the pmm8654au PMIC. Signed-off-by: Bartosz Golaszewski Cc: 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 },