From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 03/14] mmc: mmci: Add support for setting pad type via pinctrl Date: Mon, 15 Jan 2018 02:07:24 +0100 Message-ID: References: <1515759368-16946-1-git-send-email-patrice.chotard@st.com> <1515759368-16946-4-git-send-email-patrice.chotard@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1515759368-16946-4-git-send-email-patrice.chotard-qxv4g6HH51o@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Patrice CHOTARD Cc: Russell King , Ulf Hansson , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Alexandre Torgue , linux-mmc , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-clk , Linux ARM , linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Andrea Merello List-Id: linux-gpio@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html