From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2760C433DB for ; Mon, 15 Mar 2021 09:50:50 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D319D64DAE for ; Mon, 15 Mar 2021 09:50:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D319D64DAE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3nz7EC89qowYwjcijiKUEHHXrIIOdrsf9efJ6pQ+BME=; b=gaWQ0eHe0c2rZxIwDWFGhMOIH1 sUxXCrr7mjlHb59hhYRlqYXgRzbDu4CTG4S0O3/IFiSuvPq8FVzDpJXv93Gj77O5W5obrjjtV+2E0 u7nmXSKJtc3zi7kU9qVflJsZeIxrBTyTz+q/abGY9XGWM1y37TIFDO7aW/AfoJyCjloTPIo7yC7uq cY3xA9Scbtj12dLww/QVbPyl9aU3zxpXyHBUJz5YTVqY65G96035mWD4L5kvw/jgJ+9wNsv/CftFo 1UTsspRO2v5nAaYVP1DnISP2LGCKiBeHRUH+VsxWnL6TqYHvLyIusQfqc04/n6daCX2rp4fxE5ag5 AdBDmTXg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lLjqT-00FRC3-0N; Mon, 15 Mar 2021 09:49:05 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lLjn2-00FQAL-8y for linux-arm-kernel@lists.infradead.org; Mon, 15 Mar 2021 09:45:35 +0000 Received: by mail-pf1-x42a.google.com with SMTP id 16so6225129pfn.5 for ; 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=WYi0htHoKxiFlx99YA414N0kGNQF0ZpcPC3B9wgaET4m4c4hxk3wD3JMhX0b+uKxxs mQUN5/plUD+oUXNy8sp3aDYSIXMY0wGAvVZzYYuAnE3yiFuvcJOj7NCJEDbmxKmfcg5Q 6ohuTH0+08fuwxw/Sfx5/EieIJtSI6Ffi59risgnpLY/Y6LP3aGeS04YUKQOjFXjGm/b 05khvg5EkfR1CxPaV2ejKLnCliSKtx+VF+pLct6aRIk/gThUthTbApgBRIMtsVafxR+l YCGwW41N2bnqdipxx2imMKQR9/GYVYhzN3aRE8QcT7BH+SYa07aAgNZF2bBWjNYIu0u0 QaVQ== X-Gm-Message-State: AOAM5313hfWJYBIriwo7k7gzo2sNcPQktf/bSe/40YO+mBYGFjLAVA+1 sW44zUDDO9F/YTTnjgpdzIo= X-Google-Smtp-Source: ABdhPJyrPUV5QT9n5Vkw3w86SxR6jp8X5ZjJvYUSAFfYyVOOLONK+/ghx0cPcD4gq2GDhDbR/HNORQ== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210315_094533_014228_D4361B74 X-CRM114-Status: GOOD ( 15.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel