Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2027110imu; Fri, 14 Dec 2018 04:44:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/VHZDdRqRjk9YI0kmcM/yYgJu9fUg26IqxM0i8J5Ier6dyPGM/WmbS8EaiSByAfcX5iTfep X-Received: by 2002:a62:5716:: with SMTP id l22mr2821199pfb.16.1544791447145; Fri, 14 Dec 2018 04:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544791447; cv=none; d=google.com; s=arc-20160816; b=0prwzSSJJ2HjNGqwCP/QxKumYHG1fm9zmUBjDkJVrKcX4wtbxDrLUX66LukHknxa51 bSQdT0/LrNiA0j0fOe6ZTpP77PpNrAH4eV+Zh/5eD61iIUHzvK9n/snd27bVhFu1yuf8 joPYY5D06W7ac5ppMy6AIZGC8vhA1IZ1K2ndJY1MaLtHPjkuX5c8VCyvzskAwYkZZCwT CIuyTiv2g25pxzUe5FDq3yia2X9ikIv1WON/iGSDT7EqRF9ZPjRM/4bovx0+fCOaPp/9 ow7DFEGW9LGuLpvejFATGiv0jNin/lAJcWFj6185wUC7SK0zmCTtizpz2B+L/vDJO6Sr +N/g== 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=y3u+mjkUbVVscB/DXMiCg4Ko5Dyn9mYvmOfyIlyT5XE=; b=MXV5MNpFyJNXhpOZ89mKgwe9niTwzdVD65XNk89bZZfQLstBh2eKKaOZB4AucZp6w8 oPvrT8jYc3xcmN6H7tUx8IvqdfK3PmURUFFwu4jWZUFq0rl1R3MLDeqxsdhLukrfGqK5 2zaOA60EAJw3Ju9Bf0o8gaPnokpJdrs6CKgfOFkP1wWuX246hO/tSFvIk8cqsWG9yOjO hMGoOXTQByAgkdyupma85/lffatDwQIDlNiRN4Cg327TP9DzGFr4jN4LbjpXSp6u4AFX u/XHn4m+ATn8J1GJKLudSMa/djbBbuNJAaDPliH8VoQBAZewTMOB/LU+qriEBNI9Ns/5 6cyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=F2Z3rUtK; 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 az11si3860478plb.386.2018.12.14.04.43.52; Fri, 14 Dec 2018 04:44:07 -0800 (PST) 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=F2Z3rUtK; 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 S1730047AbeLNMC1 (ORCPT + 99 others); Fri, 14 Dec 2018 07:02:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:45368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730030AbeLNMC0 (ORCPT ); Fri, 14 Dec 2018 07:02:26 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 292E22145D; Fri, 14 Dec 2018 12:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544788945; bh=xGaBNPbPJbaE32DvLZ7xGKfvTftzvNozimH+hG+LS6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F2Z3rUtKTC1QqbZFLNJWjpRfVJOkD5sOkuH/QleBg+BK5buOEdjbOBDk9CiE6UwES gQGbcqQgALf1cSxDy+SLBhAharFBpq3uLn+AmBLqmDcx0FgHgKYNCwZXqST7fqIKNg PwPpoPI3K0EmSF/vEgoqwJSbuhTnhjbnYcKG6CPw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bjorn Andersson , Stephen Boyd , Linus Walleij , Andy Gross , Sasha Levin Subject: [PATCH 4.19 034/142] arm64: dts: sdm845-mtp: Reserve reserved gpios Date: Fri, 14 Dec 2018 12:58:39 +0100 Message-Id: <20181214115748.413523058@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115747.053633987@linuxfoundation.org> References: <20181214115747.053633987@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 5f8d3ab136d0ccb59c4d628d8f85e0d8f2761d07 ] With the introduction of commit 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning") the gpiolib will attempt to read the direction of all pins, which triggers a read from protected register regions. The pins 0 through 3 and 81 through 84 are protected, so mark these as reserved. Signed-off-by: Bjorn Andersson Reviewed-by: Stephen Boyd Reviewed-by: Linus Walleij Signed-off-by: Andy Gross Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index 6d651f314193..6921f8dc5ebb 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -31,6 +31,10 @@ status = "okay"; }; +&tlmm { + gpio-reserved-ranges = <0 4>, <81 4>; +}; + &uart9 { status = "okay"; }; -- 2.19.1