Re: [PATCH net-next 04/10] net: ethernet: ti: cpts: add support for rftclk selection

2019-06-03 Thread David Miller
From: Grygorii Strashko Date: Sat, 1 Jun 2019 13:45:28 +0300 > +static int cpts_of_mux_clk_setup(struct cpts *cpts, struct device_node *node) > +{ > + unsigned int num_parents; > + const char **parent_names; > + struct device_node *refclk_np; > + struct clk_hw *clk_hw; > +

[PATCH net-next 04/10] net: ethernet: ti: cpts: add support for rftclk selection

2019-06-01 Thread Grygorii Strashko
Some CPTS instances, which can be found on KeyStone 2 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks as time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and can