Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1243856pxf; Fri, 26 Mar 2021 04:17:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLjkMB6EA+jNh9pYpgj3+Wnc5V9J77QF14RuvrNKUOQ6FUFL6MOoPZ8zwjjXvwp+2FHGHJ X-Received: by 2002:aa7:d503:: with SMTP id y3mr14174802edq.142.1616757429496; Fri, 26 Mar 2021 04:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616757429; cv=none; d=google.com; s=arc-20160816; b=g8gFCG8RVq1CJmMY4uf8gHpZ7d3BKBW+Kkcxb/yynZBsDzBSr4M6sO2K0JEAtq2LOR ZCNq1tXwhXomnKs7s7QCcvwL4JgYWhIzwcBObZmkAhaP/SpIlR0aMqfPJ+CRojmtrRg3 +a8tYspsWY0zPOIVXDkGTCgG7JxKhVZnNTwjKCxdUQNt4D0lY9siAnEKB2gN5uJ30ViJ xuXrLly8+dsZyuaJKYx+Z4P3v8jXeJR8Q/8HSkfUVRtordFhfVd3WsQVcPDK2Thx87Zj zYCsqdha92fJx8ROTw5VQpofciCT6KZnEfj3wxrisyqsYiCaDqdoL8+7i2hikR0RohoS sdgQ== 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=bJm2ylLmMokI00w8ehr07VS3lbjTqezFF/dbtRH1gMU=; b=kvQ3hK0eQhEDNlFbytNiVXozxTqNH/ydWsUz9i5dBtFdtmdDXG0Ee0RLL6mJjy1xox hg91KhrbOg0tMMpTxn8xWZ+g//zQ1UN/M8IpgNWBEPmzBUaECAzfWrOC7lClQIzZTBwD OTJM/eEuEpyddt+qsvJbKp091mQgM5IzKWvwMGy1UoIP8sYZFB+lQIRdEhDFu8U4o77P TblbIi/GOPAPqb0o14WLURyJGADWFHN/KDI3s7BrzuvymNhlMw/KunwdkjUuY8M3iMYJ FUlphA5HyxYLVjx5GcGc6khAZmy3qv7Fr2wzG+gl0axLzCOr8TBkCXWRW/I1khJmN0L7 EYmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qYMWPg6y; 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 m18si6607629edv.199.2021.03.26.04.16.44; Fri, 26 Mar 2021 04:17:09 -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=qYMWPg6y; 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 S230194AbhCZLQA (ORCPT + 99 others); Fri, 26 Mar 2021 07:16:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbhCZLPh (ORCPT ); Fri, 26 Mar 2021 07:15:37 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33391C0613AA; Fri, 26 Mar 2021 04:15:37 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id v3so4407576pgq.2; Fri, 26 Mar 2021 04:15:37 -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=bJm2ylLmMokI00w8ehr07VS3lbjTqezFF/dbtRH1gMU=; b=qYMWPg6y3yfZTWJdbs+M8yjrTQa4u+bTqn65LtFAHgkb28m46IG6JCjFPdYa33Gx4o 9EdcXMkLGRU/y7mJD7WAD3b/726QoFpw/ag3lAj0SYAgoY76oxY86E3XLAx42FzsqZE8 XMM8LOY10QqAYlXOjXohVr8pmSV9FjARs6uOCdJTTs/RbZnlIWnyyIqWdcjmqiIkbInE AfPxryslLhe03kSPO4EAtVZowx8ezkDDgQern3Z6P+snO4kTTv0tQPUTO4oBYtyFatNR M6W5/GuFpXoHT3ec89gtEjymC+JpVuuxBo7HfRudSvRmzIRgEIG0n4xL03z8hO8qGWOF b2Ww== 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=bJm2ylLmMokI00w8ehr07VS3lbjTqezFF/dbtRH1gMU=; b=OISZ5YVCX58Q8cvgJ8fxbiMgqqVyYRTQXlM/xz2CRa1B1bQf38HG5ZMUIvfzGTAqjs bkXS94X16ZQDFw9n7e/hYytXmMHDTDCIEpFYUYh4efdcn75R8pYuSeGF03dsSAB9+X97 CU3UHMUWqkqA8aOo0yGkz5S1VTqWtOWeLG8UqUyaiRbHCU3A/idz+JM2kwwveG2BH/kh xBi1nXDEeQ735WIJJivIkBfdWnglDkwn4xOgSwjP8hJ3obx9HKpVjqortL1sUoZ/vW8z IX4sZfcCdUDI1s/u/iovxBVrkDwXtsbI1cImAXaCjQ6mmCRmKYm+i52bYvJVRM6I8+EA erEQ== X-Gm-Message-State: AOAM5333e4jtxHDtFv7HSabcUnqytSCkKGXvtMunUC6XaA5YgAYYm+jN j0WJAH/eTIP1GMvxKNEyqo8= X-Received: by 2002:aa7:990d:0:b029:21d:7aef:c545 with SMTP id z13-20020aa7990d0000b029021d7aefc545mr12257039pff.77.1616757336833; Fri, 26 Mar 2021 04:15:36 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([137.59.103.165]) by smtp.gmail.com with ESMTPSA id l3sm8108414pfc.81.2021.03.26.04.15.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Mar 2021 04:15:36 -0700 (PDT) From: dillon.minfei@gmail.com To: robh@kernel.org, valentin.caron@foss.st.com, Alexandre.torgue@foss.st.com, rong.a.chen@intel.com, a.fatoum@pengutronix.de, mcoquelin.stm32@gmail.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@foss.st.com, erwan.leray@st.com, linux-serial@vger.kernel.org, lkp@intel.com Cc: dillon min Subject: [PATCH v6 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support Date: Fri, 26 Mar 2021 19:15:01 +0800 Message-Id: <1616757302-7889-7-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616757302-7889-1-git-send-email-dillon.minfei@gmail.com> References: <1616757302-7889-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 --- v6: no changes 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 @@ static const struct of_device_id stm32h743_pctrl_match[] = { .compatible = "st,stm32h743-pinctrl", .data = &stm32h743_match_data, }, + { .compatible = "st,stm32h750-pinctrl", + .data = &stm32h743_match_data, + }, { } }; -- 2.7.4