Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3135070imj; Mon, 18 Feb 2019 20:51:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IZga3FMWPcn2Y/q1sYzaCahE+AuucL/F5kVs/jd1MJi4ikabSAUQ8iS9SfIfHoK+FjIRmKM X-Received: by 2002:a17:902:b7c7:: with SMTP id v7mr18203637plz.148.1550551902281; Mon, 18 Feb 2019 20:51:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550551902; cv=none; d=google.com; s=arc-20160816; b=mgkuI++BPuRqhZRT/0bwTa653YGw7ywCIq2ww0FhHPlnRKbL3b0EVlxFBRN087QcUt BIlHW0Dvu3g3GvmR5PQO4xQXgz0c4zT2Kbz0xdtHbVA2MTe8mhaUJCNUEiai+pwg1NMO nLxlt6KKBfOA8cVKV59NhVfRMPdSrFos7D0F9h9QmPCcnHcZLHzRVEcpJIRTmUNCK5B7 RS1++ZATNgg2/NQ4iJsnAJvEngzqS9BwepjNT4eo0Q8ZktF5GXVRBktN3k6dezWVBBHq oqAmGpSlVGXYFMh6l7R7QwxK002D1nX1K01Xik4RN1mDJAOV7YmEvfbsNSzUyIkx2fS0 BDYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=HaLrXyjeA/kqNrsW1idTNvDYdlNKXy7I/XwbBqQpmgQ=; b=LX7ksKh5tKyU4fP1ZnV6wgO1kIhwk8K0MYUJAdQE2VK3EYJvTNBpSA3Uj6lCrBOlbc eNvTFh+7wH1kwqswCacbo/6DaAchGrlyD3rL+1F+1LZD+HuZ3/k/4575RgQ/qtT3Mh0I kvQ6k0EoEGDE+Fk0DgRQV4n8X83eS3qqtox7eqRUpcmEfkVuQFqcDsuwEUjXLWxYz7cl sh72kflYbzh7k3oF8+GO/cmobaripiY/GumAFyyt4aN3kr5b8dsHDH6IouP0Davxze6Z xl34rHaZ5rC8e2ccFnWqSSFmEZKhCVEWNjF0xKniTa/+/ua/hgMy49EwRkIIWxDOXbop RZxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JBVVuHsv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f131si5213907pfc.92.2019.02.18.20.51.25; Mon, 18 Feb 2019 20:51:42 -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=@nvidia.com header.s=n1 header.b=JBVVuHsv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725801AbfBSEu3 (ORCPT + 99 others); Mon, 18 Feb 2019 23:50:29 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:2056 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfBSEu3 (ORCPT ); Mon, 18 Feb 2019 23:50:29 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 18 Feb 2019 20:50:35 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 18 Feb 2019 20:50:28 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 18 Feb 2019 20:50:28 -0800 Received: from HQMAIL104.nvidia.com (172.18.146.11) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Feb 2019 04:50:28 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 19 Feb 2019 04:50:28 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.161.150]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 18 Feb 2019 20:50:27 -0800 From: Sowjanya Komatineni To: , , , CC: , , , Subject: [PATCH V4 1/2] i2c: tegra: remove master fifo support on tegra186 Date: Mon, 18 Feb 2019 20:50:24 -0800 Message-ID: <1550551825-1245-1-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1550551835; bh=HaLrXyjeA/kqNrsW1idTNvDYdlNKXy7I/XwbBqQpmgQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=JBVVuHsvzFcCt46HFU5FaHTIntNHHZOqMq74Luolkr1sBhOlbRVDld3caasIGhcq/ 7k2+4qVowfTLgzZit5Ql2BODP25Nln5f/rLVZ0BALFkrzXA4lttmmA+b+tdOb4El4g ZKvG3+pIh/EqR4lxzPyXiXduzWZH0t4OxUOMYIl3n3IROCBr9/Apyzl+4I72Nzgaov RlPdrCW98zZT1Zz4VvOFcPFdODEchcNKPh5ycHPiEaUN5Qgy12mknQIQf2geXAC/Yv im+DDByHRjcztiCSCb45iC5ZC0p8qWC46lSgX8L+2D7OU/XvWx1yz5lhXcO7o3J/Xv 2hamKOou66HSQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra186 does not have master fifo control register and instead uses fifo control register like prior tegra chipset. This patch fixes this and prevents crashing during boot when accessing fifo control registers. Signed-off-by: Sowjanya Komatineni --- drivers/i2c/busses/i2c-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index a4cd79c9f7a7..e6851904acc1 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -1436,7 +1436,7 @@ static const struct tegra_i2c_hw_feature tegra186_i2c_hw = { .has_config_load_reg = true, .has_multi_master_mode = true, .has_slcg_override_reg = true, - .has_mst_fifo = true, + .has_mst_fifo = false, .quirks = &tegra_i2c_quirks, .supports_bus_clear = true, .has_apb_dma = false, -- 2.7.4