From patchwork Thu Jun 17 05:34:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 462297 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 971E2C49EA3 for ; Thu, 17 Jun 2021 05:34:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6441D613F0 for ; Thu, 17 Jun 2021 05:34:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229515AbhFQFgv (ORCPT ); Thu, 17 Jun 2021 01:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbhFQFgv (ORCPT ); Thu, 17 Jun 2021 01:36:51 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06976C061767 for ; Wed, 16 Jun 2021 22:34:43 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id e20so4042509pgg.0 for ; Wed, 16 Jun 2021 22:34:42 -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:mime-version :content-transfer-encoding; bh=5vymR9vEe1gwFyB1z0N/gT3waUjY8ME8wV8pdxM/FA4=; b=gdm7KB+XnV2iwLdfceOGNsWjtIxYaeqOY89xhyab9IFBN5WTkxN+zAoZ+ljSWyjJHm oPdczqKf12eYRW4tEN1K9vM2J5hioDyKNQo7WBbqShjzcQYtvf3HwyHp7kOKwg3nwuZp aVdQJySvYAdGXDAB3rDPjKaeB6QbIR0eWvgEDzLeGQX9cW2Qcga7VKkv6u1YxN2r4KSD z5AKp6RPpzgf67pFJmwH6ZxOg0+gFBL7fLLdYf/F8+4lME5aNS5gozxIwSyZ8AztAlC1 CS4K55CMckfXAsYkk5dr+vnSvRRgz8ly17Lket8WhF+aWeUukl+Iukp//9c6YfgekSoL N1PQ== 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:mime-version :content-transfer-encoding; bh=5vymR9vEe1gwFyB1z0N/gT3waUjY8ME8wV8pdxM/FA4=; b=r3v4hOz7dEUHRVcM8jrc+9onMt42uLghEnjMnLUApQk9TVGUykI3g4Jlrg+YDlbzIp 9tPxaqxXcZa86p904vzFLjqmyeVGB7b1OQFGGecaZDuemN37sIPmZH6Vj5OHPJzvRmO6 d04YjokPKSlOSR0jmyqSGlbSB7lCOMw+WYpxwOKM8Lh9f2XdnnpKNuAJsZZ8b5AqOTuf 5AbniwuwAtr87QwOtp7rH918zG5C8TDwuyfDkX8V97GtjRhD7g4A5gEqR8BmD75F9jnY tyyaQgVvfeUgEl6h0yoDQdQ8GCmNeiiml7g3cOBpoysPm8xBx6RBnlTTSYYZnIoYf2We n2YA== X-Gm-Message-State: AOAM531rpxMAJzPr2KI7Oeq+43t4wLjPdjknSoRVV5HUGEXU0aqHLe3H BsoAJi9oOd6Wmd9WpUsL7WYzMPgyJm4Uvg== X-Google-Smtp-Source: ABdhPJzp3Zjon4xOYV28bQpQM+rS40C5QGV1ys7Wdo8Mri8ZAyc2BtPPzujTjS3udRism8J2LvXRkA== X-Received: by 2002:a63:3c17:: with SMTP id j23mr3311249pga.281.1623908082292; Wed, 16 Jun 2021 22:34:42 -0700 (PDT) Received: from localhost.name ([122.177.46.2]) by smtp.gmail.com with ESMTPSA id m126sm4056405pfb.15.2021.06.16.22.34.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 22:34:41 -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 0/4] pinctrl: qcom/pinctrl-spmi-gpio: Add support for pmic-gpio on SA8155p-adp Date: Thu, 17 Jun 2021 11:04:28 +0530 Message-Id: <20210617053432.350486-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Changes since v2: ----------------- - v2 series can be found here: https://lore.kernel.org/linux-arm-msm/20210615074543.26700-1-bhupesh.sharma@linaro.org/T/#m8303d27d561b30133992da88198abb78ea833e21 - Addressed review comments from Bjorn and Mark. - As per suggestion from Bjorn, separated the patches in different patchsets (specific to each subsystem) to ease review and patch application. Changes since v1: ----------------- - v1 series can be found here: https://lore.kernel.org/linux-arm-msm/20210607113840.15435-1-bhupesh.sharma@linaro.org/T/#mc524fe82798d4c4fb75dd0333318955e0406ad18 - Addressed review comments from Bjorn and Vinod received on the v1 series. This series adds the pmic-gpio support code for SA8155p-adp board which is based on Qualcomm snapdragon sa8155p SoC which in turn is simiar to the sm8150 SoC. This board supports a new PMIC -> PMM8155AU. While at it, also make some cosmetic changes to the qcom pinctrl-spmi-gpio driver and dt-bindings to make sure the compatibles are in alphabetical order. Cc: Linus Walleij Cc: Bjorn Andersson Bhupesh Sharma (4): dt-bindings: pinctrl: qcom,pmic-gpio: Arrange compatibles alphabetically dt-bindings: pinctrl: qcom,pmic-gpio: Add compatible for SA8155p-adp pinctrl: qcom/pinctrl-spmi-gpio: Arrange compatibles alphabetically pinctrl: qcom/pinctrl-spmi-gpio: Add compatible for pmic-gpio on SA8155p-adp .../bindings/pinctrl/qcom,pmic-gpio.txt | 60 ++++++++++--------- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 33 +++++----- 2 files changed, 48 insertions(+), 45 deletions(-) Reviewed-by: Bjorn Andersson Reviewed-by: Bjorn Andersson