Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3388924ybp; Sun, 6 Oct 2019 10:51:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfVcUb46MLb/PVJd28Uk86Xgsrg16ggvfw3H7TfduEKTayUU5LyhJBBlUMpVAqYea5+cUJ X-Received: by 2002:a17:906:82c1:: with SMTP id a1mr20806636ejy.187.1570384277005; Sun, 06 Oct 2019 10:51:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570384276; cv=none; d=google.com; s=arc-20160816; b=Ejgjvm1RC9nFvUd5pcoywGi/Hq1uWxqZ43HVLgJQK6yyPXVc1qtTVTOTILuPYASoa4 NJE286W7Iw53+dt8NU6oj0fdIrqEzzo1BmGdk5qL6kdfMBTz8fUWXUHfH7FSeTux6T55 69BczG+MwNdTcG0SJdJLMPPCV5s2tT1jqNqy19A2eUxqigx7m96wwLZAs972q5vnwSgH KxM/FThh8uE6GTynKW/+BdcJsRmrNIQdTkrFR9RgzIpmuK281+ZoJbPch15dqrxbi5FK J/x4bws3wyK7mTo2AIuB6sjru1gnYBBMccUQoHHz45rGZKpf4JwaMyFrO5HfBIDQ6CIe W7yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HyQFFoPIO0OkGQ86cLYmy4OVqBDoozjJKLI4bxr27Gg=; b=UEXwVcPIqo1H14PlVWvEPqjNs+Ce9YSI3nfDShxzVu8TJD2Ox8iaVSNzQd4YRMU6mS wfurAVJKBE9YyVXyw17h9OADbEB875/vQloOqWqmoQKmfDFtcnVactTHD8CsoWpgLfYz Hmuy7ukSgFVyoCzUXcLicvPyr5HxpiNb3OZ0bpVG6pi1JNCUbJT/Se7Ky2wMXx7KeI+8 86AeMQ2jmUSzDHmQjSAixI/ENjabwCc51IODACF+dw5q4n/t1Zn3BhpRsdVKyhNufiR4 wKJuuFCXvtGJdWTmqtKAIMh8gWlG/WGB5gm+xNfAUEMz/+y4etNxB2KbCWh9uhlbtbKB zeiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mWMMl4NO; 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 b31si8081247ede.12.2019.10.06.10.50.53; Sun, 06 Oct 2019 10:51:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b=mWMMl4NO; 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 S1730128AbfJFRl4 (ORCPT + 99 others); Sun, 6 Oct 2019 13:41:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:41588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730904AbfJFRly (ORCPT ); Sun, 6 Oct 2019 13:41:54 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 976F62053B; Sun, 6 Oct 2019 17:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570383714; bh=PWhTwKba2ZSNQzRTJqTmC99Bkw2ToZ0yxWIRCb0nwZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mWMMl4NORZVwRjn5tEAu18Ov3AaTH62o3mbhn8fr0sOMYiC8/j3dOcHKwv/SpvZjs dQziWuz7ZHJ4D/V74PYZttlQJfLC/nLjeK5NpkJ0qckpUoDQiE52Nr431eY5odZfFL Kk0X9ozcpcg7Yrf+JRh+yXI9WrvawQWcyiKAsSF8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Otto Meier , Linus Walleij , Sasha Levin Subject: [PATCH 5.3 067/166] pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c Date: Sun, 6 Oct 2019 19:20:33 +0200 Message-Id: <20191006171218.985297675@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191006171212.850660298@linuxfoundation.org> References: <20191006171212.850660298@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Otto Meier [ Upstream commit cb0438e4436085d89706b5ccfce4d5da531253de ] Hi i tried to use the uart_C of the the odroid-c2. I enabled it in the dts file. During boot it crashed when the the sdcard slot is addressed. 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 definitions accordingly erverything works. Uart_c is functioning and sdcard ist working. Fixes: 6db0f3a8a04e46 ("pinctrl: amlogic: gxbb: add more UART pins") Signed-off-by: Otto Meier Link: https://lore.kernel.org/r/1cc32a18-464d-5531-7a1c-084390e2ecb1@gmx.net Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index 6c640837073ef..5bfa56f3847ef 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c @@ -192,8 +192,8 @@ static const unsigned int uart_rts_b_pins[] = { GPIODV_27 }; 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_periphs_groups[] = { 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), -- 2.20.1