summaryrefslogtreecommitdiff
path: root/drivers/misc/modem_if
AgeCommit message (Collapse)AuthorFilesLines
2014-04-27misc: modem_if: fix section mismatch from tizen_modem.csubmit/tizen/20140429.051321accepted/tizen/mobile/20140702.072257accepted/tizen/common/20140429.090721MyungJoo Ham1-1/+1
A function, modem_probe, had __init while it was used by a struct that is not __init. Change-Id: Ib1571c89b4bfcebc58b2669b669bd4606d1922fa Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2014-04-25misc: modem_if: regress to old tizen modem driverChanho Park38-15222/+861
Tizen modem utility and xmm626x modem uses old style modem I/F. I brought the driver from linux-3.0 kernel[1] because the driver should be matched with telephony and modem-util package. Kamil brought the driver from linux-3.4-exynos, but the driver didn't match the current telephony daemon and modem util. Data communication didn't work with the driver. So, I decided to regress to old driver. Tizen Modem Team doesn't have any plan to update latest version of modem package. To maintain consistency of the interface, I picked the driver from linux-3.0 tree. [1] : https://review.tizen.org/gerrit/gitweb?p=kernel%2Flinux-3.0.git;a=summary Change-Id: I6123f4dc149dcc38e1ae339f950f94fdc0c033f9 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-04-24misc: modem_if: Use pinctrl to properly configure pinsTomasz Figa2-7/+24
Configuring an interrupt pin as output/input manually using gpio_direction_*() breaks interrupt settings and must not be done. This patch adds necessary code to enable pull-down for interrupt pin using pinctrl API instead of setting the pin to low output to fix issues with missing modem interrupts. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Change-Id: Ie56d84ace1941cef3199fea99d7eb907bb9b5c03
2014-04-21misc: modem_if: initialize gpio_link_enable if invalid gpioChanho Park1-1/+2
This patch fixes invalid gpio value caused by 47c53475 commit. The gpio_link_enable should be initialized to 0 if not provided Change-Id: Ie22a2a60a2b713a3be9f141a5dc5c71d4adeb667 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-04-18modem_if: Change hardcoded link enable gpio valueBeomho Seo1-7/+4
Currently, link enable gpio is hardecoded to zero. Zero equal gpa0-0 value. It is value for uart rxd line. If link enable gpio is unused, it is don't have to call gpio request. This patch change to set line enable gpio value optionally, and remove unused variable 'ret'. Change-Id: I4095d57d76362722abd5c5fd92ef529772680d97 Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
2014-03-20modem: sipc4: Chagne the manner of recieving data for FMT,RFS type deviceJonghwa Lee1-1/+25
When packet arrives, link device call iodev's helper function to recieve packets. The way of recieving data of IPC_FMT and IPC_RFS type iodevs differs from IPC_RAW and IPC_MULTI_RAW. This patch adds specified method of recieving data for FMT, RFS typed. This modification references TIZEN 2.2 kernel. Change-Id: I01efa7678bbabfbd1011ceba42571fc221313c4d Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20modem_if: Change net device name choice mechanismKamil Debski1-15/+5
CONFIG_SLP is no longer used hence new method of net device names was implemented. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: ifdef wake_lock support in the modem driverKamil Debski5-0/+20
Wake_locks are not supported outside of Android so it is essential to make their use optional. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: Move code from board-m0-modems.c to the xmm6262 driverKamil Debski2-10/+64
Moved code from the board file to the driver of the xmm6262 chip. Also handling of sim card detection has been commented out. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: Comment out enable_wake_irq in modem drivers (HSIC, xmm6262)Kamil Debski2-4/+5
Enabling the interrupt caused problem with the modem. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: Move code from board-m0-modems.c to the modem driverKamil Debski1-2/+239
Move modem related code from the board file to the modem driver. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: Modification of the modem driver to compile on the 3.8 kernelKamil Debski4-10/+12
The modem_if driver code was taken from 3.0 kernel and did not compile on 3.8. These changes are necessary to make the driver work. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: Remove linux/cma.h useKamil Debski1-1/+0
Remove linux/cma.h from modem_modemctl_device_xmm6262.c It wasn't used anyway and was included for linux/rbtree.h only. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-03-20modem_if: Add modem_if driver filesKamil Debski37-0/+21527
All files were taken from exynos3.4 kernel. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>