Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp965702ybe; Thu, 5 Sep 2019 08:26:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzS/NwBjMjI5f/VkYoPTK4FwVpadPG+UojHMCCKE1m+SAZrPLES1XDd1Bcfiba7oJJ1yW6G X-Received: by 2002:a65:60cd:: with SMTP id r13mr3769163pgv.315.1567697167438; Thu, 05 Sep 2019 08:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567697167; cv=none; d=google.com; s=arc-20160816; b=MqHuGHAXMRNzvEvSjt5niNYihoZEoWJoEJ70T0lwpLvjaOoc2jOl3W2amUCHKTI94Y iWZGpZCn9h/ARhTHtLvrYih8fn3Y/u8xjmwjt8VkRb55cgGZpiLooYHBByMTdqeUfmC/ 42R3AUKOoG1bjvf2JbmNK9WfDqKYTo/Bx1QPQ2UyqCyLCcHlz1rIMHz9CijyWXdPJ/eE ooM++Q99x6ZxDyLtweZ7utkLKNF7I8j4MF2kYxVeA7c2Tp5kW6qsWh0hKnKC7sS8X3jE YJD4hGVXri09pQRILPgVcCCSlGwwnE8f14wuZk/WAM4mT7V5Pr4LGIBaiuVARYPdJZno JkEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:mime-version:user-agent :date:message-id:subject:from:to; bh=xjv4d77+Akx1v3dMll3oj2D7jaTj7+IPox52sCRB6+k=; b=VN6Fjz/WobRM8xDIj/6eLt2sVY6HV9KPF7qQFrlMIeTkjjz+kEAHlbSVwZgQTM4YX4 u56VugPJdUq4yJ/177uG3rbsHsiGnpSeEp6KhL0eiG+rWLWEoHOvcvTG9k16bA1KS4C7 VFZeZweAB7uXdVgPO1aCaUJ4rpcxs2N3OIZ2tRWuIL2SrQrlOP4B1lO8SScXSI0Njdf9 KThLgIVti8AXCvqhiatMrHr+UoIVc1aYXZiG1s/Eo+Rf9fMRDLjzPXgsvrKHGg9cSc0j UCOgzXNmx24JA8+pn+lEZxWP8WXVkLzbaUvljyPdgv53Z1NWp2v3Z5N6umSbIQPf9bE8 tSpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn12si2251538plb.308.2019.09.05.08.25.51; Thu, 05 Sep 2019 08:26:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388497AbfIELcJ (ORCPT + 99 others); Thu, 5 Sep 2019 07:32:09 -0400 Received: from dd10532.kasserver.com ([85.13.133.80]:50680 "EHLO dd10532.kasserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729366AbfIELcJ (ORCPT ); Thu, 5 Sep 2019 07:32:09 -0400 X-Greylist: delayed 566 seconds by postgrey-1.27 at vger.kernel.org; Thu, 05 Sep 2019 07:32:07 EDT Received: from odsus.home.arpa (p57B0B64C.dip0.t-ipconnect.de [87.176.182.76]) by dd10532.kasserver.com (Postfix) with ESMTPSA id B21111F430B7; Thu, 5 Sep 2019 13:22:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by odsus.home.arpa (Postfix) with ESMTP id E9E943C97F; Thu, 5 Sep 2019 13:22:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at home.arpa Received: from odsus.home.arpa ([127.0.0.1]) by localhost (odsus.home.arpa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PbkwYIGYv5fO; Thu, 5 Sep 2019 13:22:35 +0200 (CEST) Received: from [192.168.201.4] (unknown [192.168.201.4]) by odsus.home.arpa (Postfix) with ESMTP id A18A43C5BF; Thu, 5 Sep 2019 13:22:35 +0200 (CEST) To: linux-amlogic@vger.kernel.org, linux-kernel@vger.kernel.org, linux@vger.kernel.org From: Otto Meier Subject: [BUG] wrong pinning definition or uart_c in pinctrl-meson-gxbb.c Message-ID: Date: Thu, 5 Sep 2019 13:22:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------C12424836F50E32A0F35C7C7" Content-Language: de-DE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------C12424836F50E32A0F35C7C7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi i tried to use uart_C of the the odroid-c2. I enabled it int the dts file. During boot it crashed when the the sdcard slot is addressd. After long search in the net i found this: https://forum.odroid.com/viewtopic.php?f=139&t=25371&p=194370&hilit=uart_C#p177856 After changing the pin definitios accordingly erverything works. Uart_c is functioning and sdcard ist working. Patch attached Bye Otto --------------C12424836F50E32A0F35C7C7 Content-Type: text/x-patch; name="uart_c_pins.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="uart_c_pins.diff" Hi i tried to use uart_C of the the odroid-c2. I enabled it int the dts file. During boot it crashed when the the sdcard slot is addressd. After long search in the net i found this: https://forum.odroid.com/viewtopic.php?f=139&t=25371&p=194370&hilit=uart_C#p177856 After changing the pin definitios accordingly erverything works. Uart_c is functioning and sdcard ist working. --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c 2019-08-26 18:24:45.450089334 +0200 +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c 2019-09-05 13:07:38.518637214 +0200 @@ -192,8 +192,8 @@ static const unsigned int uart_rts_b_pin static const unsigned int uart_tx_c_pins[] = { GPIOY_13 }; static const unsigned int uart_rx_c_pins[] = { GPIOY_14 }; -static const unsigned int uart_cts_c_pins[] = { GPIOX_11 }; -static const unsigned int uart_rts_c_pins[] = { GPIOX_12 }; +static const unsigned int uart_cts_c_pins[] = { GPIOY_11 }; +static const unsigned int uart_rts_c_pins[] = { GPIOY_12 }; static const unsigned int i2c_sck_a_pins[] = { GPIODV_25 }; static const unsigned int i2c_sda_a_pins[] = { GPIODV_24 }; @@ -439,10 +439,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), signed off Otto Meier gf435@gmx.net --------------C12424836F50E32A0F35C7C7--