LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2018, 01:04 PM   #1
d3adwood
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
Custom Kernel Module: How may I access my ADC (mcp3208) via SPI within my custom driver?


I've created my own dts to map the mcp320x protocol driver to iio device.
I have already access and can read the values from userspace. But I need access within my linux controller driver(within kernel space).

Which linux kernel API and functions should I use to claim a ref* ?

Thanks in advanced!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom kernel module on start-up dipuasks Linux - Server 2 01-21-2013 09:05 PM
Creating custom headers to match a custom kernel utanja Debian 2 06-08-2007 03:15 PM
Custom kernel image on custom slack build using CUSS nykey Slackware 2 07-15-2006 03:05 AM
Custom 2.6.10 kernel, how can I tell which NIC module I'm using? lowpro2k3 Slackware 2 01-10-2005 06:47 PM
custom geforce video card--custom module? bandofmercy Linux - Hardware 3 10-14-2004 06:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration