mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
Add compatible string for the SPMI block on MT8188 SoC, which is compatible with the one used on MT8195. Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Fei Shao <fshao@chromium.org> Link: https://lore.kernel.org/r/20240911143429.850071-2-fshao@chromium.org Signed-off-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Stephen Boyd <sboyd@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.dleregno@collabora.com> Link: https://lore.kernel.org/r/20241109002829.160973-3-sboyd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
83 lines
1.8 KiB
YAML
83 lines
1.8 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/spmi/mtk,spmi-mtk-pmif.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Mediatek SPMI Controller
|
|
|
|
maintainers:
|
|
- Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
|
|
|
|
description: |+
|
|
On MediaTek SoCs the PMIC is connected via SPMI and the controller allows
|
|
for multiple SoCs to control a single SPMI master.
|
|
|
|
allOf:
|
|
- $ref: spmi.yaml
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- mediatek,mt6873-spmi
|
|
- mediatek,mt8195-spmi
|
|
- items:
|
|
- enum:
|
|
- mediatek,mt8186-spmi
|
|
- mediatek,mt8188-spmi
|
|
- const: mediatek,mt8195-spmi
|
|
|
|
reg:
|
|
maxItems: 2
|
|
|
|
reg-names:
|
|
items:
|
|
- const: pmif
|
|
- const: spmimst
|
|
|
|
clocks:
|
|
minItems: 3
|
|
maxItems: 3
|
|
|
|
clock-names:
|
|
items:
|
|
- const: pmif_sys_ck
|
|
- const: pmif_tmr_ck
|
|
- const: spmimst_clk_mux
|
|
|
|
assigned-clocks:
|
|
maxItems: 1
|
|
|
|
assigned-clock-parents:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- reg-names
|
|
- clocks
|
|
- clock-names
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/mt8192-clk.h>
|
|
|
|
spmi: spmi@10027000 {
|
|
compatible = "mediatek,mt6873-spmi";
|
|
reg = <0x10027000 0xe00>,
|
|
<0x10029000 0x100>;
|
|
reg-names = "pmif", "spmimst";
|
|
clocks = <&infracfg CLK_INFRA_PMIC_AP>,
|
|
<&infracfg CLK_INFRA_PMIC_TMR>,
|
|
<&topckgen CLK_TOP_SPMI_MST_SEL>;
|
|
clock-names = "pmif_sys_ck",
|
|
"pmif_tmr_ck",
|
|
"spmimst_clk_mux";
|
|
assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC_SEL>;
|
|
assigned-clock-parents = <&topckgen CLK_TOP_OSC_D10>;
|
|
};
|
|
...
|