mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-29 20:36:40 +00:00

Update binding for yaml and remove the old related txt bindings. Note that we are also adding the undocumented pinctrl-single,slew-rate property. And we only use the first example from the old binding. As we are mostly using a generic compatible across various SoCs, let's not start adding matches for random pin group node naming. Let's standardize on pin group node name ending in -pins with an optional instance number suffix. As a pin group may have additional pins added to it later on, let's always use -pins rather than -pin for the gropu name. Most of the dts files have been updated already for the pin group node names with a few changes still pending. Cc: Nishanth Menon <nm@ti.com> Cc: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230721082654.27036-1-tony@atomide.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
82 lines
1.9 KiB
Text
82 lines
1.9 KiB
Text
OMAP Control Module bindings
|
|
|
|
Control Module contains miscellaneous features under it based on SoC type.
|
|
Pincontrol is one common feature, and it has a specialized support
|
|
described in [1]. Typically some clock nodes are also under control module.
|
|
Syscon is used to share register level access to drivers external to
|
|
control module driver itself.
|
|
|
|
See [2] for documentation about clock/clockdomain nodes.
|
|
|
|
[1] Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml
|
|
[2] Documentation/devicetree/bindings/clock/ti/*
|
|
|
|
Required properties:
|
|
- compatible: Must be one of:
|
|
"ti,am3-scm"
|
|
"ti,am4-scm"
|
|
"ti,dm814-scrm"
|
|
"ti,dm816-scrm"
|
|
"ti,omap2-scm"
|
|
"ti,omap3-scm"
|
|
"ti,omap4-scm-core"
|
|
"ti,omap4-scm-padconf-core"
|
|
"ti,omap4-scm-wkup"
|
|
"ti,omap4-scm-padconf-wkup"
|
|
"ti,omap5-scm-core"
|
|
"ti,omap5-scm-padconf-core"
|
|
"ti,omap5-scm-wkup-pad-conf"
|
|
"ti,dra7-scm-core"
|
|
- reg: Contains Control Module register address range
|
|
(base address and length)
|
|
|
|
Optional properties:
|
|
- clocks: clocks for this module
|
|
- clockdomains: clockdomains for this module
|
|
|
|
Examples:
|
|
|
|
scm: scm@2000 {
|
|
compatible = "ti,omap3-scm", "simple-bus";
|
|
reg = <0x2000 0x2000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0x2000 0x2000>;
|
|
|
|
omap3_pmx_core: pinmux@30 {
|
|
compatible = "ti,omap3-padconf",
|
|
"pinctrl-single";
|
|
reg = <0x30 0x230>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
pinctrl-single,register-width = <16>;
|
|
pinctrl-single,function-mask = <0xff1f>;
|
|
};
|
|
|
|
scm_conf: scm_conf@270 {
|
|
compatible = "syscon";
|
|
reg = <0x270 0x330>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
scm_clocks: clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|
|
|
|
scm_clockdomains: clockdomains {
|
|
};
|
|
}
|
|
|
|
&scm_clocks {
|
|
mcbsp5_mux_fck: mcbsp5_mux_fck {
|
|
#clock-cells = <0>;
|
|
compatible = "ti,composite-mux-clock";
|
|
clocks = <&core_96m_fck>, <&mcbsp_clks>;
|
|
ti,bit-shift = <4>;
|
|
reg = <0x02d8>;
|
|
};
|
|
};
|