Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
Device Tree Clock bindings for arch-moxart
|
|
|
|
This binding uses the common clock binding[1].
|
|
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
MOXA ART SoCs allow to determine PLL output and APB frequencies
|
|
by reading registers holding multiplier and divisor information.
|
|
|
|
|
|
PLL:
|
|
|
|
Required properties:
|
|
- compatible : Must be "moxa,moxart-pll-clock"
|
|
- #clock-cells : Should be 0
|
|
- reg : Should contain registers location and length
|
|
- clocks : Should contain phandle + clock-specifier for the parent clock
|
|
|
|
Optional properties:
|
|
- clock-output-names : Should contain clock name
|
|
|
|
|
|
APB:
|
|
|
|
Required properties:
|
|
- compatible : Must be "moxa,moxart-apb-clock"
|
|
- #clock-cells : Should be 0
|
|
- reg : Should contain registers location and length
|
|
- clocks : Should contain phandle + clock-specifier for the parent clock
|
|
|
|
Optional properties:
|
|
- clock-output-names : Should contain clock name
|
|
|
|
|
|
For example:
|
|
|
|
clk_pll: clk_pll@98100000 {
|
|
compatible = "moxa,moxart-pll-clock";
|
|
#clock-cells = <0>;
|
|
reg = <0x98100000 0x34>;
|
|
};
|
|
|
|
clk_apb: clk_apb@98100000 {
|
|
compatible = "moxa,moxart-apb-clock";
|
|
#clock-cells = <0>;
|
|
reg = <0x98100000 0x34>;
|
|
clocks = <&clk_pll>;
|
|
};
|