-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'clk-imx-5.7' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/shawnguo/linux into clk-imx Pull i.MX clk driver updates from Shawn Guo: - A series from Anson to convert i.MX8 clock bindings to json-schema - Update pll14xx driver to include new frequency entries for pll1443x table, and return error for invalid PLL type - Clean up header includes and unnecessary code on a few clock driver - Add mssing of_node_put() call for a number of clock drivers - Drop flag CLK_IS_CRITICAL from 'A53_CORE' mux clock, as we already have the flag on its child cpu clock - Fix a53 cpu clock for i.MX8 drivers to get it source from ARM PLL via CORE_SEL slice, and source from A53 CCM clk root when we need to change ARM PLL frequency. Thus, we can support core running above 1GHz safely - Update pfdv2 driver to check zero rate and use determine_rate for getting the best rate - Add CLKO2 for imx8mm, SNVS clock for imx8mn, and PXP clock for imx7d * tag 'clk-imx-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (41 commits) clk: imx: clk-gate2: Pass the device to the register function clk: imx7d: Add PXP clock clk: imx8mq: A53 core clock no need to be critical clk: imx8mp: A53 core clock no need to be critical clk: imx8mm: A53 core clock no need to be critical clk: imx8mn: A53 core clock no need to be critical clk: imx: pllv4: use prepare/unprepare clk: imx: pfdv2: determine best parent rate clk: imx: pfdv2: switch to use determine_rate clk: imx: Fix division by zero warning on pfdv2 clk: imx: clk-sscg-pll: Drop unnecessary initialization clk: imx: pll14xx: Return error if pll type is invalid clk: imx: imx8mp: fix a53 cpu clock clk: imx: imx8mn: fix a53 cpu clock clk: imx: imx8mm: fix a53 cpu clock clk: imx: imx8mq: fix a53 cpu clock clk: imx8mp: Rename the IMX8MP_CLK_HDMI_27M clock clk: imx8mn: Remove unused includes clk: imx8mm: Remove unused includes clk: imx8mp: Include slab.h instead of clkdev.h ...
- Loading branch information
Showing
26 changed files
with
383 additions
and
211 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/bindings/clock/imx8mm-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NXP i.MX8M Mini Clock Control Module Binding | ||
|
||
maintainers: | ||
- Anson Huang <Anson.Huang@nxp.com> | ||
|
||
description: | | ||
NXP i.MX8M Mini clock control module is an integrated clock controller, which | ||
generates and supplies to all modules. | ||
properties: | ||
compatible: | ||
const: fsl,imx8mm-ccm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: 32k osc | ||
- description: 24m osc | ||
- description: ext1 clock input | ||
- description: ext2 clock input | ||
- description: ext3 clock input | ||
- description: ext4 clock input | ||
|
||
clock-names: | ||
items: | ||
- const: osc_32k | ||
- const: osc_24m | ||
- const: clk_ext1 | ||
- const: clk_ext2 | ||
- const: clk_ext3 | ||
- const: clk_ext4 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
description: | ||
The clock consumer should specify the desired clock by having the clock | ||
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mm-clock.h | ||
for the full list of i.MX8M Mini clock IDs. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#clock-cells' | ||
|
||
examples: | ||
# Clock Control Module node: | ||
- | | ||
clk: clock-controller@30380000 { | ||
compatible = "fsl,imx8mm-ccm"; | ||
reg = <0x30380000 0x10000>; | ||
#clock-cells = <1>; | ||
clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, | ||
<&clk_ext3>, <&clk_ext4>; | ||
clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", | ||
"clk_ext3", "clk_ext4"; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/bindings/clock/imx8mq-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NXP i.MX8M Quad Clock Control Module Binding | ||
|
||
maintainers: | ||
- Anson Huang <Anson.Huang@nxp.com> | ||
|
||
description: | | ||
NXP i.MX8M Quad clock control module is an integrated clock controller, which | ||
generates and supplies to all modules. | ||
properties: | ||
compatible: | ||
const: fsl,imx8mq-ccm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: 32k osc | ||
- description: 25m osc | ||
- description: 27m osc | ||
- description: ext1 clock input | ||
- description: ext2 clock input | ||
- description: ext3 clock input | ||
- description: ext4 clock input | ||
|
||
clock-names: | ||
items: | ||
- const: ckil | ||
- const: osc_25m | ||
- const: osc_27m | ||
- const: clk_ext1 | ||
- const: clk_ext2 | ||
- const: clk_ext3 | ||
- const: clk_ext4 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
description: | ||
The clock consumer should specify the desired clock by having the clock | ||
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mq-clock.h | ||
for the full list of i.MX8M Quad clock IDs. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#clock-cells' | ||
|
||
examples: | ||
# Clock Control Module node: | ||
- | | ||
clk: clock-controller@30380000 { | ||
compatible = "fsl,imx8mq-ccm"; | ||
reg = <0x30380000 0x10000>; | ||
#clock-cells = <1>; | ||
clocks = <&ckil>, <&osc_25m>, <&osc_27m>, | ||
<&clk_ext1>, <&clk_ext2>, | ||
<&clk_ext3>, <&clk_ext4>; | ||
clock-names = "ckil", "osc_25m", "osc_27m", | ||
"clk_ext1", "clk_ext2", | ||
"clk_ext3", "clk_ext4"; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.