Re: [PATCH v1 1/1] clk: clk-gpio: add actual gated clock

2023-12-15 Thread Sean Anderson
On 12/15/23 15:00, Svyatoslav Ryhel wrote: пт, 15 груд. 2023 р. о 20:45 Sean Anderson пише: On 12/15/23 13:26, Svyatoslav Ryhel wrote: пт, 15 груд. 2023 р. о 19:25 Sean Anderson пише: On 11/17/23 02:52, Svyatoslav Ryhel wrote: Existing gpio-gate-clock driver acts like a simple GPIO switch

Re: [PATCH v1 1/1] clk: clk-gpio: add actual gated clock

2023-12-15 Thread Svyatoslav Ryhel
пт, 15 груд. 2023 р. о 20:45 Sean Anderson пише: > > On 12/15/23 13:26, Svyatoslav Ryhel wrote: > > пт, 15 груд. 2023 р. о 19:25 Sean Anderson пише: > >> > >> On 11/17/23 02:52, Svyatoslav Ryhel wrote: > >>> Existing gpio-gate-clock driver acts like a simple GPIO switch without any > >>> effect o

Re: [PATCH v1 1/1] clk: clk-gpio: add actual gated clock

2023-12-15 Thread Sean Anderson
On 12/15/23 13:26, Svyatoslav Ryhel wrote: пт, 15 груд. 2023 р. о 19:25 Sean Anderson пише: On 11/17/23 02:52, Svyatoslav Ryhel wrote: Existing gpio-gate-clock driver acts like a simple GPIO switch without any effect on gated clock. Add actual clock actions into enable/disable ops and impleme

Re: [PATCH v1 1/1] clk: clk-gpio: add actual gated clock

2023-12-15 Thread Svyatoslav Ryhel
пт, 15 груд. 2023 р. о 19:25 Sean Anderson пише: > > On 11/17/23 02:52, Svyatoslav Ryhel wrote: > > Existing gpio-gate-clock driver acts like a simple GPIO switch without any > > effect on gated clock. Add actual clock actions into enable/disable ops and > > implement get_rate op by passing gated

Re: [PATCH v1 1/1] clk: clk-gpio: add actual gated clock

2023-12-15 Thread Sean Anderson
On 11/17/23 02:52, Svyatoslav Ryhel wrote: Existing gpio-gate-clock driver acts like a simple GPIO switch without any effect on gated clock. Add actual clock actions into enable/disable ops and implement get_rate op by passing gated clock if it is enabled. Signed-off-by: Svyatoslav Ryhel ---

[PATCH v1 1/1] clk: clk-gpio: add actual gated clock

2023-11-16 Thread Svyatoslav Ryhel
Existing gpio-gate-clock driver acts like a simple GPIO switch without any effect on gated clock. Add actual clock actions into enable/disable ops and implement get_rate op by passing gated clock if it is enabled. Signed-off-by: Svyatoslav Ryhel --- drivers/clk/clk-gpio.c | 47 ++