perf tools: fix type mismatch - long vs __statfs_word

From "include/uapi/asm-generic/statfs.h" it is seen that "statfs.f_type" is of
type "__statfs_word" which in its turn is "__u32" (unsigned int) for 32-bit
systems.

So in case of compilation with "-Werror" following breakage happens:
--->---
fs.c: In function ‘fs__valid_mount’:
fs.c:76:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
  else if (st_fs.f_type != magic)
                        ^
cc1: all warnings being treated as errors
--->---

Note that now when fs.c is in "lib/api/fs" and in "tools/lib/api/Makefile"
CFLAGS has hard-coded "-Werror" this is inevitable even if obe builds "perf"
with "WERROR=0".

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Jiri Olsa <jolsa@kernel.org>
ARC: [nsimosci*] move peripherals to match sdplite/zebu

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [axs101] Fix HDMI frequency divider for v3 motherboard.

On v2 motherboard it was the only clock source for all purposes and for clocking
HDMI phy in particular. It was 25MHz. It lead to a fact that HDMI pixel clock
was 75MHz instead of 74.25MHz required by spec.

Even though on most monitors/TVs we still had normal picture there was a chance
in some corner-cases get problems with image display.

This problem was resolved on v3 motherboard with addition of another clock
source with 27MHz frequency.

Now to support both motherboard at once we check its version and do proper
divider setup.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>