summaryrefslogtreecommitdiff
path: root/scripts/decodecode
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2021-05-01 17:05:22 +0200
committerLokesh Vutla <[email protected]>2021-05-12 16:27:57 +0530
commitb1aef0384fcce4ae9cb8485c0df0cdc64bc0cf83 (patch)
treee836f50770bcc5a6b4c72c7d12ad18c9dd1882a1 /scripts/decodecode
parentb107761b817c421fb8eadee739656e1db38686c3 (diff)
clk: ti: add custom API for memory access
As pointed by [1] and [2], commit d64b9cdcd4 ("fdt: translate address if #size-cells = <0>") is wrong: - It makes every 'reg' DT property translatable. It changes the address translation so that for an I2C 'reg' address you'll get back as reg the I2C controller address + reg value. - The quirk must be fixed with platform code. The clk_ti_get_reg_addr() is the platform code able to make the correct address translation for the AM33xx clocks registers. Its implementation was inspired by the Linux Kernel code. [1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/ [2] https://lore.kernel.org/linux-clk/[email protected]/T/ Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions