public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Seidler <tetzlav-bXdiauyh1GQ7K2kJdssfr+TW4wlIGRCZ@public.gmane.org>
To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: MAX1236 with smbus (CS5536 ACB0)
Date: Wed, 15 Oct 2008 15:06:22 +0200	[thread overview]
Message-ID: <gd4psg$dql$1@ger.gmane.org> (raw)
In-Reply-To: <48F5CF88.2030500-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>

Jonathan Cameron schrieb:
> Andreas Seidler wrote:
>> Jonathan Cameron schrieb:
>>> A driver that should work with this chip is part of the
>>> iio subsystem, so I have a fair bit of familiarity (though
>>> only via 1238 rather than this exact model)
>> I found this subsystem too and its promising, but it depends on RTC with
>> periodic Interupts - and most of embedded hardware lacks of such RTCs.
> In current code periodic interrupts are only required if you want to use
> a polled ring buffer.  This is now a Kconfig option and if you turn it off
> you'll still have sysfs type interfaces for reading directly from the
> device.

if i disable "timer support within iio" and RTC-support in kernel i get
ERROR: "rtc_irq_set_state" [drivers/industrialio/industrialio.ko] undefined!
ERROR: "rtc_class_open" [drivers/industrialio/industrialio.ko] undefined!
ERROR: "rtc_irq_unregister" [drivers/industrialio/industrialio.ko] undefined!
ERROR: "rtc_irq_register" [drivers/industrialio/industrialio.ko] undefined!
ERROR: "rtc_irq_set_freq" [drivers/industrialio/industrialio.ko] undefined!
ERROR: "rtc_class_close" [drivers/industrialio/industrialio.ko] undefined!

my .config:
CONFIG_INDUSTRIALIO=m
CONFIG_INDUSTRIALIO_PTIMER_BOARDINFO=y
CONFIG_IIO_RING_BUFFER=y
# CONFIG_IIO_TIMERS is not set
CONFIG_IIO_SW_RING=m
#
# Accelerometers
#
CONFIG_LIS3L02DQ=m
#
# Analog to digital convertors
#
CONFIG_MAX1363=m
#
# Inertial Measurement Units
#
# CONFIG_ADIS16350 is not set

or do i get something wrong?


> A direct chrdev access to 'scan' the device is on the todo list,
> but isn't there yet.
> 
> Hopefully (after fighting with git this afternoon) I should shortly have
> a repository up so its easier for people to get the current code and to
> send patches against it.

sounds good!


Regards
Andreas


_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

  parent reply	other threads:[~2008-10-15 13:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13  1:20 MAX1236 with smbus (CS5536 ACB0) Andreas Seidler
     [not found] ` <48F2A270.8060307-bXdiauyh1GQ7K2kJdssfr+TW4wlIGRCZ@public.gmane.org>
2008-10-13  7:25   ` Jean Delvare
     [not found]     ` <20081013092548.3d58a320-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-13 11:11       ` Jonathan Cameron
     [not found]         ` <48F32CE9.8000109-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2008-10-15  1:13           ` Andreas Seidler
2008-10-15 11:10             ` Jonathan Cameron
     [not found]               ` <48F5CF88.2030500-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2008-10-15 13:06                 ` Andreas Seidler [this message]
2008-10-15 15:14                   ` Jonathan Cameron
     [not found]                     ` <48F608E7.9040309-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2008-10-15 17:23                       ` Andreas Seidler
2008-10-15  1:01       ` Andreas Seidler
2008-10-15  8:17         ` Jean Delvare
     [not found]           ` <20081015101736.34e1c11e-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-16 18:12             ` Andreas Seidler
2008-10-16 18:29               ` Marco Costa
2008-10-16 21:25             ` Jordan Crouse
2008-10-28 20:27         ` Michelle Konzack

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='gd4psg$dql$1@ger.gmane.org' \
    --to=tetzlav-bxdiauyh1gq7k2kjdssfr+tw4wligrcz@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox