Allwinner clocks additions for 4.6

A bunch of things, mostly:
  - Finally switched everything over to OF_CLK_DECLARE, which should remove
    orphans clocks entirely
  - Reworked the clk-factors to be able to add new parameters
  - Improved the error reporting
  - A bunch of new clocks for new SoCs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJW0JqEAAoJEBx+YmzsjxAgJbYP/izvoUv6VK0x5qf6BPDUdISS
VRtEnXexpB5T9Xyz8A9PhzT4Ao4fE4n74n0xKQ3VS0Y4mol/eajnGtfsC6A5e/7W
QbbJ+5Iq2CcUbwDaAHHzX7amt3r8Fp+dMTGU4kfET90tvnjObsxPS5Xat+1l5vlI
2+vgGbX7mgG01Fe5zG7y6MCOyh/FYlnKkGDV+hfBSm0JAyTn+tiqlVsgP+Eo/BON
tm/Frczpmtwh7EFxUR2mog+7nHWa7OMDxx0LoyAUVIu3HJpCO6JdOt7Nvpis8LSb
KYKOSEZwLHhlBOSLQVFA0wzVhSgJUY1xISpUCydAjPZsjjr+a5sa61KtHgZz6Lv6
c1dSCFrzF0LQKY1V1njECNLtabZNV2SketYgDQGlr+ZrAQ6679nscV33i1O9G6zX
UeEESWwm7mcpeQfGPuJyzWg4KLD4M1qJK1TuodVx7Xuw9idJK0yBwkr6toEkA2UD
AeYQ5ybbHWiGZ06QzgmSc+osUnkQhhomEQLtYgLgMASYC9QdAhh4rJialopv3FbS
2tn2kjhCvMO5SwYq4YXALLA2kSOP+Kp7+xkl0ZoudhiYioKsz6rrx8Vqg2ZLBr0Z
jOqzgrGypkdUEFByHhcmq9XfrgByDpcZDUymKVZCiFcoEcySbqD86BBOk60by4oZ
3izqwq6khXLOEkWPt56N
=WBc0
-----END PGP SIGNATURE-----
clk: sunxi: Add apb0 gates for H3

This patch adds support for APB0 in H3. It seems to be compatible with
earlier SOCs. apb0 gates controls R_ block peripherals (R_PIO, R_IR,
etc).

Since this gates behave just like any Allwinner clock gate, add a generic
compatible that can be reused if we don't have any clock to protect.

Signed-off-by: Krzysztof Adamski <k@japko.eu>
[Maxime: Removed the H3 compatible from the simple-gates driver, reworked
         the commit log a bit]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2 files changed