From patchwork Fri Oct 30 06:53:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 11868599 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_TVD_MIME_NO_HEADERS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA0A7C56201 for ; Fri, 30 Oct 2020 06:55:38 +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 45E5C22202 for ; Fri, 30 Oct 2020 06:55:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OrYZKoSU"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="gnbLJfL/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45E5C22202 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+linux-arm-kernel=archiver.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=utr/emGWjakzRZF+45naCagVGv5ishzy/5amwxdCx4k=; b=OrYZKoSUjlrBN5ad0jBpId/etY HpoKSSkA5hTY/sH/ZQcYq2v6paRh5BVldmr3tb9Z4NOQ8eApDFSiBOWSvPk1hLwqD8TOh2UUOQtWp h5n6hUKQe1xQfNmKySLk6RPhnLVOGSSdJDLK3ZcRkim1r9SiVnfw4oXqlckEvBogDfWKGoevsITCI HWee+AJ6szWYk+wDJ4vabjFXrdzLe8bOIQg0B1vFUl9kTtZMaTq7b6lhhDqMEP+rIl+rXnuGIuwYt Zn5ZkIId9klhTyMufm4kA92z2usH9y1LMz+aZCXfM/+Eh6hpNq+4r+kcT0i1BAbQ6QMmep6+6oiU+ 6NfLq5lA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYOIT-0000XI-HR; Fri, 30 Oct 2020 06:54:01 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYOIP-0000WU-Px for linux-arm-kernel@lists.infradead.org; Fri, 30 Oct 2020 06:53:59 +0000 Received: by mail-pf1-x442.google.com with SMTP id e15so4441362pfh.6 for ; Thu, 29 Oct 2020 23:53:56 -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=LieNEPBBwGiUBeQdBbGsQN1xrrGwvufTl0Pss4UOelI=; b=gnbLJfL/TgJCl+hvrrRVzQy9t3XsOB0pniVrQOKBLiOc6p0z2rKsMCJKrwNd9zZ24U UiS2LAx1thBhBuFxTSuU4bLHaTwTI3tkdKch5lN3IlW8OAnXjju/uM9XmSU2g9zJLIcz yF59R1CL1M3ozzMceHfAH/R1k//UlAo5Dz8YQ= 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=LieNEPBBwGiUBeQdBbGsQN1xrrGwvufTl0Pss4UOelI=; b=YXhgepE/Hbm/NRzbTUsDwrPBbSB2JNXjzrpRHhIeMwPGt6brtQPIPkjnQDU8eO8b6F Uw8QrUVg+2r55IRVxfWC960UrWaa/EH8O4IopF8FfrVevMabUEBCWyXF/k6lpkAfALyX Sy2t0i3SBiCyFHqtdnGFXyATIJFy1I9szOVUKUwzwZtwS2q6EO6F06G/2Rc7V9czTkER P5HK2GLopqjTgjPuhvm20g4TVm4mP575S2pmJ7uDiy5whpzAxxI99XswEYLiXF+OuVig BOY3fGUZMcMgcvQHQ7yIfYQ1hWPsU3EdyUmIRzO2DmfVuzLlP2e0XbnR4ZeNv/6W8AKO PcLg== X-Gm-Message-State: AOAM530Ly4ns4ZfCFuqJa6nypbaPI6goap/XR1PjdnCMQY+4xhZXhStG 196HDq/An/SNolzwBMGHAYmokQ== X-Google-Smtp-Source: ABdhPJyOWujriD3tCgkqBfaqaeNicZtxht9N4cx0Icd42Y0DCVUypbpiOxzjM1J+5c/7vrQkycliLg== X-Received: by 2002:aa7:9f4c:0:b029:164:4278:cae7 with SMTP id h12-20020aa79f4c0000b02901644278cae7mr7774000pfr.11.1604040834534; Thu, 29 Oct 2020 23:53:54 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id n1sm4561547pgl.31.2020.10.29.23.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 23:53:53 -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 v2 0/6] fix iproc driver to handle master read request Date: Fri, 30 Oct 2020 12:23:33 +0530 Message-Id: <20201030065339.955-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-20201030_025358_008900_46F70B1A X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. 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+linux-arm-kernel=archiver.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 Changes from V1: --Address review comments from Ray Jui, Remove fixes tag 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(-)