Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbdF0I6u (ORCPT ); Tue, 27 Jun 2017 04:58:50 -0400 Received: from dd34226.kasserver.com ([85.13.151.110]:58739 "EHLO dd34226.kasserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751587AbdF0I60 (ORCPT ); Tue, 27 Jun 2017 04:58:26 -0400 X-Greylist: delayed 433 seconds by postgrey-1.27 at vger.kernel.org; Tue, 27 Jun 2017 04:58:25 EDT From: Otto Meier Subject: [PATCH] fix Uart_C Pinning of odroidc2 in linux-4.12.-rc7 To: linux-kernel@vger.kernel.org Message-ID: Date: Tue, 27 Jun 2017 10:51:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A4290921E0D33CDD975496F5" Content-Language: de-DE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1783 Lines: 55 This is a multi-part message in MIME format. --------------A4290921E0D33CDD975496F5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Please find attached a fix for wrong uart_c pinning of odroid-c2 in mainline kernels Regards Otto --------------A4290921E0D33CDD975496F5 Content-Type: text/x-patch; name="uart-c-pins.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="uart-c-pins.diff" --- linux-next-20170623/drivers/pinctrl/meson/pinctrl-meson-gxbb.c.orig 2017-06-23 11:30:35.072037057 +0200 +++ linux-next-20170623/drivers/pinctrl/meson/pinctrl-meson-gxbb.c 2017-06-26 12:31:27.161783467 +0200 @@ -202,8 +202,8 @@ static const unsigned int uart_rts_b_pin static const unsigned int uart_tx_c_pins[] = { PIN(GPIOY_13, EE_OFF) }; static const unsigned int uart_rx_c_pins[] = { PIN(GPIOY_14, EE_OFF) }; -static const unsigned int uart_cts_c_pins[] = { PIN(GPIOX_11, EE_OFF) }; -static const unsigned int uart_rts_c_pins[] = { PIN(GPIOX_12, EE_OFF) }; +static const unsigned int uart_cts_c_pins[] = { PIN(GPIOY_11, EE_OFF) }; +static const unsigned int uart_rts_c_pins[] = { PIN(GPIOY_12, EE_OFF) }; static const unsigned int i2c_sck_a_pins[] = { PIN(GPIODV_25, EE_OFF) }; static const unsigned int i2c_sda_a_pins[] = { PIN(GPIODV_24, EE_OFF) }; @@ -444,10 +444,10 @@ static struct meson_pmx_group meson_gxbb GROUP(pwm_f_x, 3, 18), /* Bank Y */ - GROUP(uart_cts_c, 1, 19), - GROUP(uart_rts_c, 1, 18), - GROUP(uart_tx_c, 1, 17), - GROUP(uart_rx_c, 1, 16), + GROUP(uart_cts_c, 1, 17), + GROUP(uart_rts_c, 1, 16), + GROUP(uart_tx_c, 1, 19), + GROUP(uart_rx_c, 1, 18), GROUP(pwm_a_y, 1, 21), GROUP(pwm_f_y, 1, 20), GROUP(i2s_out_ch23_y, 1, 5), --------------A4290921E0D33CDD975496F5--