mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH 0/4] Meson8 pinctrl updates (PWM, I2S, SPDIF, AO pins)
@ 2017-05-04 18:49 Martin Blumenstingl
  2017-05-04 18:49 ` [PATCH 1/4] pinctrl: meson: meson8b: add the PWM pins Martin Blumenstingl
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Martin Blumenstingl @ 2017-05-04 18:49 UTC (permalink / raw)
  To: linus-amlogic

This adds a bunch of missing pins to the Meson8 pinctrl driver.
The full pinctrl register documentation can be found in a file called
"m8_gpio.csv" which is part of older Amlogic GPL kernel releases (one
example is the GPL kernel source of the Odroid-C1, see [0]).

To sum it up, this patch adds:
- all pins with PWM function (PWM_A, PWM_B, PWM_C, PWM_D, PWM_E and PWM_F)
- I2S input and output
- SPDIF input and output
- IR remote output ("IR blaster")
- HDMI CEC in the AO domain

This patch does NOT add:
- PWM_VS (exposed on a lot of pins, as these cannot be driven by the PWM
  controllers/pwm-meson driver - these seem to be used for the backlight?)
- UART_TX_AO_A and UART_RX_AO_A on CARD_4 and CARD_5 (I'm not sure why
  there is AO functionality on non-AO pins)
- I2C_SDA_A and I2C_SCK_A on GPIOZ_9/GPIOZ_10 and GPIOZ_11/GPIOZ_12
- CLK_24M_OUT on GPIOZ_6 and CLK_32K_INCLK_32K_OUT on GPIOAO_6 as we don't
  have a driver (or documentation) how to configure the clock rate for
  these pins
- all pins for which I don't know the actual purpose (isp_led_en1 and
  isp_led_en2, all TSout pins, all TSin pins, all DVP pins, all TCON pins)


https://github.com/hardkernel/linux/blob/d1342c45452ebafb4903557f0c909f4517c90934/arch/arm/mach-meson8/tool/m8_gpio.csv

Martin Blumenstingl (4):
  pinctrl: meson: meson8b: add the PWM pins
  pinctrl: meson: meson8: add support for the I2S and SPDIF pins
  pinctrl: meson: meson8: add support for the AO remote output pin
  pinctrl: meson: meson8: add the AO HDMI CEC pin

 drivers/pinctrl/meson/pinctrl-meson8.c | 127 ++++++++++++++++++++++++++++++++-
 1 file changed, 126 insertions(+), 1 deletion(-)

-- 
2.12.2

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-05-11 14:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04 18:49 [PATCH 0/4] Meson8 pinctrl updates (PWM, I2S, SPDIF, AO pins) Martin Blumenstingl
2017-05-04 18:49 ` [PATCH 1/4] pinctrl: meson: meson8b: add the PWM pins Martin Blumenstingl
2017-05-11 13:46   ` Linus Walleij
2017-05-04 18:49 ` [PATCH 2/4] pinctrl: meson: meson8: add support for the I2S and SPDIF pins Martin Blumenstingl
2017-05-04 18:49 ` [PATCH 3/4] pinctrl: meson: meson8: add support for the AO remote output pin Martin Blumenstingl
2017-05-04 18:49 ` [PATCH 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin Martin Blumenstingl
2017-05-06 16:57 ` [PATCH v2 0/4] Meson8 pinctrl updates (PWM, I2S, SPDIF, AO pins) Martin Blumenstingl
2017-05-06 16:57   ` [PATCH v2 1/4] pinctrl: meson: meson8: add the PWM pins Martin Blumenstingl
2017-05-11 14:03     ` Linus Walleij
2017-05-06 16:57   ` [PATCH v2 2/4] pinctrl: meson: meson8: add support for the I2S and SPDIF pins Martin Blumenstingl
2017-05-11 14:06     ` Linus Walleij
2017-05-06 16:57   ` [PATCH v2 3/4] pinctrl: meson: meson8: add support for the AO remote output pin Martin Blumenstingl
2017-05-11 14:06     ` Linus Walleij
2017-05-06 16:57   ` [PATCH v2 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin Martin Blumenstingl
2017-05-11 14:07     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®