Commit Graph
336934 Commits
Author SHA1 Message Date
David Collins fcd82b397a bif: bif-core: use static inline for all exported BIF stub functions
Mark all stub functions in the BIF consumer.h header file with
'static inline' in order to avoid compilation errors in files
that include consumer.h when CONFIG_BIF=n.

Change-Id: I3a5c7dc58f8eed93b1f30d0e021b65ab200b4271
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-14 10:15:07 -07:00
David Collins 2990102b94 bif: qpnp-bsi: move BSI error and flag clearing to immediately before TX
Move functions calls which clear PMIC BSI hardware errors and
reset IRQ flags to immediately before BIF transmit calls.  This
ensures that the BSI RX and TX blocks are in the correct state
before errors are cleared.

Change-Id: Id266f076968d48484a9366274d30e8ff6f47dc23
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-14 10:15:05 -07:00
David Collins 5aefcd95ac bif: qpnp-bsi: eliminate redundant RBL1 command during register read
When performing a BIF slave register read of a single register
there is no need to specify a burst read length of 1.  All reads
are assumed to be of length 1 unless specified otherwise.
Therefore, remove the redundant RBL1 BIF bus command.

Change-Id: I000637a4bec5f6d2c9b48fa848c63779745b662a
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-14 10:15:03 -07:00
David Collins 9941f40b25 bif: qpnp-bsi: correct maximum transaction delay time
The value QPNP_BSI_MAX_TRANSMIT_CYCLES is used to define the
timeout interval when sending or receiving BIF data words.
The MIPI-BIF specification allows for some skew in the length
of bits received from a slave.  A '1' can take up to 3.5 tau_bif
and a '0' can take up to 1.5 tau_bif.  Therefore, the maximum word
transmission time can be calculated as follows.

max-transmission-time =
= n(1)_max * t(1)_max + (17 - n(1)_max) * t(0)_max + t(stop)_min
= 8 * 3.5 tau_bif + 9 * 1.5 tau_bif + 4.5 tau_bif
= 46 tau_bif

Change QPNP_BSI_MAX_TRANSMIT_CYCLES to 46 in order to match the
value calculated from the MIPI-BIF specification.

Change-Id: Ibb199b54c99cc2de29ae54f6f891a667a30213b2
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-14 10:15:01 -07:00
David Collins a984d9e154 bif: bif-core: fall back on time-invariant transactions for read and write
Fall back and use time-invariant individual transactions for BIF
slave register read and write operations if high level read or
write controller callback functions fail.

Change-Id: Ieaf479717383719dc1f5b94cc4be72f2e8901127
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-14 10:14:59 -07:00
David Collins 5a90ae9a1c bif: bif-core: parse secondary slave data
Ensure that BIF data of secondary slaves is parsed when selecting
the secondary slaves based on a BIF secondary slave object read
out of the primary slave.

Change-Id: Id0daceb37c5c052fd149cd7f8015bb54e5b425fb
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-14 10:14:57 -07:00
Linux Build Service Account 29f6c83c6d Merge "input: touchscreen: add multiple config data support for GT9xx" 2013-10-14 06:30:35 -07:00
Linux Build Service Account aafa15ab95 Merge "input: touchscreen: Use proper conventional functions for debug" 2013-10-14 06:30:35 -07:00
Linux Build Service Account c746a798d7 Merge "input: touchscreen: Add dynamic detection support to Goodix driver" 2013-10-14 06:30:34 -07:00
Linux Build Service Account 6e6986d08b Merge "ASoC: wcd9xxx: Register callback for external micbias" 2013-10-14 04:50:32 -07:00
Linux Build Service Account aa63b43fa7 Merge "ASoC: msm: qdsp6v2: Copy frame data based on frame length" 2013-10-14 04:50:21 -07:00
Linux Build Service Account dd3019f2d3 Merge "ASoC: msm: 8226: Fix button detection voltage thresholds" 2013-10-14 04:50:11 -07:00
Bingzhe Cai 15d144659f input: touchscreen: add multiple config data support for GT9xx
Goodix GT9xx touchscreen driver supports up to six groups of config
data and uses hardware GPIO configuration to select which one will
be used. This change allows these six config groups to be loaded
from devicetree.

Change-Id: I9dfd698e7084164688dd964ed914d5eecc75ecd3
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-10-14 17:19:29 +08:00
Shantanu Jain 7dc2b470a6 input: touchscreen: Use proper conventional functions for debug
Replace non-standard debug function with the conventional
functions in Goodix driver. And remove unnecessary debug
function used in Goodix driver.

Change-Id: Ia89d225333c1309710aab67b9c406784567e3050
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-10-14 17:09:42 +08:00
Shantanu Jain 3f80befce8 input: touchscreen: Add dynamic detection support to Goodix driver
Add dynamic detection support to goodix driver, where
the driver tries to read the chip id and make sure
it is communicating with the right chip.

gtp_read_version is modified to gtp_read_fw_version
which reads the firmware version from the controller
and will be used during fw update process.

CRs-fixed: 538818
Change-Id: I2dc51b84f817413da6bf9b266e2fe7e0bb09c4bc
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-10-14 17:07:20 +08:00
Linux Build Service Account fe4be60c9a Merge "defconfig: msm8610: enable Qualcomm NFC NCI driver" 2013-10-14 00:00:39 -07:00
Linux Build Service Account 16116c6ae3 Merge "msm: clock-8610: Update lookup table for NFC clocks" 2013-10-14 00:00:38 -07:00
Linux Build Service Account 35ba5fd71b Merge "msm: 8610: gpiomux: Configure nfc gpio clock source" 2013-10-14 00:00:37 -07:00
Linux Build Service Account 0536223363 Merge "ARM: dts: msm: Add NFC device for msm8610" 2013-10-14 00:00:36 -07:00
Linux Build Service Account 2197cd2e58 Merge "ARM: dts: msm: Support APQ8074Pro-AA on the 8974Pro-AB CDP" 2013-10-14 00:00:26 -07:00
Linux Build Service Account 85d6a3ba10 Merge "ARM: dts: msm8226: Add skuf pvt device tree" 2013-10-14 00:00:15 -07:00
Linux Build Service Account 797b9e2290 Merge "ARM: dts: msm8226: Add common dts file for qrd skuf" 2013-10-14 00:00:15 -07:00
Linux Build Service Account 38564b755d Merge "qseecom: Fix issues with failure to release client handle" 2013-10-13 22:00:45 -07:00
Linux Build Service Account 7d5378ffde Merge "qseecom: Add frequency scaling in send_service_cmd()" 2013-10-13 22:00:26 -07:00
Linux Build Service Account 6a13cf4097 Merge "qseecom: Check for invalid registration of secapp region" 2013-10-13 22:00:00 -07:00
Simmi Pateriya faf0429670 ASoC: wcd9xxx: Register callback for external micbias
Even if external micbias is used for recording, callback
needs to be registered to setup for recording. Register
same callback as used with internal micbias.

CRs-Fixed: 550513
Change-Id: If7f606f265d46aa20a29fc97afd2468e7fe97379
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
2013-10-13 19:52:51 -07:00
Linux Build Service Account 1f660587d4 Merge "ASoC: wcd9xxx: Avoid plug type re-determination" 2013-10-12 08:32:12 -07:00
Linux Build Service Account 7cff7f15ea Merge "ARM: dts: msm: enable ovp monitor for 8226 qrd" 2013-10-12 06:55:19 -07:00
Linux Build Service Account 028e000886 Merge "power: qpnp-charger: add charger OVP status monitor" 2013-10-12 06:55:18 -07:00
Linux Build Service Account b2ce96bb22 Merge "qdsp6v2: Fix access issues in adsp loader." 2013-10-11 19:38:40 -07:00
Linux Build Service Account 1f6c713d4e Merge "ASoC: msm: Add missing backends for Multimedia4" 2013-10-11 17:41:27 -07:00
Linux Build Service Account 9404625026 Merge "msm: mdss: initialize pipe to NULL" 2013-10-11 15:16:02 -07:00
Linux Build Service Account a2f617203b Merge "ASoC: msm: qdsp6v2: Avoid double free of hw_delay structure" 2013-10-11 15:15:43 -07:00
Linux Build Service Account 96a98335a0 Merge "qseecom: Change __copy_from_user to copy_from_user" 2013-10-11 15:15:31 -07:00
Linux Build Service Account 1efe98d464 Merge "power: qpnp-bms: fix boot time iavg calculation algorithm" 2013-10-11 15:15:19 -07:00
Linux Build Service Account f9f2a6dd19 Merge "power: qpnp-bms: improve the range of shutdown iavg" 2013-10-11 15:15:17 -07:00
Linux Build Service Account dfd1d13100 Merge "ARM: dts: msm: Add CX regulator Phandle to MDP node" 2013-10-11 15:14:59 -07:00
Linux Build Service Account e6f51b016a Merge "msm: mdss: Configure minimum voltage for CX power rail" 2013-10-11 15:14:58 -07:00
Linux Build Service Account 1f1acf08cf Merge "Revert "msm: pm-8x60: Don't save or restore GIC,VFP state in power collapse"" 2013-10-11 15:14:46 -07:00
Linux Build Service Account f2c89506e3 Merge "Revert "msm: iomap: Remove GIC mappings for device tree targets"" 2013-10-11 15:14:45 -07:00
Linux Build Service Account d76015180c Merge "msm: camera: Enabling all CSI clocks for ISPIF hw reset." 2013-10-11 08:19:28 -07:00
Linux Build Service Account 46093ef44b Merge "ARM: dts: msm: Add entry for relocatable pil heaps for apq8074" 2013-10-11 03:32:55 -07:00
Linux Build Service Account 5f948d6c77 Merge "ARM: dts: msm: Update palladium 1500mAh batterydata" 2013-10-11 03:31:57 -07:00
Linux Build Service Account 373a1150b2 Merge "ARM: dts: msm: Add battery device tree data for MTPs" 2013-10-11 03:31:56 -07:00
Linux Build Service Account 53022dcc35 Merge "msm: kgsl: Change the order of GPU global mappings" 2013-10-11 03:31:42 -07:00
AnilKumar Chimata 80f1d1bd4b qseecom: Add frequency scaling in send_service_cmd()
Addes DFAB and SFAB bus frequency scaling in qseecom send_service
command function. This is required for RPMB listener services

Change-Id: I7496dfafe1fa571de68b30529ee6db49c8200232
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2013-10-11 03:10:13 -07:00
Mona Hossain 32deb98d2d qseecom: Check for invalid registration of secapp region
Check the validity of response result field returned by QSEE
when issuing a request to register the secure app region
information.

Change-Id: Idc5ee7cf3c0a25ca37f23ef9d1718fdb05af6533
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
2013-10-11 03:05:31 -07:00
Linux Build Service Account 90f1544e06 Merge "ASoC: msm: qdsp6v2: Initialize local variable output_meta_data" 2013-10-10 16:46:08 -07:00
Linux Build Service Account b8b1c49292 Merge "net: change error print messages to generate warnings" 2013-10-10 16:45:58 -07:00
Linux Build Service Account 664627aa29 Merge "mdss: mdp3: Add underrun counter to debugfs stat call" 2013-10-10 16:45:50 -07:00