Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: sun6i-prcm: Add support for the ir-clk

Add support for the ir-clk which is part of the sun6i SoC prcm module.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Hans de Goede and committed by
Lee Jones
6f262ecf 0b271258

+14
+14
drivers/mfd/sun6i-prcm.c
··· 41 41 }, 42 42 }; 43 43 44 + static const struct resource sun6i_a31_ir_clk_res[] = { 45 + { 46 + .start = 0x54, 47 + .end = 0x57, 48 + .flags = IORESOURCE_MEM, 49 + }, 50 + }; 51 + 44 52 static const struct resource sun6i_a31_apb0_rstc_res[] = { 45 53 { 46 54 .start = 0xb0, ··· 75 67 .of_compatible = "allwinner,sun6i-a31-apb0-gates-clk", 76 68 .num_resources = ARRAY_SIZE(sun6i_a31_apb0_gates_clk_res), 77 69 .resources = sun6i_a31_apb0_gates_clk_res, 70 + }, 71 + { 72 + .name = "sun6i-a31-ir-clk", 73 + .of_compatible = "allwinner,sun4i-a10-mod0-clk", 74 + .num_resources = ARRAY_SIZE(sun6i_a31_ir_clk_res), 75 + .resources = sun6i_a31_ir_clk_res, 78 76 }, 79 77 { 80 78 .name = "sun6i-a31-apb0-clock-reset",