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: 269632 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,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, 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 C8F2BC433DF for ; Sun, 11 Oct 2020 18:23:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7F3CC2222E for ; Sun, 11 Oct 2020 18:23:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="hPvpT9RL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727172AbgJKSXV (ORCPT ); Sun, 11 Oct 2020 14:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbgJKSXV (ORCPT ); Sun, 11 Oct 2020 14:23:21 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4600FC0613D0 for ; Sun, 11 Oct 2020 11:23:21 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id h2so7209451pll.11 for ; Sun, 11 Oct 2020 11:23:21 -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=FwQ2NTLsJTJOXFussx72aF9U2I0eQJr3MmUUikaJdwo=; b=hPvpT9RLFelktve/v4nH4O79k451GhMm+jAuFRjOsWiu2QpUKULURTcYMe91N+c3KE 4iyA2nndaYOeUxevAJYla5Lh7x0sFttHIw4Efl/GPV/V0mLm6rbzeU3c1X/E1sKPbk9Z a4zLDD3q34opM1Ib60VmuRpiFuRwOC6YoFsQU= 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=FwQ2NTLsJTJOXFussx72aF9U2I0eQJr3MmUUikaJdwo=; b=WbHBuSyXyvnfS6VJJ9HBbucuRYV+Eg9qns3qrpfe+3AC6o6qSOneiZgYvg0RCC89DT Fwdy28q/A9gFBE6opcp8aMzGR6OvHi2SI5gnzHifpCxlJuHPnSOl6VGq1wklP0UcITMi 7toLcjETlI+xf091HctzEF69HQwQ6+orBfh54KJVeZvj19m++qvlYP11W36HcMmK+26P 36pT/jKsRACsXwsEowTbRZ7bHg5T0PTYjOIedkUzwOciHUz7vnVyzksgGu0PScOnnNhG Meil6cbpRA7oFxSuBehxiXzALpLgjGYaRb6Ohrucae72u4UtptsPKFlS9B76DWJ//MgG 0rFw== X-Gm-Message-State: AOAM530VJPmMUZFoGuPnqRx2MTZzIu8Gs/NWv1FycDoF4MpeA3F+QnwQ UAYkj1Ax3FRcO+elyDGuzo2YoA== 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 Cc: Rayagonda Kokatanur 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 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.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(-) Acked-by: Ray Jui Acked-by: Ray Jui