From patchwork Mon Feb 4 23:15:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ray Jui X-Patchwork-Id: 10796717 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 75B351390 for ; Mon, 4 Feb 2019 23:16:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63A4F2C25B for ; Mon, 4 Feb 2019 23:16:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54DC72C26F; Mon, 4 Feb 2019 23:16:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DBE9D2C25B for ; Mon, 4 Feb 2019 23:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cHPfGIntJ2tX8QXx4cfQyqhqTAsUDkT/1piXwXubG88=; b=U0dXIzW0poaPhiObDtxPA2mH/T Oc24vtzg0I2annKHc6h85dx+RN/CncxiU3obwKZzPpGIiYDAaIyW/ZV531rd0SzD8dNZKwrxVJvlo hN0ox5FdXNOLFipxc4+oLAYih3oz1jde80xkVmoMXHynGYc4dFmziwr8hvWk9E5mmrZmwMb3Hz8wH DEfRISfSfeIKDGFIXchCcKEEQwcGqJlLx221BNfoMul4LwXl9eTGyKV/D2fvVZd9z5RM2K0kcUupc lb5ALjHCInPUCF3NHBwnm27PuK5/pqmxbpt2AlbfFix8oco1JqK8ao9KFb1GY9DWLRewY1/esfHC4 BHMPVmIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqnTl-00074U-Pj; Mon, 04 Feb 2019 23:16:41 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqnTN-0006f5-GR for linux-arm-kernel@lists.infradead.org; Mon, 04 Feb 2019 23:16:22 +0000 Received: by mail-pl1-x643.google.com with SMTP id w4so659098plz.1 for ; Mon, 04 Feb 2019 15:16:17 -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:in-reply-to:references; bh=+CqdFjUbPsFcXmKSPDmmDo194EYEoBLQtAS5/cHaV78=; b=FHVJQ2pABaLxUpn0N8klmC8ZSLpOloU2rvX6bShNOiqNIFCDcdFghxrkWw9ASWiQVm FYHKqZH7MkK5nFH/ibfcDrMQqxdQFCDWnf86Gj5IftY7CtRvWGsi+nQEOKI63jm8vE9a Zoy3My9xvdcZtUiy9GGsbjjyIjZ9l8WpPAvYQ= 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:in-reply-to :references; bh=+CqdFjUbPsFcXmKSPDmmDo194EYEoBLQtAS5/cHaV78=; b=LHMZE+sTZzHL3YjB+gRNXGwZNgCb4UqYI3V4QOyCLOFhfF0nIRh7Scosyy9PMeMOP8 NJpffzO22axFHMdHjlWkXphpSyw5VI/u+y/1sooh6rISUguCRq+4K371E7gPGqZQ7PgO Cs7HsxiNDspPydQZE2Pb/BvJ84M8TodSldLeiKK/QW5rfKYnukAyvXADx3zaHC2USl5R h+JHH+ICnVReP5WUoXBaBurILsZW0w6BPfi/uq2sXkEQf+PjaWdWYQh5aR3SOnFQoQnr 4fiY4RMxcouna5ov9PCBa1clnOwtIC7a3xMKGdu3XX1fk3S5S6the2BkFgJKl4uqV3cb ng8A== X-Gm-Message-State: AHQUAubnwV6kDbHGdQQ1Sm3lvc/VKnqcOIDlZvuyiaEr/jLaFXDjFbBW OnS9AM9pwZO1+0LAxBX12ob53w== X-Google-Smtp-Source: AHgI3IY6t26oNneZecWK9LK0xxErUcIldANCTGKwUto6a/tOQEcRVc6vlnb04dcNM3K72pZBZae59w== X-Received: by 2002:a17:902:bc3:: with SMTP id 61mr1926546plr.15.1549322176854; Mon, 04 Feb 2019 15:16:16 -0800 (PST) Received: from rj-aorus.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id z14sm1281499pgv.47.2019.02.04.15.16.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 15:16:15 -0800 (PST) From: Ray Jui To: Wolfram Sang , Rob Herring , Mark Rutland Subject: [PATCH v4 3/8] dt-bindings: i2c: iproc: make 'interrupts' optional Date: Mon, 4 Feb 2019 15:15:49 -0800 Message-Id: <20190204231554.87666-4-ray.jui@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190204231554.87666-1-ray.jui@broadcom.com> References: <20190204231554.87666-1-ray.jui@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190204_151618_019004_66A84B94 X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rayagonda Kokatanur , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-i2c@vger.kernel.org, Ray Jui , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In prep for the introduction of polling mode into the driver, update the binding document to make the 'interrupts' property optional Signed-off-by: Ray Jui Signed-off-by: Rayagonda Kokatanur --- .../devicetree/bindings/i2c/brcm,iproc-i2c.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt b/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt index 81f982ccca31..d3a3620b1f06 100644 --- a/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt +++ b/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt @@ -9,9 +9,6 @@ Required properties: Define the base and range of the I/O address space that contain the iProc I2C controller registers -- interrupts: - Should contain the I2C interrupt - - clock-frequency: This is the I2C bus clock. Need to be either 100000 or 400000 @@ -21,6 +18,13 @@ Required properties: - #size-cells: Always 0 +Optional properties: + +- interrupts: + Should contain the I2C interrupt. If unspecified, driver will fall back to + polling mode + + Example: i2c0: i2c@18008000 { compatible = "brcm,iproc-i2c";