nit*_defconfig: remove CONFIG_INPUT_EVBUG

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nitrogen6q: move OV5640 MIPI to IPU1/CSI1

This patch moves the OV5640 MIPI camera to IPU1/CSI1 to allow
it to be used concurrently with the OV5640 or OV5640 parallel
cameras.

It does this in imx6q-nitrogen6x.dts so the MIPI camera can
still be used on "-Solo" and "-Dual-Lite" processors which only
have a single IPU.

Signed-off-by: Mahyar Yaghmaee <mahyar@boundarydevices.com>
mxc_lcdif: add okaya_480x272 panel settings
Merge pull request #11 from mpchst/boundary-imx_3.10.17_1.0.0_ga

mxc_lcdif: add okaya_480x272 panel settings
nit6xlite_defconfig: add LEDS_GPIO

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
sabrelite: configure ethernet PHY nRST

This patch adds a strong pullup to the PHY nRST pin, which
shouldn't be needed as long as GPIO3_23 remains an output,
and sets the drive strength to 40 ohms.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nitrogen6x: configure ethernet PHY nRST

This patch adds a strong pullup to the PHY nRST pin, which
shouldn't be needed as long as GPIO3_23 remains an output,
but you know: belt and suspenders.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nitrogen6_mtp: configure ethernet PHY nRST

This patch adds a strong pullup to the PHY nRST pin, which
shouldn't be needed as long as GPIO3_23 remains an output,
but you know: belt and suspenders.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nitrogen6_max: configure ethernet PHY nRST

This patch adds a strong pullup to the PHY nRST pin, which
shouldn't be needed as long as GPIO3_23 remains an output,
but you know: belt and suspenders.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nit6xlite: configure ethernet PHY nRST

This patch adds a strong pullup to the PHY nRST pin, which
shouldn't be needed as long as GPIO3_23 remains an output,
but you know: belt and suspenders.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nit6xlite: default to multi-touch input for eGalax, ft5x06

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nitrogen6x: default to multi-touch input for eGalax, ft5x06

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
nitrogen6x_ub: default to multi-touch input for eGalax, ft5x06

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Convert spinlock_t to raw_spinlock_t to fix following errors:

[  179.850582] BUG: sleeping function called from invalid context at kernel/rtmutex.c:659
[  179.850587] in_atomic(): 1, irqs_disabled(): 128, pid: 268, name: ip
[  179.850613] Preemption disabled at:[<802a0d8c>] pci_bus_read_config_word+0x48/0x90
[  179.850615]
[  179.850623] CPU: 1 PID: 268 Comm: ip Not tainted 3.10.17-rt12-02558-g6a5c2ca #13
[  179.850628] Backtrace:
[  179.850652] [<80011fbc>] (dump_backtrace+0x0/0x10c) from [<8001215c>] (show_stack+0x18/0x1c)
[  179.850663]  r6:807d8340 r5:00000000 r4:ac8ca000 r3:00000000
[  179.850683] [<80012144>] (show_stack+0x0/0x1c) from [<805beb18>] (dump_stack+0x20/0x28)
[  179.850703] [<805beaf8>] (dump_stack+0x0/0x28) from [<800519f0>] (__might_sleep+0xe4/0x154)
[  179.850717] [<8005190c>] (__might_sleep+0x0/0x154) from [<805c1d1c>] (rt_spin_lock+0x24/0x30)
[  179.850727]  r7:00000000 r6:00000000 r5:ac2a0030 r4:ac2a0070
[  179.850749] [<805c1cf8>] (rt_spin_lock+0x0/0x30) from [<802b4a40>] (dw_pcie_rd_conf+0x80/0x114)
[  179.850755]  r4:ac26fc00 r3:00000001
[  179.850769] [<802b49c0>] (dw_pcie_rd_conf+0x0/0x114) from [<802a0db4>] (pci_bus_read_config_word+0x70/0x90)
[  179.850782] [<802a0d44>] (pci_bus_read_config_word+0x0/0x90) from [<802a196c>] (pcie_capability_read_word+0x58/0x8c)
[  179.850790]  r6:00000010 r5:00000000 r4:ac8cb986
[  179.850832] [<802a1914>] (pcie_capability_read_word+0x0/0x8c) from [<7f045470>] (iwl_pcie_apm_init+0x98/0x1d0 [iwlwifi])
[  179.850846]  r8:00000001 r7:ac14f568 r6:ac14e540 r5:ac14c000 r4:ac14c000
[  179.850846] r3:000019b4
[  179.850880] [<7f0453d8>] (iwl_pcie_apm_init+0x0/0x1d0 [iwlwifi]) from [<7f045f30>] (iwl_trans_pcie_start_hw+0x28/0xe8 [iwlwifi])
[  179.850886]  r5:ac14c000 r4:ac14f568
[  179.850936] [<7f045f08>] (iwl_trans_pcie_start_hw+0x0/0xe8 [iwlwifi]) from [<7f0b3664>] (iwl_mvm_up+0x38/0x1a4 [iwlmvm])
[  179.850945]  r6:ac14e540 r5:ac14c000 r4:ac14f568
[  179.850975] [<7f0b362c>] (iwl_mvm_up+0x0/0x1a4 [iwlmvm]) from [<7f0b49d0>] (iwl_mvm_mac_start+0xd0/0xec [iwlmvm])
[  179.850983]  r6:ac14e540 r5:ac14f580 r4:ac14f560
[  179.851074] [<7f0b4900>] (iwl_mvm_mac_start+0x0/0xec [iwlmvm]) from [<7f07481c>] (ieee80211_do_open+0x324/0xa28 [mac80211])
[  179.851087]  r8:00000001 r7:ac66602c r6:ac14e540 r5:ac666000 r4:ac666588
[  179.851087] r3:7f0b4900
[  179.851158] [<7f0744f8>] (ieee80211_do_open+0x0/0xa28 [mac80211]) from [<7f074f90>] (ieee80211_open+0x70/0x7c [mac80211])
[  179.851201] [<7f074f20>] (ieee80211_open+0x0/0x7c [mac80211]) from [<804e117c>] (__dev_open+0xa8/0x104)
[  179.851208]  r4:ac666000 r3:7f074f20
[  179.851219] [<804e10d4>] (__dev_open+0x0/0x104) from [<804e13c8>] (__dev_change_flags+0x84/0x13c)
[  179.851228]  r7:00000001 r6:00001002 r5:00001003 r4:ac666000
[  179.851238] [<804e1344>] (__dev_change_flags+0x0/0x13c) from [<804e14fc>] (dev_change_flags+0x18/0x50)
[  179.851247]  r7:ac8cbb4c r6:ac666000 r5:00001002 r4:ac666000
[  179.851258] [<804e14e4>] (dev_change_flags+0x0/0x50) from [<804ee6f0>] (do_setlink+0x220/0x820)
[  179.851268]  r6:ac666000 r5:ac8cbc20 r4:acc92210 r3:00000001
[  179.851277] [<804ee4d0>] (do_setlink+0x0/0x820) from [<804efaa0>] (rtnl_newlink+0x2b0/0x440)
[  179.851286] [<804ef7f0>] (rtnl_newlink+0x0/0x440) from [<804ef728>] (rtnetlink_rcv_msg+0x124/0x1ec)
[  179.851298] [<804ef604>] (rtnetlink_rcv_msg+0x0/0x1ec) from [<804fae44>] (netlink_rcv_skb+0xc4/0xe0)
[  179.851307]  r7:ac8cbcdc r6:804ef604 r5:ac788300 r4:acc92200
[  179.851316] [<804fad80>] (netlink_rcv_skb+0x0/0xe0) from [<804ee3c0>] (rtnetlink_rcv+0x24/0x2c)
[  179.851326]  r6:ac788300 r5:ac8fdc00 r4:ac788300 r3:804ee39c
[  179.851335] [<804ee39c>] (rtnetlink_rcv+0x0/0x2c) from [<804fa87c>] (netlink_unicast+0x14c/0x1ac)
[  179.851341]  r4:ac140800 r3:804ee39c
[  179.851350] [<804fa730>] (netlink_unicast+0x0/0x1ac) from [<804fac1c>] (netlink_sendmsg+0x298/0x300)
[  179.851368] [<804fa984>] (netlink_sendmsg+0x0/0x300) from [<804ca104>] (sock_sendmsg+0x80/0xa0)
[  179.851379] [<804ca084>] (sock_sendmsg+0x0/0xa0) from [<804ca78c>] (___sys_sendmsg+0x2b4/0x2cc)
[  179.851388]  r7:aa015f80 r6:ac8ca000 r5:ac8cbeb8 r4:ac8cbf54
[  179.851401] [<804ca4d8>] (___sys_sendmsg+0x0/0x2cc) from [<804cc364>] (__sys_sendmsg+0x44/0x70)
[  179.851412] [<804cc320>] (__sys_sendmsg+0x0/0x70) from [<804cc3a0>] (SyS_sendmsg+0x10/0x14)
[  179.851420]  r6:00000003 r5:7ed325ac r4:00000000
[  179.851433] [<804cc390>] (SyS_sendmsg+0x0/0x14) from [<8000e480>] (ret_fast_syscall+0x0/0x30)
CAAM: fix uninitialized spinlock issue:

[    2.965195] BUG: spinlock bad magic on CPU#1, swapper/0/1
[    2.965206]  lock: 0xac4a4e80, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[    2.965215] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.10.17-rt12-02558-g6a5c2ca #13
[    2.965220] Backtrace:
[    2.965248] [<80011fbc>] (dump_backtrace+0x0/0x10c) from [<8001215c>] (show_stack+0x18/0x1c)
[    2.965260]  r6:ac05e000 r5:ac4a4e80 r4:00000000 r3:00000000
[    2.965281] [<80012144>] (show_stack+0x0/0x1c) from [<805beb18>] (dump_stack+0x20/0x28)
[    2.965293] [<805beaf8>] (dump_stack+0x0/0x28) from [<805beba0>] (spin_dump+0x80/0x94)
[    2.965304] [<805beb20>] (spin_dump+0x0/0x94) from [<805bebe0>] (spin_bug+0x2c/0x30)
[    2.965310]  r5:80707364 r4:ac4a4e80
[    2.965325] [<805bebb4>] (spin_bug+0x0/0x30) from [<8028aef0>] (do_raw_spin_lock+0x174/0x1a0)
[    2.965331]  r5:ac05fdc0 r4:ac4a4e80
[    2.965345] [<8028ad7c>] (do_raw_spin_lock+0x0/0x1a0) from [<805c2100>] (_raw_spin_lock+0x20/0x24)
[    2.965355] [<805c20e0>] (_raw_spin_lock+0x0/0x24) from [<805c185c>] (rt_spin_lock_slowlock+0x48/0x24c)
[    2.965362]  r4:ac4a4e80 r3:00000001
[    2.965371] [<805c1814>] (rt_spin_lock_slowlock+0x0/0x24c) from [<805c1d24>] (rt_spin_lock+0x2c/0x30)
[    2.965383] [<805c1cf8>] (rt_spin_lock+0x0/0x30) from [<80484f20>] (sm_keystore_slot_alloc+0x34/0x8c)
[    2.965389]  r4:ac4a4e80 r3:00000000
[    2.965399] [<80484eec>] (sm_keystore_slot_alloc+0x0/0x8c) from [<804854cc>] (caam_sm_example_init+0x1e8/0x1c48)
[    2.965411] [<804852e4>] (caam_sm_example_init+0x0/0x1c48) from [<807ba0b0>] (caam_sm_test_init+0x4c/0x64)
[    2.965420] [<807ba064>] (caam_sm_test_init+0x0/0x64) from [<8000862c>] (do_one_initcall+0x3c/0x160)
[    2.965440] [<800085f0>] (do_one_initcall+0x0/0x160) from [<80795c1c>] (kernel_init_freeable+0x104/0x1d0)
[    2.965451] [<80795b18>] (kernel_init_freeable+0x0/0x1d0) from [<805b59e8>] (kernel_init+0x10/0xec)
[    2.965462] [<805b59d8>] (kernel_init+0x0/0xec) from [<8000e518>] (ret_from_fork+0x14/0x3c)
[    2.965468]  r4:00000000 r3:00000000
Fix illegall disabling interrupt issue.

RT-Preempt Patch converts interrupt handlers to threaded interrupt handlers.
So handle_irq_event_percpu may not be called in hard-irq context.

[    8.691685] ------------[ cut here ]------------
[    8.696360] WARNING: at kernel/irq/handle.c:148 handle_irq_event_percpu+0x190/0x1b0()
[    8.704272] irq 384 handler iwl_pcie_isr_ict+0x0/0x2f4 [iwlwifi] enabled interrupts
[    8.706021] ov5640_read_reg(mipi):reg=300a ret=-5
[    8.706025] camera ov5640_mipi is not found
[    8.720914] Modules linked in: ov5642_camera(+) ov5640_camera_mipi mxc_v4l2_capture ipu_fg_overlay_sdc ipu_csi_enc ipu_prp_enc ov5640_camera ipu_still v4l2_int_device ipu_bg
[    8.742568] CPU: 1 PID: 68 Comm: irq/152-imx6q-p Not tainted 3.10.17-rt12-02557-g891586c #11
[    8.751031] Backtrace:
[    8.753556] [<80011b54>] (dump_backtrace+0x0/0x10c) from [<80011cf4>] (show_stack+0x18/0x1c)
[    8.762017]  r6:00000094 r5:8007beb8 r4:ac27de20 r3:00000000
[    8.767867] [<80011cdc>] (show_stack+0x0/0x1c) from [<805b80c4>] (dump_stack+0x20/0x28)
[    8.775909] [<805b80a4>] (dump_stack+0x0/0x28) from [<8002732c>] (warn_slowpath_common+0x54/0x70)
[    8.784813] [<800272d8>] (warn_slowpath_common+0x0/0x70) from [<800273ec>] (warn_slowpath_fmt+0x38/0x40)
[    8.794313]  r8:ac196840 r7:00000180 r6:00000000 r5:00000002 r4:ac68b540
r3:00000009
[    8.802375] [<800273b4>] (warn_slowpath_fmt+0x0/0x40) from [<8007beb8>] (handle_irq_event_percpu+0x190/0x1b0)
[    8.812310]  r3:00000180 r2:806db15c
[    8.815984] [<8007bd28>] (handle_irq_event_percpu+0x0/0x1b0) from [<8007bf54>] (handle_irq_event+0x7c/0xa4)
[    8.825757] [<8007bed8>] (handle_irq_event+0x0/0xa4) from [<8007e808>] (handle_simple_irq+0x78/0xec)
[    8.834910]  r5:00000000 r4:ac196840
[    8.838585] [<8007e790>] (handle_simple_irq+0x0/0xec) from [<8007b708>] (generic_handle_irq+0x28/0x38)
[    8.847913]  r4:00000180 r3:8007e790
[    8.851596] [<8007b6e0>] (generic_handle_irq+0x0/0x38) from [<802b1a88>] (dw_handle_msi_irq+0x58/0x80)
[    8.860923]  r4:ac25fa30 r3:ac224300
[    8.864597] [<802b1a30>] (dw_handle_msi_irq+0x0/0x80) from [<802b1f44>] (imx_pcie_msi_irq_handler+0x14/0x1c)
[    8.874445]  r5:ac0113c0 r4:ac225940
[    8.878120] [<802b1f30>] (imx_pcie_msi_irq_handler+0x0/0x1c) from [<8007cd7c>] (irq_forced_thread_fn+0x28/0x6c)
[    8.888237] [<8007cd54>] (irq_forced_thread_fn+0x0/0x6c) from [<8007cb08>] (irq_thread+0x124/0x190)
[    8.897305]  r6:00000001 r5:ac225960 r4:ac27c000 r3:00000004
[    8.903130] [<8007c9e4>] (irq_thread+0x0/0x190) from [<80046c20>] (kthread+0xa4/0xac)
[    8.910993] [<80046b7c>] (kthread+0x0/0xac) from [<8000e458>] (ret_from_fork+0x14/0x3c)
[    8.919019]  r7:00000000 r6:00000000 r5:80046b7c r4:ac05dcbc
[    8.924832] ---[ end trace 0000000000000002 ]---
Merge remote-tracking branch 'upstream/boundary-imx_3.10.17_1.0.0_ga' into boundary-wand-imx_3.10.17_1.0.0_ga-rt