summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2024-06-28 19:40:48 +0200
committerTom Rini <trini@konsulko.com>2024-08-01 15:32:18 -0600
commit432cb967b04de96fc081c358c718942294f0a7e2 (patch)
treee7cbea3a769361d6ba5ede9078442bae6e8cb86f /tools/patman/patchstream.py
parentbf6ba78143e988178848e13a2c0b0c7db41c9bb7 (diff)
clk: mediatek: add support for gates in clk_tree for infrasys
Add support for gates in clk_tree for infrasys ops. Infracfg clks can have a sum of gates and muxes, and current solution handle this by duplicating the driver and split clks for mux and clks for gates. Upstream linux kernel handle this differently and doesn't have this distinction. To be closer to the upstream kernel clock definition, implement additional logic to have gates defined in the clk_tree and implement variant for the infrasys ops to handle gates defined in the tree. Similar to how it's done with factor and mux, we introduce gates_offs. Upstream kernel follow the similar logic with all the ID defined as FDIVS, MUXES and finally GATES. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'tools/patman/patchstream.py')
0 files changed, 0 insertions, 0 deletions