Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753503AbeAOBH2 (ORCPT + 1 other); Sun, 14 Jan 2018 20:07:28 -0500 Received: from mail-io0-f176.google.com ([209.85.223.176]:45759 "EHLO mail-io0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753357AbeAOBHZ (ORCPT ); Sun, 14 Jan 2018 20:07:25 -0500 X-Google-Smtp-Source: ACJfBovHNTyMaWms0af8JpEPQphgAtam+oe9Yux1OOywodgVw5b/+u5WsxKnDRx4eJA4xApZlkWjCIOCHvWV6UUFl64= MIME-Version: 1.0 In-Reply-To: <1515759368-16946-4-git-send-email-patrice.chotard@st.com> References: <1515759368-16946-1-git-send-email-patrice.chotard@st.com> <1515759368-16946-4-git-send-email-patrice.chotard@st.com> From: Linus Walleij Date: Mon, 15 Jan 2018 02:07:24 +0100 Message-ID: Subject: Re: [PATCH 03/14] mmc: mmci: Add support for setting pad type via pinctrl To: Patrice CHOTARD Cc: Russell King , Ulf Hansson , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Alexandre Torgue , linux-mmc , "linux-kernel@vger.kernel.org" , linux-clk , Linux ARM , linux-gpio@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Andrea Merello Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 12, 2018 at 1:15 PM, wrote: > From: Patrice Chotard > > The STM32 variant hasn't the control bit to switch pads in opendrain mode. > In this case we can achieve the same result by asking to the pinmux driver > to configure pins for us. > > This patch make the mmci driver able to do this whenever needed. > > Signed-off-by: Andrea Merello > Signed-off-by: Patrice Chotard Nice and clean way to use pin control for this. Hats off! Reviewed-by: Linus Walleij Yours, Linus Walleij