From patchwork Thu Nov 22 19:52:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 151817 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1150377ljp; Thu, 22 Nov 2018 11:52:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/VceetnxLMrj6CI/TczLnxPJVqX2DXej6PkY1Pv3ws/dd0oAEyKrVnSvSSYa0z+AepHLWrW X-Received: by 2002:a63:5f41:: with SMTP id t62mr11239989pgb.76.1542916377897; Thu, 22 Nov 2018 11:52:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542916377; cv=none; d=google.com; s=arc-20160816; b=jwgEE8ZgH3q+vsqMKOJPvWCkJrBAyp2kIjTCI2CPDv/8e+9TOL31Y3OioEL6ZIeIbE oUSioxG9shYcI3/br4k785tiFnke3Rl6vXLNzEYQ+sMhX9xHPs7tGdVBD3RCeJJbFNB7 Oft+IM1/Ec1X8u68XFvCthPPC9rt3t/8C72jBB57Ap3GSoUDj06IFQbL2IIUjOxmdib7 5i7aVusMjOyUrXrHSrpSGjgIv7QwXBOEKWxVUvBysrlWUmziTyLshGX6zdLLm9r+KIrA GdD+C2Scz9LmB/2mbUWShcw+hrAcs79qNqkXTtneE5JZdsLgjDG0XswGJIxUULWA8FSM Zq4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ZRsBsvNs32MMGYRt+SJSNzV/tsg/18Pa7kRuwVPvbes=; b=qMgKDluL3Q2mpVc+tMNBlSlRq0G4n3GVe8qmW161ApqzWyiBeNzD6CIGABSHzsjx6d fv3s38kbJd/N7ZKcwQs7N6kV08hQN4jeBfH6ly/CB2ki4VoJeLWSxPBURHg5G8nRLBxH eq0b4rrfHOlQSgUdxinSOIx08BcrsyAT2mshEijQcr1dOgRFvrOWUkKP8W239yd2+zRd /NL7G3cbLRtPGkIFZ4GYLvjOWXWmaoP9QdAiF9iDQ6FQhipOAI2+/avAQNqzJ/rTs1pO 8z4AY3BBvqJ2SinroWAZMERZpKnW4xRSltQdhJVFzccql2JpxF/AMz+R6g2nuJo46Syt x2Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FZ0cWx7i; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si38547750pgb.245.2018.11.22.11.52.57; Thu, 22 Nov 2018 11:52:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=FZ0cWx7i; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406786AbeKWGdr (ORCPT + 15 others); Fri, 23 Nov 2018 01:33:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:32824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406773AbeKWGdp (ORCPT ); Fri, 23 Nov 2018 01:33:45 -0500 Received: from sasha-vm.mshome.net (unknown [37.142.5.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 205E420866; Thu, 22 Nov 2018 19:52:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542916374; bh=UOBSnDhNQgb7UnFqU3DX8/45uavt8vROCKox7lY3udY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FZ0cWx7i/A7evJFySidaB+I6yQRiXWQ9A6w565CsI9JkF9W+ueszkEx2H+mj2d0Kv w524+HQrZUBxtGqLx1Lj16Y/CHMgtY9S6iUdUykrhiJX3XmVc46nmjPKjHQIu+1SuA kff0uW0MLjaNMKMRuGSkabZPKHSf8DVpzBHbTBrY= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jerome Brunet , Linus Walleij , Sasha Levin , linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 04/36] pinctrl: meson: fix meson8 ao pull register bits Date: Thu, 22 Nov 2018 14:52:08 -0500 Message-Id: <20181122195240.13123-4-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181122195240.13123-1-sashal@kernel.org> References: <20181122195240.13123-1-sashal@kernel.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jerome Brunet [ Upstream commit e91b162d2868672d06010f34aa83d408db13d3c6 ] AO pull register definition is inverted between pull (up/down) and pull enable. Fixing this allows to properly apply bias setting through pinconf Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs") Signed-off-by: Jerome Brunet Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/meson/pinctrl-meson8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index c6d79315218f..86466173114d 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -1053,7 +1053,7 @@ static struct meson_bank meson8_cbus_banks[] = { static struct meson_bank meson8_aobus_banks[] = { /* name first last irq pullen pull dir out in */ - BANK("AO", GPIOAO_0, GPIO_TEST_N, 0, 13, 0, 0, 0, 16, 0, 0, 0, 16, 1, 0), + BANK("AO", GPIOAO_0, GPIO_TEST_N, 0, 13, 0, 16, 0, 0, 0, 0, 0, 16, 1, 0), }; static struct meson_pinctrl_data meson8_cbus_pinctrl_data = {