lib/vsprintf: add %pC{,n,r} format specifiers for clocks
[sfrench/cifs-2.6.git] / Documentation / printk-formats.txt
index 56804e40cb18a1c1ad461d9af6e657a21a3921b1..cb6a596072bbe375aacbc6202d0eed7b6ab294cb 100644 (file)
@@ -261,6 +261,18 @@ struct va_format:
 
        Passed by reference.
 
+struct clk:
+
+       %pC     pll1
+       %pCn    pll1
+       %pCr    1560000000
+
+       For printing struct clk structures. '%pC' and '%pCn' print the name
+       (Common Clock Framework) or address (legacy clock framework) of the
+       structure; '%pCr' prints the current clock rate.
+
+       Passed by reference.
+
 
 Thank you for your cooperation and attention.