From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756638AbbCCMxx (ORCPT ); Tue, 3 Mar 2015 07:53:53 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:41953 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756579AbbCCMxv (ORCPT ); Tue, 3 Mar 2015 07:53:51 -0500 Message-ID: <54F5AECF.5090006@ti.com> Date: Tue, 3 Mar 2015 14:53:35 +0200 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Robert ABEL , , CC: , , , Subject: Re: [PATCH 0/8] ARM OMAP2+ GPMC: fixes and bus children References: <1424961956-29353-1-git-send-email-rabel@cit-ec.uni-bielefeld.de> In-Reply-To: <1424961956-29353-1-git-send-email-rabel@cit-ec.uni-bielefeld.de> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Robert, On 26/02/15 16:45, Robert ABEL wrote: > These are the changes I proposed in three separate patchsets > #([1], [2], [3]) rebased to 3.19 as well as new changes for little bugs > I noticed while preparing this patchset. > > 1. DEBUG was undefined in source code --> remove offending lines > 2. add capability to have busses as children of the GPMC and multiple > devices on a bus. See [2] for an example DTS syntax. > 3. debug output was unaligned --> align it > 4. output for copy-pasting to DTS had erroneous timing outputs and > made it hard to copy-paste --> correct timing values, add comments > as DTS comments. > 5. WAITMONITORINGTIME is expressed as GPMC_CLK cycles for all accesses. > GPMCFCLKDIVIDER is used as a divider, so it must always be programmed. > 6. GPMCFCLKDIVIDER is calculated according to WAITMONITORINGTIME for > asynchronous accesses inside the driver --> asynchronous accesses now > completely decoupled from gpmc,sync-clk-ps. > 7. WAITMONITORINGTIME was being programmed/shown in GPMC_FCLK cycles instead > of GPMC_CLK cycles --> add clock domain information where necessary. > 8. Calculated values for WAITMONITORINGTIME and CLKACTIVATIONTIME that were > outside the defined range would not raise an error. > DEVICESIZE, ATTACHEDDEVICEPAGELENGTH, WAITMONITORINGTIME and > CLKACTIVATIONTIME would not be marked as incorrect on DTS output. > --> Fix all of these. > > [1]: https://lkml.org/lkml/2015/2/12/495 > [2]: https://lkml.org/lkml/2015/2/16/337 > [3]: https://lkml.org/lkml/2015/2/24/609 I'm OK with this version. Tony, after you ACK these I will queue them for v4.1. cheers, -roger > > Robert ABEL (9): > ARM OMAP2+ GPMC: don't undef DEBUG > ARM OMAP2+ GPMC: add bus children > ARM OMAP2+ GPMC: fix debug output alignment > ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS > ARM OMAP2+ GPMC: always program GPMCFCLKDIVIDER > ARM OMAP2+ GPMC: calculate GPMCFCLKDIVIDER based on WAITMONITORINGTIME > ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug > ARM OMAP2+ GPMC: fix programming/showing reserved timing parameters > > arch/arm/mach-omap2/gpmc-nand.c | 17 +- > arch/arm/mach-omap2/gpmc-onenand.c | 4 +- > arch/arm/mach-omap2/usb-tusb6010.c | 4 +- > drivers/memory/Makefile | 2 + > drivers/memory/omap-gpmc.c | 313 +++++++++++++++++++++++++++++-------- > include/linux/omap-gpmc.h | 2 +- > 6 files changed, 265 insertions(+), 77 deletions(-) >