From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAF24C282CB for ; Mon, 4 Feb 2019 23:16:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 89A7C20844 for ; Mon, 4 Feb 2019 23:16:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="U0dXIzW0"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="FHVJQ2pA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89A7C20844 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 1gqnTm-00074U-7X; Mon, 04 Feb 2019 23:16:42 +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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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"; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel