summaryrefslogtreecommitdiff
path: root/drivers/clk (follow)
Commit message (Collapse)AuthorAge
...
* | clk: msm: virtual clock adds support for usb, lpass and modemZhiqiang Tu2017-12-13
| | | | | | | | | | | | | | | | Support usb, lpass and modem clocks in msm8996 virtual clock frontend driver. Change-Id: I5ee4f2d951f133a8403442707e633563efdc5c65 Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
* | clk: msm: Add virtual clock frontend driverZhiqiang Tu2017-12-08
| | | | | | | | | | | | | | | | | | It is virtual clock frontend driver which communicates with host backend clock service/driver over HABMM. It only supports msm8996 virtual platform currently. Change-Id: Icfee28c301fa4a583b45e5d364432535643eb9b7 Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
* | clk: qcom: mdss: fix the divider programming for DisplayPort PLLPadmanabhan Komanduru2017-11-16
| | | | | | | | | | | | | | | | | | Fix the divider programming of DisplayPort PLL with the correct value. Without this, display doesn't up fine with certain resolutions on some sinks when link rate is 5.4 GHz. Change-Id: I7c5a452a9df757240a1c6c3d371bd46a16f98efd Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
* | clk: qcom: Add support for 430MHz for gpu clock on sdm660Odelu Kukatla2017-10-30
| | | | | | | | | | | | | | | | GPU clock requires to support 430MHz, so add the support for the same on sdm660. Change-Id: Ief238fbe521a10f8096ac44844f5abe013649f81 Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
* | clk: msm: Fix dummy clock fixed rate setting issueZhiqiang Tu2017-10-13
| | | | | | | | | | | | | | | | Set fixed rate in of_dummy_get since dummy_clk_dt_parser is not called. Change-Id: Id33be0a00a0a29100618f5fd25a917983f654025 Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
* | clk: msm: mdss: add support for chip serial number in dfps infoAshish Garg2017-09-19
| | | | | | | | | | | | | | | | | | | | Dfps info is calculated for a specific msm part and needs to be used for the same. Add a chip serial number for the dfps info so that the PLL trim codes are used for the same msm part on which they are generated. Change-Id: I6f1e519c1e9278b35dfbdf3d9ba4a2ed0e1a6a78 Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
* | Merge branch 'dev/msm-4.4-8996au' into msm-4.4Zhiqiang Tu2017-09-01
|\ \ | | | | | | | | | | | | Change-Id: I9736089c23ce5dca4e4341406671269f19b7515f Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| * \ Merge branch 'msm-4.4' into dev/msm-4.4-8996auZhiqiang Tu2017-08-24
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/iommu/arm-smmu.c drivers/media/platform/msm/ais/fd/msm_fd_dev.c drivers/media/platform/msm/camera_v2/fd/msm_fd_dev.c drivers/soc/qcom/glink.c include/uapi/linux/msm_ipa.h Change-Id: Id007a850fa2df09f08c413ffcd447a6532fad83c Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| * | | clk: msm: Add fixed rate clock support for dummy clock driverZhiqiang Tu2017-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Virtual platform uses dummy clock driver. It needs dummy clock driver to support fixed rate clock. Change-Id: Id0f6ce592447a443c22ad49fddeaa598cf3d047e Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
* | | | Merge "clk: qcom: osm: Add determine_rate ops for OSM CPU clock driver"Linux Build Service Account2017-08-29
|\ \ \ \
| * | | | clk: qcom: osm: Add determine_rate ops for OSM CPU clock driverOdelu Kukatla2017-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clock rates are stored in unsigned long field, but round_rate ops returns a long value which is causing to long overflow if the CPU clock rate exceeds 2GHz, so define the determine_rate ops. Change-Id: I2c48dc51bdf6be260fb4697012d08237cbba3f21 Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
* | | | | Merge "ARM: dts: msm: Add support for speed-bin 3 for SDM660"Linux Build Service Account2017-08-29
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | ARM: dts: msm: Add support for speed-bin 3 for SDM660Odelu Kukatla2017-08-28
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add speed-bin 3 to support the fmax of 1.8 GHz and 1.6 GHz for perf and power clusters respectively. And also update the cpufreq table for the same. Change-Id: Ia3be3f321b53bbbb4c37f5e86e451ca86ec8cdc9 Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
* | | | Merge "clk: osm: Check for valid acd offset for input from debugfs"Linux Build Service Account2017-08-21
|\ \ \ \ | |/ / / |/| | |
| * | | clk: osm: Check for valid acd offset for input from debugfsTaniya Das2017-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user supplied acd offset is not verified to be within the acd register range which could lead to out-of-bounds read/write. Fix the same by checking the input and also make sure the acd base is present before the read/write. Change-Id: I9c0d9049d273633f6ef99593b1b45d98cc7c3827 Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | Merge "clk: msm: Fix pll out div programming"Linux Build Service Account2017-07-25
|\ \ \ \ | |/ / / |/| | |
| * | | clk: msm: Fix pll out div programmingRajkumar Subbiah2017-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PLL out divider is currently not programmed when the PLL is locked. Since they are setup as fixed ratio dividers, the set_div is not called during set_rate. So this fix moves the pll out div programming to pll out mux selection callback which gets called during set_rate. Change-Id: I48b0254c6eb308071706258d2b5a77f06d9927c2 Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
| * | | clk: msm: Fix dsi clock divider configurationRajkumar Subbiah2017-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MND values and the PLL output divider configuration does not match the recommended values. When setting DSI pixel clock rate the MND array is ordered in a way that the requested rate goes from highest to lowest. Since the recommendation is to divide the clocks as close to VCO as possible, the request should be from lowest to highest. So reversing the fraction array to match the recommendation. The VCO min max rates are currently forced after pll output divider which is also fixed. Change-Id: I3cb5163f9c8dd3723cdc58bd7e7980719e683f1b Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
* | | | Merge "clk: qcom: osm: Initialize ACD when the cluster is online"Linux Build Service Account2017-06-22
|\ \ \ \
| * | | | clk: qcom: osm: Initialize ACD when the cluster is onlineTaniya Das2017-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OSM clock driver currently enables ACD for the silver and gold clusters regardless of whether they've been brought up or not. ACD requires the cluster PLLs to be running for initialization, a requirement which would not be met if the cluster hasn't been brought online. Tie the ACD initialization sequence with enabling OSM for that cluster. Change-Id: I4a7e7176e30b26d096645dd9ce508b7af8ae6df2 Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | | clk: qcom: Check for errors during RCG readAmit Nischal2017-06-19
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There could be instances where the RCG configuration update or readback could fail. Notify the caller of the failure. Add support to change scope of mux_div_get_src_div() in order to use it globally. Change-Id: Ica07c28cede695785db81697effcb40ab6b717d4 Signed-off-by: Amit Nischal <anischal@codeaurora.org>
* | | | clk: msm: clock-osm: Do not initialize ACD if the cluster isn't onlineDeepak Katragadda2017-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OSM clock driver currently enables ACD for the silver and gold clusters regardless of whether they've been brought up or not. ACD requires the cluster PLLs to be running for initialization, a requirement which would not be met if the cluster hasn't been brought online. Tie the ACD initialization sequence with enabling OSM for that cluster. Change-Id: Ib393dd339f8095029c9703fbe67897d0a491eced Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | clk: qcom: Add regmap mux-div clocks supportGeorgi Djakov2017-06-12
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for hardware that can switch both parent clocks and divider at the same time. This avoids generating intermediate frequencies from either the old parent clock and new divider or new parent clock and old divider combinations. Change-Id: I1b3f7e9422f5c27eeb391d309374167dc139e8ca Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Git-commit: 549f1a4028350851f73837ad8cce3ac5fd2abd11 Git-repo: https://git.quicinc.com/?p=kernel/msm-4.4.git [anischal@codeaurora.org: Fix compilation issue with mux_div_get_safe_parent] Signed-off-by: Amit Nischal <anischal@codeaurora.org>
* | | Merge "msm: mdss: Update msm8998 HDMI PHY sequence for bridge chip"Linux Build Service Account2017-06-07
|\ \ \
| * | | msm: mdss: Update msm8998 HDMI PHY sequence for bridge chipLei Chen2017-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for 1.8v external power supply HDMI PHY sequence which is used by bridge chip. CRs-Fixed: 1074721 Change-Id: I0ae55cdc9151949b81f6de828238e4b88ceea3df Signed-off-by: Lei Chen <chenl@codeaurora.org> Signed-off-by: Yuchao Ma <yuchaom@codeaurora.org>
* | | | Merge "drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZE"Linux Build Service Account2017-06-07
|\ \ \ \
| * | | | drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZEPrasad Sodagudi2017-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are all driver changes needed for disablement of CONFIG_CC_OPTIMIZE_FOR_SIZE. CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is enabled by default once CONFIG_CC_OPTIMIZE_FOR_SIZE is disabled. Change-Id: Ia46a1f24e8a082a29ea6151e41e6d3a85a05fd4f Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: Sridhar Parasuram <sridhar@codeaurora.org>
* | | | | clk: msm: clock-local2: Remove checks for display RCG re-configurationDeepak Katragadda2017-06-01
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow re-configuring the DSI, DP and HDMI RCGs even if their current configuration matches that of the requested frequency. This is to work around the MM RCGs being latched to run off of XO by default after an MM GDSC power collapse. Change-Id: Idf5f1f25df6d6a8ef29eb8c15086deba1017584e Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
* | | | Merge "Merge remote-tracking branch 'origin/tmp-285c137' into msm-4.4"Linux Build Service Account2017-05-25
|\ \ \ \ | |/ / / |/| | |
| * | | Merge remote-tracking branch 'origin/tmp-285c137' into msm-4.4Kyle Yan2017-05-15
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/tmp-285c137: Linux 4.4.68 block: get rid of blk_integrity_revalidate() drm/ttm: fix use-after-free races in vm fault handling f2fs: sanity check segment count bnxt_en: allocate enough space for ->ntp_fltr_bmap ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf ipv6: initialize route null entry in addrconf_init() rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string ipv4, ipv6: ensure raw socket message is big enough to hold an IP header tcp: do not inherit fastopen_req from parent tcp: fix wraparound issue in tcp_lp bpf, arm64: fix jit branch offset related to ldimm64 tcp: do not underestimate skb->truesize in tcp_trim_head() ALSA: hda - Fix deadlock of controller device lock at unbinding staging: emxx_udc: remove incorrect __init annotations staging: wlan-ng: add missing byte order conversion brcmfmac: Make skb header writable before use brcmfmac: Ensure pointer correctly set if skb data location changes MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m serial: 8250_omap: Fix probe and remove for PM runtime phy: qcom-usb-hs: Add depends on EXTCON USB: serial: io_edgeport: fix descriptor error handling USB: serial: mct_u232: fix modem-status error handling USB: serial: quatech2: fix control-message error handling USB: serial: ftdi_sio: fix latency-timer error handling USB: serial: ark3116: fix open error handling USB: serial: ti_usb_3410_5052: fix control-message error handling USB: serial: io_edgeport: fix epic-descriptor handling USB: serial: ssu100: fix control-message error handling USB: serial: digi_acceleport: fix incomplete rx sanity check USB: serial: keyspan_pda: fix receive sanity checks usb: chipidea: Handle extcon events properly usb: chipidea: Only read/write OTGSC from one place usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths KVM: nVMX: do not leak PML full vmexit to L1 KVM: nVMX: initialize PML fields in vmcs02 Revert "KVM: nested VMX: disable perf cpuid reporting" x86/platform/intel-mid: Correct MSI IRQ line for watchdog device kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed clk: Make x86/ conditional on CONFIG_COMMON_CLK x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0 x86/ioapic: Restore IO-APIC irq_chip retrigger callback mwifiex: Avoid skipping WEP key deletion for AP mwifiex: remove redundant dma padding in AMSDU mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build leds: ktd2692: avoid harmless maybe-uninitialized warning power: supply: bq24190_charger: Handle fault before status on interrupt power: supply: bq24190_charger: Don't read fault register outside irq_handle_thread() power: supply: bq24190_charger: Call power_supply_changed() for relevant component power: supply: bq24190_charger: Install irq_handler_thread() at end of probe() power: supply: bq24190_charger: Call set_mode_host() on pm_resume() power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING powerpc/powernv: Fix opal_exit tracepoint opcode cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores ARM: 8452/3: PJ4: make coprocessor access sequences buildable in Thumb2 mode 9p: fix a potential acl leak ANDROID: android-base.cfg: remove spurious CONFIG_MODULES line ANDROID: memory_state_time: fix undefined behavior with missing DT properties ANDROID: rfkill: fix unused function warning ANDROID: make PF_KEY SHA256 use RFC-compliant truncation. ANDROID: sdcardfs: fix sdcardfs_destroy_inode for the inode RCU approach ANDROID: android-base.cfg: remove NETFILTER_XT_MATCH_QUOTA2_LOG ANDROID: sdcardfs: Don't iput if we didn't igrab ANDROID: Add untag hacks to inet_release function Change-Id: I6d750f8bb186774ff9630beeb0ed8e680af26231 Signed-off-by: Kyle Yan <kyan@codeaurora.org>
| | * clk: Make x86/ conditional on CONFIG_COMMON_CLKPierre-Louis Bossart2017-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f35b6542c3ac3f28056d298348a81f7d56d3a041 upstream. Fix Makefile for x86 support, dependency on CONFIG_COMMON_CLK was not explicit Fixes: 701190fd7419 ('clk: x86: add support for Lynxpoint LPSS clocks') Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | Merge "clk: Move vdd voting before set rate and parent"Linux Build Service Account2017-05-15
|\ \ \ | |/ / |/| |
| * | clk: Move vdd voting before set rate and parentTaniya Das2017-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There could be clocks where the clock operations of set_rate_and_parent would be defined to take care of setting rate and updating parent. Move the vdd voting logic to ensure the vdd levels are voted prior to updating rate and parent. Change-Id: I57f903f95f290627d676afd567a6e6d21decf4a3 Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | Merge branch 'android-4.4@24ac44d' into branch 'msm-4.4'Blagovest Kolenichev2017-05-04
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-24ac44d Linux 4.4.66 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram ARCv2: save r30 on kernel entry as gcc uses it for code-gen nfsd: check for oversized NFSv2/v3 arguments Input: i8042 - add Clevo P650RS to the i8042 reset list p9_client_readdir() fix MIPS: Avoid BUG warning in arch_check_elf MIPS: KGDB: Use kernel context for sleeping threads ALSA: seq: Don't break snd_use_lock_sync() loop by timeout ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type ipv6: check raw payload size correctly in ioctl ipv6: check skb->protocol before lookup for nexthop macvlan: Fix device ref leak when purging bc_queue ip6mr: fix notification device destruction netpoll: Check for skb->queue_mapping net: ipv6: RTF_PCPU should not be settable from userspace dp83640: don't recieve time stamps twice tcp: clear saved_syn in tcp_disconnect() sctp: listen on the sock only when it's state is listening or closed net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given l2tp: fix PPP pseudo-wire auto-loading l2tp: take reference on sessions being dumped net/packet: fix overflow in check for tp_reserve net/packet: fix overflow in check for tp_frame_nr l2tp: purge socket queues in the .destruct() callback net: phy: handle state correctly in phy_stop_machine net: neigh: guard against NULL solicit() method sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write() sparc64: kern_addr_valid regression xen/x86: don't lose event interrupts usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize regulator: core: Clear the supply pointer if enabling fails RDS: Fix the atomicity for congestion map update net_sched: close another race condition in tcf_mirred_release() net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata MIPS: Fix crash registers on non-crashing CPUs md:raid1: fix a dead loop when read from a WriteMostly disk ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea() drm/amdgpu: fix array out of bounds crypto: testmgr - fix out of bound read in __test_aead() clk: sunxi: Add apb0 gates for H3 ARM: OMAP2+: timer: add probe for clocksources xc2028: unlock on error in xc2028_set_config() f2fs: do more integrity verification for superblock net: pppolac/pppopns: Add back the msg_flags Conflicts: drivers/regulator/core.c Change-Id: I8e7b279efa442a0338ee735d27ff3ebe866a8dee Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
| * clk: sunxi: Add apb0 gates for H3Krzysztof Adamski2017-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 6e17b4181603d183d20c73f4535529ddf2a2a020 upstream. This patch adds support for APB0 in H3. It seems to be compatible with earlier SOCs. apb0 gates controls R_ block peripherals (R_PIO, R_IR, etc). Since this gates behave just like any Allwinner clock gate, add a generic compatible that can be reused if we don't have any clock to protect. Signed-off-by: Krzysztof Adamski <k@japko.eu> [Maxime: Removed the H3 compatible from the simple-gates driver, reworked the commit log a bit] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Merge "Merge remote-tracking branch 'remotes/quic/dev/msm-4.4-8996au' into ↵Linux Build Service Account2017-05-02
|\ \ | | | | | | | | | msm-4.4"
| * \ Merge remote-tracking branch 'remotes/quic/dev/msm-4.4-8996au' into msm-4.4Zhiqiang Tu2017-05-02
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi drivers/gpu/drm/msm/Makefile Change-Id: Ief80c28ff1422fd71a0c3d2041531e2ab078ee7a Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| | * \ Merge remote-tracking branch 'remotes/origin/msm-4.4' into dev/msm-4.4-8996auArun KS2017-04-06
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boot/dts/qcom/msm8996pro.dtsi arch/arm64/kernel/Makefile drivers/leds/leds-qpnp-flash.c sound/soc/msm/apq8096-auto.c Change-Id: Idea5d05fec354b8f38ea70643decb03f7b80ddb7 Signed-off-by: Arun KS <arunks@codeaurora.org>
| | * \ \ Merge "clk: msm: clock: Add support for early boot frequency for MSM8996" ↵Linux Build Service Account2017-04-06
| | |\ \ \ | | | | | | | | | | | | | | | | | | into dev/msm-4.4-8996au
| | | * | | clk: msm: clock: Add support for early boot frequency for MSM8996Odelu Kukatla2017-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Power and perf clusters early boot up frequencies require to be updated to maximum frequnecy of NOM voltage corner to improve the boot up time, so add support for the same. Change-Id: Icf54a648f47765867812edc5a68cf52b7fd58fdd Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
| | * | | | clk: msm: clock: Avoid turning off hmss_ahb_clk during certain LPM statesDeepak Katragadda2017-04-06
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The clock driver sets the sleep_ena bit to allow the hmss_ahb_clk to be disabled by hardware during certain low power modes. The PCIe controller however might need to access some registers that need this hmss_ahb_clk to be on. Remove the additional settings in the clock driver to resolve the issue. CRs-Fixed: 994609 Change-Id: Ib486a27f2e1c2d2231f8bedcb4ee8b39381cbd25 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
| | * | | Merge changes I63d7ce3e,I6fda5ed9 into dev/msm-4.4-8996auSrivatsa Vaddagiri2017-03-31
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: clk: msm: clock-cpu-8996: Allow interrupts during alt_pll set_rate clk: msm: clock-alpha-pll: Allow interrupts to be enabled during set_rate
| | | * | | clk: msm: clock-cpu-8996: Allow interrupts during alt_pll set_rateVikram Mulukutla2017-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CPU that is disabling the alternate PLL may also need to handle CPR interrupts. Allow the CPU to handle interrupts during the set_rate operation. CRs-Fixed: 960701 Change-Id: I63d7ce3e3dd2b559c4db383b64faa9335c404576 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
| | | * | | clk: msm: clock-alpha-pll: Allow interrupts to be enabled during set_rateVikram Mulukutla2017-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some PLL implementations depend on the CPU being able to handle certain interrupts in order for the set_rate operation to complete. Allow interrupts to be handled in the set_rate op. CRs-Fixed: 960701 Change-Id: I6fda5ed9eb7d6f2e2cd91c58ebabfd7bc1c8a2fc Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
| | * | | | clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clockDeepak Katragadda2017-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for additional frequencies for the qspi_ser_clk_src on msm8996. Change-Id: I4efa0ad4dc3f68a0c54bd4cf7ee77b4c78be4be1 CRs-Fixed: 994014 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
| | * | | | clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clkDevesh Jhunjhunwala2017-03-28
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the pinctrl clock for ln_bb_clk to the GCC driver for MSM8996. CRs-Fixed: 1063062 Change-Id: If85a0dbb26e350588cbd6614c032bf208a205be2 Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | / / / clk: Add support to dump state of all clocks into ftraceAmit Nischal2017-05-02
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add clk_state event to record the state of all the clocks into ftrace. The clock event could be triggered by using the "trace_clocks" debugfs entry and it would dump the current state of all clocks in ftrace logs. Change-Id: I28b6574fe1d96472833a93e7b251dbba6c6eae49 Signed-off-by: Amit Nischal <anischal@codeaurora.org>
* | | | clk: qcom: Add support for throttle clocks for clientsTaniya Das2017-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Throttle axi clocks for camera, display and video needs to be enabled before the use cases and disable these once their use case is completed. Change-Id: I2e2e91f4ce7d6f57bf5ced052af2f283bc301070 Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | clk: qcom: clk-cpu-osm: handle corner cases for APM/MEM-ACC switchingTirupathi Reddy2017-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the open-loop voltage of the highest virtual corner is below the APM threshold voltage, then OSM should keep the APM powered by VDD_MX. Also, if the open-loop voltage of the lowest virtual corner is greater than or equal to the MEM-ACC threshold voltage, then OSM should program MEM-ACC settings for Turbo for all corners. Program SEQ_REGn registers correctly for these two cases. CRs-Fixed: 2008715 Change-Id: Id9bc91374245d65adda4db337c4fa34afc8f0af9 Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
* | | | Merge "clk: msm: clock-mmss-8998: Set non_local_children flag for mdp_clk_src"Linux Build Service Account2017-04-21
|\ \ \ \