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: 131799 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1208455ljb; Thu, 15 Mar 2018 07:46:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELsWR7v4z/fFGL+oEdYV8LSLEt+ArYFIP8D645Wd1g6IaAxocaCny6y2GAExBeBByafWWLce X-Received: by 10.99.126.24 with SMTP id z24mr7000440pgc.110.1521125206823; Thu, 15 Mar 2018 07:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521125206; cv=none; d=google.com; s=arc-20160816; b=Ho0SWlzjCvEvVLWq/rH8DTRS8INI9WtmUcvzj3uhQ/8AwdKS9xsKUrBXBBSFznpMao Y1e2ApW3fJGZMf5S2gczO2opKmq35NJk+KUKIOtMwm8WShg+aAhsnxy+QysA21I7Owg5 GPaqHv5A8wrV9DS8kfmYYE1ixPWdOjAO8Y9CNRhmIu5Zg7yUmxpnd94705LsB3FWtZXQ uIfPVfloHQZ6+saIpXjY8ew+Kp/cLrsh4QXqa+cGUM97dzsoaN6kgnSxnQZSzZmxqqA0 8zc1V+asNYjK4skzIMddgmhBE92SL0BzKTQkH21fvNpQ+fVR3l6wOrgtQkbeQ+EsZ/eG /ucw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=vmVdirmK+tZ/XcAGdwRRh9Z/ytM35Y3Ze4IM0pzkFG4=; b=Ge+gINV0HFM3wIh90P9/vsGnU9+SAcwcXQIg9xS/GsbdVvL71vrtChAs6g+fSYnymi 8HBbCPGQUvkxOT3+Gx69EPNoEhXUjITirb+FfGNGP+7ZYCfNKzEWLlUz+efT0GbT1IcU N+0InPzQt5Amzk5vmEIy0vQmuzJOpp/nQgsjG7GiBHG+RLuEhbTY/z5K20y6zuPQjrGL JyFRixiId6M2u5xJm4hWE9fohb89PODMtu5NoKdd6zIt1ng4wNNUmN+ivodHBP/82v2L 7EEsVj+Wo/GnbfATTSuxi7JW8PSyhc2iDJZIqWVhgYdpFuFXo4BejSKNcBICDSiYiZKs WyfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CiNTrwZ2; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f18si1890951pgn.244.2018.03.15.07.46.46; Thu, 15 Mar 2018 07:46:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CiNTrwZ2; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752572AbeCOOqp (ORCPT + 10 others); Thu, 15 Mar 2018 10:46:45 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43044 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752271AbeCOOqo (ORCPT ); Thu, 15 Mar 2018 10:46:44 -0400 Received: by mail-wr0-f196.google.com with SMTP id o1so8545803wro.10 for ; Thu, 15 Mar 2018 07:46:43 -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=ZqrH9fg6XZx4yMem9FMBaHb11k+zQv9uGFtGrNla829khFc4o1UrsCpUVIGhwbeQhu Hs57IOxVS81ufK4CUb3qa6BG/N4j1vYbcWDnYXtLDrAsoWsU8/5xAJlVkCkkIsgjFW6E 0Lq0gzykjkWmpLQwUcZq/kNUK28x7n0PBAYF/jmRy4b10Hpb2jfda8MMj5aPa8IQQ5uQ ecWJOz30QROSwrofHcLCp+Fmyq7wxMukhLwEPkBJKls6c1kRXZvbSjeo1hgKe12dvPVk E4C5JSb1Og3/Sq9rw+d97viORFszIjOUDJ6NpwvSjAMIIwICocKdcb2MiX8BF0TewqI4 coZg== X-Gm-Message-State: AElRT7GCseaaIhizr0eaRdjHGRo/T7PY5/eOqEx4jhTkBe6Xg8OoYNPW YbADUJRhCHbn80VFmTG79yP1bg== 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 Cc: david.brown@linaro.org, robh+dt@kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Srinivas Kandagatla 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 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 --- arch/arm/boot/dts/qcom-apq8064.dtsi | 4 ++++ 1 file changed, 4 insertions(+) -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; }; };