- 14 1月, 2016 1 次提交
-
-
由 Vladimir Zapolskiy 提交于
Presumably the second COMMON_CLK_NXP config option in drivers/clk/Kconfig appeared after a merge conflict resolution, remove the wrong record of two. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 05 1月, 2016 1 次提交
-
-
由 Michael Turquette 提交于
Merge tag 'tegra-for-4.5-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into clk-next clk: tegra: Changes for v4.5-rc1 This set of changes adds support for the Tegra210 SoC and contains a couple fixes and cleanups.
-
- 03 1月, 2016 3 次提交
-
-
由 Russell King 提交于
When the clock DT property is not given, of_clk_get_parent_count() returns -ENOENT, which then tries to allocate -2 x 4 bytes of memory, which of course fails, causing the whole driver to fail to create the clock. This causes the SolidRun platforms to fail probing the SDHCI1 interface which is connected to the WiFi. Fix this by detecting errno codes, skipping the allocation, and fixing of_clk_gpio_gate_delayed_register_get() to handle a NULL parent_names array. Fixes: 80eeb1f0 ("clk: add gpio controlled clock multiplexer") Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
-
由 Heiko Stübner 提交于
To model the muxes downstream of fractional dividers we introduced the child property, allowing to describe a direct child clock. The first implementation seems to cause section warnings, as the core clock-tree is marked as initdata while the data pointed to from the child element is not. While there may be some way to also set that missing property in the inline notation I didn't find it, so to actually fix the issue for now move the sub-definitions into separate declarations that can have their own __initdata properties. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 01 1月, 2016 4 次提交
-
-
由 Brian Norris 提交于
We might make bad memory allocations if we get (e.g.) -ENOSYS from of_clk_get_parent_count(). Noticed by Coverity. Fixes: f66541ba ("clk: gpio: Get parent clk names in of_gpio_clk_setup()") Signed-off-by: NBrian Norris <computersforpeace@gmail.com> Cc: Jyri Sarha <jsarha@ti.com> Cc: Sergej Sawazki <ce3a@gmx.de> Cc: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Sudip Mukherjee 提交于
If we fail to allocate parent_name then we are returning but we missed freeing data which has already been allocated. Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
-
由 Ulrich Hecht 提交于
Signed-off-by: NUlrich Hecht <ulrich.hecht+renesas@gmail.com> Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 25 12月, 2015 10 次提交
-
-
由 Michael Turquette 提交于
-
由 Remi Pommarel 提交于
Register the pwm clock for bcm2835. Signed-off-by: NRemi Pommarel <repk@triplefau.lt> Reviewed-by: NEric Anholt <eric@anholt.net> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Remi Pommarel 提交于
Some bcm2835 clocks used by hardware (like "PWM" or "H264") can have multiple parent clocks. These clocks divide the rate of a parent which can be selected by setting the proper bits in the clock control register. Previously all these parents where handled by a mux clock. But a mux clock cannot be used because updating clock control register to select parent needs a password to be xor'd with the parent index. This patch get rid of mux clock and make these clocks handle their own parent, allowing them to select the one to use. Signed-off-by: NRemi Pommarel <repk@triplefau.lt> Reviewed-by: NEric Anholt <eric@anholt.net> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Remi Pommarel 提交于
Make bcm2835_clock_choose_div to optionally round up the chosen MASH divisor so that the resulting average rate will not be higher than the requested one. Signed-off-by: NRemi Pommarel <repk@triplefau.lt> Reviewed-by: NEric Anholt <eric@anholt.net> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
-
由 Vladimir Zapolskiy 提交于
Add support for all configurable clocks found on NXP LPC32xx SoC. The list contains several heterogenous groups of clocks: * system clocks including multiple dividers and muxes, * x397 PLL, HCLK PLL and USB PLL, * peripheral clocks inherited from rtc, hclk and pclk, * USB controller clocks: AHB slave, I2C, OTG, OHCI and device. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Vladimir Zapolskiy 提交于
The change adds COMMON_CLK_NXP configuration symbol and enables it for NXP LPC18XX architecture, this is needed to reuse drivers/clk/nxp folder for NXP common clock framework drivers other than LPC18XX one. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Acked-by: NJoachim Eastwood <manabian@gmail.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Vladimir Zapolskiy 提交于
The change adds a list of NXP LPC32xx clocks, which can be requested by clock consumers. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Vladimir Zapolskiy 提交于
NXP LPC32xx USB controller has a subdevice, which controls USB AHB slave, USB OTG, USB OHCI, USB device and I2C controller to USB phy clocks, this change adds description of the clock controller, for more details reference LPC32xx User's Manual, namely USB control, OTG clock control and OTG clock status registers. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Vladimir Zapolskiy 提交于
NXP LPC32xx SoC has a clocking and power control unit (CPC) as a part of system control block (SCB). CPC is supplied by two external oscillators and it manages core and most of peripheral clocks, the change adds description of DT bindings for clock controller found on LPC32xx SoC series. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 24 12月, 2015 7 次提交
-
-
由 Michael Turquette 提交于
Merge tag 'sunxi-clocks-for-4.5' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into clk-next Allwinner clocks changes for 4.5 Clock patches for the Allwinner SoCs: - H3 clocks - A10/A20 Video Engine clocks - DRAM gates - A80 special CPU clock
-
由 Michael Turquette 提交于
-
由 Xing Zheng 提交于
Use the newly introduced possibility to combine the fractional dividers with their downstream muxes for all fractional dividers on currently supported RK3036 SoCs. Signed-off-by: NXing Zheng <zhengxing@rock-chips.com> Signed-off-by: NCaesar Wang <wxt@rock-chips.com> Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Heiko Stuebner 提交于
Some clocks need to be enabled to accept rate changes. This patch adds a new flag CLK_SET_RATE_UNGATE that lets clk_change_rate enable the clock before trying to change the rate and disable it again afterwards. This of course doesn't effect clocks that are already running at that point, as their refcount will only temporarily increase. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Sjoerd Simons 提交于
The clock branches leading to sclk_spdif and sclk_spdif_8ch on RK3288 SoCs only feed those clocks, allow those clocks to change their parents all the way up the hierarchy. Signed-off-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Heiko Stuebner 提交于
Use the newly introduced possibility to combine the fractional dividers with their downstream muxes for all fractional dividers on currently supported Rockchip SoCs. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Heiko Stuebner 提交于
The fractional dividers of Rockchip SoCs contain an "auto-gating-feature" that requires the downstream mux to actually point to the fractional divider and the fractional divider gate to be enabled, for it to really accept changes to the divider ratio. The downstream muxes themselfs are not generic enough to include them directly into the fractional divider, as they have varying sources of parent clocks including not only clocks related to the fractional dividers but other clocks as well. To solve this, allow our clock branches to specify direct child clock- branches in the new child property, let the fractional divider register its downstream mux through this and add a clock notifier that temporarily switches the mux setting when it notices rate changes to the fractional divider. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 23 12月, 2015 11 次提交
-
-
由 Michael Turquette 提交于
-
由 Eric Anholt 提交于
There are a pair of SPI masters and a mini UART that were last minute additions. As a result, they didn't get integrated in the same way as the other gates off of the VPU clock in CPRMAN. Signed-off-by: NEric Anholt <eric@anholt.net> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Eric Anholt 提交于
These will be used for enabling UART1, SPI1, and SPI2. Signed-off-by: NEric Anholt <eric@anholt.net> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
-
由 Russell King 提交于
Add support for the Dove PLL dividers, which are used to generate the clocks for the AXI bus, as well as the GPU and VMeta peripherals. Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
git://linuxtv.org/snawrocki/samsung由 Michael Turquette 提交于
drivers/clk/samsung updates (mostly bug fixes): - instantiation of the cpu clocks and addition of the GSCL IP parent clocks to the list of available consumer clocks for exynos542x SoCs; - MFC IP parent clock fix for exynos542x; - fix of locking bug in samsung/clk-cpu.c which caused system crashes with cpufreq enabled; - minor cleanup for s3c2410.
-
由 Michael Turquette 提交于
-
由 Michael Turquette 提交于
Merge tag 'imx-clk-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into clk-next The i.MX clock updates for 4.5: - Add is_prepared function callback for pllv3 clock driver - Use imx_check_clocks() on imx6ul and imx7d clock drivers to save some code - Add a core clock for imx7d to support generic cpufreq driver - Support imx6q clock routing with OSC to anaclk2/2b - To support more precise pixel clocks on imx5, allow ipu_di_sel clock selectors to influence the PLLs that they are derived from - A cleanup on imx25 OSC clock
-
由 Michael Turquette 提交于
Merge tag 'v4.5-rockchip-clk1_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-next Rockchip clock changes for 4.5 containing - a new pll-type used on rk3036 and other Cortex-A7 socs - new clock-trees for rk3036 and rk3228 - switch rk3288 plls to slow mode on reboot - a bunch of new clock ids - some more critical clocks - wrong register offsets for the rk3368 cpuclks - allowing more than 2 parents for the cpuclk
-
由 Michael Turquette 提交于
Merge branch 'clk-shmobile-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into clk-next
-
由 Masahiro Yamada 提交于
This code is unreadable due to the blank line between if and else blocks. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 21 12月, 2015 3 次提交
-
-
由 Heiko Stuebner 提交于
As commit 1d33929e ("clk: rockchip: switch PLLs to slow mode before reboot for rk3288") states, switching the PLLs to slow-mode is only necessary when rebooting using the soft-reset done through the CRU. The dwc2 controllers used create really big number of interrupts in special constellations involving usb-hubs and their number is so high, it can even overwhelm the interrupt handler if the cpu-speed os to low. Right now the PLLs are put into slow-mode in a shutdown syscore_ops callback which means it happens on all reboots (not only the soft-reset ones) and even on poweroff actions. This can result in the system not powering off and getting stuck instead, so we should move the slow-mode change nearer to the actual reboot action. For this we introduce the possiblity to also set a callback that gets called from the restart-handler directly prior to restarting the system and move the shutdown-callback to this new option. With this the slow-mode switch is done only on the necessary reboots and also has a smaller possibility of causing artifacts. Fixes: 1d33929e ("clk: rockchip: switch PLLs to slow mode before reboot for rk3288") Signed-off-by: NHeiko Stuebner <heiko.stuebner@collabora.com> Reviewed-by: NDouglas Anderson <dianders@chromium.org>
-
由 Linus Torvalds 提交于
-
git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux由 Linus Torvalds 提交于
Pull RTC fixes from Alexandre Belloni: "Late fixes for the RTC subsystem for 4.4: A fix for a nasty hardware bug in rk808 and an initialization reordering in da9063 to fix a possible crash" * tag 'rtc-4.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: rtc: da9063: fix access ordering error during RTC interrupt at system power on rtc: rk808: Compensate for Rockchip calendar deviation on November 31st
-