Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp148836imj; Thu, 14 Feb 2019 17:23:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IYWI0OakoPQye85MHo4q7BtZfg8LVC8HtiGiRhV49z+SKrcsuv2MWqgrLZqr/VUnJXqAYkP X-Received: by 2002:a63:f552:: with SMTP id e18mr2829253pgk.239.1550193813319; Thu, 14 Feb 2019 17:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550193813; cv=none; d=google.com; s=arc-20160816; b=jBCOShyxQgUiq4ds5u6wMcgPKskm0uvUpPZK/TZSy4AQ38cZrX9IP+nao+owfyC0ld asviwsKk/0fpr/z+fclU4qEpnhA6zrRTpzVwFIB3vavMb2laf23UoSP0CUrCWZJYg+ri Ww4MXKlOYaaQheUNLHTyZ4726NFJV96Vzg4HMOhA0hGsTJb3kylbinBoRUYHdwraKFe8 4zd5XPpJVgc5pLhfPAltks0YwNgy6f7kesoYMpmAdJg/Siyp8mxI/8QxyW8n6iwzl/R6 xgaY1k8xn3ibXjGMc5SwMNaBQmhHU57UQEIoXP6DJbPzI2tdleck2VD3X5BEHEwLmGUo 9T7g== 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 :dkim-signature; bh=gAwFmaS66KcV1AlrCQXElQUh5BqKBi7qdQSZ0HpMOj0=; b=LrBp5giBEx0rSpC6+yO3Q/JjPES90EHbL7lv2OmQ6eoex7ftTLd7WjxSY9pvhQ92Fw GWpCEKQ1fUNOOdFBALv1cVa5/SAE5x+8G9mJvKMBAFCRWByl46TSAzKcSxZVLpBOP70Y ueA2kIj9xjLCeqoGzEmCRzX17vx62GzegiEi8xH9AxSygwNwlYa2TJbOQJvi6+7X5dSD gEAQZlN8sqBmxTuLwU/b4J6cEYaOe/55V7egljtfTTHr4J2BaYOrg4hXGBlsJPlQGP/i F9Z0AFw0r2eq/2DL2PS9NYR0dRh4Ifw6KNjCzSRQjgNn9ZD+kgrbMed/07ynE2UQNW7I qxwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=IYppTwn2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q15si4003943pgc.475.2019.02.14.17.23.17; Thu, 14 Feb 2019 17:23:33 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=IYppTwn2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437695AbfBNR5l (ORCPT + 99 others); Thu, 14 Feb 2019 12:57:41 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:39139 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437678AbfBNR5l (ORCPT ); Thu, 14 Feb 2019 12:57:41 -0500 Received: by mail-it1-f195.google.com with SMTP id l15so3673471iti.4 for ; Thu, 14 Feb 2019 09:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=gAwFmaS66KcV1AlrCQXElQUh5BqKBi7qdQSZ0HpMOj0=; b=IYppTwn2yxx9bvqMj0vHkrH6ay+c729O4b4HFCMPg9MtT/IlB7+Bn7hBnC7k3DN56X BLaAW56nWMRg1Nzu7XCm43F1cZjHu21eav2duukIekjhLylVo1/R3G15yrcrNCNMs8+c 1UA4GPqC7XbiVnpCVbCwxTHDAyDPmbVUSlK70= 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=gAwFmaS66KcV1AlrCQXElQUh5BqKBi7qdQSZ0HpMOj0=; b=SNHaiGfZlG5Q1+FPrcxIVSAma6WtSP7u9uPdnn9Z59eKw9vZcTPI/8ljbP3/p3EZ3H VjnOskm9wPgGuUcn9OEVEGwOb0gUL+rkdWmxT5LQrOoEQCxrcal8dAICiLhi7zqOTFML H9jSL8vbCCK+RGMw1BhNvKXJs6KGgUEcW2lHdmhgpZFozS+JUAsT8AnIXZ2dOSmifdbD t4CxxwRXLlrO0JVyuchMh9uRYfgjUWlbAZK3LoY7A1OQhV7RdFeWy0ahwhj2uArtHWmk fodKnpcRAH6G67VZa6Znamj/nxB2SNisqbynDlD0lH52inBeAb7++Hv0/p7r1MXMW2vM lzmQ== X-Gm-Message-State: AHQUAuYDq8vo3ekMhsqsSXMhIWB23UTmI12FzK4lJF4QX/6Rw/Zlambt tXGosaqyXj8mYeujHjo2tcylS4GqBfLE/oGm X-Received: by 2002:a5e:870c:: with SMTP id y12mr2689241ioj.280.1550167060031; Thu, 14 Feb 2019 09:57:40 -0800 (PST) Received: from rj-aorus.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id t64sm1534178itb.5.2019.02.14.09.57.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 09:57:39 -0800 (PST) From: Ray Jui To: Wolfram Sang , Rob Herring , Mark Rutland Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Rayagonda Kokatanur , Ray Jui Subject: [PATCH v5 0/8] iProc I2C slave mode and NIC mode Date: Thu, 14 Feb 2019 09:57:17 -0800 Message-Id: <20190214175725.60462-1-ray.jui@broadcom.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds the following support to the iProc I2C driver: - Increase maximum read transfer size to 255 bytes - I2C slave mode - Polling mode - NIC I2C mode This patch series is based on kernel v5.0-rc3 and available at: https://github.com/Broadcom/arm64-linux.git branch: i2c-slave-v5 Changes from v4: - Add more detailed explanations in the device tree binding document changes, to address Rob's review comments Changes from v3: - Various minor fixes on commit messages and commits - Rebased to v5.0-rc3 Changes from v2: - Address Ray's review comments. Changes from v1: - Rebased to Linux v5.0.0-rc2 Ray Jui (1): dt-bindings: i2c: iproc: make 'interrupts' optional Rayagonda Kokatanur (5): i2c: iproc: add polling support i2c: iproc: use wrapper for read/write access dt-bindings: i2c: iproc: add "brcm,iproc-nic-i2c" compatible string i2c: iproc: add NIC I2C support arm64: dts: Stingray: Add NIC i2c device node Shreesha Rajashekar (2): i2c: iproc: Extend I2C read up to 255 bytes i2c: iproc: Add slave mode support .../bindings/i2c/brcm,iproc-i2c.txt | 17 +- .../boot/dts/broadcom/stingray/stingray.dtsi | 18 + drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-bcm-iproc.c | 758 +++++++++++++++--- 4 files changed, 663 insertions(+), 131 deletions(-) -- 2.17.1