Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4584113imm; Tue, 7 Aug 2018 04:09:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcYj8FcfTitrOqEtQ70wg5+oh+Z+Bznc3rtgPZqSQhbBgUGEzkrjOggl/OWaO2Gv0roAZL+ X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr17275365pld.98.1533640198766; Tue, 07 Aug 2018 04:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533640198; cv=none; d=google.com; s=arc-20160816; b=ZwTOu8lGo20wecQD2AWH+rABcbxZ6q8+5bn6xO7XOZTumh2zKmlSJyrp7FLH8UVU6R pftKWkOl8B6B2DKes8ckIzsNjgXUHqiCffbizHJJavxq97bYDqwdLSumI9qTLrgKv4w6 AYstlNUfXXhXqGJf/lTIfilqrmmLU97u+JgRkFikTDrn/R+QvGIQalDJqjsfxsQaBhBz WgAo3Bof1TLvFo23doXAJOY43Cy35Kn+u8Be1sHXOICrpoOWVEf6GOxWOH17OWuztOqF vOXZaiDxp6Zuor0onJSVZyL8j1Z+lkZMvcPtQgg3hIisebsg3xXucKktxRSFw4+H/aTE e/ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=OvFYLEbFhf/BY6XSGBOScfNrdEwhB7OGnhwh0isC8RA=; b=RtKkvBAkwjVWdWS1IWCKEEMid5vCnDBV1mKw6HQ0VjbmFa1jI1hK4hNZWkzPaThMyW de+grc0X41ZpllI+kot1PAHVE18hE5zxqg/y2kUJEihnCsTIOb4xzHNtxhljwGYYdM3P J94JeJKzu0B6prruyZCUnJirmIQeXn+UwkMpu1rq0AULWkImxDmJepmg67MNPFtiMphw Yga45ljSRSWz/eWjohM9VkQlRuMyi0+7rEu97++mEEjfK0TU9YjXM1j1A6aFq0ghB49s Nlv+Jc66LBhGh+BvLqsMTVlsbIHK7u/HA2Pt0VzC5X3BEKBROKwK3lMU7AiaNTC7bBjn R3gw== 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 m1-v6si823853plb.348.2018.08.07.04.09.43; Tue, 07 Aug 2018 04:09:58 -0700 (PDT) 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 S2388779AbeHGNWk (ORCPT + 99 others); Tue, 7 Aug 2018 09:22:40 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:52034 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727388AbeHGNWj (ORCPT ); Tue, 7 Aug 2018 09:22:39 -0400 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 w77AbQV4002677; Tue, 7 Aug 2018 13:37:26 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 20088) id DB25062EDE; Tue, 7 Aug 2018 14:07:25 +0300 (IDT) From: Tali Perry To: tali.perry1@gmail.com, avifishman70@gmail.com, tmaimon77@gmail.com, venture@google.com, yuenn@google.com, brendanhiggins@google.com, robh+dt@kernel.org, mark.rutland@arm.com, davem@davemloft.net, mchehab+samsung@kernel.org, gregkh@linuxfoundation.org, akpm@linux-foundation.org, arnd@arndb.de, wsa@the-dreams.de, andriy.shevchenko@linux.intel.com, pierre-yves.mordret@st.com, cedric.madianga@gmail.com, baolin.wang@spreadtrum.com, jarkko.nikula@linux.intel.com, hdegoede@redhat.com, rmk+kernel@armlinux.org.uk, ard.biesheuvel@linaro.org, thor.thayer@linux.intel.com, geert@linux-m68k.org, heikki.krogerus@linux.intel.com, tglx@linutronix.de Cc: linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] i2c: npcm7xx: new driver for I2C controller Date: Tue, 7 Aug 2018 14:07:07 +0300 Message-Id: <20180807110709.31847-1-tali.perry1@gmail.com> X-Mailer: git-send-email 2.14.1 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 contollers. THis driver operates the controller. This module also includes a slave mode, which will be submitted later on. Any feedback would be appreciated. v2 -> v1: - run check patch in strict mode. - use linux crc. - define regs in constant offset without base. - remove debug prints. - no declerations for local functions. v1: initial version Signed-off-by: Tali Perry --- Tali Perry (2): dt-binding: i2c: npcm7xx: add binding for i2c controller i2c: npcm7xx: add i2c controller master mode only .../devicetree/bindings/i2c/i2c-npcm7xx.txt | 27 + MAINTAINERS | 8 + drivers/i2c/busses/Kconfig | 11 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-npcm7xx.c | 2017 ++++++++++++++++++++ 5 files changed, 2064 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-npcm7xx.txt create mode 100644 drivers/i2c/busses/i2c-npcm7xx.c -- 2.14.1