Received: by 10.192.165.156 with SMTP id m28csp1107188imm; Wed, 11 Apr 2018 12:32:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/qWhCEZyBBDIDV/adQ7HuH79CbNj+pHwyAuRlFz3QunqBy3BRumxbpU16klMPncIANB1el X-Received: by 2002:a17:902:b105:: with SMTP id q5-v6mr6303545plr.173.1523475175610; Wed, 11 Apr 2018 12:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523475175; cv=none; d=google.com; s=arc-20160816; b=yqvX8x8lxL/fbUll6v6IdzCllqcMpewuqS0esjogCuEA6Y2GD2aC2vcmxx5Pd29qTq 8COWkMIKkP2QxZvmOc2XrbS/0VCPzydAumdNOoYFY4me/dIKYYTfTSIWyV7zP9yJ/IxM 7VEnNzdlBcvyv0YOnC6LwMYhHNN3y/sAWtAg11+WckHgc/WP+e2OSA6rbEafwknb0BFF cZO0nSqlOZ9MYltpmWYS2bP8ZNQipvhsnLvgjf7SfvfHw6dMVEJmgRvJyYFDmbuxD5Ve eYUX3xjBUt7kTGTlP2DonYcBjIYXTUl/fxAsRksp2cyJtDxAcsHWZ0GSjK1rCmjsJz86 yv4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=xsWGK35B3Z7+AMYkm+Z1CG/+jzNd+5J+RcdHWHwfMbg=; b=lTprTXNFYH0kdewln7lOvjJqK5s5R+hbHI1vIlXAPquEFqyouhXPHEO9uo4zmceGFY jtcY/hPEcxQtqGk0861WJD2oQQuS0su+bLn26u24F1nn8x4i+W4FRLCkByobQYZUmak1 Q6U8S6lagw6rU47tw+mh0A7UvWZMX22ekZkVO0Q1BW6U2RyUiS3EFwXzHu2nKixIAtbP 2FyuLvVJWq9SGmFSAAoyN51zAe9vvD5Ks2pA5OVnuv3s3m1NM0vsTZHe3PoEwYIdgNGW NG82u5ZbORd6q/UF60ZHtOwR4X1Qqj9MFRt7dI9QpvJaAZNiU1g0s08Yb2IJZP16BkNe KCoQ== 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 m20-v6si1755470pli.164.2018.04.11.12.32.19; Wed, 11 Apr 2018 12:32:55 -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 S1756963AbeDKT3s (ORCPT + 99 others); Wed, 11 Apr 2018 15:29:48 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38642 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934531AbeDKTCm (ORCPT ); Wed, 11 Apr 2018 15:02:42 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DAA27E42; Wed, 11 Apr 2018 19:02:41 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart , Simon Horman , Sasha Levin Subject: [PATCH 4.9 221/310] ARM: dts: armadillo800eva: Split LCD mux and gpio Date: Wed, 11 Apr 2018 20:36:00 +0200 Message-Id: <20180411183632.047615699@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180411183622.305902791@linuxfoundation.org> References: <20180411183622.305902791@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven [ Upstream commit 13132b3f44d3600983aceb7e9920b8ebb55a7cf8 ] Configuration of the lcd0 pinmux group and GPIO hog for the external GPIO mux are done using a single device node, causing the "output-high" property to be applied to both. This will fail for the pinmux group, but doesn't cause any harm, as the failure is ignored silently. However, after "pinctrl: sh-pfc: propagate errors on group config", the failure will become fatal, leading to a broken display: sh-pfc e6050000.pin-controller: pin_config_group_set op failed for group 102 sh-pfc e6050000.pin-controller: Error applying setting, reverse things back sh-pfc e6050000.pin-controller: failed to select default state Move the GPIO hog to its own node to fix this. Fixes: ffd2f9a5afb730b9 ("ARM: shmobile: armadillo800eva dts: Add pinctrl and gpio-hog for lcdc0") Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Signed-off-by: Simon Horman Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts @@ -266,7 +266,9 @@ lcd0_pins: lcd0 { groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync"; function = "lcd0"; + }; + lcd0_mux { /* DBGMD/LCDC0/FSIA MUX */ gpio-hog; gpios = <176 0>;