X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=include%2Flinux%2Fserial_sci.h;h=3dbdf7e53dcc0942153be0a59cdeebd73caa0973;hp=50fe651da965933f416b3cc6a5a0080942ac107e;hb=a39d16ab3f22d902ed08a3708496a96500f36a5e;hpb=48274de1809f10dc167bf7dfd8517df6abb04374 diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index 50fe651da965..3dbdf7e53dcc 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h @@ -11,12 +11,16 @@ #define SCIx_NOT_SUPPORTED (-1) enum { + SCBRR_ALGO_INVALID, + SCBRR_ALGO_1, /* ((clk + 16 * bps) / (16 * bps) - 1) */ SCBRR_ALGO_2, /* ((clk + 16 * bps) / (32 * bps) - 1) */ SCBRR_ALGO_3, /* (((clk * 2) + 16 * bps) / (16 * bps) - 1) */ SCBRR_ALGO_4, /* (((clk * 2) + 16 * bps) / (32 * bps) - 1) */ SCBRR_ALGO_5, /* (((clk * 1000 / 32) / bps) - 1) */ SCBRR_ALGO_6, /* HSCIF variable sample rate algorithm */ + + SCBRR_NR_ALGOS, }; #define SCSCR_TIE (1 << 7)