Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753329AbbEHSaK (ORCPT ); Fri, 8 May 2015 14:30:10 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:33393 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751733AbbEHSaH (ORCPT ); Fri, 8 May 2015 14:30:07 -0400 Date: Fri, 8 May 2015 20:28:42 +0200 (CEST) From: Hans Ulli Kroll X-X-Sender: elektroman@T520.local To: Roman Yeryomin cc: Hans Ulli Kroll , Arnd Bergmann , Alexandre Belloni , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, Linus Walleij , Russell King , Felix Fietkau Subject: Re: [1/2] RTC: Add core rtc support for Gemini Soc devices In-Reply-To: Message-ID: References: <1292339307-14336-2-git-send-email-ulli.kroll@googlemail.com> <2694895.MomHLoCaoZ@wuerfel> <5043733.xO9lSCKvly@wuerfel> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2617 Lines: 76 Hi On Fri, 8 May 2015, Roman Yeryomin wrote: > On 2015-05-07 20:46, Hans Ulli Kroll wrote: > > Hi > > > > On Thu, 7 May 2015, Arnd Bergmann wrote: > > > > > On Thursday 07 May 2015 05:00:03 Hans Ulli Kroll wrote: > > > > On Wed, 6 May 2015, Arnd Bergmann wrote: > > > > > As far as I'm concerned, we should just merge all the patches from > > > > > http://git.openwrt.org/?p=openwrt.git;a=tree;f=target/linux/gemini/patches-3.18 > > > > > > > > > > We should also try to find a maintainer that can respond to patches > > > > > in a timely manner. If Ulli has time for that again, that would be > > > > > great, > > > > > otherwise I think we should find someone from OpenWRT to take over. > > > > > > > > I'm back in busyness. > > > > Currently me dev device is right next to me. > > > > I moved some time ago and haav to find it in some 'hidden' box. > > > > > > Awesome, welcome back! > > > > > > Are you able to look at the patches I mentioned above and submit them > > > to arm@kernel.org, cc linux-arm-kernel@lists.infradead.org with proper > > > patch descriptions? > > > > > > Arnd > > > > > > > Already done, > > RTC driver send. > > Compilder fix for MACH-RECORD send. > > Maintainer Update send. > > > > This device is a (very) bad design, to be polite ! > > I think they didn't test this properly. > > And they fixed some software issues in hardware. > > To be exact : > > They switched the IDE channels in hardware, to get around the stupid > > Sausalito software. > > AFAIK, ide channels are switchable in the driver. Yes. But there is a HW switch. /* Values of IOMUX * 26:24 bits is "IDE IO Select" * 111:100 - Reserved * 011 - ata0 <-> sata0, sata1; bring out ata1 * 010 - ata1 <-> sata1, sata0; bring out ata0 * 001 - ata0 <-> sata0, ata1 <-> sata1; bring out ata1 * 000 - ata0 <-> sata0, ata1 <-> sata1; bring out ata0 */ This is from an email long time ago, with Paulius Zaleckas who has the yoriginal documentation to this SoC. I hacked some weeks (or months) to get this thing running. Some HDD are working well, others don't. At this time, this was only one manufacturer, who has only the "bad" devices. Early this year, I got some report from one user. He has two hdd's from the same manufacturer. One hdd is working well, the other don't. At the end of this "session" I've taken this device to some hidden place. ;-) Ulli -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/