From: mpeg.blue@free.fr (Mason)
To: linux-arm-kernel@lists.infradead.org
Subject: Looking for good references for ARM driver development
Date: Wed, 19 Nov 2014 18:19:27 +0100 [thread overview]
Message-ID: <546CD11F.6050502@free.fr> (raw)
In-Reply-To: <546CCBF6.7070607@gmail.com>
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 later, but I wanted to address this question.
We're targeting kernel 3.14.x
> This depends. If you have driver compiled in with the kernel this will happen
> on kernel boot up. If you have the driver as a loadable module, the probe hook
> will be called on modprobe or insmod.
Is this an answer to question 5?
I think there is some confusion with the "probe" terminology.
I meant "probe" as in "read the current value".
I think you mean "probe" as in "the driver probes for the device through
the probe method."
I meant to ask how often the hwmon framework "polls" the temperature sensor.
Regards.
WARNING: multiple messages have this Message-ID (diff)
From: Mason <mpeg.blue-GANU6spQydw@public.gmane.org>
To: Victor Ascroft <victorascroft-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Looking for good references for ARM driver development
Date: Wed, 19 Nov 2014 18:19:27 +0100 [thread overview]
Message-ID: <546CD11F.6050502@free.fr> (raw)
In-Reply-To: <546CCBF6.7070607-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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 later, but I wanted to address this question.
We're targeting kernel 3.14.x
> This depends. If you have driver compiled in with the kernel this will happen
> on kernel boot up. If you have the driver as a loadable module, the probe hook
> will be called on modprobe or insmod.
Is this an answer to question 5?
I think there is some confusion with the "probe" terminology.
I meant "probe" as in "read the current value".
I think you mean "probe" as in "the driver probes for the device through
the probe method."
I meant to ask how often the hwmon framework "polls" the temperature sensor.
Regards.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Mason <mpeg.blue@free.fr>
To: Victor Ascroft <victorascroft@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: Looking for good references for ARM driver development
Date: Wed, 19 Nov 2014 18:19:27 +0100 [thread overview]
Message-ID: <546CD11F.6050502@free.fr> (raw)
In-Reply-To: <546CCBF6.7070607@gmail.com>
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 later, but I wanted to address this question.
We're targeting kernel 3.14.x
> This depends. If you have driver compiled in with the kernel this will happen
> on kernel boot up. If you have the driver as a loadable module, the probe hook
> will be called on modprobe or insmod.
Is this an answer to question 5?
I think there is some confusion with the "probe" terminology.
I meant "probe" as in "read the current value".
I think you mean "probe" as in "the driver probes for the device through
the probe method."
I meant to ask how often the hwmon framework "polls" the temperature sensor.
Regards.
next prev parent reply other threads:[~2014-11-19 17:19 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-19 12:50 Looking for good references for ARM driver development Mason
2014-11-19 12:50 ` Mason
2014-11-19 12:50 ` Mason
2014-11-19 15:02 ` Andreas Färber
2014-11-19 15:02 ` Andreas Färber
2014-11-19 16:05 ` Mason
2014-11-19 16:05 ` Mason
2014-11-19 16:05 ` Mason
2014-11-20 9:18 ` Viresh Kumar
2014-11-20 9:18 ` Viresh Kumar
2014-11-20 9:18 ` Viresh Kumar
2014-11-20 14:33 ` Antony Pavlov
2014-11-20 14:33 ` Antony Pavlov
2014-11-20 14:33 ` Antony Pavlov
2014-11-19 16:57 ` Victor Ascroft
2014-11-19 16:57 ` Victor Ascroft
2014-11-19 16:57 ` Victor Ascroft
2014-11-19 17:19 ` Mason [this message]
2014-11-19 17:19 ` Mason
2014-11-19 17:19 ` Mason
2014-11-19 17:30 ` Victor Ascroft
2014-11-19 17:30 ` Victor Ascroft
2014-11-19 17:30 ` Victor Ascroft
2014-11-20 21:41 ` Mason
2014-11-20 21:41 ` Mason
2014-11-20 21:41 ` Mason
2014-11-21 6:00 ` Victor Ascroft
2014-11-21 6:00 ` Victor Ascroft
2014-11-21 6:00 ` Victor Ascroft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=546CD11F.6050502@free.fr \
--to=mpeg.blue@free.fr \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.