-
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 branches 'clk-socfpga', 'clk-toshiba', 'clk-st' and 'clk-bitmai…
…n' into clk-next - Clock and reset driver for Toshiba Visconti SoCs * clk-socfpga: clk: socfpga: s10: Make use of the helper function devm_platform_ioremap_resource() clk: socfpga: agilex: Make use of the helper function devm_platform_ioremap_resource() clk: socfpga: remove redundant assignment after a mask operation clk: socfpga: remove redundant assignment on division * clk-toshiba: clk: visconti: Remove pointless NULL check in visconti_pll_add_lookup() MAINTAINERS: Add entries for Toshiba Visconti PLL and clock controller clk: visconti: Add support common clock driver and reset driver dt-bindings: clock: Add DT bindings for SMU of Toshiba Visconti TMPV770x SoC dt-bindings: clock: Add DT bindings for PLL of Toshiba Visconti TMPV770x SoC * clk-st: clk: Drop unused COMMON_CLK_STM32MP157_SCMI config clk: st: clkgen-mux: search reg within node or parent clk: st: clkgen-fsyn: search reg within node or parent * clk-bitmain: clk: bm1880: remove kfrees on static allocations
- Loading branch information
Showing
24 changed files
with
1,580 additions
and
41 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
Documentation/devicetree/bindings/clock/toshiba,tmpv770x-pipllct.yaml
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,57 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/toshiba,tmpv770x-pipllct.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Toshiba Visconti5 TMPV770X PLL Controller Device Tree Bindings | ||
|
||
maintainers: | ||
- Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> | ||
|
||
description: | ||
Toshia Visconti5 PLL controller which supports the PLLs on TMPV770X. | ||
|
||
properties: | ||
compatible: | ||
const: toshiba,tmpv7708-pipllct | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
clocks: | ||
description: External reference clock (OSC2) | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- "#clock-cells" | ||
- clocks | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
osc2_clk: osc2-clk { | ||
compatible = "fixed-clock"; | ||
clock-frequency = <20000000>; | ||
#clock-cells = <0>; | ||
}; | ||
soc { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
pipllct: clock-controller@24220000 { | ||
compatible = "toshiba,tmpv7708-pipllct"; | ||
reg = <0 0x24220000 0 0x820>; | ||
#clock-cells = <1>; | ||
clocks = <&osc2_clk>; | ||
}; | ||
}; | ||
... |
52 changes: 52 additions & 0 deletions
52
Documentation/devicetree/bindings/clock/toshiba,tmpv770x-pismu.yaml
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,52 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/toshiba,tmpv770x-pismu.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Toshiba Visconti5 TMPV770x SMU controller Device Tree Bindings | ||
|
||
maintainers: | ||
- Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> | ||
|
||
description: | ||
Toshia Visconti5 SMU (System Management Unit) which supports the clock | ||
and resets on TMPV770x. | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- const: toshiba,tmpv7708-pismu | ||
- const: syscon | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
'#reset-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- "#clock-cells" | ||
- "#reset-cells" | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
soc { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
pismu: syscon@24200000 { | ||
compatible = "toshiba,tmpv7708-pismu", "syscon"; | ||
reg = <0 0x24200000 0 0x2140>; | ||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
}; | ||
}; | ||
... |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
config COMMON_CLK_VISCONTI | ||
bool "Support for Toshiba Visconti5 ARM SoC clock controllers" | ||
depends on ARCH_VISCONTI || COMPILE_TEST | ||
default ARCH_VISCONTI | ||
help | ||
Support for the Toshiba Visconti5 ARM SoC clock controller. | ||
Say Y if you want to include clock support. |
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,5 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# Makefile for Toshiba Visconti clock | ||
|
||
obj-y += clkc.o pll.o reset.o | ||
obj-y += pll-tmpv770x.o clkc-tmpv770x.o |
Oops, something went wrong.