tag:blogger.com,1999:blog-414920858677325564.post3346431566202659807..comments2024-03-28T04:41:13.065+00:00Comments on Embedded Linux... : Platform Device Driver - a practical approach - 1Anonymoushttp://www.blogger.com/profile/02949989525262543022noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-414920858677325564.post-19731516625325899062018-10-29T09:41:14.827+00:002018-10-29T09:41:14.827+00:00Hi I am trying to adding new device like NFC its c...Hi I am trying to adding new device like NFC its communication protocol is I2c.My proble is for ARM board we have DTS folder to add hardware information for X86 boards where to add and how to add Hardware information.Please help me.<br />Anonymoushttps://www.blogger.com/profile/17153590067140041898noreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-32049448735440648232018-10-29T09:40:42.654+00:002018-10-29T09:40:42.654+00:00Hi I am trying to adding new device like NFC its c...Hi I am trying to adding new device like NFC its communication protocol is I2c.My proble is for ARM board we have DTS folder to add hardware information for X86 boards where to add and how to add Hardware information.Please help me. Anonymoushttps://www.blogger.com/profile/17153590067140041898noreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-80461259689762001662016-07-07T13:21:49.244+01:002016-07-07T13:21:49.244+01:00Hi Sorry for late reply.
Probe will be executed w...Hi Sorry for late reply.<br /><br />Probe will be executed when it matches with platform_device. I don't have much idea about device tree. Possibly the problem is fixed now I hope.Anonymoushttps://www.blogger.com/profile/02949989525262543022noreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-54810840657392078232016-06-08T16:28:25.153+01:002016-06-08T16:28:25.153+01:00Here is an similar example. http://lxr.free-electr...Here is an similar example. http://lxr.free-electrons.com/source/drivers/scsi/3w-xxxx.c#L2341<br /><br />In the above driver, a char driver is registered from probe() function.<br /><br />Most of SOC drivers developed will be combination of platform and char drivers.Anonymoushttps://www.blogger.com/profile/02949989525262543022noreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-6257892330975344152016-04-09T02:14:53.458+01:002016-04-09T02:14:53.458+01:00Hi jey Jay,
Can you mention some example of using...Hi jey Jay,<br /><br />Can you mention some example of using ioctls() to communicate with platform driver?<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/03766920265155655189noreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-31949179162644972212015-10-27T14:37:48.704+00:002015-10-27T14:37:48.704+00:00Hi ,I need ur help, I am beginner in embedded linu...Hi ,I need ur help, I am beginner in embedded linux. I am using beagle bone black debian 3.8.13 Bone 47. I have connected external i2c touch screen controller with beagle bone. touch screen controller is edt-ft5x06. I have created dts file and mapped i2c1 with edt-ft5x06. Interrupts pin for edt-ft5x06 also mapped. I have echoed this dtb file to kernel. <br />One more point is edt-ft5x06.ko module not loaded during boot. So i loaded by insmod command. Now i can see my edt-ft module inside /proc/modules. But probe function of edt-ft5x06 module is not executed and interrupt pins are not registred in /proc/interrupts. What I m doing wrong, can u please help me ?<br />Please tell me when probe function will be executed? Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-73596799892233754982015-05-19T11:28:59.307+01:002015-05-19T11:28:59.307+01:00For exposing to user space, platform driver should...For exposing to user space, platform driver should register as char driver as well. So ioctls() will allow to communicate with platform driver.Anonymoushttps://www.blogger.com/profile/02949989525262543022noreply@blogger.comtag:blogger.com,1999:blog-414920858677325564.post-6786422963495203902015-04-14T14:08:06.788+01:002015-04-14T14:08:06.788+01:00https://github.com/jeyaramvrp/kernel-module-progra...https://github.com/jeyaramvrp/kernel-module-programming/tree/master/sample-char-dirAnonymoushttps://www.blogger.com/profile/02949989525262543022noreply@blogger.com