Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3792314imj; Tue, 19 Feb 2019 09:29:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IauwAkG8+yORr0ZqHYDWpbziiiTkqFCSN2zfnwctFrlSFAN+GfTTWNclLDZS6HrMBjEc1Kn X-Received: by 2002:a17:902:8b8b:: with SMTP id ay11mr1585901plb.162.1550597372106; Tue, 19 Feb 2019 09:29:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550597372; cv=none; d=google.com; s=arc-20160816; b=xoHUIEKzgTtN+PJzVkPovu1BP88XtLJvHz8dy78PcEkn2PZiZbwZOeMYb2BoNXpZyX y55UFPJ6QdT0x2jy0kKZa2QQ3XjIHYupv/nnPkvOuNkaKLLj0NP5aitCXOPyIksOWYhP JOFeZeJuY0+g/5MaO8zjsJoBMlpmE0TwuigFGTPi43jNm08vekbT03CJnk2UQBrnL29D KT1t7kijYbtGNqTKEvrAXo9ILD1z+L/mt/nYl95ORZxRqVXvgjL9qdLMQoDR/XEyYcHP YH/rOe6ZkKEE27KrtDvltnSKkVEUznsLknAZIdKTwy9eco3C6syNpHU489GpCU/0TEMH hdjg== 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=SI5vfHD9A9ylPQ5V7KKpG8Wp7VTFCOk05JbpZqEtpcg=; b=JGDvkXqCUcuxi0NRNHgmFjwpD51f+5otoXDoXaWc9FhXklrpViJ2F2NZSV+Maco/mO vuSuRihAr75YDPkELUEHxxg9vZdZVn356mE8FfJlA9HU0KZ27rL1ioc5xcCr1cY5KbnU ro9W0z41PptM+WAkXAB5vIqTxWvuyd+tRslgNKnl7MQdRd3k/lZf7jEmqrzRQE8n0zS5 XGUrAxE2AFdqL14BT0CkbTFQ2E3IiQQN9hmqfvnYZxW4hmqlkmuC5lXLUkSwxI5vVzlh WH4g+SZa+R9iO3H8PupJ5zQsUjqYNRq28F3YGtwA5hc6M7s3wBcYhg1L7fSrAlOJMCnN B+9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=rxRKXpUo; 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 d15si15331113pgv.583.2019.02.19.09.29.16; Tue, 19 Feb 2019 09:29:32 -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=rxRKXpUo; 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 S1729479AbfBSR2y (ORCPT + 99 others); Tue, 19 Feb 2019 12:28:54 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:11994 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725613AbfBSR2y (ORCPT ); Tue, 19 Feb 2019 12:28:54 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 19 Feb 2019 09:28:52 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 19 Feb 2019 09:28:53 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 19 Feb 2019 09:28:53 -0800 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Feb 2019 17:28:52 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 19 Feb 2019 17:28:52 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.110.103.48]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 19 Feb 2019 09:28:52 -0800 From: Sowjanya Komatineni To: , , , CC: , , , Subject: [PATCH V5 1/2] i2c: tegra: remove master fifo support on tegra186 Date: Tue, 19 Feb 2019 09:28:51 -0800 Message-ID: <1550597332-21018-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=1550597332; bh=SI5vfHD9A9ylPQ5V7KKpG8Wp7VTFCOk05JbpZqEtpcg=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=rxRKXpUop+Tb/yrAeGrrrzUDaWlD7sh2bR3XOBKVapvnRagrFUWp46Kcw2AWfg2kE PpdZGqmRiMEMYZBaWYSFMRbfdIfE8iew6W0+TkLVtM/ZwMgEX69O9AbMsm7xFQ9aDT tlcrpIsR/gaYEx1YXEpXW1hdKr0C8oHpIUWJWBWv+388gsmXRDaMdbvgD2bOQIqT0+ 1WIxZ5nN4ra9iboZWXNzPpK7yIWlgt5iii+gupz5gRRVzWbQwbMKFj+EvRSXyFbtNt m17LBYDSY2P+odN+T5iB9kFNS+aoV7zlA04P7KyagG7idg5xJdzc+1SmQKr0sEt7Gl gMVale3TRiSrQ== 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. Acked-by: Thierry Reding 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