Commit graph

582875 commits

Author SHA1 Message Date
Linux Build Service Account
a080820a1b Merge "ARM: dts: msm: Add revid phandle to read FAB ID for PM660" 2017-02-03 14:56:13 -08:00
Linux Build Service Account
1b987b844b Merge "ARM: dts: msm: modify dcc ram size for sdm660" 2017-02-03 14:56:12 -08:00
Linux Build Service Account
318086fc43 Merge "ath10k: Populate HW params, WMI and HTT versions for WCN3990" 2017-02-03 14:56:12 -08:00
Sreelakshmi Gownipalli
837039b26f diag: Do not close MHI channels when usb is disconnected
Do not close MHI channels when usb is disconnected and a process
is running in memory device mode.

Change-Id: I043fc25542e432a9fa294d4f433945718b2e5878
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2017-02-03 14:43:16 -08:00
David Collins
ce39257f1e regulator: qpnp-oledb-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Update the REGULATOR_QPNP_OLEDB Kconfig option.

Change-Id: I75f4a5868f98f7090baa0dc77da8923c1d789d3a
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:18 -08:00
David Collins
62869dea24 regulator: qpnp-lcdb-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Update the REGULATOR_QPNP_LCDB Kconfig option.

Change-Id: I9b9324f205481dd91f0db39f2c4ac309105cb556
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:17 -08:00
David Collins
decdf60c66 regulator: qpnp-labibb-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Remove unnecessary out-of-memory error messages.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Use variable name in sizeof() for devm_kzalloc() call.

 - Update the REGULATOR_QPNP_LABIBB Kconfig option.

Change-Id: Id98fed6b3c460d6f4282eab88cebdc8b2bd9bf2e
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:16 -08:00
David Collins
8ef7a9ac26 leds: leds-qpnp-wled: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Use octal file permissions instead of symbolic.

 - Replace sscanf() for a single integer with kstrtoint().

 - Update the LEDS_QPNP_WLED Kconfig entry to use the name
   'Qualcomm Technologies, Inc.'

 - Expand the description of the LEDS_QPNP_WLED config
   option.

Change-Id: I848983cd7beeb1a41191aba94fc8b33ce45fb2bc
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:15 -08:00
David Collins
a0b77a2163 leds: leds-qpnp-flash-v2: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Add a comment explaining the strncmp() usage.

 - Update the LEDS_QPNP_FLASH_V2 Kconfig entry to use the
   name 'Qualcomm Technologies, Inc.'

 - Expand the description of the LEDS_QPNP_FLASH_V2 config
   option.

Change-Id: I18f49e3c56bfc7ad6770f4f9dc508ad8331af0d4
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:14 -08:00
David Collins
ea2ccd6226 leds: leds-qpnp-flash: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Use octal file permissions instead of symbolic.

 - Remove unnecessary out-of-memory error messages.

 - Use variable name in sizeof() for kzalloc() calls.

 - Restructure conditionals to avoid else after return.

 - Remove 'return' from the end of void functions.

 - Correct the format of block comments.

 - Correct the spelling of 'cannot'.

 - Update the LEDS_QPNP_FLASH Kconfig entry to use the name
   'Qualcomm Technologies, Inc.'

 - Expand the description of the LEDS_QPNP_FLASH config
   option.

Change-Id: I342fe2d0e6a027c87cd17a3697529b422ec49ab6
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:13 -08:00
David Collins
e51b33d808 leds: leds-qpnp: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Remove unnecessary out-of-memory error messages.

 - Restructure conditionals to avoid else after return.

 - Replace kzalloc() with kcalloc() for arrays.

 - Replace strncmp() with strcmp().

 - Join strings that are wrapped across two lines.

 - Correct the format of block comments.

 - Remove 'return' from the end of void functions.

 - Remove unnecessary parentheses.

 - Remove unnecessary line continuations.

 - Call usleep_range() with max > min.

 - Update the LEDS_QPNP Kconfig entry and the device tree
   documentation to use the name: 'Qualcomm Technologies, Inc.'

 - Expand the description of the LEDS_QPNP config option.

 - Correct the spelling of 'controlled'.

Change-Id: Id29de0da18aa1ce75a0c7604b8c0ecd1633fcaf3
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:12 -08:00
David Collins
16655a9266 leds: remove duplicate QPNP Kconfig options and fix LEDS_POWERNV
Remove the duplicate Kconfig options for LEDS_QPNP,
LEDS_QPNP_FLASH, and LEDS_QPNP_WLED.  Also fix the help text
for LEDS_POWERNV which was associated with LEDS_QPNP_WLED.

Change-Id: I11cc6b30280c4e2e1f33720308353ba746c5612a
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:11 -08:00
David Collins
ce2f3b9612 platform: msm: qpnp-coincell: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Update the QPNP_COINCELL Kconfig entry and the device tree
   documentation to use the name: 'Qualcomm Technologies, Inc.'

Change-Id: Ieb737138dc5dacb01eb840a1861afe14cf14ddc6
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:09 -08:00
David Collins
2fbc77cbfa platform: msm: qpnp-revid: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Update the QPNP_REVID Kconfig entry to use the name
   'Qualcomm Technologies, Inc.'

Change-Id: I36f9f6b63aedbcfe744800887d8629ac1feac804
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:08 -08:00
David Collins
e6e40ef43a soc: qcom: qpnp-haptic: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Use octal file permissions instead of symbolic.

 - Restructure conditionals to avoid else after return.

 - Add a blank line after variable definitions.

 - Correct the format of block comments.

 - Replace sscanf() for a single integer with kstrtoint().

 - Update the QPNP_HAPTIC Kconfig entry to use the name
   'Qualcomm Technologies, Inc.'

 - Expand the description of the QPNP_HAPTIC config option.

Change-Id: Ifc9ccbb83e2ca59328d6dcb5915b80c578d38fa1
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:07 -08:00
David Collins
fab5e227b6 rtc: qpnp-rtc: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Add 'const' to the type of struct rtc_class_ops variables.

 - Join strings that are wrapped across two lines.

 - Move EXPORT_SYMBOL() directly after poweron_alarm
   definition.

 - Correct the spelling of 'writing'.

 - Correct the module license to use 'GPL v2'.

 - Update the RTC_DRV_QPNP Kconfig entry to use the name
   'Qualcomm Technologies, Inc.'

 - Remove duplicate RTC_DRV_QPNP Kconfig entry.

Change-Id: I45fa2db561a5990d8618fa0fcf904ae95a72e3eb
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:06 -08:00
David Collins
5b77c3d190 thermal: qpnp-temp-alarm: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to type of a struct of_device_id variable.

 - Update the THERMAL_QPNP Kconfig entry and the device tree
   documentation to use the name: 'Qualcomm Technologies, Inc.'

Change-Id: Ia25eb58820107d0c068ee3e2c31d46f0cb13e3d6
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:05 -08:00
David Collins
ec1ec741b7 pwm: qpnp: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Remove unnecessary out-of-memory error messages.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Correct minor whitespace inconsistencies.

 - Replace kzalloc() with kcalloc() for arrays.

 - Replace strncmp() with strcmp().

 - Replace EXPORT_SYMBOL_GPL() with EXPORT_SYMBOL().

 - Remove a macro which affects flow control.

 - Update the PWM_QPNP Kconfig entry and driver to use the name:
   'Qualcomm Technologies, Inc.'

 - Correct the spelling of 'label'.

Change-Id: I36cd39cec22a4e4ad5956e57643753841fedb4dc
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:04 -08:00
David Collins
04be47199a gpio: qpnp-pin: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Add 'const' to type of struct of_device_id variables.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Restructure conditionals to avoid else after return.

 - Correct minor whitespace inconsistencies.

 - Replace strncmp() with strcmp().

 - Replace a static length 1 array with a scalar variable.

 - Update the GPIO_QPNP_PIN Kconfig entry to use the name
   'Qualcomm Technologies, Inc.'

 - Expand the description of the GPIO_QPNP_PIN_DEBUG config
   option.

 - Remove an unnecessary BUG_ON() call.

Change-Id: Ib1a49adf4668124020fed90108fed338d7ab2bd6
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:19:03 -08:00
David Collins
b2f04129ca regulator: qpnp-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Add 'const' to type of struct of_device_id variables.

 - Remove unnecessary out-of-memory error messages.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Restructure conditionals to avoid else after return/break.

 - Remove 'return' from the end of void functions.

 - Join strings that are wrapped across two lines.

 - Remove ';' from the end of a macro definition.

 - Update the REGULATOR_QPNP Kconfig entry and the device tree
   documentation to use the name: 'Qualcomm Technologies, Inc.'

Change-Id: I9f2cde58929ae57667366bb886e65154d36dfd3d
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 12:18:57 -08:00
Laxminath Kasam
a087b340f4 ASoC: Add support for ADIE RTC on SDM660 internal codec
Update module names of ADIE RTAC for digital and
analog codecs. And update machine driver to
update codec_root of pdata.

Change-Id: Id5c2367a2aac31e80cc0a37f72160b73c7adcdde
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-04 01:44:35 +05:30
Laxminath Kasam
0328d8d137 ASoC: sdm660-cdc: Add 4-mic DMIC support
Add route map and mix controls to support 4 digital mics
in SDM660 internal codec.

Change-Id: Ida16a910961d01a57d7d03dd64b61ecd36bad37d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-04 01:38:57 +05:30
David Collins
7d2b2afa0f regulator: msm_gfx_ldo: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Correct a minor whitespace inconsistency.

Change-Id: I282801edaa3a713fd34035e7270d4fb1d0b86fca
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 11:59:18 -08:00
David Collins
f676facccc regulator: mem-acc-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Add 'const' to the type of a struct of_device_id variable.

 - Remove unnecessary out-of-memory error messages.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Restructure conditionals to avoid else after return.

 - Correct the spelling of the word 'initialize'.

 - Update the REGULATOR_MEM_ACC Kconfig entry and the device
   tree documentation to use the name: 'Qualcomm Technologies,
   Inc.'

Change-Id: Idfccd4289eadbbeaf2c682ca4fbe73eda691499a
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 11:57:47 -08:00
David Collins
5fc047dd54 regulator: kryo-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Add 'const' to the type of a struct of_device_id variable.

 - Remove unnecessary out-of-memory error messages.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Update the REGULATOR_KRYO Kconfig entry.

Change-Id: Iad0fcbcc8f276f4f8344b6fc8591cfbe604659fa
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 11:50:14 -08:00
David Collins
110c32f055 regulator: cpr3-regulator: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Add 'const' to type of struct of_device_id variables.

 - Remove unnecessary out-of-memory error messages.

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Restructure conditionals to avoid else after return/break.

 - Remove 'return' from the end of void functions.

 - Correct minor whitespace inconsistencies.

Change-Id: Ibf7812cd722c74e48d51e765f00efcbcf548c552
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 11:48:09 -08:00
David Collins
1abc78fdb5 power: qcom: apm: correct various coding style issues
Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Use octal file permissions instead of symbolic.

 - Add 'const' to type of struct of_device_id variable.

 - Remove unnecessary out-of-memory error message.

 - Update the the MSM_APM Kconfig entry.

Change-Id: I57c6d499c90db62ca2733f302bd045b4d439905f
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-02-03 11:46:59 -08:00
Puja Gupta
c50f341bf3 soc: qcom: pil: Fix error case scenario in subsystem ramdump
During ramdump collection we assign memory to HLOS from subsystem for
non-secure pil. Whether ramdump collection is successful or not, we
should assign memory back to subsystem. This is to avoid access
violations in powerup path which happens after ramdump.

CRs-Fixed: 2002073
Change-Id: I7f1d42aebb44464fe077ca544ce91c2d7a8eefbb
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2017-02-03 10:57:38 -08:00
Chris Lew
fd7ce450ad soc: qcom: glink_smem_native_xprt: Add print for GFP_ATOMIC alloc fail
Add error message for GFP_ATOMIC allocation failure. Keep current
design to drop packet if allocation fails. This print will help debug
issues where a system critical client fails because of a dropped GLINK
packet.

CRs-Fixed: 1112151
Change-Id: I6a69cbf1f88295009284d726a06fa5affd4cc591
Signed-off-by: Chris Lew <clew@codeaurora.org>
2017-02-03 10:51:54 -08:00
Xiaoyu Ye
811f1faa25 ASoC: msm: qdsp6v2: Fix range check logic of port index
The case of port index equals AFE_MAX_PORTS is not checked.
Add this corner case to avoid wrong port number.

CRs-Fixed: 1114578
Change-Id: I466cb7d87313e55e9e0bd08a7ab43f3ea36b8b9a
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2017-02-03 10:43:58 -08:00
Prasad Sodagudi
e709bdfc40 power: reset: Remove secure boot mode check
Debug policy of secure devices take care of nullifying
the ram dumps in secure boot mode. So no need to check
about secure boot mode in reboot driver to enable
download feature.

Change-Id: Idb5c93aca630f0093fccc2997bf50e7958dfbf54
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-03 08:45:09 -08:00
Rajeev Kumar Sirasanagandla
aa0bbc8456 ath10k: Populate HW params, WMI and HTT versions for WCN3990
firmware-5.bin file for WCN3990 contains just WMI and HTT versions and
firmware is loaded by PIL.

This change, populate the hw params for WCN3990 and parse
firmware-5.bin file for WMI and HTT versions.

CRs-Fixed: 2002151
Change-Id: Ic65d3696e9546fd428e608f4738e9fe53d61338f
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
2017-02-03 22:08:15 +05:30
Nicholas Troast
557ea9fd77 iio: support writing processed values to IIO channels
Add a new function to the IIO API which allows consumers to write
processed values to IIO channels.

This is particularly useful for supporting hardware which has
configurable ADC thresholds. A consumer would be able to change an ADC
threshold by providing a processed value instead of calculating a raw
value.

Change-Id: I7d3b22beddb6fd1fda0cc0aefbcb4cf5cb58bf82
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-03 08:36:59 -08:00
Linux Build Service Account
147b2394be Merge "ARM: dts: msm: Add sdhc ice device node for sdm660" 2017-02-03 06:27:02 -08:00
Linux Build Service Account
7888c1e5c1 Merge "ARM: dts: msm: Add ufs ice device node for sdm660" 2017-02-03 06:27:01 -08:00
Linux Build Service Account
ac4d5daf02 Merge "ASoc: wcd-mbhc: correct handling of electrical interrupts" 2017-02-03 06:27:00 -08:00
Linux Build Service Account
4db174025d Merge "msm: qdsp6v2: set device channels on vocproc" 2017-02-03 06:26:59 -08:00
Linux Build Service Account
33d4486260 Merge "ASoC: msm: qdsp6v2: completely deallocate on cal block creation failure" 2017-02-03 06:26:58 -08:00
Linux Build Service Account
9ffdcf0122 Merge "drivers: soc: apr: create glink buffers dynamically" 2017-02-03 06:26:57 -08:00
Linux Build Service Account
7e9b695f04 Merge "ASoC: msm8998: enable ignore suspend flag for ANC" 2017-02-03 06:26:56 -08:00
Linux Build Service Account
376ee68bbf Merge "ALSA: pcm: fix blocking while loop in snd_pcm_update_hw_ptr0()" 2017-02-03 06:26:55 -08:00
Linux Build Service Account
49c12b3001 Merge "ARM: dts: msm: Add ufs support for SDM630" 2017-02-03 06:26:51 -08:00
Linux Build Service Account
359111c6f3 Merge "ARM: dts: msm: Add WCN3990 WLAN module device node for APQ8998" 2017-02-03 06:26:50 -08:00
Linux Build Service Account
4cdd068494 Merge "soc: qcom: glink_ssr: Set NULL after free" 2017-02-03 06:26:49 -08:00
Linux Build Service Account
ac0ef02816 Merge "iio: rradc: Update charger die temperature coefficients" 2017-02-03 06:26:48 -08:00
Linux Build Service Account
294fecd4b8 Merge "msm: ADSPRPC: Use domain information to open channels" 2017-02-03 06:26:47 -08:00
Linux Build Service Account
e8cc3a4e40 Merge "qcom: battery: reorganize creation of votables in SMB library" 2017-02-03 06:26:45 -08:00
Linux Build Service Account
65d2062ba2 Merge "ARM: dts: msm: Add GPU power level speed bins for SDM660" 2017-02-03 06:26:44 -08:00
Linux Build Service Account
fc17b426dd Merge "sched: Remove sched_enable_hmp flag" 2017-02-03 06:26:43 -08:00
Linux Build Service Account
45ba3641ed Merge "ARM: dts: msm: Add support for CPU clocks for sdm630" 2017-02-03 06:26:42 -08:00