Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3150208pxf; Mon, 15 Mar 2021 02:46:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIHwerZZ4QgKKo6rSSgFW2G35uht8C1tNseSTqC7cU2fXNa5+NeAtCh54YI2DuWWeEBIut X-Received: by 2002:a05:6402:1cc1:: with SMTP id ds1mr28392750edb.135.1615801618262; Mon, 15 Mar 2021 02:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615801618; cv=none; d=google.com; s=arc-20160816; b=wF6TPXLT/9BPUqTrsGaube8CrQDrR0AsasnOdBerTj5agRYTn4mIQ1sxIHCdg545eX xke0Q/bCwtDJtSjrhsTNLBJgyj6d8P7LBb59gYqjiDuy3OLAcEdWRkq/mMuqm+YIKmS6 1OC/1J7aUR786/LZj2b4ecpPXes3igFOyYFmGLL2iHGxihIo/1LVDgKbgaPqjgmWHQ7E INi/s9xTYZ9/9/Q1MmLGYHz6SEQHpPuzpgNdt5JARH+sz3C/dIKj/rlkOQ55in6vq94p qBESzEAIuV4DQYeQrRGpGiGfNmUXEQkCYCHyjf01QCeJbOmk909nMN0Xckxy1Tccu5K7 zWEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=Ep4oDr1hglklL7K/WBO42zrmw7RgFyDwJC2jJIwneMg=; b=K+rkEW6Ss2lX8Ef2MxAXQFu5pG3jLqJOw0pdiH7sWlVt9i2rdcjZe/Kulo6H0AZCNl keHoSwP9sa08NVsjTccRnircO/aSkCTYWpapPaJzHMoFatxl/8hQlNnebPyelh85B/AX 6uhS3shoD6u66oL3RhfyD3mDCGOYkEuBWjI0Pbx3WWl9eH3DBsrkGBo+TchJVr6mS/Wr fYkINaKKdHZbFF9QCQtZJdOBZZSin/QB2Wzz8uouVAAXTbnPsntduuesWnScf6o6ZD8F AyOQ2jpcZxRvUpnGhmT/SYUnmBqEyf4oSBynpWeSyoaHe3Vto2aOrJt4TrgZx0NrjlZi QkEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CY0QFw48; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw22si10440663edb.429.2021.03.15.02.46.35; Mon, 15 Mar 2021 02:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CY0QFw48; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229874AbhCOJpk (ORCPT + 99 others); Mon, 15 Mar 2021 05:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhCOJp2 (ORCPT ); Mon, 15 Mar 2021 05:45:28 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B8FC061574; Mon, 15 Mar 2021 02:45:28 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id x21so4906616pfa.3; Mon, 15 Mar 2021 02:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ep4oDr1hglklL7K/WBO42zrmw7RgFyDwJC2jJIwneMg=; b=CY0QFw48sP9XRK0pge5CLUvMCuHUxO7IkJKsEmkPNDbnFpuSc77oOs5XrPzrxrsi5D 8I5DLUt+5/SG2KmW2gfB4RjFlBq5XVZ/PFQksIzTA4U/xS1sxqA68A6ACFh+mJq6RMNv ol4gTZyWcMO3ccOex712CdxB2x55bUB2k9z20rnqx800xoNH3+AP8bXXppGnEykVf3Oz iEyKqmAihUI2p5NuV4LvS7jmt9pPU8WY79LlwueaZ4lbbmCJSs310DntYdI7AGcymajh QkeitNg4nBMdgJNFexsqr9MFPAPFdNUXBv3mW5i6WEjivm8NcwbbNmp/IfR9z4po8LbU S2ag== 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:in-reply-to :references; bh=Ep4oDr1hglklL7K/WBO42zrmw7RgFyDwJC2jJIwneMg=; b=OmL9kl3bLnA1AwIdXVLQPUnQlLMXw7g1/NY/g/W/305RNvKy6I9Iwst95DDtClkbeZ 0Gjgypkaxu0D6He2KEF/xj5g97Z0mq2xogxBCANjI51TK1tBp1cW0pC61P52hJ9gYO7Y UWWG9HyrhmghO6KiAZVyD2uozhG3EWZ65C76f4OyRK5DXPNVJhs2w0A8ka0IDt8Kwsr2 fL1gLPGa+SHB7xJAvW49gb9Cos49HKutBcqlGcqPJ6W37bt3zWeRdAqyxvuTu/wGFGe3 EZSufHexf1UVmWHaz5ftJcO8k3RlimTzJYiXqgFF+7gbBN9iqEeAqOUOAj4vuJiAnxqC uMdw== X-Gm-Message-State: AOAM533D5bxtCeCEnCXexBpIwPaY/75bJpZtCPPgSKhRCtXocg0lKBE0 qxIDLoSjv4nQMl2SmgY8lCI= X-Received: by 2002:a63:6981:: with SMTP id e123mr22900109pgc.423.1615801527715; Mon, 15 Mar 2021 02:45:27 -0700 (PDT) Received: from localhost.localdomain ([120.245.122.54]) by smtp.gmail.com with ESMTPSA id 14sm12780811pfy.55.2021.03.15.02.45.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Mar 2021 02:45:27 -0700 (PDT) From: dillon.minfei@gmail.com To: robh+dt@kernel.org, alexandre.torgue@foss.st.com, a.fatoum@pengutronix.de, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, vladimir.murzin@arm.com, afzal.mohd.ma@gmail.com, gregkh@linuxfoundation.org, erwan.leray@st.com, erwan.leray@foss.st.com, linux-serial@vger.kernel.org Cc: dillon min Subject: [PATCH v3 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support Date: Mon, 15 Mar 2021 17:43:55 +0800 Message-Id: <1615801436-3016-9-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1615801436-3016-1-git-send-email-dillon.minfei@gmail.com> References: <1615801436-3016-1-git-send-email-dillon.minfei@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: dillon min This patch adds STM32H750 pinctrl and GPIO support since stm32h750 has the same pin alternate functions with stm32h743, so just reuse the stm32h743's pinctrl driver Signed-off-by: dillon min --- drivers/pinctrl/stm32/Kconfig | 2 +- drivers/pinctrl/stm32/pinctrl-stm32h743.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index f36f29113370..fb1ffc94c57f 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers/pinctrl/stm32/Kconfig @@ -35,7 +35,7 @@ config PINCTRL_STM32F769 select PINCTRL_STM32 config PINCTRL_STM32H743 - bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 + bool "STMicroelectronics STM32H743/STM32H750 pin control" if COMPILE_TEST && !MACH_STM32H743 depends on OF && HAS_IOMEM default MACH_STM32H743 select PINCTRL_STM32 diff --git a/drivers/pinctrl/stm32/pinctrl-stm32h743.c b/drivers/pinctrl/stm32/pinctrl-stm32h743.c index ffe7b5271506..700206c7bc11 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32h743.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32h743.c @@ -1966,6 +1966,9 @@ .compatible = "st,stm32h743-pinctrl", .data = &stm32h743_match_data, }, + { .compatible = "st,stm32h750-pinctrl", + .data = &stm32h743_match_data, + }, { } }; -- 1.9.1