commit | e80ebc87a06b2d5dd281470ecf3c527dae149291 | [log] [tgz] |
---|---|---|
author | Christian Marangi <ansuelsmth@gmail.com> | Fri Aug 02 15:45:03 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 19 16:12:51 2024 -0600 |
tree | 704df7a821652675e85ff59736acfd8b2abf730f | |
parent | 326ab204aa520e752ad9d4f9c040009ec032e9f4 [diff] |
clk: mediatek: mt7623: define id_offs_map and import clk ID from upstream Define id_offs_map and use clk ID form upstream linux kernel to have a 1:1 match for the TOPCKGEN clock and permit usage of OF_UPSTREAM with upstream dtsi. For all the gate clock, the clk ID starts from 1 instead of zero. Define an additional clock tree for them and set the .gates_offs to 1 to account for this. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>