]> Git Repo - J-u-boot.git/commit
ARM: tegra: clock: add clock_decode_pair helper
authorSvyatoslav Ryhel <[email protected]>
Tue, 14 Feb 2023 17:35:26 +0000 (19:35 +0200)
committerTom <[email protected]>
Thu, 23 Feb 2023 19:55:36 +0000 (12:55 -0700)
commita81d792479340bf03131111b285c0f70d27622b6
treee0aa21f9c53c44079b0e7dbf7981ec9227d6d646
parent65e02744ec1517eefb20354db61ddbd9560aba2c
ARM: tegra: clock: add clock_decode_pair helper

Get periph clock id and its parent from device tree.
This works by looking up the peripheral's 'clocks' node and
reading out the second and fourth cells, which are the
peripheral and PLL clock numbers.

Tested-by: Andreas Westman Dorcsak <[email protected]> # ASUS TF T30
Tested-by: Robert Eckelmann <[email protected]> # ASUS TF101 T20
Tested-by: Svyatoslav Ryhel <[email protected]> # HTC One X
Signed-off-by: Svyatoslav Ryhel <[email protected]>
Signed-off-by: Tom <[email protected]>
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/mach-tegra/clock.c
This page took 0.034629 seconds and 4 git commands to generate.