Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp678063ybc; Tue, 19 Nov 2019 07:33:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxhiAajkd0YTz+o/H2Qb+ZE5IlBLM8+9R9bGg2NfdNQ52o9JTGiE8sp8XS3ynjG60CAdHDh X-Received: by 2002:a5d:694d:: with SMTP id r13mr36022398wrw.395.1574177588829; Tue, 19 Nov 2019 07:33:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574177588; cv=none; d=google.com; s=arc-20160816; b=ezRs4foUC+RZVOwB494Yl5MEcZQcF+nnGlgSv2KVQKX7E3jX3TzAT0Lilv7c6Zolfc oIdURuLY06Zr9MYQ7ZKcOoUg1ANsGJx+02MhKUbSY1LL6jAPH+JLRCjEFlISEm08sw06 MnC6jNM0KR7iGsMKw/Gq88QtlH5T5inABvrBVnQ8GBJ3HsI9fFp3haBf/ETDaatRvRos Yc2/s3iT7I5JPVMVyPgbWK3FLkHga26IQqTvGsQH/EvoNsanQBa77hJwpNJe5K1RHoM4 wmrmqK7HSIZocnSOKUg6vzKiYNpQeQQJEWpQTeG7OR96MVKRjvS39OIz7jkc3yXXasBo m8OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iES3AH+43CqHdjE/Q38XHPUPdA43krSea3aTtZSbWyY=; b=TAKGaezu4F+n/KArEayVWmeMfRwrfr4bABPKS1gv8IdX0Qq+uVwZLCvMp3ptf/wxAi Ib/kXUoPGBgcXg/Q6IyuBi+y0nOgtPiN6Yx/6RSXpmTUjQtYrMmwVUlEZGs6n7zDwbIw qFD8bPP+wDkjcFb1XlrpwfgslIUSHMgR9hxwx9Yf/t4cgw5WiU+ejUMM76MQyhnC1yRZ o8kSDOkk8+iVezjRZF7nHiBMmGI02xTt2ZGD7y7OzFMEeO3CJcn28EsbOgGmF+kyyFkN TwU8GvZSBSycELiWK78dhrD3piIxeCH8Cpt0BnsSl2QxUCTUJkvR02TdFl9c3AXBU+0G xbVA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b29si17018559ede.118.2019.11.19.07.32.44; Tue, 19 Nov 2019 07:33:08 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727991AbfKSPbb (ORCPT + 99 others); Tue, 19 Nov 2019 10:31:31 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:45085 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727505AbfKSPbb (ORCPT ); Tue, 19 Nov 2019 10:31:31 -0500 X-Greylist: delayed 2349 seconds by postgrey-1.27 at vger.kernel.org; Tue, 19 Nov 2019 10:31:29 EST Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id xAJEoAiI005890; Tue, 19 Nov 2019 16:50:10 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 20088) id F0B8D60328; Tue, 19 Nov 2019 16:50:09 +0200 (IST) From: Tali Perry To: avifishman70@gmail.com, tmaimon77@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, mark.rutland@arm.com, tali.perry1@gmail.com, robh@kernel.org, wsa@the-dreams.de, jdelvare@suse.de, jarkko.nikula@linux.intel.com, geert@linux-m68k.org, arnd@arndb.de, max@enpas.org, krzysztof.adamski@nokia.com, syniurge@gmail.com, puwen@hygon.cn, jfi@ssv-embedded.de, sr@denx.de, mchehab+samsung@kernel.org, kdasu.kdev@gmail.com, enric.balletbo@collabora.com, baolin.wang@linaro.org, ludovic.desroches@microchip.com Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/2] i2c: npcm7xx: new driver for I2C controller Date: Tue, 19 Nov 2019 16:49:28 +0200 Message-Id: <20191119144930.227241-1-tali.perry1@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nuvoton NPCM7XX I2C Controller NPCM7xx includes 16 I2C controllers. This driver operates the controller. This module also includes a slave mode. --- v5 -> v4: - support recovery - master-slave switch support needed for IPMB v4 -> v3: - typo on cover letter. v3 -> v2: - fix dt binding: compatible name: omit "bus" v2 -> v1: - run check patch in strict mode. - use linux crc. - define regs in constant offset without base. - remove debug prints. - no declarations for local functions. v1: initial version Signed-off-by: Tali Perry Reviewed-by: Rob Herring --- Tali Perry (2): dt-bindings: i2c: npcm7xx: * add binding for i2c controller i2c: npcm7xx: .../devicetree/bindings/i2c/i2c-npcm7xx.txt | 29 + drivers/i2c/busses/Kconfig | 11 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-npcm7xx.c | 2486 +++++++++++++++++ 4 files changed, 2527 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-npcm7xx.txt create mode 100644 drivers/i2c/busses/i2c-npcm7xx.c -- 2.22.0