Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935531AbdLSIuG (ORCPT ); Tue, 19 Dec 2017 03:50:06 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46818 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933494AbdLSIuC (ORCPT ); Tue, 19 Dec 2017 03:50:02 -0500 X-Google-Smtp-Source: ACJfBovXCDucDJ9vmrRen9+K6VyfZAN2M6AFHYXO72hPobqKA8VbQSsKI11VnY+nArNXj027OM3DhA== Date: Tue, 19 Dec 2017 08:49:58 +0000 From: Lee Jones To: Romain Izard Cc: Alexandre Belloni , Nicolas Ferre , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset Message-ID: <20171219084958.fvogrczvrxcwazrx@dell> References: <20171212162119.32138-1-romain.izard.pro@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171212162119.32138-1-romain.izard.pro@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 27 On Tue, 12 Dec 2017, Romain Izard wrote: > The controller used by a flexcom module is configured at boot, and left > alone after this. In the suspend mode called "backup with self-refresh" > available on SAMA5D2, the chip will resume with most of its registers > reset. In this case, we need to restore the state of the flexcom driver > on resume. > > Signed-off-by: Romain Izard > --- > Changes in v5: > * extract from the patch series, and send as a standalone patch > > Changes in v6: > * Reword the patch title and description > * Rename the internal structure to ddata > > drivers/mfd/atmel-flexcom.c | 63 ++++++++++++++++++++++++++++++++++----------- > 1 file changed, 48 insertions(+), 15 deletions(-) Applied, thanks. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog