forked from luck/tmp_suning_uos_patched
pinctrl: sh-pfc: Updates for v4.11 (take two)
- Add Gyro-ADC pin groups for R-Car M2-W. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJYiw7lAAoJEEgEtLw/Ve77tb0P/0029R2WOfXd2Qtj2bmBc6hD 6InKb6S5XPjU7NbUvd75T0YJdBEZ0y6OiRq8EQZM9B+MunZozFd0wYP8rs8vKwoQ Pi00OpYY2/VMC1Zgrcm+uSvhdKHon60W072Y82FMUQPvkCSFXj3cSw6/mPLwKAkM oHodDO9ukx8YqYShh9Kgf1MsPUUfsYZ84xj1Pl8QWGc6uq+iws7sGH6fIEkPnM8c d2diQ98EYyhIexYhm0aFgvvuAsV8V2HTczDIyn7EAx9qMksl9ANpFrQ2FFmCyNLn v7tEdgWKmec0luVDdBFe1GHfLIsNMr2UNSLx9imQjJyM+FsZkvuNqcPF9rpSBKTd Dze4q81v4gv3GRdMZ6b4bPl4OnuNls1cQfjUhEobKGXBkWXNYDGXuHIQD2nhU2/x HJ34Hm40/4yrCb5U7YjnbGLaMGjhhBNDr0JiWNdJ6iQpYsc991nkUmbnDkNJxkZi MxVbdyTLz67CMhP222xyfgopn6lhECzrywtxIaMfjgEEE6F38LzRzQoZ7IfShL0T yuNvzSdWXEBx81UH6YBUEjlWwV7p+7l6XqkWL02tlcOCrU/FzTkjg/ZGGdCdi2f5 hCiJuSWtoV7xfInmVxDr5y9q+RqwzIpRqiGKLZd01kZ/DS9qE5+56j5AAtc2ryiD gQ4Hf2SRfT0HXmcjw/NU =63s7 -----END PGP SIGNATURE----- Merge tag 'sh-pfc-for-v4.11-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into devel pinctrl: sh-pfc: Updates for v4.11 (take two) - Add Gyro-ADC pin groups for R-Car M2-W.
This commit is contained in:
commit
7469426911
@ -1691,6 +1691,72 @@ static const struct sh_pfc_pin pinmux_pins[] = {
|
||||
PINMUX_GPIO_GP_ALL(),
|
||||
};
|
||||
|
||||
/* - ADI -------------------------------------------------------------------- */
|
||||
static const unsigned int adi_common_pins[] = {
|
||||
/* ADIDATA, ADICS/SAMP, ADICLK */
|
||||
RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25), RCAR_GP_PIN(6, 26),
|
||||
};
|
||||
static const unsigned int adi_common_mux[] = {
|
||||
/* ADIDATA, ADICS/SAMP, ADICLK */
|
||||
ADIDATA_MARK, ADICS_SAMP_MARK, ADICLK_MARK,
|
||||
};
|
||||
static const unsigned int adi_chsel0_pins[] = {
|
||||
/* ADICHS 0 */
|
||||
RCAR_GP_PIN(6, 27),
|
||||
};
|
||||
static const unsigned int adi_chsel0_mux[] = {
|
||||
/* ADICHS 0 */
|
||||
ADICHS0_MARK,
|
||||
};
|
||||
static const unsigned int adi_chsel1_pins[] = {
|
||||
/* ADICHS 1 */
|
||||
RCAR_GP_PIN(6, 28),
|
||||
};
|
||||
static const unsigned int adi_chsel1_mux[] = {
|
||||
/* ADICHS 1 */
|
||||
ADICHS1_MARK,
|
||||
};
|
||||
static const unsigned int adi_chsel2_pins[] = {
|
||||
/* ADICHS 2 */
|
||||
RCAR_GP_PIN(6, 29),
|
||||
};
|
||||
static const unsigned int adi_chsel2_mux[] = {
|
||||
/* ADICHS 2 */
|
||||
ADICHS2_MARK,
|
||||
};
|
||||
static const unsigned int adi_common_b_pins[] = {
|
||||
/* ADIDATA B, ADICS/SAMP B, ADICLK B */
|
||||
RCAR_GP_PIN(5, 25), RCAR_GP_PIN(5, 26), RCAR_GP_PIN(5, 27),
|
||||
};
|
||||
static const unsigned int adi_common_b_mux[] = {
|
||||
/* ADIDATA B, ADICS/SAMP B, ADICLK B */
|
||||
ADIDATA_B_MARK, ADICS_SAMP_B_MARK, ADICLK_B_MARK,
|
||||
};
|
||||
static const unsigned int adi_chsel0_b_pins[] = {
|
||||
/* ADICHS B 0 */
|
||||
RCAR_GP_PIN(5, 28),
|
||||
};
|
||||
static const unsigned int adi_chsel0_b_mux[] = {
|
||||
/* ADICHS B 0 */
|
||||
ADICHS0_B_MARK,
|
||||
};
|
||||
static const unsigned int adi_chsel1_b_pins[] = {
|
||||
/* ADICHS B 1 */
|
||||
RCAR_GP_PIN(5, 29),
|
||||
};
|
||||
static const unsigned int adi_chsel1_b_mux[] = {
|
||||
/* ADICHS B 1 */
|
||||
ADICHS1_B_MARK,
|
||||
};
|
||||
static const unsigned int adi_chsel2_b_pins[] = {
|
||||
/* ADICHS B 2 */
|
||||
RCAR_GP_PIN(5, 30),
|
||||
};
|
||||
static const unsigned int adi_chsel2_b_mux[] = {
|
||||
/* ADICHS B 2 */
|
||||
ADICHS2_B_MARK,
|
||||
};
|
||||
|
||||
/* - Audio Clock ------------------------------------------------------------ */
|
||||
static const unsigned int audio_clk_a_pins[] = {
|
||||
/* CLK */
|
||||
@ -4343,6 +4409,14 @@ static const unsigned int vin2_clk_mux[] = {
|
||||
};
|
||||
|
||||
static const struct sh_pfc_pin_group pinmux_groups[] = {
|
||||
SH_PFC_PIN_GROUP(adi_common),
|
||||
SH_PFC_PIN_GROUP(adi_chsel0),
|
||||
SH_PFC_PIN_GROUP(adi_chsel1),
|
||||
SH_PFC_PIN_GROUP(adi_chsel2),
|
||||
SH_PFC_PIN_GROUP(adi_common_b),
|
||||
SH_PFC_PIN_GROUP(adi_chsel0_b),
|
||||
SH_PFC_PIN_GROUP(adi_chsel1_b),
|
||||
SH_PFC_PIN_GROUP(adi_chsel2_b),
|
||||
SH_PFC_PIN_GROUP(audio_clk_a),
|
||||
SH_PFC_PIN_GROUP(audio_clk_b),
|
||||
SH_PFC_PIN_GROUP(audio_clk_b_b),
|
||||
@ -4687,6 +4761,17 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
|
||||
SH_PFC_PIN_GROUP(vin2_clk),
|
||||
};
|
||||
|
||||
static const char * const adi_groups[] = {
|
||||
"adi_common",
|
||||
"adi_chsel0",
|
||||
"adi_chsel1",
|
||||
"adi_chsel2",
|
||||
"adi_common_b",
|
||||
"adi_chsel0_b",
|
||||
"adi_chsel1_b",
|
||||
"adi_chsel2_b",
|
||||
};
|
||||
|
||||
static const char * const audio_clk_groups[] = {
|
||||
"audio_clk_a",
|
||||
"audio_clk_b",
|
||||
@ -5192,6 +5277,7 @@ static const char * const vin2_groups[] = {
|
||||
};
|
||||
|
||||
static const struct sh_pfc_function pinmux_functions[] = {
|
||||
SH_PFC_FUNCTION(adi),
|
||||
SH_PFC_FUNCTION(audio_clk),
|
||||
SH_PFC_FUNCTION(avb),
|
||||
SH_PFC_FUNCTION(can0),
|
||||
|
Loading…
Reference in New Issue
Block a user