Re: Looking for good references for ARM driver development

2014-11-20 Thread Victor Ascroft
On Friday 21 November 2014 03:11 AM, Mason wrote: > On 19/11/2014 17:57, Victor Ascroft wrote: > >> On 11/19/2014 06:20 PM, Mason wrote: >> >>> Are there more recent technical references, as good as LDD3, that >>> cover "modern" aspects of kernel development? >> The LDD3 is one of the best there i

Re: Looking for good references for ARM driver development

2014-11-20 Thread Mason
On 19/11/2014 17:57, Victor Ascroft wrote: > On 11/19/2014 06:20 PM, Mason wrote: > >> Are there more recent technical references, as good as LDD3, that >> cover "modern" aspects of kernel development? > > The LDD3 is one of the best there is. A fourth edition is supposed > to come out sometime

Re: Looking for good references for ARM driver development

2014-11-20 Thread Antony Pavlov
On Wed, 19 Nov 2014 17:05:00 +0100 Mason wrote: > Hello Andreas, > > On 19/11/2014 16:02, Andreas Färber wrote: > > > Am 19.11.2014 um 13:50 schrieb Mason: > > ... > > Since this appears to be about an ARM SoC according to your To list, > > in general, you create a device tree binding, that bin

Re: Looking for good references for ARM driver development

2014-11-20 Thread Viresh Kumar
On Wed, Nov 19, 2014 at 9:35 PM, Mason wrote: > Is there an exhaustive list of available buses (on the ARM platform) > and an overview of when/where each one is appropriate? Not sure if its mentioned that clearly anywhere. BUT bus is normally bound by the way you need to access registers of a dev

Re: Looking for good references for ARM driver development

2014-11-19 Thread Victor Ascroft
On 11/19/2014 10:49 PM, Mason wrote: > On 19/11/2014 17:57, Victor Ascroft wrote: > >> This actually depends on the kernel you are using. Do you have relatively >> new kernel or an old one? Depending on that, either you will get that >> information in a board file or else in the device tree in ar

Re: Looking for good references for ARM driver development

2014-11-19 Thread Mason
On 19/11/2014 17:57, Victor Ascroft wrote: This actually depends on the kernel you are using. Do you have relatively new kernel or an old one? Depending on that, either you will get that information in a board file or else in the device tree in arch/arm/boot/dts. I'll reply more thoroughly lat

Re: Looking for good references for ARM driver development

2014-11-19 Thread Victor Ascroft
On 11/19/2014 06:20 PM, Mason wrote: > Hello everyone, > > I've been using several Linux distributions, and writing user-space programs, > for 15 years. > I recently seized an opportunity to move into kernel development, mainly > writing drivers > for an ARM SoC, and I'm finding the transition h

Re: Looking for good references for ARM driver development

2014-11-19 Thread Mason
Hello Andreas, On 19/11/2014 16:02, Andreas Färber wrote: Am 19.11.2014 um 13:50 schrieb Mason: [...] I'm writing a driver for a temperature sensor, which is supposed to work within the hwmon/lm-sensors framework. The sensor's API consists of 3 memory-mapped registers, which are accessible o

Re: Looking for good references for ARM driver development

2014-11-19 Thread Andreas Färber
Hi, Am 19.11.2014 um 13:50 schrieb Mason: > [...] I'm writing a driver for a temperature sensor, which is > supposed to work > within the hwmon/lm-sensors framework. > > The sensor's API consists of 3 memory-mapped registers, which are > accessible over the > SoC's memory bus. [...] > > 1) Which

Looking for good references for ARM driver development

2014-11-19 Thread Mason
Hello everyone, I've been using several Linux distributions, and writing user-space programs, for 15 years. I recently seized an opportunity to move into kernel development, mainly writing drivers for an ARM SoC, and I'm finding the transition harder than I expected. I'm having a hard time fin