From patchwork Mon Mar 11 10:13:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 1054325 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44Hv8V5Gqxz9s00 for ; Mon, 11 Mar 2019 21:14:02 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 53367C21E39; Mon, 11 Mar 2019 10:13:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3F9AEC21DAF; Mon, 11 Mar 2019 10:13:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D0AA3C21C3F; Mon, 11 Mar 2019 10:13:25 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id 5F4B4C21C8B for ; Mon, 11 Mar 2019 10:13:25 +0000 (UTC) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2BABFoH004421; Mon, 11 Mar 2019 11:13:24 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2r458m35fb-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 11 Mar 2019 11:13:24 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 908B231; Mon, 11 Mar 2019 10:13:22 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 99CF52ADF; Mon, 11 Mar 2019 10:13:22 +0000 (GMT) Received: from localhost (10.75.127.48) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 11 Mar 2019 11:13:22 +0100 From: Patrice Chotard To: Date: Mon, 11 Mar 2019 11:13:14 +0100 Message-ID: <1552299198-5368-1-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG4NODE1.st.com (10.75.127.10) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-11_08:, , signatures=0 Cc: U-Boot STM32 Subject: [U-Boot] [PATCH v2 0/4] Add STMFX gpio expander support for stm32mp157c-ev1 board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" This series adds: - STMFX pinctrl driver - update STM32MP15 basic and trusted config - Add stmfx node in stm32mp157c-ev1 DT - Update stm32mp1 board to probe pinctrl drivers early to be able to hog pins. There are dependencies with : - http://patchwork.ozlabs.org/project/uboot/list/?series=92268 - http://patchwork.ozlabs.org/project/uboot/list/?series=91422 which must be merged first. Changes in v2: _ Add missing pinctrl2 alias in stm32mp157c-ev1-u-boot.dtsi _ Move pinctrl0 and pinctrl1 aliases in stm32mp157c-u-boot.dtsi _ Set stmfx_pinctrl status to "okay" Patrice Chotard (2): board: stm32mp1: Force pinctrl driver probe in board_init() ARM: dts: Add STMFX gpio expander support for stm32mp157c-ev1 Patrick Delaunay (2): pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver config: stm32mp15: Enable STMFX support arch/arm/dts/stm32mp157-u-boot.dtsi | 2 + arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 2 + arch/arm/dts/stm32mp157c-ev1.dts | 18 ++ board/st/stm32mp1/stm32mp1.c | 9 + configs/stm32mp15_basic_defconfig | 5 +- configs/stm32mp15_trusted_defconfig | 5 +- drivers/pinctrl/Kconfig | 19 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-stmfx.c | 431 +++++++++++++++++++++++++++++++ 9 files changed, 488 insertions(+), 4 deletions(-) create mode 100644 drivers/pinctrl/pinctrl-stmfx.c