X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=drivers%2Fclk%2Fingenic%2Fcgu.h;h=8dcd83aeab84cdcbed60d7d3a3c4e796191524d9;hb=a9fa2893fcc64bd32cbc46bfb7aa09bde8175987;hp=e12716d8ce3cf13ef002a8159a99568178b625cc;hpb=86008304dc2ad41a274cdacb585c641ec6bbb558;p=linux.git diff --git a/drivers/clk/ingenic/cgu.h b/drivers/clk/ingenic/cgu.h index e12716d8ce3c..8dcd83aeab84 100644 --- a/drivers/clk/ingenic/cgu.h +++ b/drivers/clk/ingenic/cgu.h @@ -88,6 +88,8 @@ struct ingenic_cgu_mux_info { * isn't one * @busy_bit: the index of the busy bit within reg, or -1 if there isn't one * @stop_bit: the index of the stop bit within reg, or -1 if there isn't one + * @div_table: optional table to map the value read from the register to the + * actual divider value */ struct ingenic_cgu_div_info { unsigned reg; @@ -97,6 +99,7 @@ struct ingenic_cgu_div_info { s8 ce_bit; s8 busy_bit; s8 stop_bit; + const u8 *div_table; }; /**