summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2021-08-11 14:48:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-13 09:14:36 +0200
commit920792aa44ffb255c66d5295d71cc747d038cc98 (patch)
treebddb7e98ffe5f7fa47b125bee2b3384069f7d8cd /tools/perf/scripts/python/bin/stackcollapse-record
parent541b84eceef116a215e7c0d8bf1d35020bd4eafb (diff)
downloadkernel-920792aa44ffb255c66d5295d71cc747d038cc98.tar.gz
tty: serial: samsung: Init USI to keep clocks running
UART block is a part of USI (Universal Serial Interface) IP-core in Samsung SoCs since Exynos9810 (e.g. in Exynos850). USI allows one to enable one of three types of serial interface: UART, SPI or I2C. That's possible because USI shares almost all internal circuits within each protocol. USI also provides some additional registers so it's possible to configure it. One USI register called USI_OPTION has reset value of 0x0. Because of this the clock gating behavior is controlled by hardware (HWACG = Hardware Auto Clock Gating), which simply means the serial won't work after reset as is. In order to make it work, USI_OPTION[2:1] bits must be set to 0b01, so that HWACG is controlled manually (by software). Bits meaning: - CLKREQ_ON = 1: clock is continuously provided to IP - CLKSTOP_ON = 0: drive IP_CLKREQ to High (needs to be set along with CLKREQ_ON = 1) USI is not present on older chips, like s3c2410, s3c2412, s3c2440, s3c6400, s5pv210, exynos5433, exynos4210. So the new boolean field '.has_usi' was added to struct s3c24xx_uart_info. USI registers will be only actually accessed when '.has_usi' field is set to "1". This feature is needed for further serial enablement on Exynos850, but some other new Exynos chips (like Exynos9810) may benefit from this feature as well. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20210811114827.27322-5-semen.protsenko@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
08 +0400'>2013-06-29lift file_*_write out of do_splice_direct()Al Viro 2013-06-29lift file_*_write out of do_splice_from()Al Viro 2013-06-23fs: fix new splice.c kernel-doc warningRandy Dunlap 2013-06-20splice: don't pass the address of ->f_pos to methodsAl Viro 2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds 2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds 2013-04-09get rid of alloc_pipe_info() argumentAl Viro 2013-04-09get rid of pipe->inodeAl Viro 2013-04-09lift sb_start_write out of ->splice_write()Al Viro 2013-04-09lift sb_start_write into default_file_splice_write()Al Viro 2013-04-09lift sb_start_write() out of ->write()Al Viro 2013-03-21Don't bother with redoing rw_verify_area() from default_file_splice_from()Al Viro 2013-03-03convert vmsplice to COMPAT_SYSCALL_DEFINEAl Viro 2013-02-26export kernel_write(), convert open-coded instancesAl Viro 2013-02-22new helper: file_inode(file)Al Viro 2013-01-06tcp: fix MSG_SENDPAGE_NOTLAST logicEric Dumazet 2012-12-11writeback: remove nr_pages_dirtied arg from balance_dirty_pages_ratelimited_nr()Namjae Jeon