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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS 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 B7A74ECE564 for ; Wed, 19 Sep 2018 16:21:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 79D9120685 for ; Wed, 19 Sep 2018 16:21:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79D9120685 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732485AbeISWAF (ORCPT ); Wed, 19 Sep 2018 18:00:05 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:57650 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732190AbeISWAE (ORCPT ); Wed, 19 Sep 2018 18:00:04 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w8JGJ5Rv024197; Wed, 19 Sep 2018 18:20:46 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2mgqhwh2ph-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 19 Sep 2018 18:20:46 +0200 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 A4B1131; Wed, 19 Sep 2018 16:20:45 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 56B395514; Wed, 19 Sep 2018 16:20:45 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.45) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 19 Sep 2018 18:20:44 +0200 Subject: Re: [PATCH v2 0/7] Introduce STMFX I2C Multi-Function eXpander To: Amelie Delaunay , Lee Jones , Linus Walleij , Rob Herring , Mark Rutland , Maxime Coquelin CC: , , , , References: <1537363669-25991-1-git-send-email-amelie.delaunay@st.com> From: Alexandre Torgue Message-ID: <88843a86-3a2f-e354-21a1-c12627f54dc6@st.com> Date: Wed, 19 Sep 2018 18:20:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1537363669-25991-1-git-send-email-amelie.delaunay@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-19_10:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Amélie, On 09/19/2018 03:27 PM, Amelie Delaunay wrote: > This series adds support for STMicroelectronics Multi-Function eXpander > (STMFX), used on some STM32 discovery and evaluation boards. > > STMFX is an STM32L152 slave controller whose firmware embeds the following > features: > - I/O expander (16 GPIOs + 8 extra if the other features are not enabled), > - resistive touchscreen controller, > - IDD measurement. > > I2C stuff and chip initialization is based on an MFD parent driver, which > registers a pinctrl MFD child. > > --- As soon as bindings will be accepted, I'll have a look on DT patches in order to merge them in stm32-next branch. regards Alex > Changes in v2: > - move to MFD parent driver for i2c stuff and chip initialization > - improve regmap configuration > - take advantage of the use of gpio-ranges > > > Amelie Delaunay (7): > dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings > mfd: Add ST Multi-Function eXpander (STMFX) core driver > dt-bindings: pinctrl: document the STMFX pinctrl bindings > pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver > ARM: dts: stm32: add STMFX support on stm32746g-eval > ARM: dts: stm32: add joystick support on stm32746g-eval > ARM: dts: stm32: add orange and blue leds on stm32746g-eval > > Documentation/devicetree/bindings/mfd/stmfx.txt | 28 + > .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 116 +++ > arch/arm/boot/dts/stm32746g-eval.dts | 66 ++ > drivers/mfd/Kconfig | 14 + > drivers/mfd/Makefile | 2 +- > drivers/mfd/stmfx.c | 626 ++++++++++++++++ > drivers/pinctrl/Kconfig | 12 + > drivers/pinctrl/Makefile | 1 + > drivers/pinctrl/pinctrl-stmfx.c | 821 +++++++++++++++++++++ > include/linux/mfd/stmfx.h | 27 + > 10 files changed, 1712 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/mfd/stmfx.txt > create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-stmfx.txt > create mode 100644 drivers/mfd/stmfx.c > create mode 100644 drivers/pinctrl/pinctrl-stmfx.c > create mode 100644 include/linux/mfd/stmfx.h >