~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/ti/dra7-atl.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Device Tree Clock bindings for ATL (Audio Tracking Logic) of DRA7 SoC.
  2 
  3 The ATL IP is used to generate clock to be used to synchronize baseband and
  4 audio codec. A single ATL IP provides four ATL clock instances sharing the same
  5 functional clock but can be configured to provide different clocks.
  6 ATL can maintain a clock averages to some desired frequency based on the bws/aws
  7 signals - can compensate the drift between the two ws signal.
  8 
  9 In order to provide the support for ATL and its output clocks (which can be used
 10 internally within the SoC or external components) two sets of bindings is needed:
 11 
 12 Clock tree binding:
 13 This binding uses the common clock binding[1].
 14 To be able to integrate the ATL clocks with DT clock tree.
 15 Provides ccf level representation of the ATL clocks to be used by drivers.
 16 Since the clock instances are part of a single IP this binding is used as a node
 17 for the DT clock tree, the IP driver is needed to handle the actual configuration
 18 of the IP.
 19 
 20 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 21 
 22 Required properties:
 23 - compatible : shall be "ti,dra7-atl-clock"
 24 - #clock-cells : from common clock binding; shall be set to 0.
 25 - clocks : link phandles to functional clock of ATL
 26 
 27 Binding for the IP driver:
 28 This binding is used to configure the IP driver which is going to handle the
 29 configuration of the IP for the ATL clock instances.
 30 
 31 Required properties:
 32 - compatible : shall be "ti,dra7-atl"
 33 - reg : base address for the ATL IP
 34 - ti,provided-clocks : List of phandles to the clocks associated with the ATL
 35 - clocks : link phandles to functional clock of ATL
 36 - clock-names : Shall be set to "fck"
 37 - ti,hwmods : Shall be set to "atl"
 38 
 39 Optional properties:
 40 Configuration of ATL instances:
 41 - atl{0/1/2/3} {
 42         - bws : Baseband word select signal selection
 43         - aws : Audio word select signal selection
 44 };
 45 
 46 For valid word select signals, see the dt-bindings/clock/ti-dra7-atl.h include
 47 file.
 48 
 49 Examples:
 50 /* clock bindings for atl provided clocks */
 51 atl_clkin0_ck: atl_clkin0_ck {
 52         #clock-cells = <0>;
 53         compatible = "ti,dra7-atl-clock";
 54         clocks = <&atl_gfclk_mux>;
 55 };
 56 
 57 atl_clkin1_ck: atl_clkin1_ck {
 58         #clock-cells = <0>;
 59         compatible = "ti,dra7-atl-clock";
 60         clocks = <&atl_gfclk_mux>;
 61 };
 62 
 63 atl_clkin2_ck: atl_clkin2_ck {
 64         #clock-cells = <0>;
 65         compatible = "ti,dra7-atl-clock";
 66         clocks = <&atl_gfclk_mux>;
 67 };
 68 
 69 atl_clkin3_ck: atl_clkin3_ck {
 70         #clock-cells = <0>;
 71         compatible = "ti,dra7-atl-clock";
 72         clocks = <&atl_gfclk_mux>;
 73 };
 74 
 75 /* binding for the IP */
 76 atl: atl@4843c000 {
 77         compatible = "ti,dra7-atl";
 78         reg = <0x4843c000 0x3ff>;
 79         ti,hwmods = "atl";
 80         ti,provided-clocks = <&atl_clkin0_ck>, <&atl_clkin1_ck>,
 81                                 <&atl_clkin2_ck>, <&atl_clkin3_ck>;
 82         clocks = <&atl_gfclk_mux>;
 83         clock-names = "fck";
 84 };
 85 
 86 #include <dt-bindings/clock/ti-dra7-atl.h>
 87 
 88 &atl {
 89 
 90         atl2 {
 91                 bws = <DRA7_ATL_WS_MCASP2_FSX>;
 92                 aws = <DRA7_ATL_WS_MCASP3_FSX>;
 93         };
 94 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php