ALT Linux architecture porting
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Dmitry Alexeev <alexeev6@yahoo.com>,
	ALT Linux arch porting <devel-ports@lists.altlinux.org>
Cc: "hardware@lists.altlinux.org" <hardware@lists.altlinux.org>
Subject: Re: [devel-ports] Драйверы и устройства на i2c шине.
Date: Mon, 23 Apr 2012 14:36:41 +0300
Message-ID: <20120423113641.GA4448@shutemov.name> (raw)
In-Reply-To: <1335171277.36392.YahooMailNeo@web44905.mail.sp1.yahoo.com>

On Mon, Apr 23, 2012 at 01:54:37AM -0700, Dmitry Alexeev wrote:
> Модули, на первый взгляд, подозрений не вызвали, в /sys/module/ они
> видны, а вот соответствующие устройства, не появились.
> Что ещё необходимо сделать для установления нормальной работы с этими
> устройствами?

Шина i2c не поддерживает энумерацию устройств. Драйверу каким-то образом
нужно рассказать какие устройства весят на каких поратах и прочие
подробности.

До недавнего времени, на ARM такая информация предоставлялась через
регистрацию соответвующего platform_device с необходимыми данными в
board-файле.

Для ваших сенсоров можете посмотреть пример в
arch/arm/mach-ux500/board-mop500-sensors.c

Сейчас идёт активное внедрение devicetree вместо board-файлов. Если есть
желание заапстримить поддержку вашего устройства -- обратите внимание на
deivcetree.

-- 
 Kirill A. Shutemov


  parent reply	other threads:[~2012-04-23 11:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23 10:25 ` [devel-ports] [Hardware] " Michael Shigorin
2012-04-23 11:13     ` Michael Shigorin
2012-04-23 11:36 ` Kirill A. Shutemov [this message]
2012-04-24  3:34   ` [devel-ports] " Ildar Mulyukov
2012-04-24  6:59     ` Kirill A. Shutemov
2012-05-03 16:14     ` [devel-ports] Внешние UART 16C554 на AT91 Kirill A. Shutemov
2012-05-04 18:41       ` Ildar Mulyukov
2012-05-04 19:12     ` Paul Wolneykien

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=20120423113641.GA4448@shutemov.name \
    --to=kirill@shutemov.name \
    --cc=alexeev6@yahoo.com \
    --cc=devel-ports@lists.altlinux.org \
    --cc=hardware@lists.altlinux.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

ALT Linux architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-ports


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git