st,clkgen-vcc.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Binding for a type of STMicroelectronics clock crossbar (VCC).
  2. The crossbar can take up to 4 input clocks and control up to 16
  3. output clocks. Not all inputs or outputs have to be in use in a
  4. particular instantiation. Each output can be individually enabled,
  5. select any of the input clocks and apply a divide (by 1,2,4 or 8) to
  6. that selected clock.
  7. This binding uses the common clock binding[1].
  8. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  9. Required properties:
  10. - compatible : shall be:
  11. "st,stih416-clkgenc", "st,vcc"
  12. "st,stih416-clkgenf", "st,vcc"
  13. - #clock-cells : from common clock binding; shall be set to 1.
  14. - reg : A Base address and length of the register set.
  15. - clocks : from common clock binding
  16. - clock-output-names : From common clock binding. The block has 16
  17. clock outputs but not all of them in a specific instance
  18. have to be used in the SoC. If a clock name is left as
  19. an empty string then no clock will be created for the
  20. output associated with that string index. If fewer than
  21. 16 strings are provided then no clocks will be created
  22. for the remaining outputs.
  23. Example:
  24. clockgen_c_vcc: clockgen-c-vcc@0xfe8308ac {
  25. #clock-cells = <1>;
  26. compatible = "st,stih416-clkgenc", "st,clkgen-vcc";
  27. reg = <0xfe8308ac 12>;
  28. clocks = <&clk_s_vcc_hd>,
  29. <&clockgen_c 1>,
  30. <&clk_s_tmds_fromphy>,
  31. <&clockgen_c 2>;
  32. clock-output-names = "clk-s-pix-hdmi",
  33. "clk-s-pix-dvo",
  34. "clk-s-out-dvo",
  35. "clk-s-pix-hd",
  36. "clk-s-hddac",
  37. "clk-s-denc",
  38. "clk-s-sddac",
  39. "clk-s-pix-main",
  40. "clk-s-pix-aux",
  41. "clk-s-stfe-frc-0",
  42. "clk-s-ref-mcru",
  43. "clk-s-slave-mcru",
  44. "clk-s-tmds-hdmi",
  45. "clk-s-hdmi-reject-pll",
  46. "clk-s-thsens";
  47. };