From patchwork Thu Apr 2 20:01:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Dasu X-Patchwork-Id: 457779 X-Patchwork-Delegate: wolfram@the-dreams.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42D331400DE for ; Fri, 3 Apr 2015 07:01:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751118AbbDBUBR (ORCPT ); Thu, 2 Apr 2015 16:01:17 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:10001 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119AbbDBUBQ (ORCPT ); Thu, 2 Apr 2015 16:01:16 -0400 X-IronPort-AV: E=Sophos;i="5.11,512,1422950400"; d="scan'208";a="61280438" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw1-out.broadcom.com with ESMTP; 02 Apr 2015 13:15:30 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 2 Apr 2015 13:01:14 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.3.174.1; Thu, 2 Apr 2015 13:01:15 -0700 Received: from kdasu-ltmht-linux.and.broadcom.com (unknown [10.28.65.84]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 837B240FE6; Thu, 2 Apr 2015 12:59:51 -0700 (PDT) From: Kamal Dasu To: CC: , , , Kamal Dasu Subject: [V2 2/2] dt-bindings: i2c: Add i2c-brcmstb dt bindings Date: Thu, 2 Apr 2015 16:01:06 -0400 Message-ID: <1428004866-13543-2-git-send-email-kdasu.kdev@gmail.com> X-Mailer: git-send-email 2.3.2 In-Reply-To: <1428004866-13543-1-git-send-email-kdasu.kdev@gmail.com> References: <1428004866-13543-1-git-send-email-kdasu.kdev@gmail.com> MIME-Version: 1.0 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org i2c Device tree binding documentation for brcmstb SoCs. Signed-off-by: Kamal Dasu --- .../devicetree/bindings/i2c/i2c-brcmstb.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt diff --git a/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt b/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt new file mode 100644 index 0000000..d6f724e --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt @@ -0,0 +1,28 @@ +Broadcom stb bsc iic master controller + +Required properties: + +- compatible: should be "brcm,brcmstb-i2c" +- clock-frequency: 32-bit decimal value of iic master clock freqency in Hz + valid values are 375000, 390000, 187500, 200000 + 93750, 97500, 46875 and 50000 +- reg: specifies the base physical address and size of the registers + +Optional properties : + +- interrupt-parent: specifies the phandle to the parent interrupt controller + this one is cascaded from +- interrupts: specifies the interrupt number, the irq line to be used +- interrupt-names: Interrupt name string + +Example: + +bsca: i2c@f0406200 { + clock-frequency = <390000>; + compatible = "brcm,brcmstb-i2c"; + interrupt-parent = <&irq0_intc>; + reg = <0xf0406200 0x58>; + interrupts = <0x18>; + interrupt-names = "upg_bsca"; +}; +