/* * This is a special clock for the audio controller. * The phase of mst_sclk clock output can be controlled independently * for the outside world (ph0), the tdmout (ph1) and tdmin (ph2). * Controlling these 3 phases as just one makes things simpler and * give the same clock view to all the element on the i2s bus. * If necessary, we can still control the phase in the tdm block * which makes these independent control redundant.
*/ staticinlinestruct meson_clk_triphase_data *
meson_clk_triphase_data(struct clk_regmap *clk)
{ return (struct meson_clk_triphase_data *)clk->data;
}
/* Get phase 0 and sync it to phase 1 and 2 */
val = meson_parm_read(clk->map, &tph->ph0);
meson_parm_write(clk->map, &tph->ph1, val);
meson_parm_write(clk->map, &tph->ph2, val);
/* * This is a special clock for the audio controller. * This drive a bit clock inverter for which the * opposite value of the inverter bit needs to be manually * set into another bit
*/ staticinlinestruct meson_sclk_ws_inv_data *
meson_sclk_ws_inv_data(struct clk_regmap *clk)
{ return (struct meson_sclk_ws_inv_data *)clk->data;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.