From patchwork Wed May 13 16:59:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Dasu X-Patchwork-Id: 472025 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 9DD84140664 for ; Thu, 14 May 2015 03:00:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934205AbbEMRAf (ORCPT ); Wed, 13 May 2015 13:00:35 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:5710 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934317AbbEMRAd (ORCPT ); Wed, 13 May 2015 13:00:33 -0400 X-IronPort-AV: E=Sophos;i="5.13,421,1427785200"; d="scan'208";a="64927313" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw1-out.broadcom.com with ESMTP; 13 May 2015 10:36:04 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 13 May 2015 10:00:31 -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.235.1; Wed, 13 May 2015 10:00:31 -0700 Received: from kdasu-ltmht-linux.and.broadcom.com (unknown [10.28.65.84]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 48DE240FEE; Wed, 13 May 2015 09:58:49 -0700 (PDT) From: Kamal Dasu To: , CC: , , , , , Kamal Dasu Subject: [V3, 2/2] dt-bindings: i2c: Add i2c-brcmstb dt bindings Date: Wed, 13 May 2015 12:59:50 -0400 Message-ID: <1431536390-9761-2-git-send-email-kdasu.kdev@gmail.com> X-Mailer: git-send-email 2.3.2 In-Reply-To: <1431536390-9761-1-git-send-email-kdasu.kdev@gmail.com> References: <1431536390-9761-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"; +}; +