Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753304Ab1DOTxi (ORCPT ); Fri, 15 Apr 2011 15:53:38 -0400 Received: from mail.academy.zt.ua ([82.207.120.245]:10143 "EHLO mail.academy.zt.ua" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910Ab1DOTxh (ORCPT ); Fri, 15 Apr 2011 15:53:37 -0400 X-MDAV-Processed: mail.academy.zt.ua, Fri, 15 Apr 2011 22:53:38 +0300 X-Spam-Processed: mail.academy.zt.ua, Fri, 15 Apr 2011 22:53:38 +0300 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: george@academy.zt.ua X-Return-Path: george@znau.edu.ua X-Envelope-From: george@znau.edu.ua Subject: Re: Could I (ab)use bus (struct bus_type) for virtual Broadcom bus? From: George Kashperko To: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Cc: Hauke Mehrtens , Russell King , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arend van Spriel , Jonas Gorski , b43-dev@lists.infradead.org, Greg KH , Andy Botting , Larry Finger In-Reply-To: References: <1302781431.21145.6.camel@dev.znau.edu.ua> <4DA6E9BD.3090404@hauke-m.de> <1302786900.21965.52.camel@dev.znau.edu.ua> <1302892585.30441.12.camel@dev.znau.edu.ua> Content-Type: text/plain; charset=utf-8 Date: Fri, 15 Apr 2011 22:50:10 +0300 Message-Id: <1302897010.30441.42.camel@dev.znau.edu.ua> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-19.el5) Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2466 Lines: 55 > W dniu 15 kwietnia 2011 20:36 użytkownik George Kashperko > napisał: > >> >> Arnd: I found you saying: > >> >> > I believe the one thing we really want from this driver is the bus > >> >> > scan code, which is not present in the amba bus implementation, > >> >> I explained how it works, I believe scanning (EPROM in this case) it > >> >> Broadcom specific, not really AMBA standard. How do you see it? > >> >> > >> > It might not Broadcom specific as EPROM core seems to be CoreLink one > >> > core and maybe is arm-developed. But it isn't documented publicly and we > >> > don't know yet if it is obligatory for all amba (or at least axi) > >> > interconnects or not. > >> > >> Maybe EPROM is not Broadcom specific, but I suspect the content we > >> deal with in bcmai/axi is Broadcom specific. I didn't see any notes of > >> manuf/id/rev/class we deal with. So I guess everything *we* (out > >> driver) read from EPROM is Bcm specific. > >> > > > > Played around amba registers on bcm4716. For all amba cores present > > (under all I mean broadcom ip core agents, oob router core, erom core, > > and other I-dont-know-what-for cores present at 0x18100000). All those > > feature AMBA_CID (0xb105f00d) as PrimeCell ID, and slightly different > > PrimeCell PeripheralIDs: > > * vendor 0xBB, part_number 0x368 for broadcom cores' agents; > > * vendor 0xBB, part_number 0x367 for OOB router core (don't ask me wth > > is this please); > > * vendor 0xBB, part_number 0x366 for EROM core; > > > > ARM vendor id is 0x41. Might 0xBB is Broadcom vendor id but I've found > > no evidence for that with google. > > Yeah, as I suspected, everything except Broadcom specific cores > matches AMBA standards quite nicely. Still, I don't see anything in it > we could use for driver. > > Let's wait for Russell and Arnd to comment. > Btw, googling for PL366, PL367, PL368 gives nothing relevant except one reference to "NIC-301 Interconnect Device Management (PL368)" which is restricted to arm partners. Think it have something to do with that magic "DMP - Device Management Plugin" Broadcom guys mentioned earlier. Might those 0xBB/0x368 cores are produced with that "plugin". Have nice day, George -- 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/