Enable atmel mxt driver to be part of 7627a.
Change-Id: I68537f62d5955e30210990158220a4898b512851
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
* changes:
msm: pil-modem: Migrate to clk APIs for XO voting
msm: pil-q6v4: Migrate to clk APIs for XO voting
msm: pil-riva: Fix error paths when proxy voting fails
msm: pil-q6v4: Flush instead of cancel delayed work on removal
msm: pil-riva: Flush instead of cancel delayed work on removal
A driver using fiq functions should be usable on targets
with or without CONFIG_FIQ enabled. Instead of making code
dependent on #ifdef CONFIG_FIQ, add empty stubs for the fiq
functions.
Change-Id: Ie8b1905ba53664d99bd707be3c83291c97eb1066
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
md_reg may be not present for some clocks with banks e.g. rot_clk
so need to add this check for these clocks. Otherwise, there might
be pointer dereference issue.
Change-Id: I3ad44232fa785d2cbca9ef81ac85843103ada3c6
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
Use the clock APIs instead of the msm_xo APIs to vote on PXO.
This removes one more msm specific api from this driver and will
allow us to move XO control into the rpm clock driver.
Change-Id: Ie7d862131a7b8717c3ab0574f570f073c6a69dfd
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Use the clock APIs instead of the msm_xo APIs to vote on CXO and
PXO. This removes one more msm specific api from this driver and
will allow us to move XO control into the rpm clock driver.
Change-Id: I57cece3891eef8a8dace1a8465dbe3737ccd0e27
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
If the proxy voting for CXO or the PLL regulator fails, we should
unwind the work to the state before the failure. Do this so that
users of the driver can recover from errors more easily.
Change-Id: I1bac71f743ef2352235be74ef4c030d27c5efa09
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
If the pil q6v4 driver is removed or fails to probe we want to
ensure that the proxy votes made during boot are removed even if
they're pending removal. cancel_delayed_work_sync() will ensure
that the proxy vote removal callback no longer runs, but it
doesn't force the callback to run. This means that the proxy
votes stay in place even though the driver has been detached.
Therefore, replace cancel_delayed_work_sync() with
flush_delayed_work_sync() to forcibly remove the proxy votes
before detaching the driver.
Change-Id: I2eded919df598eb01e51eb24a5a32a93f75ad8de
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
If the pil riva driver is removed or fails to probe we want to
ensure that the proxy votes made during boot are removed even if
they're pending removal. cancel_delayed_work_sync() will ensure
that the proxy vote removal callback no longer runs, but it
doesn't force the callback to run. This means that the proxy
votes stay in place even though the driver has been detached.
Therefore, replace cancel_delayed_work_sync() with
flush_delayed_work_sync() to forcibly remove the proxy votes
before detaching the driver.
Change-Id: Ia09fe2a6eb76e69d410f95ea4c28d78ff75727ff
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
QPNP is a Qualcomm SPMI based implementation that specifies 256
devices per SPMI slave ID, with up to 8 interrupts per device.
This brings the theoretical max interrupt support to 32768 per
bus for this architecture.
This header file is added before the driver to satisfy circular
dependency with the PMIC Arbiter driver, which makes calls into
QPNP.
Change-Id: Ie563f55c0557771b8925c10762094cf191544a30
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
Enable the digital regulator configuration for WCD9304 on 8x30
Change-Id: I1031523ad6ce3398faac24ca5ef38f4369174935
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Re-sync the init error handling to properly follow the flow of the init
function so that all resources are completely cleaned up upon error.
Change-Id: I95b0a8c1d21de5d114c64d6b37731f79970229af
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Clock init function currently only uses real clock init data for simulator.
Fix it to make real hardware to use real clock init data too.
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
ION is a memory manager used by kernel and user
space clients to efficiently share buffers.
Add support for ION to copper target.
Change-Id: I33d7cadc0a7adade82031ad7b036a1f6e8dddd11
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Current kernel configuration does not support X-Box gamepads.
Controllers like Logitech F510/F710 requires this driver to work.
CRs-fixed: 332890
Change-Id: Ia1fac577a58382645126b7d7c41932e7c74668bc
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Moving regulators and gpio to board file
GPIO and regulators are usually different for OEM projects.
This will give them the flexibility to support multiple
devices without changing the driver.
Change-Id: I37549d2eaf3a6c31c1b7cf81270c2b22dde30011
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
Remove unnecessary calls to MSM GPIO config, which result in runtime
warnings. Leave only the call to configure a PMIC GPIO.
Change-Id: Ib0c551ceb462b4dbe7ba2eec9772a39507464fdc
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Create a touchscreen platform device and pass controller's
config data and other related information as part of
platform data to atmel mxt driver.
Change-Id: Ib39e6f0f2e316bc371603f35ed5eb59f896bd7bb
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>