Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3154415imm; Sun, 19 Aug 2018 13:34:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwF8Xp+MsGTRUQSymAuyvS+E0CHunIVKPx3E4YckpTGAC+dKJICSX+z+5ln/OvdNrmhOtAV X-Received: by 2002:a62:778c:: with SMTP id s134-v6mr45404531pfc.189.1534710875047; Sun, 19 Aug 2018 13:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534710875; cv=none; d=google.com; s=arc-20160816; b=vh9WuSBqzLGG9z4iBMYkrELn0INWC64vIGfnXJk8N5URqUiT+Fs6UzJp/HwKSWgs5g yBjzKlt5m/IuDfvdcvD3ikK/eNrlbQjx7E6ZxD5tIxCLdXPuPUX3JSEV/l/Wq5kStGV5 Wo07FrdVxFw5OqQhdYnf2feJyiX6eTtzR2N/lkYgjwjCtNZwHLxFAsE2goAPawNDCcyL uyvo+rnGKva3IvEol51wCfdNFJHM1dscBgYnnApfHa9BOLh4Ypyh2+20w4ASvztzzd+d IVbNo9nwS0km9lIh9w3wrN/JHQEncwOWlKjliumjbECJeniFJ4RH+p1MhMSPG2WoB6dJ XziA== 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=LSbx7dSLU5AFXYnPkUDz/6b6WbUVVe7UJLNE3XlKJEg=; b=kktHkyanCQQ/Se1kuuKHuZAcAbNXQw71h3CYeTQAwqP4FBUHp4JGrnsyAlywagmTs+ lE6CkkGOHUA955efKaAVP+Y1CsVLKWtWdPyTlad/o4mgcZCRm2Icoz/YdcYzHx6eD6+3 Q2jglzbb4pRt6AhdBrvCAKBov328TogOYpIzu/vtZZoajAvX0koE74E7dtnlksJET8HE /Qp1SG4ytrlZ16Uea5NhQDZNTmK3F6FC7jqhz51yjRts+0QYHg0A2WH/3aCE5czMrzTK Z7VU/HYEbfQZxFZFvmfIhJ21dVRKvxfrHpzO5Y2rkfpI4Twe7EsfIPia7zv06CXbNE1/ +dNg== 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 l24-v6si7505851pgj.158.2018.08.19.13.34.19; Sun, 19 Aug 2018 13:34:35 -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 S1726564AbeHSXp5 (ORCPT + 99 others); Sun, 19 Aug 2018 19:45:57 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:52646 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726434AbeHSXp5 (ORCPT ); Sun, 19 Aug 2018 19:45:57 -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 w7JK1FL4000570; Sun, 19 Aug 2018 23:01:15 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 20088) id 75FCB62CDB; Sun, 19 Aug 2018 23:31:14 +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 v4 0/2] i2c: npcm7xx: new driver for I2C controller Date: Sun, 19 Aug 2018 23:30:42 +0300 Message-Id: <20180819203044.73286-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 controllers. This driver operates the controller. This module also includes a slave mode, which will be submitted later on. --- 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: add i2c controller master mode only .../devicetree/bindings/i2c/i2c-npcm7xx.txt | 29 + drivers/i2c/busses/Kconfig | 11 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-npcm7xx.c | 2017 ++++++++++++++++++++ 4 files changed, 2058 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-npcm7xx.txt create mode 100644 drivers/i2c/busses/i2c-npcm7xx.c -- 2.14.1