-
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.
dt-bindings: clock: Add Qualcomm SC8280XP GCC bindings
Add binding for the Qualcomm SC8280XP Global Clock controller. The clock-names property is purposefully omitted, to clearly communicate to the writer (and reader) of the DeviceTree source based on this binding that the order of "clocks" is significant, in contrast to previous GCC bindings. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220505025457.1693716-2-bjorn.andersson@linaro.org
- Loading branch information
Bjorn Andersson
committed
May 19, 2022
1 parent
cadf16c
commit a66a82f
Showing
2 changed files
with
624 additions
and
0 deletions.
There are no files selected for viewing
128 changes: 128 additions & 0 deletions
128
Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.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,128 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8280xp.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Global Clock & Reset Controller Binding for SC8280xp | ||
|
||
maintainers: | ||
- Bjorn Andersson <bjorn.andersson@linaro.org> | ||
|
||
description: | | ||
Qualcomm global clock control module which supports the clocks, resets and | ||
power domains on SC8280xp. | ||
See also: | ||
- include/dt-bindings/clock/qcom,gcc-sc8280xp.h | ||
properties: | ||
compatible: | ||
const: qcom,gcc-sc8280xp | ||
|
||
clocks: | ||
items: | ||
- description: XO reference clock | ||
- description: Sleep clock | ||
- description: UFS memory first RX symbol clock | ||
- description: UFS memory second RX symbol clock | ||
- description: UFS memory first TX symbol clock | ||
- description: UFS card first RX symbol clock | ||
- description: UFS card second RX symbol clock | ||
- description: UFS card first TX symbol clock | ||
- description: Primary USB SuperSpeed pipe clock | ||
- description: USB4 PHY pipegmux clock source | ||
- description: USB4 PHY DP gmux clock source | ||
- description: USB4 PHY sys piegmux clock source | ||
- description: USB4 PHY PCIe pipe clock | ||
- description: USB4 PHY router max pipe clock | ||
- description: Primary USB4 RX0 clock | ||
- description: Primary USB4 RX1 clock | ||
- description: Secondary USB SuperSpeed pipe clock | ||
- description: Second USB4 PHY pipegmux clock source | ||
- description: Second USB4 PHY DP gmux clock source | ||
- description: Second USB4 PHY sys pipegmux clock source | ||
- description: Second USB4 PHY PCIe pipe clock | ||
- description: Second USB4 PHY router max pipe clock | ||
- description: Secondary USB4 RX0 clock | ||
- description: Secondary USB4 RX1 clock | ||
- description: Multiport USB first SupserSpeed pipe clock | ||
- description: Multiport USB second SuperSpeed pipe clock | ||
- description: PCIe 2a pipe clock | ||
- description: PCIe 2b pipe clock | ||
- description: PCIe 3a pipe clock | ||
- description: PCIe 3b pipe clock | ||
- description: PCIe 4 pipe clock | ||
- description: First EMAC controller reference clock | ||
- description: Second EMAC controller reference clock | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
'#reset-cells': | ||
const: 1 | ||
|
||
'#power-domain-cells': | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
protected-clocks: | ||
maxItems: 389 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- reg | ||
- '#clock-cells' | ||
- '#reset-cells' | ||
- '#power-domain-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
clock-controller@100000 { | ||
compatible = "qcom,gcc-sc8280xp"; | ||
reg = <0x00100000 0x1f0000>; | ||
clocks = <&rpmhcc RPMH_CXO_CLK>, | ||
<&sleep_clk>, | ||
<&ufs_phy_rx_symbol_0_clk>, | ||
<&ufs_phy_rx_symbol_1_clk>, | ||
<&ufs_phy_tx_symbol_0_clk>, | ||
<&ufs_card_rx_symbol_0_clk>, | ||
<&ufs_card_rx_symbol_1_clk>, | ||
<&ufs_card_tx_symbol_0_clk>, | ||
<&usb_0_ssphy>, | ||
<&gcc_usb4_phy_pipegmux_clk_src>, | ||
<&gcc_usb4_phy_dp_gmux_clk_src>, | ||
<&gcc_usb4_phy_sys_pipegmux_clk_src>, | ||
<&usb4_phy_gcc_usb4_pcie_pipe_clk>, | ||
<&usb4_phy_gcc_usb4rtr_max_pipe_clk>, | ||
<&qusb4phy_gcc_usb4_rx0_clk>, | ||
<&qusb4phy_gcc_usb4_rx1_clk>, | ||
<&usb_1_ssphy>, | ||
<&gcc_usb4_1_phy_pipegmux_clk_src>, | ||
<&gcc_usb4_1_phy_dp_gmux_clk_src>, | ||
<&gcc_usb4_1_phy_sys_pipegmux_clk_src>, | ||
<&usb4_1_phy_gcc_usb4_pcie_pipe_clk>, | ||
<&usb4_1_phy_gcc_usb4rtr_max_pipe_clk>, | ||
<&qusb4phy_1_gcc_usb4_rx0_clk>, | ||
<&qusb4phy_1_gcc_usb4_rx1_clk>, | ||
<&usb_2_ssphy>, | ||
<&usb_3_ssphy>, | ||
<&pcie2a_lane>, | ||
<&pcie2b_lane>, | ||
<&pcie3a_lane>, | ||
<&pcie3b_lane>, | ||
<&pcie4_lane>, | ||
<&rxc0_ref_clk>, | ||
<&rxc1_ref_clk>; | ||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
#power-domain-cells = <1>; | ||
}; | ||
... |
Oops, something went wrong.