lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 9 Apr 2008 11:19:40 +0400 From: Dmitry <dbaryshkov@...il.com> To: "Russell King" <rmk+lkml@....linux.org.uk> Cc: "Andrew Morton" <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org, haavard.skinnemoen@...el.com, lethal@...ux-sh.org, philipp.zabel@...il.com, pavel@....cz, tony@...mide.com, paul@...an.com Subject: Re: [PATCH 6/6] Clocklib: use correct name for 3,6MHz clock Hi, 2008/4/9, Russell King <rmk+lkml@....linux.org.uk>: > On Tue, Apr 08, 2008 at 11:58:11PM +0400, Dmitry wrote: > > 2008/4/8, Russell King <rmk+lkml@....linux.org.uk>: > > > > So... what is the correct name. Bear in mind what I said in the previous > > > reply this evening - which says that it should be the name used by the > > > SA1111. Look in the data sheet - the pin itself to which the 3.6MHz > > > clock is supplised will have a name. That's the name which should be > > > used. > > > > I use the same pin/clock for the tc6393xb driver. And I'm pretty sure > > the datasheets won't agree on the name of the pin. Which name should I > > use? > > > You missed the fundamental issue about the clock API - the _name_ is > not the clock name defined by the host. It's the _device_ clock name. > > So, you shouldn't be using the SA1111 clock name for the tc6393xb driver. > You should be using its own name. The platform specific bit of the clock > API is then supposed to return you the struct clk corresponding with > that input, by using the platform knowledge that it's connected to GPIO27 > or whatever. I think I understood your idea. I'll repost updated patchset later. -- With best wishes Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists