From patchwork Thu Mar 15 14:44:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10284645 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A05B460386 for ; Thu, 15 Mar 2018 14:47:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 934E628AF1 for ; Thu, 15 Mar 2018 14:47:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 877AA28AF3; Thu, 15 Mar 2018 14:47:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F094A28AF1 for ; Thu, 15 Mar 2018 14:47:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=srflnLJGlNfGSt+MLiA1wIieSfEFcrZWb10Ac2AtVZs=; b=O+a otX5dG0LuuNaji2wTIb111Rmmu3Ry7N6EYdu3aJ6zqNgIFbvKpDTYR5pzXyNQA4+cymor1F4ZgTwc 3HlClIZf8V2htv6rOSv5iV83P6oKdmUPzuC/DJOauBEM3dL5+bi06guboR5BGzamZB8SGEiCvM8q2 AddC5W0EQZ3XctCLE3bKax1KnAbPxCVG+YtONtAYvhzIar56KIZyJYHk68/SefSDXrD5SRJEjzDNv UD1nK49iYkko3SYKyMlm7FqIyOe5IHxgs6+t+SAUKwwVOonYyJeZoCBvzqMwM+o8OEpTwBgl3Thuh bmCRSkAuQicLAtVm6mwysdjjZ6aAmtw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewUA3-0004vk-Bd; Thu, 15 Mar 2018 14:47:19 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewU9f-0004Zt-Dw for linux-arm-kernel@lists.infradead.org; Thu, 15 Mar 2018 14:47:17 +0000 Received: by mail-wr0-x244.google.com with SMTP id m12so8503830wrm.13 for ; Thu, 15 Mar 2018 07:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KnOIKEC0qD1S7fH8oIyeaNnw5uutNaLJPfXLL3RxgnQ=; b=CiNTrwZ2+bfc0cu7QV9aE4K8Ima1K6Niv9VdBSjUUBZLSmFgpODf2VpMNx7jS5+u6p Ab+FXUpz7dajtvuCcxBZFzeF9iUAQ1e4JWdmk+jbYgg2ppiyPM7dlosOD3EhDBdREArt n9s3PeZXX9SnG44MWkWSf0UGmjrSfF9dJOSBU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KnOIKEC0qD1S7fH8oIyeaNnw5uutNaLJPfXLL3RxgnQ=; b=Rc6Uog2tieMzu8IIqklQ4OrDKsPyI9w53qPH4PPL86AlSN+uzu55kn6NCX5lvTlFhe ZdBZDXfBR9ByAWz7KuDW6vXpa/BDMty7KEyGSaxB8gUMiZ15KpnAcqmFUWNoww4YtrmM KdxkkWeORdi2CQXM4sBWv2NRexu5OKaBfHXhkUZelOenVv735iLsIXu3w1kdCC2tCIGJ E1QkrqdaWPIpP/waafS+nSGucG27kPcou0QSxp1TdmReFDZlowarZI9dDvvBrT8f2sKt kA+ZZyTB5prCQR+a1Ym/VejortNY+DWmGVFfzGV5mrdEnZOkMu6/KGcOmI4At94EocOK oifQ== X-Gm-Message-State: AElRT7GFhwgwdfyxzHFrLuCNjv9GCl/kizQncc09SwG1zW6jsjBcXHY1 J1JjbmzjxpHBGySZOlyQkD6ncg== X-Google-Smtp-Source: AG47ELubh54LT7C6lF2x3QVeDcF2CZkzK0jIY/PJV/Zt3DQ+rlBoY30pOMSRnmrr8136oFGKvadRlQ== X-Received: by 10.223.182.2 with SMTP id f2mr6898695wre.117.1521125202961; Thu, 15 Mar 2018 07:46:42 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id i127sm4115259wmf.33.2018.03.15.07.46.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Mar 2018 07:46:42 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org Subject: [PATCH] ARM: dts: qcom-apq8064: disable i2c by default at soc dtsi Date: Thu, 15 Mar 2018 14:44:34 +0000 Message-Id: <20180315144434.14095-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180315_074655_775690_B860BD2F X-CRM114-Status: GOOD ( 11.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, david.brown@linaro.org, robh+dt@kernel.org, Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Srinivas Kandagatla This patch marks all the gsbi i2c node at soc level dtsi, so that kernel would not assume that its enabled and result in pin conflicts when gsbi is used for UART or SPI. Without this patch we see below pin conflict. apq8064-pinctrl 800000.pinctrl: pin GPIO_20 already requested by 12450000.serial; cannot claim for 12460000.i2c apq8064-pinctrl 800000.pinctrl: pin-20 (12460000.i2c) status -22 apq8064-pinctrl 800000.pinctrl: could not request pin 20 (GPIO_20) from group gpio20 on device 800000.pinctrl i2c_qup 12460000.i2c: Error applying setting, reverse things back i2c_qup: probe of 12460000.i2c failed with error -22 Signed-off-by: Srinivas Kandagatla Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 3ca96e361878..54cff79f5725 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -444,6 +444,7 @@ clock-names = "core", "iface"; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; }; @@ -472,6 +473,7 @@ clock-names = "core", "iface"; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; }; @@ -497,6 +499,7 @@ clock-names = "core", "iface"; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; }; @@ -521,6 +524,7 @@ clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>; clock-names = "core", "iface"; + status = "disabled"; }; };