From patchwork Sun Oct 11 18:22:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 11831019 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8483D14D5 for ; Sun, 11 Oct 2020 18:25:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 559692222F for ; Sun, 11 Oct 2020 18:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hn4EErgP"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="EaqmamK9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 559692222F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender: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-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Fuy9/DsfAwasa2SM0H2CBsSAmtNePO0zTB/LkilLiGk=; b=hn4EErgPCjB3RaEyFr5F+5auvx 91N5mYJQ0KRo2iOn9jZ38JMN2sjhyuQr5S1mIbHNjHUXf4fxaste5Pvc6IZ2QX2fmjoMlutRoNXpQ Y6upU711VT+1ERWDLf5SUhLwpw4FagnXUxZJimjNoIzaVx7WMhUAcw716iJLz1n3ZdeDzmbJiUSP0 YedTpxS+a0O1gEvDqAcjbeT/ELHD0kCEWKIK/P5gDOv0J8mTNt8xJRAsEwHrjbq2narakV/BN3aP3 Oy9Z2++237Z6vUoUkf20JVKJQBD7G4mmOGu5w8Dqsu+2gczM7IpiRdFezsCoCXr6BL+M+vcQ8Ch/i RT/oj8og==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRg0H-0002Mg-Tt; Sun, 11 Oct 2020 18:23:29 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRg0D-0002M6-OB for linux-arm-kernel@lists.infradead.org; Sun, 11 Oct 2020 18:23:27 +0000 Received: by mail-pl1-x644.google.com with SMTP id 1so1376285ple.2 for ; Sun, 11 Oct 2020 11:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=WQH+vwWF2XXPoinmwai5bbwvhX7oCTuJtiEeq5HTA+4=; b=EaqmamK9mgmbIfg0Z7ME6t0+nMjpGaSDzVi3Htp4+CJrKp2M3QgAOwa3um71iLoBU1 Zb/A67vr+TX3vYYOD8wkKdZl+OasBdEUT/x0ivuhV1ApUo4AHnZvF5uA7lrWPG9DOLHo i3QaIq1rjMkCZCBcul9phteUm0dNVmdOzkSzo= 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=WQH+vwWF2XXPoinmwai5bbwvhX7oCTuJtiEeq5HTA+4=; b=j+pC3woBTroZn0O987IKzsUIpHYcX9V13Vlp/Zmm6HkoS7hPGk3426p+TGHM78qt7A RQv8Lj2zpJ5elxL06mqoRGM+ApNDAMLjTo8BPeRLCU8kq1xZxUGyoh7LEIjMz4RRPOmH lwfXr1yDQFtJMkB/9N1eOSenkM+S2xT7QpinCHbKOj5SBIB/sYBI8HviXKh0fsBnrKEh vKVDs89L53yKCxovrJX3Pzb48A4AOeTPcBFid5wZm3H1X6TQiZbZ7StqoBdkgZN8mncI SD0NT614csThtpKgO+wDRTHKdo/kYOb+qXq4NsoN0HNdBwtj2wYdu871y9cMZzcmEP8C 5N1g== X-Gm-Message-State: AOAM532yEj1VqaIi3pbbrJ0ZHF8kl4nADSKD2b24Mu9qlu6E0nj6Vbla tIjjNQNeR6MPzPMvLmH3gM+HXA== X-Google-Smtp-Source: ABdhPJyVudpWgpDE0cKIeBLsacfiNIcPOyeah1iXQJw2brUTLX3uocdnN019tbB++nvsYO1vNA2ZQQ== X-Received: by 2002:a17:902:326:b029:d1:e5e7:be04 with SMTP id 35-20020a1709020326b02900d1e5e7be04mr21001195pld.55.1602440600447; Sun, 11 Oct 2020 11:23:20 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id g1sm21977807pjj.3.2020.10.11.11.23.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 11:23:19 -0700 (PDT) From: Rayagonda Kokatanur To: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Wolfram Sang , Florian Fainelli , Brendan Higgins , Andy Shevchenko , Lori Hikichi , Dhananjay Phadke , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/6] fix iproc driver to handle master read request Date: Sun, 11 Oct 2020 23:52:48 +0530 Message-Id: <20201011182254.17776-1-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201011_142325_792185_55DBBBC5 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_TVD_MIME_NO_HEADERS BODY: No description available. 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers 0.0 MIME_NO_TEXT No (properly identified) text body parts -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rayagonda Kokatanur MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This series of patches adds the following, - Handle master abort error - Fix support for single/multi byte master read request with/without repeated start. - Handle rx fifo full interrupt - Fix typo Rayagonda Kokatanur (6): i2c: iproc: handle Master aborted error i2c: iproc: handle only slave interrupts which are enabled i2c: iproc: update slave isr mask (ISR_MASK_SLAVE) i2c: iproc: fix typo in slave_isr function i2c: iproc: handle master read request i2c: iproc: handle rx fifo full interrupt drivers/i2c/busses/i2c-bcm-iproc.c | 254 +++++++++++++++++++++++------ 1 file changed, 200 insertions(+), 54 deletions(-)