From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753677AbaCGPoI (ORCPT ); Fri, 7 Mar 2014 10:44:08 -0500 Received: from eu1sys200aog121.obsmtp.com ([207.126.144.151]:38648 "EHLO eu1sys200aog121.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753247AbaCGPoF (ORCPT ); Fri, 7 Mar 2014 10:44:05 -0500 Message-ID: <5319E7A1.5060605@st.com> Date: Fri, 7 Mar 2014 15:37:05 +0000 From: srinivas kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Maxime COQUELIN , Rob Landley , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Stuart Menefy , Linus Walleij , Giuseppe Cavallaro , , , , , Cc: Subject: Re: [PATCH v3 2/5] pinctrl: st: Enhance the controller to manage unavailable registers References: <1394203251-25361-1-git-send-email-maxime.coquelin@st.com> <1394203251-25361-3-git-send-email-maxime.coquelin@st.com> In-Reply-To: <1394203251-25361-3-git-send-email-maxime.coquelin@st.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.65.51.147] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/14 14:40, Maxime COQUELIN wrote: > From: Giuseppe Cavallaro > > This patch adds a new logic inside the st pinctrl to manage > an unsupported scenario: some sysconfig are not available! > > This is the case of STiH407 where, although documented, the > following registers from SYSCFG_FLASH have been removed from the SoC. > > SYSTEM_CONFIG3040 > Output Enable pad control for all PIO Alternate Functions > and > SYSTEM_ CONFIG3050 > Pull Up pad control for all PIO Alternate Functions > > Without managing this condition an imprecise external abort > will be detect. > > To do this the patch also reviews the st_parse_syscfgs > and other routines to manipulate the registers only if > actually available. > In any case, for example the st_parse_syscfgs detected > an error condition but no action was made in the > st_pctl_probe_dt. > > Signed-off-by: Maxime Coquelin > Signed-off-by: Giuseppe Cavallaro Acked-by: Srinivas Kandagatla