From patchwork Fri Nov 18 08:24:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13047810 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F165C4332F for ; Fri, 18 Nov 2022 08:24:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241361AbiKRIYt (ORCPT ); Fri, 18 Nov 2022 03:24:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241369AbiKRIYs (ORCPT ); Fri, 18 Nov 2022 03:24:48 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 939F964A3C for ; Fri, 18 Nov 2022 00:24:42 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id t4so3096810wmj.5 for ; Fri, 18 Nov 2022 00:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=ZCj0dVvQrIlDStuTc/HtBM39cFcNUtJEg5lczvmxgKs=; b=F85IL8T5v6/v6K9gxmj0dgpbGs9+fO/f3+r3qSY4Hozja7efqI6Vm+NbDBE+2UMfpE vwKNorHV3pnCq2+pRfEVaB6hoJiOGBjYp1nW5hZHJPAHgxSYmpNyyuEjIjU3Zu2Dlx/o gmsxg8Q6dKERAB3nm2BdA4YD8t9GwlWE7JAX1CLLmfNjZMTe83A//tIpT+iHAOJ4ru/7 9vjVZlhPFnyRE85o7MomceBIGHTONen+iMU9mWQMC6O0evJWMupsZl0z8H6BtoMdMW1p roDHIWkoZGhosof6vdwNG/5rp+VZgzIKQIv3pin5b2vFZSbzpkvjRWxT9i1wVBNXEaiY q1Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZCj0dVvQrIlDStuTc/HtBM39cFcNUtJEg5lczvmxgKs=; b=wbgV2h0FhkFmBUKDqssz/co0ks8SqxbvmVpQdL7Q3DUTqwOEN4eXuE1VB1AQH8jGPx NhhbMF8kwEUD2AnH+jYy/OQPgIM1Ja5sAuXAnS57a97ZTnUQz8mtsOvH4D0oqLyyT5fx d30th3KQzpzpKuznVwNtP8VUFn3/Fpb+M7ySmxyQSWBfwgoLhFvtTnGWbiNNkiEP/mH7 fTCjP0TmRGt8l4FoKXdSlDZ8cyqoHmOF51xGLwPFdvNkVNCvPQb9lKIphPWdHvBLZ2Xl ddBGQ3OKZ2r/ozcn747xLcDEYpf6kbHw9xonGngv+4E3kvS3UCQEY5ZgUJ4dymEavvDl E9Aw== X-Gm-Message-State: ANoB5pnUReoyo4xZ5HbYzA3Uq3LJjRuEG/XGklhi5Aj5RzdiaFcdGB8r +oUEY5/9QD0SiBcpAaYEbo/7KqPYMcvO9Q== X-Google-Smtp-Source: AA0mqf6Cca8aNYchWphhM5cN8e96CVy2ffjRIXxBbWHKFM/S+BV6+W6wZgIbDJB8mjWcBU9cdyao/Q== X-Received: by 2002:a05:600c:19d0:b0:3cf:e7b7:d87d with SMTP id u16-20020a05600c19d000b003cfe7b7d87dmr7241767wmq.95.1668759881064; Fri, 18 Nov 2022 00:24:41 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id m4-20020a05600c4f4400b003cffd3c3d6csm4070084wmq.12.2022.11.18.00.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 00:24:40 -0800 (PST) Subject: [PATCH v2 0/3] qcom: add support for SPMI PMICs found on SM8550 platforms MIME-Version: 1.0 X-b4-tracking: H4sIAEVBd2MC/42NQQqDMBBFr1Jm3SkmatGueo/SRRIHHTCJZFQo4t079ARdfd6H//4BQoVJ4HE5oN DOwjkp2OsFwuTSSMiDMtjKWmNMg8mVKGvJaUSJXdtWuC3K5CLKEhkHG/q+p9AOwYBavBNCX1wKk3rS Ns9aTixrLp/f6240Xv8f7AYrvNd156xvvG3Mc2bd5FsuI7zP8/wCRyhngNQAAAA= From: Neil Armstrong Date: Fri, 18 Nov 2022 09:24:37 +0100 Message-Id: <20221114-narmstrong-sm8550-upstream-spmi-v2-0-b839bf2d558a@linaro.org> To: Bjorn Andersson , Krzysztof Kozlowski , Andy Gross , Linus Walleij , Konrad Dybcio , Rob Herring , Lee Jones , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , Neil Armstrong , Konrad Dybcio , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM8550 based platforms sports a bunch of new PMICs: - pm8550 - pm8550b - pm8550ve - pm8550vs - pmk8550 - pmr735d - pm8010 With GPIO support on: - pm8550 - pm8550b - pm8550ve - pm8550vs - pmk8550 - pmr735d This documents bindings for those SPMI PMIC and adds compatible in the PMIC pinctrl driver for GPIO support. To: Andy Gross To: Bjorn Andersson To: Konrad Dybcio To: Lee Jones To: Rob Herring To: Krzysztof Kozlowski To: Stephen Boyd To: Linus Walleij Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-gpio@vger.kernel.org Signed-off-by: Neil Armstrong --- Changes in v2: - Squashed patch 3 & 2 into 1, added Reviewed-by from Krzysztof - Squashed patch 5 into 4, added Reviewed-by from Krzysztof - Squashed patch 7 into 6, added Reviewed-by from Konrad - Link to v1: https://lore.kernel.org/r/20221114-narmstrong-sm8550-upstream-spmi-v1-0-6338a2b4b241@linaro.org --- Neil Armstrong (3): dt-bindings: mfd: qcom,spmi-pmic: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550, pm8010 & pmr735d dt-bindings: pinctrl: qcom,pmic-gpio: document pm8550, pm8550b, pm8550ve, pm8550vs, pmk8550 & pmr735d pinctrl: qcom: spmi-gpio: add support for pm8550 & pmr735d gpio control .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 7 +++++++ .../devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 18 ++++++++++++++++++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 6 ++++++ 3 files changed, 31 insertions(+) --- base-commit: 8274e19d9db1019f8fac39cf46da6680513fd5d3 change-id: 20221114-narmstrong-sm8550-upstream-spmi-d2c999ec5dc1 Best regards,