Unverified Commit 3908ca66 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Merge tag 'bindings-signed' of...

Merge tag 'bindings-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/dt

Clock binding updates for omaps

Minor clock binding changes to document clock-output-names usage for omaps
so we can fix lots of related dt bindings check warnings. The related driver
changes already got merged for v5.18.

* tag 'bindings-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  dt-bindings: clock: ti: Add clock-output-names for TI composite clocks
  dt-bindings: clock: ti: Add clock-output-names for clockctrl
  dt-bindings: omap: Add clock-output-names and #clock-cells

Link: https://lore.kernel.org/r/pull-1650961799-428630@atomide.com


Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents fafb0343 fc3d39d5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -31,12 +31,17 @@ Required properties:
		(base address and length)
- clocks:	clocks for this module
- clockdomains:	clockdomains for this module
- #clock-cells: From common clock binding
- clock-output-names: From common clock binding


Example:

cm: cm@48004000 {
cm: clock@48004000 {
	compatible = "ti,omap3-cm";
	reg = <0x48004000 0x4000>;
	#clock-cells = <0>;
	clock-output-names = "cm";

	cm_clocks: clocks {
		#address-cells = <1>;
+3 −1
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ Required properties :
	       "ti,clkctrl-l4-per"
	       "ti,clkctrl-l4-secure"
	       "ti,clkctrl-l4-wkup"
- clock-output-names : from common clock binding
- #clock-cells : shall contain 2 with the first entry being the instance
		 offset from the clock domain base and the second being the
		 clock index
@@ -32,7 +33,8 @@ Example: Clock controller node on omap 4430:
	l4per: cm@1400 {
		cm_l4per@0 {
			cm_l4per_clkctrl: clock@20 {
				compatible = "ti,clkctrl-l4-per", "ti,clkctrl";
				compatible = "ti,clkctrl";
				clock-output-names = "l4_per";
				reg = <0x20 0x1b0>;
				#clock-cells = <2>;
			};
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ Required properties:
- #clock-cells : from common clock binding; shall be set to 0.
- clocks : link phandles of clocks within this domain

Optional properties:
- clock-output-names : from common clock binding.

Examples:
	dss_clkdm: dss_clkdm {
		compatible = "ti,clockdomain";
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ Required properties:
- clocks : link phandles of component clocks
- #clock-cells : from common clock binding; shall be set to 0.

Optional properties:
- clock-output-names : from common clock binding.

Examples:

usb_l4_gate_ick: usb_l4_gate_ick {
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ Required properties:
- clocks: parent clock.

Optional properties:
- clock-output-names : from common clock binding.
- ti,autoidle-shift: bit shift of the autoidle enable bit for the clock,
  see [2]
- reg: offset for the autoidle register of this clock, see [2]
Loading