From patchwork Thu Jun 1 15:20:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 687797 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 25966C77B7A for ; Thu, 1 Jun 2023 15:20:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbjFAPU5 (ORCPT ); Thu, 1 Jun 2023 11:20:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234640AbjFAPUr (ORCPT ); Thu, 1 Jun 2023 11:20:47 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1AB219F for ; Thu, 1 Jun 2023 08:20:37 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-51458e3af68so1445799a12.2 for ; Thu, 01 Jun 2023 08:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632836; x=1688224836; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BkgUgrpwwxa79E2joMX5PCkdnw3FEmz5/0UeRIQYLVE=; b=P633ue8sHaY7BHRgYVc7juuqy0oe9r2WhMKEdB11z0z/6xOjNJVCssxN2oaSiP87hf Z7246lLMyd9l8YiHhf8ErlrYNk89w7EJD1EWW3VOFIRe14v7tLvVyG8kTGza8NuM+g3J DJ1PiTLiiIO9pxNyr7e8MWZCR9KkZaCdacfZw6MkiXWkLsNOfyA0jhrFDi2ZacNT2O3e CWU1jOuWiihcCJOdMnqh7eCCpLNPVjGO/+UKQ7XbcNvXOW9XpfJBs9P/Q5+lrbMgK2ZT SqdYOiXRISXxvSyDQUNstJCQ+9cKt8j+86sdWA2OHF690cFGubfFTYHH4SZuk54li6fd CT0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632836; x=1688224836; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BkgUgrpwwxa79E2joMX5PCkdnw3FEmz5/0UeRIQYLVE=; b=A67oFtuDxOtwQtsm556C4my362Yeicb0N9dOB52Zc17jiSRKcdrQLY8Eckhy55kGUb qB21AgJ7CsDQ1WTBsHWnNws7XcDLbhug7+K/kZI6plcp+gMftn21ct5ayypSIrOzbjEV t1B+KxsECV90Y3GHWZ2pyZbIzFFUUmZMBPtabgKNeNA1lvngn7u0PurDT266OZwjc94n QOvoJAiD82Sw1rgEePS0Sa5wopFd83VQ5vkx8C0nk4ejw8UwkVONmrFCvsoIUIrfpXC6 bw1+QMwUdLGIkudFJxrQ7Wa4Y5oHLDc1Fgi177hwVVh7uNyIgHzaz4BZiDmS71BvKeQr JoNw== X-Gm-Message-State: AC+VfDxfq7mwxpEJf9fo3tSqG87RroJ/yIlr6C+MtAeb3n5lDBQMBzAp UW1x9N8ZtbxWltFDnjuga/kmBQ== X-Google-Smtp-Source: ACHHUZ7+sNgPkjN3e1dqjJA7PlmTAc8/cPlgCrX0tpo4wDYy5GnPEr/Uiaj7gRM7574oJNLRCQMNqw== X-Received: by 2002:a05:6402:6d4:b0:514:9528:6e6f with SMTP id n20-20020a05640206d400b0051495286e6fmr192608edy.7.1685632835839; Thu, 01 Jun 2023 08:20:35 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:20:35 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/8] pinctrl: qcom: qdf2xxx: drop ACPI_PTR Date: Thu, 1 Jun 2023 17:20:19 +0200 Message-Id: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Driver can bind only via ACPI matching and acpi_device_id is there unconditionally, so drop useless ACPI_PTR() macro. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-qdf2xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c b/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c index b0f1b3dc6831..b5808fcfb13c 100644 --- a/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c +++ b/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c @@ -142,7 +142,7 @@ MODULE_DEVICE_TABLE(acpi, qdf2xxx_acpi_ids); static struct platform_driver qdf2xxx_pinctrl_driver = { .driver = { .name = "qdf2xxx-pinctrl", - .acpi_match_table = ACPI_PTR(qdf2xxx_acpi_ids), + .acpi_match_table = qdf2xxx_acpi_ids, }, .probe = qdf2xxx_pinctrl_probe, .remove = msm_pinctrl_remove, From patchwork Thu Jun 1 15:20:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 687796 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 AC524C7EE32 for ; Thu, 1 Jun 2023 15:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233564AbjFAPU7 (ORCPT ); Thu, 1 Jun 2023 11:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234831AbjFAPUw (ORCPT ); Thu, 1 Jun 2023 11:20:52 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 203421A8 for ; Thu, 1 Jun 2023 08:20:43 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5147f4bbfdaso1489616a12.0 for ; Thu, 01 Jun 2023 08:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632841; x=1688224841; 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=4AIeQ2/lsiYoThkaM/iRVe1rvj796gjOf4pjaRKczNA=; b=g+CqcM3a0K8v5hRlgVv/g4iE/8ozOgc/Qc4CwCtEK9OTmTVvmvjm46Th834Bcn6MlZ Z59jP/726shOY0dWtxYzDhyM60VuqPhNE53rO9hSSN8rtzq/SFf/Lx1GURXoZ+jlGTXm 4H9Gtrs+uZ9PFqhJ9xmSInROARJY0kNiQ8bZ6y+2LzhceED8881RMebzUex9/bczyvZB Dl/6bmfewEYx26T2rOf3LPwK8c7zt9ZITPuUb0mabgFZI8G8MRBIauzKQ540RjDSf3DD +jRn4JBJ6g1bgYcn4Vg4LK0QhkeGIdqckQejyUrkk8R5q/YFszh6zfnILNisxq6XFm+W gyvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632841; x=1688224841; 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=4AIeQ2/lsiYoThkaM/iRVe1rvj796gjOf4pjaRKczNA=; b=b8Y4qnaygUixEsk8HIyo1HXQxk6V1oS2A839YB15a08W9b1EDmdXKBOTvAK40TF4dN clo31rI9clHLfn+v5ApiT8VJOprmjUZp6vqOWS5hRSimBax5FCqZOd4eu/19d2lldJQV KjUcMTTAcPG4nH0X/MIuiigAhGQO+c/xPlml1yA95k47YxlELSOKfUs37ex6KFBtOxdT 0kcjOhkYy+Ux5sLVPLM9TvroKmmj9RNBRktbQIaCfzqaL+RU0sbzL2Tf218IjuQUh2mr i5LB3r7To1Z63bLzUuPYLcxKVGP6TP1k52MwaoYrJ8HNU4haVjOUCNbUJDGRx0+7wDOX 4e2Q== X-Gm-Message-State: AC+VfDwMtzXGfGzYXE7p0UaW93lgVSX20R5xeS0WauMM7Suiglck8CAD F2smzIG2GyGfJetB5eJT9XJkkQ== X-Google-Smtp-Source: ACHHUZ5zsjAbDpaa6ldRS82porWOJNaWql4VObFNDnr36plQKpGtwIlFlEv6O3kOxAK0dVKl2a3Fvg== X-Received: by 2002:a05:6402:618:b0:514:667f:5ac4 with SMTP id n24-20020a056402061800b00514667f5ac4mr206200edv.10.1685632841204; Thu, 01 Jun 2023 08:20:41 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:20:40 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/8] pinctrl: qcom: fix indentation in Kconfig Date: Thu, 1 Jun 2023 17:20:20 +0200 Message-Id: <20230601152026.1182648-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use tab for correct Kconfig indentation. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- drivers/pinctrl/qcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 28b19458b20d..9f957d16cd68 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -245,7 +245,7 @@ config PINCTRL_QCOM_SPMI_PMIC select PINMUX select PINCONF select GENERIC_PINCONF - select GPIOLIB + select GPIOLIB select GPIOLIB_IRQCHIP select IRQ_DOMAIN_HIERARCHY help @@ -260,7 +260,7 @@ config PINCTRL_QCOM_SSBI_PMIC select PINMUX select PINCONF select GENERIC_PINCONF - select GPIOLIB + select GPIOLIB select GPIOLIB_IRQCHIP select IRQ_DOMAIN_HIERARCHY help From patchwork Thu Jun 1 15:20:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 689417 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 985E6C7EE2E for ; Thu, 1 Jun 2023 15:20:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233416AbjFAPU6 (ORCPT ); Thu, 1 Jun 2023 11:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234961AbjFAPUz (ORCPT ); Thu, 1 Jun 2023 11:20:55 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96A3D193 for ; Thu, 1 Jun 2023 08:20:46 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5149429c944so1559004a12.0 for ; Thu, 01 Jun 2023 08:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632845; x=1688224845; 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=DgPUH5cGYMmY60HUrNnRGii8eMkgEIeR+r8LwzEV9Ok=; b=jPMO3u83esEkjTlWOHylRifeBIHzaO925sRq3IMFKe6eeTKQTUsWY0J4EsCFsUwEPT zSANlFThuTa3M231CUKoucLuX7/juWgk2Zy3WAtWrg7UusT9ZlgyjTBdIq+iqiWaOZvj VuwBrC/P5fFcX+ju0MJaSfdje0eSUCTfGg4pBE9cQAFDZPUPeT9/T+GaTc1wfuEwgTgl dmRB8h1qss6YNOM3z7NWiL6LUQmJjp9d6VPxZQlP9BLCR2Qt2amSH4CRWMjJYqthx7WX wtsAXvFo2gX7E/yHurLOMlVLmCagpPzLW7z0IZTckX0XJwHRP6fmTkd9T1oIZ9yfUYXl Iq9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632845; x=1688224845; 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=DgPUH5cGYMmY60HUrNnRGii8eMkgEIeR+r8LwzEV9Ok=; b=HkobDLFeMLRxYS/h+06LC0vnH+2WVVf/oGuXslv+FzdqFQONEiuJH0cfrvgeVMXqGQ FfMwnlyQ+G0KNQFunMChLuuCayG0xd3BFXC5+mB2TI98kw31X94XcGdvhbsGMdG0sxS2 icsALBYaQtEE7WjGt5THXy4jV3j6vzWsR0Ld/SHpXj3HhjjTnQohx7PC21mD7NTrub9m MDjwAb5bTbr7Z5r7wxXsqAHIdulJuiAh7azdIV3XTMBdIZYJjmpKlK7Mcav10XfkdFXR EqjqEtH6wqEkYYLUV8FNUDT2mk2ybkejZr8fFDEnQPLnkFG4JXy5KdDQ1zVUbHyJszoX nQvg== X-Gm-Message-State: AC+VfDz90aBFD16TMooaplzrWVMGZtOgglcT/HJ9ukcE9a23N7sQ1Sls HZrthb0gf9Z8vQdSOpK8YNMv4g== X-Google-Smtp-Source: ACHHUZ4iyt/dNb+CrOekWhkmdPQauaBY3EFZUq4MI8C4nPUd1Gr70BXsiOlPBEb2E/r8YXqOc5YWng== X-Received: by 2002:aa7:d405:0:b0:514:ad09:44df with SMTP id z5-20020aa7d405000000b00514ad0944dfmr151558edq.28.1685632845232; Thu, 01 Jun 2023 08:20:45 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:20:44 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/8] pinctrl: qcom: correct language typo (Technologies) Date: Thu, 1 Jun 2023 17:20:21 +0200 Message-Id: <20230601152026.1182648-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Correct typo: Tehcnologies->Technologies. Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 9f957d16cd68..b03a62ecdc07 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -270,7 +270,7 @@ config PINCTRL_QCOM_SSBI_PMIC devices are pm8058 and pm8921. config PINCTRL_QDU1000 - tristate "Qualcomm Tehcnologies Inc QDU1000/QRU1000 pin controller driver" + tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver" depends on GPIOLIB && OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM From patchwork Thu Jun 1 15:20:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 689416 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 BCD0DC77B7E for ; Thu, 1 Jun 2023 15:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233526AbjFAPVA (ORCPT ); Thu, 1 Jun 2023 11:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234971AbjFAPU4 (ORCPT ); Thu, 1 Jun 2023 11:20:56 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4C178E for ; Thu, 1 Jun 2023 08:20:50 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-510d6b939bfso1530823a12.0 for ; Thu, 01 Jun 2023 08:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632849; x=1688224849; 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=zyRYXCjCPdA4GAOYKwIB0YmSc3LFJczxSof9rgZKnIg=; b=X8lthekv3nQ7reF1HZ6wEh0qLmah+Qclga1WcLOumKmSDURkIJAm20SKaudD39Ocjp XdB8Y5U89GSvu48xpGRlVbO3X/YVHO94/Mpp+qhF2m0J+82zr6+D+lndTDhj7G+IuJdL JdE3aRMm73MFVbPWAvNZVFkJlnP8gK0oy5dSIOv+j/E3oDjQQuzlHYs5yPKYjFd4O3UX tBQ4QsRW/DAreOZcL3reyDnrQiLfwdVt44eDLCC88lXQ6SzRYKHDVvq7kGNhzA11G4sn DY+291hkBB7OzxqgMZ3oSv0DhD/GcJ754XUtelHri2j0yoHIxhL3nYtv8UiPmK6oGwBz OwmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632849; x=1688224849; 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=zyRYXCjCPdA4GAOYKwIB0YmSc3LFJczxSof9rgZKnIg=; b=NIcG4h05uiIGrOcYV3hKwl4v62X1mcZLV+hbNzE57jfp3F7HSuiOWIP0o+f4WqdRv0 cqeiNIaz3rYyzAiyaOpYm7KRDDl6OPCCp28zmECXRVD6u7r/konr2EiGD/UR2e/tP0Dg 6K/ynvAe0kQS7dur/Nrkwoe+fLMTWkvPXlydt3g/gZ8fu5b1MaiC15aw3sYYRFP9CEr+ Jv/Y9drJO+aWoL/Z0hU9ZbyYaklwmUCEiH8JaUSgEJ6AATvhnkssZCjDiuW6QuFDtigN 2X+R+gQCnnIrkQTArEvQG0/+CGC2Fsq6S9DXqlBCOXEICwi/lO+nj8AlGINeJ/6IGjGd b8jw== X-Gm-Message-State: AC+VfDxj1ytf1wKHl22vuWUgJkRLQMkUIfr1fNZZGt14EfZtb0BydrLJ coM6dr0Rh/7taGlVcIXEIfTz2Q== X-Google-Smtp-Source: ACHHUZ7IHyR7eRjddisgEDgo9r/PHoGBao5VcjWbYXgKak5iwHmVsLhXex0caJGfSLO8ivgBxRVJkg== X-Received: by 2002:a05:6402:14c3:b0:514:b1d6:d37f with SMTP id f3-20020a05640214c300b00514b1d6d37fmr206155edx.19.1685632849500; Thu, 01 Jun 2023 08:20:49 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:20:48 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/8] pinctrl: qcom: drop unneeded GPIOLIB dependency Date: Thu, 1 Jun 2023 17:20:22 +0200 Message-Id: <20230601152026.1182648-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org PINCTRL_MSM depends on GPIOLIB, thus individual driver entries depending on the first do not have to depend on the latter. Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/qcom/Kconfig | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index b03a62ecdc07..2236bdff7e60 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -121,7 +121,7 @@ config PINCTRL_MSM8960 config PINCTRL_MDM9607 tristate "Qualcomm 9607 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on PINCTRL_MSM help This is the pinctrl, pinmux, pinconf and gpiolib driver for the @@ -271,7 +271,7 @@ config PINCTRL_QCOM_SSBI_PMIC config PINCTRL_QDU1000 tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -310,7 +310,6 @@ config PINCTRL_SC7280 config PINCTRL_SC7280_LPASS_LPI tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver" - depends on GPIOLIB depends on ARM64 || COMPILE_TEST depends on PINCTRL_LPASS_LPI help @@ -380,7 +379,7 @@ config PINCTRL_SDX55 config PINCTRL_SDX65 tristate "Qualcomm Technologies Inc SDX65 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -390,7 +389,7 @@ config PINCTRL_SDX65 config PINCTRL_SDX75 tristate "Qualcomm Technologies Inc SDX75 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -400,7 +399,7 @@ config PINCTRL_SDX75 config PINCTRL_SM6115 tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -420,7 +419,7 @@ config PINCTRL_SM6125 config PINCTRL_SM6350 tristate "Qualcomm Technologies Inc SM6350 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -430,7 +429,7 @@ config PINCTRL_SM6350 config PINCTRL_SM6375 tristate "Qualcomm Technologies Inc SM6375 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -470,7 +469,6 @@ config PINCTRL_SM8250 config PINCTRL_SM8250_LPASS_LPI tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver" - depends on GPIOLIB depends on ARM64 || COMPILE_TEST depends on PINCTRL_LPASS_LPI help @@ -489,7 +487,7 @@ config PINCTRL_SM8350 config PINCTRL_SM8450 tristate "Qualcomm Technologies Inc SM8450 pin controller driver" - depends on GPIOLIB && OF + depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -499,7 +497,6 @@ config PINCTRL_SM8450 config PINCTRL_SM8450_LPASS_LPI tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver" - depends on GPIOLIB depends on ARM64 || COMPILE_TEST depends on PINCTRL_LPASS_LPI help @@ -509,7 +506,6 @@ config PINCTRL_SM8450_LPASS_LPI config PINCTRL_SC8280XP_LPASS_LPI tristate "Qualcomm Technologies Inc SC8280XP LPASS LPI pin controller driver" - depends on GPIOLIB depends on ARM64 || COMPILE_TEST depends on PINCTRL_LPASS_LPI help @@ -519,7 +515,6 @@ config PINCTRL_SC8280XP_LPASS_LPI config PINCTRL_SM8550 tristate "Qualcomm Technologies Inc SM8550 pin controller driver" - depends on GPIOLIB depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -529,7 +524,6 @@ config PINCTRL_SM8550 config PINCTRL_SM8550_LPASS_LPI tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver" - depends on GPIOLIB depends on ARM64 || COMPILE_TEST depends on PINCTRL_LPASS_LPI help From patchwork Thu Jun 1 15:20:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 687795 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 CD608C77B7A for ; Thu, 1 Jun 2023 15:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233854AbjFAPVB (ORCPT ); Thu, 1 Jun 2023 11:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233655AbjFAPVA (ORCPT ); Thu, 1 Jun 2023 11:21:00 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B25F9184 for ; Thu, 1 Jun 2023 08:20:55 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2afb2875491so12959511fa.1 for ; Thu, 01 Jun 2023 08:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632854; x=1688224854; 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=TiZfuwCIaluJhaqBfTqJS8IZU85Nh8CZF7iTfaB6qqg=; b=NvuVCCUBDf4xH0V+thYIgFbjLldRHMmcWu+GrkFDBJW204di9nljizesO9z/ihSPAw Ici2JittR31Ey/1Yala2InSSdUu18famTsPY59+cq653mLqCdJyHFi3NKO6PXY26mHxu aqiykdHLRjLkGn7hMJLgQ/HUwodze468bOfwzghcE1YgVn7eNV7jp1wUlJy2qX2vyAoV wL1p8dEQ5porA/GTgN1g+8DvNsHB5Q1Qj95JlxChnBewFmEIN+U1G897Mml7OaX0XXPY AOysIQiqQV8sK1iYgY3rUB+xsYX72J4NSg1Kwrwije6K/diXgPRbX/b3ylofDiD1xXM+ JpMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632854; x=1688224854; 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=TiZfuwCIaluJhaqBfTqJS8IZU85Nh8CZF7iTfaB6qqg=; b=egyPluiTx2B/BeBxoPVUulTbhvw/BZRog+CzK2HY47b4t7Apz+Czgh9d1KbPw1Bj5s Heza7/TJPRziFHTc7ExD/njhy9pSu2sXcFFxcAsokV27KwPJIvsxPdhcWNhTAP43ieiO W+RbpV+ywgxYX+hCykwKRJB3drLBbJQBdXu3A53x2mwk8tWqyoTT3WfKZmvx2sP7IWDH Kh6aQ7StGJFUlGlpB+xFpc6jmCCWYr+W8KElGlU73/Zho3CESDaUw0UNVzYz1a8acoZl 0TP5Jxje9zWHoYH9WALDKyVkQd2W8lVrz7lp0H98g85NIE+vnYM8vDQSeP5/vW/mse5A L2dQ== X-Gm-Message-State: AC+VfDxSYqtgGCKySRNEftXIbtlnDJzAqiEDF+E6cDGLFSHAxlOgTjCO /gqwm5WwS0V0HPcFDJ/2Wb8upQ== X-Google-Smtp-Source: ACHHUZ5BS4Za2fFCUyTmj4MAg6RniESnZxxHLDGuUA2Eq+eKJv6eRHUGJJpE2tbC+07lskOc42j3YA== X-Received: by 2002:a2e:8402:0:b0:2b0:360f:5752 with SMTP id z2-20020a2e8402000000b002b0360f5752mr5198821ljg.2.1685632853584; Thu, 01 Jun 2023 08:20:53 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:20:53 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/8] pinctrl: qcom: mark true OF dependency - common MSM pinctrl code Date: Thu, 1 Jun 2023 17:20:23 +0200 Message-Id: <20230601152026.1182648-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The common MSM pinctrl driver code (PINCTRL_MSM) uses pinconf_generic_dt_node_to_map_group() from GENERIC_PINCONF, which is not available for compile testing for !OF cases. Drivers actually do not depend on OF. Move the OF dependency to the entry actually depending on it and drop any "|| COMPILE_TEST", because OF is required also for compile testing (lack of OF was never visible in compile testing because none of the drivers could be compile tested due to Makefile). Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/qcom/Kconfig | 43 ++---------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 2236bdff7e60..18ac19f41873 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -4,6 +4,8 @@ if (ARCH_QCOM || COMPILE_TEST) config PINCTRL_MSM tristate "Qualcomm core pin controller driver" depends on GPIOLIB + # OF for pinconf_generic_dt_node_to_map_group() from GENERIC_PINCONF + depends on OF select QCOM_SCM select PINMUX select PINCONF @@ -14,7 +16,6 @@ config PINCTRL_MSM config PINCTRL_APQ8064 tristate "Qualcomm APQ8064 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -23,7 +24,6 @@ config PINCTRL_APQ8064 config PINCTRL_APQ8084 tristate "Qualcomm APQ8084 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -32,7 +32,6 @@ config PINCTRL_APQ8084 config PINCTRL_IPQ4019 tristate "Qualcomm IPQ4019 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -41,7 +40,6 @@ config PINCTRL_IPQ4019 config PINCTRL_IPQ8064 tristate "Qualcomm IPQ8064 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -50,7 +48,6 @@ config PINCTRL_IPQ8064 config PINCTRL_IPQ5332 tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -60,7 +57,6 @@ config PINCTRL_IPQ5332 config PINCTRL_IPQ8074 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -71,7 +67,6 @@ config PINCTRL_IPQ8074 config PINCTRL_IPQ6018 tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -82,7 +77,6 @@ config PINCTRL_IPQ6018 config PINCTRL_IPQ9574 tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver" - depends on OF || COMPILE_TEST depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -93,7 +87,6 @@ config PINCTRL_IPQ9574 config PINCTRL_MSM8226 tristate "Qualcomm 8226 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -103,7 +96,6 @@ config PINCTRL_MSM8226 config PINCTRL_MSM8660 tristate "Qualcomm 8660 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -112,7 +104,6 @@ config PINCTRL_MSM8660 config PINCTRL_MSM8960 tristate "Qualcomm 8960 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -121,7 +112,6 @@ config PINCTRL_MSM8960 config PINCTRL_MDM9607 tristate "Qualcomm 9607 pin controller driver" - depends on OF depends on PINCTRL_MSM help This is the pinctrl, pinmux, pinconf and gpiolib driver for the @@ -129,7 +119,6 @@ config PINCTRL_MDM9607 config PINCTRL_MDM9615 tristate "Qualcomm 9615 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -138,7 +127,6 @@ config PINCTRL_MDM9615 config PINCTRL_MSM8X74 tristate "Qualcomm 8x74 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -147,7 +135,6 @@ config PINCTRL_MSM8X74 config PINCTRL_MSM8909 tristate "Qualcomm 8909 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -156,7 +143,6 @@ config PINCTRL_MSM8909 config PINCTRL_MSM8916 tristate "Qualcomm 8916 pin controller driver" - depends on OF depends on PINCTRL_MSM help This is the pinctrl, pinmux, pinconf and gpiolib driver for the @@ -164,7 +150,6 @@ config PINCTRL_MSM8916 config PINCTRL_MSM8953 tristate "Qualcomm 8953 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -175,7 +160,6 @@ config PINCTRL_MSM8953 config PINCTRL_MSM8976 tristate "Qualcomm 8976 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -186,7 +170,6 @@ config PINCTRL_MSM8976 config PINCTRL_MSM8994 tristate "Qualcomm 8994 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -196,7 +179,6 @@ config PINCTRL_MSM8994 config PINCTRL_MSM8996 tristate "Qualcomm MSM8996 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -205,7 +187,6 @@ config PINCTRL_MSM8996 config PINCTRL_MSM8998 tristate "Qualcomm MSM8998 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -214,7 +195,6 @@ config PINCTRL_MSM8998 config PINCTRL_QCM2290 tristate "Qualcomm QCM2290 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -223,7 +203,6 @@ config PINCTRL_QCM2290 config PINCTRL_QCS404 tristate "Qualcomm QCS404 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -271,7 +250,6 @@ config PINCTRL_QCOM_SSBI_PMIC config PINCTRL_QDU1000 tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -281,7 +259,6 @@ config PINCTRL_QDU1000 config PINCTRL_SA8775P tristate "Qualcomm Technologies Inc SA8775P pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -290,7 +267,6 @@ config PINCTRL_SA8775P config PINCTRL_SC7180 tristate "Qualcomm Technologies Inc SC7180 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -300,7 +276,6 @@ config PINCTRL_SC7180 config PINCTRL_SC7280 tristate "Qualcomm Technologies Inc SC7280 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -329,7 +304,6 @@ config PINCTRL_SC8180X config PINCTRL_SC8280XP tristate "Qualcomm Technologies Inc SC8280xp pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -339,7 +313,6 @@ config PINCTRL_SC8280XP config PINCTRL_SDM660 tristate "Qualcomm Technologies Inc SDM660 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -349,7 +322,6 @@ config PINCTRL_SDM660 config PINCTRL_SDM670 tristate "Qualcomm Technologies Inc SDM670 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -369,7 +341,6 @@ config PINCTRL_SDM845 config PINCTRL_SDX55 tristate "Qualcomm Technologies Inc SDX55 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -379,7 +350,6 @@ config PINCTRL_SDX55 config PINCTRL_SDX65 tristate "Qualcomm Technologies Inc SDX65 pin controller driver" - depends on OF depends on ARM || COMPILE_TEST depends on PINCTRL_MSM help @@ -389,7 +359,6 @@ config PINCTRL_SDX65 config PINCTRL_SDX75 tristate "Qualcomm Technologies Inc SDX75 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -399,7 +368,6 @@ config PINCTRL_SDX75 config PINCTRL_SM6115 tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -409,7 +377,6 @@ config PINCTRL_SM6115 config PINCTRL_SM6125 tristate "Qualcomm Technologies Inc SM6125 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -419,7 +386,6 @@ config PINCTRL_SM6125 config PINCTRL_SM6350 tristate "Qualcomm Technologies Inc SM6350 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -429,7 +395,6 @@ config PINCTRL_SM6350 config PINCTRL_SM6375 tristate "Qualcomm Technologies Inc SM6375 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -439,7 +404,6 @@ config PINCTRL_SM6375 config PINCTRL_SM7150 tristate "Qualcomm Technologies Inc SM7150 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -449,7 +413,6 @@ config PINCTRL_SM7150 config PINCTRL_SM8150 tristate "Qualcomm Technologies Inc SM8150 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -459,7 +422,6 @@ config PINCTRL_SM8150 config PINCTRL_SM8250 tristate "Qualcomm Technologies Inc SM8250 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help @@ -487,7 +449,6 @@ config PINCTRL_SM8350 config PINCTRL_SM8450 tristate "Qualcomm Technologies Inc SM8450 pin controller driver" - depends on OF depends on ARM64 || COMPILE_TEST depends on PINCTRL_MSM help From patchwork Thu Jun 1 15:20:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 689415 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 67BF0C77B7A for ; Thu, 1 Jun 2023 15:21:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbjFAPVO (ORCPT ); Thu, 1 Jun 2023 11:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233936AbjFAPVB (ORCPT ); Thu, 1 Jun 2023 11:21:01 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FF0F128 for ; Thu, 1 Jun 2023 08:20:59 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5149aafef44so1520292a12.0 for ; Thu, 01 Jun 2023 08:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632858; x=1688224858; 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=ugAOEQ2nTkuc90Va4TrL0v0+dppCm6u1UGyEyUaYNgs=; b=XPz/a1scgmMVSUakvsBV8c+8lVtYzeIYcLYRwymYAzZ7bwa9g45Mp7Fvfx9o4VIkH2 SRlfhBjhUzJVDjhmkhy5J49dbC9c67BHCwLJJlKQ7VxEANndNuJ2T9NZFbceuZcWkTxb RrERw/tL7MByyEFV6YlV/J5QjEDfQ8FX2oW8SHIUb9o31Mw7sU1rhfNlhosVnbevhXJa gerfnQYpWI5g6Exr9ko2I0LZZkeST6dQJclG6oVH6cdZLyYuU3x2qk/Pk+jid7/2D6EU bioGqxyMlKi2U1c+zdMBOny+aU3S8GIq8NgDJsCFCeo3R8vfiF1q0Kx9FhlyLOzXOiBa TCUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632858; x=1688224858; 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=ugAOEQ2nTkuc90Va4TrL0v0+dppCm6u1UGyEyUaYNgs=; b=YjNgqaP6i8tmzzxO3HqhwxTDWKqkZJVsGUxam8O5EZpDh6a2dhWxPSqoW3HPIanwX6 HWN6zd+fIPdn6OV6nbtkO4ANyKqErwslzBvd9iFUPEvueIQZJTLF/0WnwpTrsD5++iBk a3PWe0+IcI1V9V4i2vaswQemGLcTEXBJyPlD70vdiUAMu6rlzet7Fj3JzGkDNEtZ1YBc 93BbI18WBm6Q2G96UdYxXcZcvfjTnBFNIb66R1n0uzM7ROuGctJesTDiNbE7mi9HhmIV ssFodb3Bdssl+agNSeYgGEuoj+5L5iDITD4wu9qLDa3emBLIZZlIA1GsWFBAGWU3W3Ci CHEQ== X-Gm-Message-State: AC+VfDxyk+G22A118vltPPyGXeDGBmbsCQzVMIGCCoVpMGI0Fzv5Zxnr K8VO5mDnWPETGHySBHIEFKe3pw== X-Google-Smtp-Source: ACHHUZ4RJXc5al0Ye4S0KDvje7nG2/3qDVl8+kTbtql+bYotRdRBBV7hfss0NVLOYZ/7E0pF/WpREg== X-Received: by 2002:aa7:d9d5:0:b0:514:9e61:e7bc with SMTP id v21-20020aa7d9d5000000b005149e61e7bcmr200480eds.0.1685632858026; Thu, 01 Jun 2023 08:20:58 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:20:57 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 6/8] pinctrl: qcom: allow true compile testing Date: Thu, 1 Jun 2023 17:20:24 +0200 Message-Id: <20230601152026.1182648-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Makefile selected Qualcomm pinctrl drivers only for ARCH_QCOM, making any COMPILE_TEST options inside Kconfig ((ARCH_QCOM || COMPILE_TEST) or (OF || COMPILE_TEST)) not effective. Always descent to the qcom subdirectory to fix this. All individual drivers are selected in Makefile via dedicated CONFIG entries, thus this should not have functional impact except when compile testing. Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index e196c6e324ad..482b391b5deb 100644 --- a/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile @@ -66,7 +66,7 @@ obj-y += nomadik/ obj-y += nuvoton/ obj-y += nxp/ obj-$(CONFIG_PINCTRL_PXA) += pxa/ -obj-$(CONFIG_ARCH_QCOM) += qcom/ +obj-y += qcom/ obj-$(CONFIG_PINCTRL_RENESAS) += renesas/ obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/ obj-$(CONFIG_PINCTRL_SPEAR) += spear/ From patchwork Thu Jun 1 15:20:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 687794 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 AC0FAC7EE2A for ; Thu, 1 Jun 2023 15:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233655AbjFAPVc (ORCPT ); Thu, 1 Jun 2023 11:21:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234249AbjFAPVZ (ORCPT ); Thu, 1 Jun 2023 11:21:25 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63A65199 for ; Thu, 1 Jun 2023 08:21:05 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51496f57e59so1451642a12.2 for ; Thu, 01 Jun 2023 08:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632864; x=1688224864; 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=cCj4ihjZhuT0JIZclPDZ/If45D3eel9gFOei53u/gGY=; b=ZYX7e3EjiXDchsH+FPqWqFFj4cjZv/WtpGZjf79HVbJiGrB22tjDpvnqcMPQVUPl6D gEsxWDa30QfdhLvAzY3kn06WKNp+JAS2nAGFinLsfm/WkjrrenxYZ0SK56hzARksvtGi HXFlQLjVrG2Hx68weJ/WRhNGGr72qQBiiFHtDzIJS5T0l7O5tpN4FwbFMUaIFEA8t1/3 oSfdaknKS1VoIr8N3xUOZNRUieahiHc+R7mErADn5D9+5avVc7PaLnjd2MtV1gBrLoBg KdF127CaaILxo6Wkb3Y178nciRPJrA1/96iPbaZCFKjgaHwbaOfGYzG7eOZMcaRJW5k3 XzyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632864; x=1688224864; 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=cCj4ihjZhuT0JIZclPDZ/If45D3eel9gFOei53u/gGY=; b=TP1D8QpOGLqpp0kawsNQJRYxXnR4sfGNwKXuD18nNM5KLoAf2qkTY4PCwMonmbpdrg KOKbmuabNyeE87dLXOkvikCrsZkqsvW705h5B11WLM8QeuUr2O7ta0Tgmf5WaOTZ4Bay oDpCFKoUW2/TbeZK4iVZYTrIyPXYHJhchWtd39XV7+nI8HTXRP5ngZDkXYwYyUk/Mdru bWZi4IOtXHMw5OWT71TWEptL4V18isDUCEMLM5+xUeiF7f0cLefgDNz0BMm709EHfZWv Rczgq0C14XOqckf1y3HCnL0c6uI2aTiIvEViK/XLH5JyU1ARCmUTkeY9rTWAQ/H1uRk2 1aeg== X-Gm-Message-State: AC+VfDx+t9Fy4K+o1ySsbQTSP6eUROhWx4DtY4LKtAsUFiZEq2VK7Z9r Il1gHLPo5/nvZQVgFDQ1HYWyAA== X-Google-Smtp-Source: ACHHUZ4G6Z5o3J5u4XmqukIuWHoQEAYgIT6Ms4k2uF66Vrmpa+yyU80VLvs9g7o5rO1Fi/CYf7kQMQ== X-Received: by 2002:aa7:c2d9:0:b0:514:9c7c:8a37 with SMTP id m25-20020aa7c2d9000000b005149c7c8a37mr152418edp.28.1685632863653; Thu, 01 Jun 2023 08:21:03 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.20.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:21:03 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 7/8] pinctrl: qcom: organize main SoC drivers in new Kconfig.msm Date: Thu, 1 Jun 2023 17:20:25 +0200 Message-Id: <20230601152026.1182648-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org In menuconfig, some entries depending on PINCTRL_MSM are indented and expressed as dependening but some not, because of other Kconfig entries in between, Move all main Qualcomm SoC pin controller driver entries into new Kconfig.msm file so they will be nicely ordered in Kconfig file (by CONFIG_ name) and properly indented as PINCTRL_MSM dependency in menuconfig. Functionally this is the same, but since entire file is guarded with "if PINCTRL_MSM" drop this dependency from individual entries. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- drivers/pinctrl/qcom/Kconfig | 402 +------------------------------ drivers/pinctrl/qcom/Kconfig.msm | 360 +++++++++++++++++++++++++++ 2 files changed, 361 insertions(+), 401 deletions(-) create mode 100644 drivers/pinctrl/qcom/Kconfig.msm diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 18ac19f41873..f1c23a641fe1 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -14,208 +14,7 @@ config PINCTRL_MSM select IRQ_DOMAIN_HIERARCHY select IRQ_FASTEOI_HIERARCHY_HANDLERS -config PINCTRL_APQ8064 - tristate "Qualcomm APQ8064 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm APQ8064 platform. - -config PINCTRL_APQ8084 - tristate "Qualcomm APQ8084 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm APQ8084 platform. - -config PINCTRL_IPQ4019 - tristate "Qualcomm IPQ4019 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. - -config PINCTRL_IPQ8064 - tristate "Qualcomm IPQ8064 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. - -config PINCTRL_IPQ5332 - tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc IPQ5332 platform. - -config PINCTRL_IPQ8074 - tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for - the Qualcomm Technologies Inc. TLMM block found on the - Qualcomm Technologies Inc. IPQ8074 platform. Select this for - IPQ8074. - -config PINCTRL_IPQ6018 - tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for - the Qualcomm Technologies Inc. TLMM block found on the - Qualcomm Technologies Inc. IPQ6018 platform. Select this for - IPQ6018. - -config PINCTRL_IPQ9574 - tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for - the Qualcomm Technologies Inc. TLMM block found on the - Qualcomm Technologies Inc. IPQ9574 platform. Select this for - IPQ9574. - -config PINCTRL_MSM8226 - tristate "Qualcomm 8226 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc MSM8226 platform. - -config PINCTRL_MSM8660 - tristate "Qualcomm 8660 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm 8660 platform. - -config PINCTRL_MSM8960 - tristate "Qualcomm 8960 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm 8960 platform. - -config PINCTRL_MDM9607 - tristate "Qualcomm 9607 pin controller driver" - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm 9607 platform. - -config PINCTRL_MDM9615 - tristate "Qualcomm 9615 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm 9615 platform. - -config PINCTRL_MSM8X74 - tristate "Qualcomm 8x74 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm 8974 platform. - -config PINCTRL_MSM8909 - tristate "Qualcomm 8909 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found on the Qualcomm MSM8909 platform. - -config PINCTRL_MSM8916 - tristate "Qualcomm 8916 pin controller driver" - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found on the Qualcomm 8916 platform. - -config PINCTRL_MSM8953 - tristate "Qualcomm 8953 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found on the Qualcomm MSM8953 platform. - The Qualcomm APQ8053, SDM450, SDM632 platforms are also - supported by this driver. - -config PINCTRL_MSM8976 - tristate "Qualcomm 8976 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found on the Qualcomm MSM8976 platform. - The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also - supported by this driver. - -config PINCTRL_MSM8994 - tristate "Qualcomm 8994 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm 8994 platform. The - Qualcomm 8992 platform is also supported by this driver. - -config PINCTRL_MSM8996 - tristate "Qualcomm MSM8996 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm MSM8996 platform. - -config PINCTRL_MSM8998 - tristate "Qualcomm MSM8998 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm TLMM block found in the Qualcomm MSM8998 platform. - -config PINCTRL_QCM2290 - tristate "Qualcomm QCM2290 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - TLMM block found in the Qualcomm QCM2290 platform. - -config PINCTRL_QCS404 - tristate "Qualcomm QCS404 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - TLMM block found in the Qualcomm QCS404 platform. - -config PINCTRL_QDF2XXX - tristate "Qualcomm Technologies QDF2xxx pin controller driver" - depends on ACPI - depends on PINCTRL_MSM - help - This is the GPIO driver for the TLMM block found on the - Qualcomm Technologies QDF2xxx SOCs. +source "drivers/pinctrl/qcom/Kconfig.msm" config PINCTRL_QCOM_SPMI_PMIC tristate "Qualcomm SPMI PMIC pin controller driver" @@ -248,41 +47,6 @@ config PINCTRL_QCOM_SSBI_PMIC which are using SSBI for communication with SoC. Example PMIC's devices are pm8058 and pm8921. -config PINCTRL_QDU1000 - tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf, and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc QDU1000 and QRU1000 platforms. - -config PINCTRL_SA8775P - tristate "Qualcomm Technologies Inc SA8775P pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux and pinconf driver for the Qualcomm - TLMM block found on the Qualcomm SA8775P platforms. - -config PINCTRL_SC7180 - tristate "Qualcomm Technologies Inc SC7180 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SC7180 platform. - -config PINCTRL_SC7280 - tristate "Qualcomm Technologies Inc SC7280 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SC7280 platform. - config PINCTRL_SC7280_LPASS_LPI tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver" depends on ARM64 || COMPILE_TEST @@ -292,143 +56,6 @@ config PINCTRL_SC7280_LPASS_LPI Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform. -config PINCTRL_SC8180X - tristate "Qualcomm Technologies Inc SC8180x pin controller driver" - depends on (OF || ACPI) - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SC8180x platform. - -config PINCTRL_SC8280XP - tristate "Qualcomm Technologies Inc SC8280xp pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SC8280xp platform. - -config PINCTRL_SDM660 - tristate "Qualcomm Technologies Inc SDM660 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SDM660 platform. - -config PINCTRL_SDM670 - tristate "Qualcomm Technologies Inc SDM670 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SDM670 platform. - -config PINCTRL_SDM845 - tristate "Qualcomm Technologies Inc SDM845 pin controller driver" - depends on (OF || ACPI) - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SDM845 platform. - -config PINCTRL_SDX55 - tristate "Qualcomm Technologies Inc SDX55 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SDX55 platform. - -config PINCTRL_SDX65 - tristate "Qualcomm Technologies Inc SDX65 pin controller driver" - depends on ARM || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SDX65 platform. - -config PINCTRL_SDX75 - tristate "Qualcomm Technologies Inc SDX75 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SDX75 platform. - -config PINCTRL_SM6115 - tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM6115 and SM4250 platforms. - -config PINCTRL_SM6125 - tristate "Qualcomm Technologies Inc SM6125 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM6125 platform. - -config PINCTRL_SM6350 - tristate "Qualcomm Technologies Inc SM6350 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM6350 platform. - -config PINCTRL_SM6375 - tristate "Qualcomm Technologies Inc SM6375 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM6375 platform. - -config PINCTRL_SM7150 - tristate "Qualcomm Technologies Inc SM7150 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM7150 platform. - -config PINCTRL_SM8150 - tristate "Qualcomm Technologies Inc SM8150 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM8150 platform. - -config PINCTRL_SM8250 - tristate "Qualcomm Technologies Inc SM8250 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM8250 platform. - config PINCTRL_SM8250_LPASS_LPI tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver" depends on ARM64 || COMPILE_TEST @@ -438,24 +65,6 @@ config PINCTRL_SM8250_LPASS_LPI Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform. -config PINCTRL_SM8350 - tristate "Qualcomm Technologies Inc SM8350 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM8350 platform. - -config PINCTRL_SM8450 - tristate "Qualcomm Technologies Inc SM8450 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM8450 platform. - config PINCTRL_SM8450_LPASS_LPI tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver" depends on ARM64 || COMPILE_TEST @@ -474,15 +83,6 @@ config PINCTRL_SC8280XP_LPASS_LPI Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform. -config PINCTRL_SM8550 - tristate "Qualcomm Technologies Inc SM8550 pin controller driver" - depends on ARM64 || COMPILE_TEST - depends on PINCTRL_MSM - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc TLMM block found on the Qualcomm - Technologies Inc SM8550 platform. - config PINCTRL_SM8550_LPASS_LPI tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver" depends on ARM64 || COMPILE_TEST diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm new file mode 100644 index 000000000000..e03042e80a0d --- /dev/null +++ b/drivers/pinctrl/qcom/Kconfig.msm @@ -0,0 +1,360 @@ +# SPDX-License-Identifier: GPL-2.0-only +if PINCTRL_MSM + +config PINCTRL_APQ8064 + tristate "Qualcomm APQ8064 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm APQ8064 platform. + +config PINCTRL_APQ8084 + tristate "Qualcomm APQ8084 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm APQ8084 platform. + +config PINCTRL_IPQ4019 + tristate "Qualcomm IPQ4019 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. + +config PINCTRL_IPQ8064 + tristate "Qualcomm IPQ8064 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. + +config PINCTRL_IPQ5332 + tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc IPQ5332 platform. + +config PINCTRL_IPQ8074 + tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for + the Qualcomm Technologies Inc. TLMM block found on the + Qualcomm Technologies Inc. IPQ8074 platform. Select this for + IPQ8074. + +config PINCTRL_IPQ6018 + tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for + the Qualcomm Technologies Inc. TLMM block found on the + Qualcomm Technologies Inc. IPQ6018 platform. Select this for + IPQ6018. + +config PINCTRL_IPQ9574 + tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for + the Qualcomm Technologies Inc. TLMM block found on the + Qualcomm Technologies Inc. IPQ9574 platform. Select this for + IPQ9574. + +config PINCTRL_MSM8226 + tristate "Qualcomm 8226 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc MSM8226 platform. + +config PINCTRL_MSM8660 + tristate "Qualcomm 8660 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm 8660 platform. + +config PINCTRL_MSM8960 + tristate "Qualcomm 8960 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm 8960 platform. + +config PINCTRL_MDM9607 + tristate "Qualcomm 9607 pin controller driver" + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm 9607 platform. + +config PINCTRL_MDM9615 + tristate "Qualcomm 9615 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm 9615 platform. + +config PINCTRL_MSM8X74 + tristate "Qualcomm 8x74 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm 8974 platform. + +config PINCTRL_MSM8909 + tristate "Qualcomm 8909 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found on the Qualcomm MSM8909 platform. + +config PINCTRL_MSM8916 + tristate "Qualcomm 8916 pin controller driver" + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found on the Qualcomm 8916 platform. + +config PINCTRL_MSM8953 + tristate "Qualcomm 8953 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found on the Qualcomm MSM8953 platform. + The Qualcomm APQ8053, SDM450, SDM632 platforms are also + supported by this driver. + +config PINCTRL_MSM8976 + tristate "Qualcomm 8976 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found on the Qualcomm MSM8976 platform. + The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also + supported by this driver. + +config PINCTRL_MSM8994 + tristate "Qualcomm 8994 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm 8994 platform. The + Qualcomm 8992 platform is also supported by this driver. + +config PINCTRL_MSM8996 + tristate "Qualcomm MSM8996 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm MSM8996 platform. + +config PINCTRL_MSM8998 + tristate "Qualcomm MSM8998 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm TLMM block found in the Qualcomm MSM8998 platform. + +config PINCTRL_QCM2290 + tristate "Qualcomm QCM2290 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + TLMM block found in the Qualcomm QCM2290 platform. + +config PINCTRL_QCS404 + tristate "Qualcomm QCS404 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + TLMM block found in the Qualcomm QCS404 platform. + +config PINCTRL_QDF2XXX + tristate "Qualcomm Technologies QDF2xxx pin controller driver" + depends on ACPI + help + This is the GPIO driver for the TLMM block found on the + Qualcomm Technologies QDF2xxx SOCs. + +config PINCTRL_QDU1000 + tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf, and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc QDU1000 and QRU1000 platforms. + +config PINCTRL_SA8775P + tristate "Qualcomm Technologies Inc SA8775P pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux and pinconf driver for the Qualcomm + TLMM block found on the Qualcomm SA8775P platforms. + +config PINCTRL_SC7180 + tristate "Qualcomm Technologies Inc SC7180 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SC7180 platform. + +config PINCTRL_SC7280 + tristate "Qualcomm Technologies Inc SC7280 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SC7280 platform. + +config PINCTRL_SC8180X + tristate "Qualcomm Technologies Inc SC8180x pin controller driver" + depends on (OF || ACPI) + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SC8180x platform. + +config PINCTRL_SC8280XP + tristate "Qualcomm Technologies Inc SC8280xp pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SC8280xp platform. + +config PINCTRL_SDM660 + tristate "Qualcomm Technologies Inc SDM660 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SDM660 platform. + +config PINCTRL_SDM670 + tristate "Qualcomm Technologies Inc SDM670 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SDM670 platform. + +config PINCTRL_SDM845 + tristate "Qualcomm Technologies Inc SDM845 pin controller driver" + depends on (OF || ACPI) + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SDM845 platform. + +config PINCTRL_SDX55 + tristate "Qualcomm Technologies Inc SDX55 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SDX55 platform. + +config PINCTRL_SDX65 + tristate "Qualcomm Technologies Inc SDX65 pin controller driver" + depends on ARM || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SDX65 platform. + +config PINCTRL_SDX75 + tristate "Qualcomm Technologies Inc SDX75 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SDX75 platform. + +config PINCTRL_SM6115 + tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM6115 and SM4250 platforms. + +config PINCTRL_SM6125 + tristate "Qualcomm Technologies Inc SM6125 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM6125 platform. + +config PINCTRL_SM6350 + tristate "Qualcomm Technologies Inc SM6350 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM6350 platform. + +config PINCTRL_SM6375 + tristate "Qualcomm Technologies Inc SM6375 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM6375 platform. + +config PINCTRL_SM7150 + tristate "Qualcomm Technologies Inc SM7150 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM7150 platform. + +config PINCTRL_SM8150 + tristate "Qualcomm Technologies Inc SM8150 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM8150 platform. + +config PINCTRL_SM8250 + tristate "Qualcomm Technologies Inc SM8250 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM8250 platform. + +config PINCTRL_SM8350 + tristate "Qualcomm Technologies Inc SM8350 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM8350 platform. + +config PINCTRL_SM8450 + tristate "Qualcomm Technologies Inc SM8450 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM8450 platform. + +config PINCTRL_SM8550 + tristate "Qualcomm Technologies Inc SM8550 pin controller driver" + depends on ARM64 || COMPILE_TEST + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc TLMM block found on the Qualcomm + Technologies Inc SM8550 platform. + +endif From patchwork Thu Jun 1 15:20:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 689414 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 2B242C77B7E for ; Thu, 1 Jun 2023 15:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234652AbjFAPVm (ORCPT ); Thu, 1 Jun 2023 11:21:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233936AbjFAPVa (ORCPT ); Thu, 1 Jun 2023 11:21:30 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0F07E66 for ; Thu, 1 Jun 2023 08:21:10 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5149c76f4dbso1510993a12.1 for ; Thu, 01 Jun 2023 08:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685632869; x=1688224869; 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=Q8nlnubYNvCAitFaTU3QcGudPdM58mPtxVVVjolot6o=; b=ZBlWEL/ihwO0cFS/n2toyk7ftzADUjob1wvn3YHoGaKAAJ09OTOPQNtqpI9c3dMpq6 jn79y3OCgfqnETxRkcFOQ7opzpV3ygDgg6ZJGEwnfJNfZk/lVV8YEWvpYAcVpjCEJC8b J64gQNgmoX/RYlpAMh7xkYxpTRM/xYpbrHQzF0BOdqTYm6xOyQTGears331hMKY1eLWc vuUZjuwsZmE9xICsVK4SdtRYdqSHNMqpKzz+Gg2wbLn8JXnLmJ1w4EXXVevZjjp6F7sO xjF3htV7Sg0KWqhh8itD70MxaZ4+RBahFoIOwgMhnIhGPkFT0+kUsJCDRCKBdPua8cgk cWpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685632869; x=1688224869; 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=Q8nlnubYNvCAitFaTU3QcGudPdM58mPtxVVVjolot6o=; b=VF5fzs2DPwEcY5D8BDU92pE22M4LmVWr68XKTC0leC8CjeYKKCMmg4w2RGX4ysLfdj YLhLtwRMlnjw75I8VQbCVYCTb91PcEQwgYlJwDNnyy/Lw3j8Bo/mvRzNoj2Y6wuacuLX NfZBOWv2jLOSaXcJgmHREwQUfLMVieagEjF9R7Nc/qXBrlQwu33uBl+SHCg/nexMqjgA 7vKYZzKTI4aLwyOw5Z0lfVB1PMbgIUuFD8ruczllk6MfvTYuFZI2bcMf6Y4TW6d3qQS3 cUCV6GrFgpXRXexHx81B+ZnOx+2+I5mZ/IuH1u4TW/soOZGrUPcN3YFFctoLrqHmLQpq WBDw== X-Gm-Message-State: AC+VfDwupVt2ZcVs3tjllfUnZPGs5rHR9muviSY1aTJgqNIGFJC7kymX FevQi4kzu48f0mqstDuTy6IfWw== X-Google-Smtp-Source: ACHHUZ7HdSjfTb+UKgw2wxq5n+2gX9erM3Q8mxltpuSD7QNKz0z27jxUUUSTVhhvj/z2bq8NvrAwiA== X-Received: by 2002:aa7:d389:0:b0:509:f221:cee2 with SMTP id x9-20020aa7d389000000b00509f221cee2mr122915edq.32.1685632869070; Thu, 01 Jun 2023 08:21:09 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id f14-20020a056402160e00b0051422f31b1bsm7298664edv.63.2023.06.01.08.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 08:21:08 -0700 (PDT) From: Krzysztof Kozlowski To: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 8/8] pinctrl: qcom: organize audio drivers in menuconfig Date: Thu, 1 Jun 2023 17:20:26 +0200 Message-Id: <20230601152026.1182648-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The audio pin controller drivers depend on PINCTRL_LPASS_LPI, but since PINCTRL_LPASS_LPI is not the first entry, they are not displayed in menuconfig as dependent of PINCTRL_LPASS_LPI. Re-order the entries to fix this. Signed-off-by: Krzysztof Kozlowski --- drivers/pinctrl/qcom/Kconfig | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index f1c23a641fe1..634c75336983 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -47,6 +47,18 @@ config PINCTRL_QCOM_SSBI_PMIC which are using SSBI for communication with SoC. Example PMIC's devices are pm8058 and pm8921. +config PINCTRL_LPASS_LPI + tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver" + select PINMUX + select PINCONF + select GENERIC_PINCONF + select GENERIC_PINCTRL_GROUPS + depends on GPIOLIB + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI + (Low Power Island) found on the Qualcomm Technologies Inc SoCs. + config PINCTRL_SC7280_LPASS_LPI tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver" depends on ARM64 || COMPILE_TEST @@ -93,16 +105,4 @@ config PINCTRL_SM8550_LPASS_LPI (Low Power Island) found on the Qualcomm Technologies Inc SM8550 platform. -config PINCTRL_LPASS_LPI - tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver" - select PINMUX - select PINCONF - select GENERIC_PINCONF - select GENERIC_PINCTRL_GROUPS - depends on GPIOLIB - help - This is the pinctrl, pinmux, pinconf and gpiolib driver for the - Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI - (Low Power Island) found on the Qualcomm Technologies Inc SoCs. - endif