aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-12Merge commit '20a2742e5784295b9197250b50c40f6d38a55880' into ↵Tony Lindgren2-0/+58
omap-for-v4.16/dt-clk
2017-12-15dt-bindings: ti-sysc: Update binding for timers and capabilitiesTony Lindgren2-0/+58
The ti-sysc binding does not yet describe the capabilities of the interconnect target module. So to make the ti-sysc binding usable for configuring the interconnect target module, we need to add few more properties: 1. To detect between omap2 and omap4 timers, let's add compatibles for them for "ti,sysc-omap2-timer" and,sysc-omap4-timer". This makes it easier to pick up the already initialized system timers later on 2. Let's add "ti,sysc-mask" for a mask of features supported by the interconnect target module. This describes what we have available in the various SYSCONFIG registers 3. Let's add "ti,sysc-midle" and "ti,sysc-sidle" lists for the master and slave idle modes supported by the interconnect target module. These describe the values available for MIDLE and SIDLE bits in the SYSCONFIG registers 4. Some interconnect target modules need a short delay after reset before they can be accessed, let's use "ti,sysc-delay-us" for that 5. Let's add "ti,syss-mask" bit to describe the optional SYSSTATUS register bits for reset done bits 6. Let's support the two existing custom quirk properties already listed in Documentation/devicetree/bindings/arm/omap/omap.txt for "ti,no-reset-on-init" and "ti,no-idle-on-init" 7. And finally, let's add a header for the binding for the dts files and the driver to use Cc: Benoît Cousson <[email protected]> Cc: Dave Gerlach <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Nishanth Menon <[email protected]> Cc: Matthijs van Duin <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Peter Ujfalusi <[email protected]> Cc: Sakari Ailus <[email protected]> Cc: Suman Anna <[email protected]> Cc: Tero Kristo <[email protected]> Cc: Tomi Valkeinen <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dm816x: add clkctrl nodesTero Kristo1-0/+30
Add clkctrl nodes for DM816x SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dm814x: add clkctrl nodesTero Kristo1-0/+30
Add clkctrl nodes for DM814x SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: am43xx: add clkctrl nodesTero Kristo3-164/+75
Add clkctrl nodes for AM43xx SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. This patch also removes any obsolete clock nodes, and reroutes all users for these to use the new clkctrl clocks instead. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: am33xx: add clkctrl nodesTero Kristo6-119/+99
Add clkctrl nodes for AM33xx SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. This patch also removes any obsolete clock nodes, and reroutes all users for these to use the new clkctrl clocks instead. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dra7: add clkctrl nodesTero Kristo7-736/+261
Add clkctrl nodes for DRA7 SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. This patch also removes any obsolete clock nodes, and reroutes all users for these to use the new clkctrl clocks instead. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: omap5: add clkctrl nodesTero Kristo2-431/+222
Add clkctrl nodes for OMAP5 SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. This patch also removes any obsolete clock nodes, and reroutes all users for these to use the new clkctrl clocks instead. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: omap4: add clkctrl nodesTero Kristo2-613/+306
Add clkctrl nodes for OMAP4 SoC. These are going to be acting as replacement for part of the existing clock data and the existing clkctrl hooks under hwmod data. This patch also removes any obsolete clock nodes, and reroutes all users for these to use the new clkctrl clocks instead. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dm816x: add bus functionality to base PRCM nodeTero Kristo1-1/+4
Add simple-bus compatibility and ranges properties to prcm node. This is done in preparation of adding the support for clkctrl nodes. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: am43xx: add bus functionality to base PRCM nodeTero Kristo1-1/+4
Add simple-bus compatibility and ranges properties to prcm node. This is done in preparation of adding the support for clkctrl nodes. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: am33xx: add bus functionality to base PRCM nodeTero Kristo1-1/+4
Add simple-bus compatibility and ranges properties to prcm node. This is done in preparation of adding the support for clkctrl nodes. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dra7: add bus functionality to base PRCM nodesTero Kristo1-3/+13
Add simple-bus compatibility and ranges properties to cm1, cm2 and prm nodes. This is done in preparation of adding the support for clkctrl nodes. SPLIT: timer1 fck setup Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: omap4: add bus functionality to base PRCM nodesTero Kristo1-2/+11
Add simple-bus compatibility and ranges properties to cm1, cm2 and prm nodes. This is done in preparation of adding the support for clkctrl nodes. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: omap5: add bus functionality to base PRCM nodesTero Kristo1-3/+13
Add simple-bus compatibility and ranges properties to cm_core_aon, cm_core and prm nodes. This is done in preparation of adding the support for clkctrl nodes. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dm816x: add fck under timers1/2Tero Kristo1-0/+4
Add the functional clock definition for timers1/2. This is needed so that the clock rate claculations continue to function properly once dm816x transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dm814x: add fck under timers1/2Tero Kristo1-0/+4
Add the functional clock definition for timers1/2. This is needed so that the clock rate claculations continue to function properly once dm814x transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: dra7: add fck under timer1Tero Kristo1-0/+2
Add the functional clock definition for timer1. This is needed so that the clock rate calculations continue to function properly once dra7 transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: am43xx: add fck under timers1/2Tero Kristo1-0/+4
Add the functional clock definition for timers1/2. This is needed so that the clock rate calculations continue to function properly once am33xx transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: am33xx: add fck under timers1/2Tero Kristo1-0/+4
Add the functional clock definition for timers1/2. This is needed so that the clock rate calculations continue to function properly once am33xx transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: omap4: add fck under timer1Tero Kristo1-0/+2
Add the functional clock definition for timer1. This is needed so that the clock rate calculations continue to function properly once omap4 transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: dts: omap5: add fck under timer1Tero Kristo1-0/+2
Add the functional clock definition for timer1. This is needed so that the clock rate calculations continue to function properly once omap5 transitions away from hwmod data and towards the clkctrl clocks. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11Merge commit 'fe7020e64f04' into omap-for-v4.16/dt-clkTony Lindgren20-1052/+2662
2017-12-11Merge branch '4.15-rc1-clkctrl-mach-omap2' of ↵Tony Lindgren8-55/+59
https://github.com/t-kristo/linux-pm into omap-for-v4.16/soc
2017-12-11ARM: OMAP2+: CM: make cm_ll_data structures as constBhumika Goyal4-4/+4
Make these const as they are only getting passed to the functions cm_register and cm_unregister having the arguments as const. Signed-off-by: Bhumika Goyal <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-11ARM: OMAP2+: CM: make some pointers and function arguments as constBhumika Goyal2-5/+5
Make the pointer cm_ll_data of type cm_ll_data as const as it does not modify the fields of the structure it points too. After this change, make the argument of cm_register function as const as it is used to initialise cm_ll_data or used inside an if condition. Make the pointer argument of cm_unregister function as const as it is only used inside an if condition. Add const to the function prototypes too. Signed-off-by: Bhumika Goyal <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2017-12-04ARM: DM816x: hwmod_data: fix clockdomain name for sata hwmodTero Kristo1-1/+1
"default_sata_clkdm" does not exist, instead replace this with the correct clockdomain name which is just "default_clkdm". Signed-off-by: Tero Kristo <[email protected]>
2017-12-04ARM: OMAP2+: hwmod: calculate physical register address on am33xxTero Kristo1-0/+1
Add support for the address translation logic for am33xx. Needed for mapping hwmods towards their corresponding clkctrl providers and clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-04ARM: AM33xx: CM: add support for getting physical address for a registerTero Kristo1-0/+6
Needed for mapping the hwmods towards their corresponding clkctrl providers and clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-04ARM: OMAP2+: clockdomain: remove the obsolete clkdm_xlate_address APITero Kristo2-10/+0
This is no longer used for anything so it can be dropped. Signed-off-by: Tero Kristo <[email protected]>
2017-12-04ARM: OMAP2+: hwmod: fix clkctrl address translation logicTero Kristo1-37/+35
There are cases where clkctrl clock offsets do not match the corresponding clockdomain, and this case the existing mapping functionality will fail. Fix this by adding the whole address range for a clkctrl provider and matching the actual clkctrl registers against these ranges. Signed-off-by: Tero Kristo <[email protected]>
2017-12-04ARM: OMAP4: CMINST: add support for translating clkctrl addressesTero Kristo1-7/+3
Needed to map clkctrl clocks against hwmods. This patch also removes the obsolete clkdm_xlate_address function which is no longer needed for anything. Signed-off-by: Tero Kristo <[email protected]>
2017-12-04ARM: OMAP2+: CM: add support for getting phys address for a clkctrl registerTero Kristo2-0/+13
Add a new CM API for fetching the physical address of a hwmod clkctrl register. This is needed to map omap hwmods against clkctrl clocks, the existing support for clkdm address translation was not sufficient to handle the mutant cases where the clockdomain offset is completely off from the clkctrl ones. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: omap4: clkctrl data fixes for opt-clocksTero Kristo1-40/+115
Re-route all opt-clocks to use the new clkctrl clocks also, instead of depending on the old dt clocks. Also, add aliases for certain clkctrl clocks that hwmod core depends upon. The alias list can be stripped down once hwmod database no longer needs these. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: dm816: add clkctrl clock dataTero Kristo3-0/+49
Add data for dm816 clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01dt-bindings: clk: add dm816 clkctrl definitionsTero Kristo1-0/+53
Contains offsets for all dm816 clkctrl main and optional clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: dm814: add clkctrl clock dataTero Kristo3-0/+42
Add data for dm814 clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01dt-bindings: clk: add dm814 clkctrl definitionsTero Kristo1-0/+45
Contains offsets for all dm814 clkctrl main and optional clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: am43xx: add clkctrl clock dataTero Kristo3-0/+204
Add data for am43xx clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <[email protected]> Acked-by: Stephen Boyd <[email protected]>
2017-12-01dt-bindings: clk: add am43xx clkctrl definitionsTero Kristo1-0/+113
Contains offsets for all am43xx clkctrl main and optional clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: am33xx: add clkctrl clock dataTero Kristo3-1/+195
Add data for am33xx clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01dt-bindings: clk: add am33xx clkctrl definitionsTero Kristo1-0/+108
Contains offsets for all am33xx clkctrl main and optional clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: dra7: add clkctrl clock dataTero Kristo3-0/+798
Add data for dra7 clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01dt-bindings: clk: add dra7 clkctrl definitionsTero Kristo1-0/+172
Contains offsets for all dra7 clkctrl main and optional clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: omap5: add clkctrl clock dataTero Kristo3-0/+508
Add data for omap5 clkctrl clocks, and register it within the clkctrl driver. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01dt-bindings: clk: add omap5 clkctrl definitionsTero Kristo1-0/+118
Contains offsets for all omap5 clkctrl main and optional clocks. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: omap3: cleanup unnecessary clock aliasesTero Kristo1-261/+2
Most of the clock aliases are no longer needed, only leave the ones required by OMAP timer code in place. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: am43xx: cleanup unnecessary clock aliasesTero Kristo1-97/+2
Most of the clock aliases are no longer needed, only leave the ones required by OMAP timer code in place. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: am33xx: cleanup unnecessary clock aliasesTero Kristo1-86/+2
Most of the clock aliases are no longer needed, only leave the ones required by OMAP timer code in place. Signed-off-by: Tero Kristo <[email protected]>
2017-12-01clk: ti: dm816x: cleanup unnecessary clock aliasesTero Kristo1-16/+1
Most of the clock aliases are no longer needed, only leave the ones required by OMAP timer code in place. Signed-off-by: Tero Kristo <[email protected]>