Re: [PATCH 1/5] clk: ti: add custom API for memory access

2021-04-29 Thread Tero Kristo
On 28/04/2021 20:31, Dario Binacchi wrote: Hi Tero, Il 27/04/2021 09:01 Tero Kristo ha scritto: Hi Dario, One question below. On 25/04/2021 17:17, Dario Binacchi wrote: As pointed by [1] and [2], commit d64b9cdcd4 ("fdt: translate address if #size-cells = <0>") is wrong: - It makes eve

Re: [PATCH 1/5] clk: ti: add custom API for memory access

2021-04-28 Thread Dario Binacchi
Hi Tero, > Il 27/04/2021 09:01 Tero Kristo ha scritto: > > > Hi Dario, > > One question below. > > On 25/04/2021 17:17, Dario Binacchi wrote: > > As pointed by [1] and [2], commit > > d64b9cdcd4 ("fdt: translate address if #size-cells = <0>") is wrong: > > - It makes every 'reg' DT property

Re: [PATCH 1/5] clk: ti: add custom API for memory access

2021-04-27 Thread Tero Kristo
Hi Dario, One question below. On 25/04/2021 17:17, Dario Binacchi wrote: 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

[PATCH 1/5] clk: ti: add custom API for memory access

2021-04-25 Thread Dario Binacchi
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