From patchwork Wed Jul 27 08:22:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 593742 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b345:0:0:0:0 with SMTP id w5csp130622maz; Wed, 27 Jul 2022 01:22:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vEGmh23QooeYGNnPes+C+ebU4O0qTBe4eue3Rgtigwc4pP/hofSLEc9beiuVccAqW08CtX X-Received: by 2002:a05:6602:29c8:b0:678:7c44:c2fd with SMTP id z8-20020a05660229c800b006787c44c2fdmr7255379ioq.89.1658910164770; Wed, 27 Jul 2022 01:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658910164; cv=none; d=google.com; s=arc-20160816; b=nZslhBUj5dEM5D+E3ioTESrdhxr1ClMHXg1kaf+ax8yINz8iDYFl3wx5CArJw41xXB wtwO+OCCmeBVeJW+DP8gYD6WnikChPITW1e01plyvOMW9fermldn/A2IMuiS5SS7xzCq bsOEeC3l2JYxdQiU74Z3ID5EgeMvEKvIDzUnali9tSNdiCVUK9HFeXCwNRSgcTvg3sRL LicEHcxBPdfwcdKgPvGn9muJ533jD247Qa+6ZKQ0rkLFzMeaVp0W68i46DpT3E5wYZt5 xWrhTpEqmVUoU8dspkJkTjEQUNvx4UEHOCbNGhh870auscFCwUs4JnZl2fZVfBEfi6bk gnYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9HEU7WZ8NZMOW4YNri6IDoHZOhdM4fIFQsHtqIm8HxY=; b=QfHbHoy80fdMI5537aOCllOYDCXeNijteYG5HeP9J/9R7bUZu1NhIX4QctXtXWTsLO rLxKnSRSl85MR7ISwcsxGyVXKntY1jPtVYUuL3zA5xC1sQE2bNwT0IYQB86JeHRyQbVG Fum9zsmlDFmOSeLLdSP2GTccLSMibL9xSA7NozITDY2m+d25WvNpHZnA9KwlHkzBlsP1 8pRMR9GtfMBQBLkpO0jSSB7ZcBvB7oQuSfW8uT3T0Fmw6vjbkFAOk1KrCt/GYgkmqbgd wjDU1vlhVL5YOhtl6F3QxJTcRjzQdWZhyMh9q0bDkQ67m8yNhU07p/9n61YWNeE4mh3U TXaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihiPavZa; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id z14-20020a056e0217ce00b002ddcd84e6e5si542751ilu.73.2022.07.27.01.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 01:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihiPavZa; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D95CF83F20; Wed, 27 Jul 2022 10:22:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ihiPavZa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 039A883FA1; Wed, 27 Jul 2022 10:22:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4C80283E4C for ; Wed, 27 Jul 2022 10:22:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pl1-x635.google.com with SMTP id d7so15520050plr.9 for ; Wed, 27 Jul 2022 01:22:31 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=9HEU7WZ8NZMOW4YNri6IDoHZOhdM4fIFQsHtqIm8HxY=; b=ihiPavZa7VQ5EDRX+QpWUcBlw/Q2ZzKguT2KB3zBjMFxOcto/y8oexbn2z7lFWZJ3S 4rlHJZzak/wSKAP3cTSvXPbRj8uTA8BNwKqUv1wOZTEsEr5ZWj6wotfCvGTcZwzIy8sL mJ2XxmXtd+FqFYB7VZrnfwq417whfxdRz6SOgh0SIg4FNTJvZb14s3NAGOMelUWWncTj b/sISJP0HDlUz0VaLeLUccZEduRNdbaSkA9z9KNqvGWMtWf+P/WTAteDhhRNdo/sQgXW SeoxPmqOHfz3LsrNHLVITK2jgfwMINffwemDOcwh5IZVkXa1JjDuuqdW2BgdwN9TFxIH N4gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9HEU7WZ8NZMOW4YNri6IDoHZOhdM4fIFQsHtqIm8HxY=; b=CPxSnKUC1585d/r0lhR8EGAyBKiowcdaNw1O8COMjpn98I28jbc0am2dPnn74wnq2Z cpAJTSEKn9gIjTOjrC/4KgbjkOrNQHHAjyXgfBDHxrEWoGcM53LzEf3GWbJ5e5Ui6QA4 Jmr3O54tYgG/GkT0GDIkZoElLYlHrWhCqflidAKlbpjSYn4NivPYAuw75mK4WhlWsgL2 ftAvrT/5mozdyH0aKAb/cQ+pPDEh6cNAaZs1Z1NlCJmjNkjnPTFTs6JUqrdIj6/yWht4 WCir05UrSRaYTxJwuTrL0tPwyhdcbd9thIE/Kv59Mu6P83SnYm8LAYtEte19dX3dgLxW Cb6A== X-Gm-Message-State: AJIora++GAuWtIUOdRHkF6IsYxz15+brSaXEPwjz5Rm+/LiiF5bQNDX+ lYhpweLKNC7OtGQhKpw7TNIUKLaMHdmngQ== X-Received: by 2002:a17:90b:380b:b0:1f2:5514:9615 with SMTP id mq11-20020a17090b380b00b001f255149615mr3343700pjb.171.1658910149406; Wed, 27 Jul 2022 01:22:29 -0700 (PDT) Received: from localhost.localdomain ([122.162.196.218]) by smtp.gmail.com with ESMTPSA id u17-20020a17090341d100b001677d4a9654sm13184930ple.265.2022.07.27.01.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 01:22:29 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: robert.marko@sartura.hr, luka.kovacic@sartura.hr, luka.perkov@sartura.hr, rfried.dev@gmail.com, dsankouski@gmail.com, stephan@gerhold.net, sjg@chromium.org, trini@konsulko.com, nicolas.dechesne@linaro.org, vinod.koul@linaro.org, mworsfold@impinj.com, daniel.thompson@linaro.org, pbrobinson@gmail.com, Sumit Garg Subject: [PATCH v2 1/2] pinctrl: sdm845: Remove redundant CONFIG_SDM845 check Date: Wed, 27 Jul 2022 13:52:03 +0530 Message-Id: <20220727082204.3677784-2-sumit.garg@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220727082204.3677784-1-sumit.garg@linaro.org> References: <20220727082204.3677784-1-sumit.garg@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean DT compatible is sufficient to make platform specific differentiation, so remove redundant CONFIG_SDM845 check. Signed-off-by: Sumit Garg Reviewed-by: Ramon Fried --- arch/arm/mach-snapdragon/Makefile | 2 +- arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-snapdragon/Makefile b/arch/arm/mach-snapdragon/Makefile index 0d31f10f68..cbaaf23f6b 100644 --- a/arch/arm/mach-snapdragon/Makefile +++ b/arch/arm/mach-snapdragon/Makefile @@ -16,6 +16,6 @@ obj-y += pinctrl-snapdragon.o obj-y += pinctrl-apq8016.o obj-y += pinctrl-apq8096.o obj-y += pinctrl-qcs404.o -obj-$(CONFIG_SDM845) += pinctrl-sdm845.o +obj-y += pinctrl-sdm845.o obj-$(CONFIG_TARGET_QCS404EVB) += clock-qcs404.o obj-$(CONFIG_TARGET_QCS404EVB) += sysmap-qcs404.o diff --git a/arch/arm/mach-snapdragon/pinctrl-snapdragon.c b/arch/arm/mach-snapdragon/pinctrl-snapdragon.c index c2148a5d0a..842e2da0c5 100644 --- a/arch/arm/mach-snapdragon/pinctrl-snapdragon.c +++ b/arch/arm/mach-snapdragon/pinctrl-snapdragon.c @@ -116,9 +116,7 @@ static struct pinctrl_ops msm_pinctrl_ops = { static const struct udevice_id msm_pinctrl_ids[] = { { .compatible = "qcom,tlmm-apq8016", .data = (ulong)&apq8016_data }, { .compatible = "qcom,tlmm-apq8096", .data = (ulong)&apq8096_data }, -#ifdef CONFIG_SDM845 { .compatible = "qcom,tlmm-sdm845", .data = (ulong)&sdm845_data }, -#endif { .compatible = "qcom,tlmm-qcs404", .data = (ulong)&qcs404_data }, { } };