Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1588610pxb; Tue, 8 Feb 2022 23:17:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcbtt1HaNOdx4UN/xEJPB0yDPb3AY+Mex/iJsPEOxfpqYrRN1rwfU65GiY9+/sOiq3tCFY X-Received: by 2002:a17:907:9620:: with SMTP id gb32mr755509ejc.546.1644391027234; Tue, 08 Feb 2022 23:17:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644391027; cv=none; d=google.com; s=arc-20160816; b=EpdCU5hoPYb8O/My3+382R0AJv7n0std0qYqzqwqqYvHe7TSomhaWbc07m1jlN3eqv H8gbhJdp6SQB0ZdDYS1iFeQN5DpfTDMgsZvV9IiBwsvOPVrfcoIg4aKpKDZfKUtlEn5P R0Wm1EB8/YcPSnDR9FEMI7byMV5MsJJroulDTAog6BmfY/IK6ark2DUjM8VpWt7AviXn jYpDqOMUcsm/PShgHrxm2v35b1sPEaPngx357Td2zivhj/ywPqRSJS0aUgcChYoz+B/J wwKiccH0hma2wVM0RYlfcscuPtPVmPO8rPNWDh5srxYbHJkahAgG5aIqpXsULYmGgcf0 3ftw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=5w4/ennwCAEEkQywko6dYbRCf/YpCkpMTELAq3SETZ0=; b=CBmhqcEAmdbE4TY9ArX3Q39pQUp7fNtJh6rf/9Icv8YKy1pSYgBHs9FoerrQctw5P5 /h/r4lX30NcgbgMubr4ej6Ady7iAoWbRow3GbQWhEds1uPB6hLl8azzflsP5shJHDdCV 9uf9spp318aeqNxaD/SuVJ5gxGHoGrQiv+10wgCXK8Mm/fQPXluetR3LIDx7r07a7MmS jBfZ5PHRSiUDwvpuZ/08ojfGUk+75MH/6K9F7cB35e01xvpcOtk0BTOiG/MMwxgiOwJY l4ZCz2g39YPSAE+Ew3p3c7jiLlWYsl/Y/B98ekGDA2QiVIe233qF1MhMF5YHtLqoCo0e VGFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Hh53y7v9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gt37si518400ejc.97.2022.02.08.23.16.42; Tue, 08 Feb 2022 23:17:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Hh53y7v9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354149AbiBGGiE (ORCPT + 99 others); Mon, 7 Feb 2022 01:38:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241627AbiBGGds (ORCPT ); Mon, 7 Feb 2022 01:33:48 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B081C043181; Sun, 6 Feb 2022 22:33:47 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id t4-20020a17090a510400b001b8c4a6cd5dso1169324pjh.5; Sun, 06 Feb 2022 22:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=5w4/ennwCAEEkQywko6dYbRCf/YpCkpMTELAq3SETZ0=; b=Hh53y7v9NqRMkLkoNG8j78dhkJPtGq5sFnpbaHmwv98uBLw3f32oI311L5p3FsJKJ3 IgrPn3pu9YeOnJzCeFAgfkY9+N8XVvBodUNzDn+qfjnrk/4nx0g/L9pyLyBsTMjfrZ/D 34Eb2vBm+bm+FF7/WxOe/zU/utjATQBnpvQiEf1XRkuAyaDtQXGOSRla9Rx36lSnSFCl Kz/cEyzX+XqzrcnXtwAMRKwYkscyU0U+9pzEy23Rd0t7zzMfFKAAKNA/iop5FskRk39L JOk5Ut+nY244dW4vzbXVIg8BJiCeT1yfuxCNAR7SEZi5s6zwM30kAYnVHR0rD06KNikt Bhtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5w4/ennwCAEEkQywko6dYbRCf/YpCkpMTELAq3SETZ0=; b=dCt7ZUL5730M22Et2LAnpJRsHW0fccyGP29nPWAIGB7m3oRGQ50+70+BAsz0dkVlge uHIlq3LnN/DFby+03Ns1uMVbSrpGzWHjzdH8hv0FzfzH1LGj7imlJtsbrSFwCzSN/5wK HeVtwUQ6eLcgONkvppzUL6xlPZj6h1XbobFh9XzdZvCd8yWitcUUksZ6PVjMosmUeG5x PGq3gv9zrtOZpjRFUqVPSEgnghMYFOwFSe1scdGDxnXIlELdGpK2QYxbcWAJnTwKVhdC FG98TRErmjNUajm47UVPorw2J6wvS0dDkY0NbJJUkxwsbvZLPC5vvtED950q4ERqzGUS okGg== X-Gm-Message-State: AOAM530qgtik2pOVBfIyA9C3e5p6bwA8r8Q5df1ZQW8Su4ZYQs8sNDS8 At+ZAFnaHHq3Sx8xSUweEg== X-Received: by 2002:a17:90b:351:: with SMTP id fh17mr5008108pjb.28.1644215627026; Sun, 06 Feb 2022 22:33:47 -0800 (PST) Received: from localhost ([2401:e180:8894:9737:7848:1ec7:b697:7d50]) by smtp.gmail.com with ESMTPSA id d13sm2803452pfj.205.2022.02.06.22.33.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Feb 2022 22:33:46 -0800 (PST) From: Tyrone Ting To: avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski@canonical.com, semen.protsenko@linaro.org, yangyicong@hisilicon.com, wsa@kernel.org, jie.deng@intel.com, sven@svenpeter.dev, bence98@sch.bme.hu, lukas.bulwahn@gmail.com, arnd@arndb.de, olof@lixom.net, andriy.shevchenko@linux.intel.com, warp5tw@gmail.com, tali.perry@nuvoton.com, Avi.Fishman@nuvoton.com, tomer.maimon@nuvoton.com, KWLIU@nuvoton.com, JJLIU0@nuvoton.com, kfting@nuvoton.com Cc: openbmc@lists.ozlabs.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/6] i2c: npcm: Bug fixes timeout, spurious interrupts Date: Mon, 7 Feb 2022 14:33:32 +0800 Message-Id: <20220207063338.6570-1-warp5tw@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tyrone Ting This patchset includes the following fixes: - Add dt-bindings description for NPCM845. - Bug fix for timeout calculation. - Better handling of spurious interrupts. - Fix for event type in slave mode. - Removal of own slave addresses [2:10]. - Support for next gen BMC (NPCM845). The NPCM I2C driver is tested on NPCM750 and NPCM845 evaluation boards. Tali Perry (4): i2c: npcm: Fix timeout calculation i2c: npcm: Add tx complete counter i2c: npcm: Handle spurious interrupts i2c: npcm: Remove own slave addresses 2:10 Tyrone Ting (2): dt-bindings: i2c: npcm: support NPCM845 i2c: npcm: Support NPCM845 .../bindings/i2c/nuvoton,npcm7xx-i2c.yaml | 21 +- drivers/i2c/busses/Kconfig | 8 +- drivers/i2c/busses/Makefile | 2 +- drivers/i2c/busses/i2c-npcm7xx.c | 191 ++++++++++++------ 4 files changed, 149 insertions(+), 73 deletions(-) -- 2.17.1