From patchwork Sun Mar 25 11:07:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 10307009 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 519AB60212 for ; Sun, 25 Mar 2018 23:22:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45B3A28BDE for ; Sun, 25 Mar 2018 23:22:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39C0C28EC7; Sun, 25 Mar 2018 23:22:38 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 92AFF28BDE for ; Sun, 25 Mar 2018 23:22:37 +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=vKIyLXun9Z40N7kpXMKMDs9JXWl8hhBcAzNNm9KEpyE=; b=hrZoQXk36GL54p+UFW2EMF/iEX yMteOSpd8tTQE+Iv9CfPoE0+PE0p7KFDMPIpBtiHApZQCxpAZQ8NRMk5wz1MSuYLmszrT1lqVVo1u 6R8fWDTxOMraAigEXqaDWpujx8NOr2dwHLPbPEfg/bOxB9Z9Rqq8jTSjoIjXzS9Ix/BGNiZ705RGm m691DENUcsmanbIc0Exd7GfvKMzG0k8TB1FcSuX+Nrcvm3sTs8uVLlGnlHHqRBwLMUO5cZ1SUKTIT Oxej+oUCB/kWSoFo1otYnu6xKKSbZOjcin4moLQeJOEAkfq9NIKYVSXlpbJ7lQUA2cvjj8HhKJcVR 0B3C8/AQ==; 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 1f0Ey6-0002Jh-5c; Sun, 25 Mar 2018 23:22:30 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0Emk-0006ba-Qt for linux-arm-kernel@bombadil.infradead.org; Sun, 25 Mar 2018 23:10:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5H7RRsVaATT8cCxp+bxpCPwKnlHRMmcG30hhwJ0kUVc=; b=0Q5Qft84Oab9vS5eYa7aK4wsC FknfxOF1uqbeQWw9vMnp9GywaBiBEx0Z+HdSO2pyLGb2vmCpa/8wh4c1A2D5BLXw/uUxUhXWqiGaT S8BSipK8dZtjGHGavbAgny5FB272/fLJqnfxcFgaN2P+K15vTqfgNqvegd7cr625R4fW/koSBk/oM xvIvVAUIjaLhbEoEas3DqOf8F0ZomhSspm2ZpcTDIYxWIkKyr372JP5V2akBK4o8wqnKUKXclxiXJ T/hr+IvKWiLvCfnb3VxoHaj/5Jz3ql/qlQgLD12wUYabS+oHQs95ITlCzWVm+P5xqOsVLolysyjtE RYSesNwXA==; Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f03XX-0000y9-L9 for linux-arm-kernel@lists.infradead.org; Sun, 25 Mar 2018 11:10:21 +0000 Received: by mail-wr0-x243.google.com with SMTP id s18so16097769wrg.9 for ; Sun, 25 Mar 2018 04:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5H7RRsVaATT8cCxp+bxpCPwKnlHRMmcG30hhwJ0kUVc=; b=iuQdtX3MnLir7STpPPlVQbGy+DN+daLXmevmJxpggvybproEVoU2kjK9pcSVMSJlra Ab/ifWMmZSw5BoGgAzauO6OygoFlp8IAekOJYV5oeNBNqYrU2V+jDtwCbXTSDUOHATSD yzCn815gCp3B/g1tAQzNzhmMgtclYSjs4wpNw= 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=5H7RRsVaATT8cCxp+bxpCPwKnlHRMmcG30hhwJ0kUVc=; b=qqEzdzR3R6PW6sLmVWAe4WKKSxf1iwz7/riHnsd5c2lm3lo/24BKv47UxkZBEpPSK9 4k7AtBuZy3E2hzhdvehUspd13iLYSm1tQMAOv+m0EleNCbtC/JbQ+NnZT2F3aBjM5jB6 CctjbHThziDc563zhjfjmcsQLyvEEBsfaYNbmzyqF1HYpODOjCRwGFpPSssbYfz/Phez brw0AE37QoWNvx3qpapbrCDjt/S0qmEf4iQAh3bMdy616ixa5Pg4Df1f8DBozY0GN55P es7OQBhDwnJmvmC20gYDopSJDcDK+aXSwv+y84TiWwhpa90RGk1CsWhX7cEz/Ny6KHP+ LXYw== X-Gm-Message-State: AElRT7E8MXrEbidWoczAooMUbArb2NubF+g+XVWrGIie8YrDI8x/VRkm 2C5/QV733n69ZQO2TZWn6s+8tQ== X-Google-Smtp-Source: AG47ELu6QsqNAHWHoitjvFkLk/mKnKMtk1bCDKqvz0bfKfEY0kzX/rN6g5bQwCnt66zSDZTsyFINJA== X-Received: by 10.223.188.1 with SMTP id s1mr29588103wrg.243.1521976084114; Sun, 25 Mar 2018 04:08:04 -0700 (PDT) Received: from localhost.localdomain ([160.105.205.136]) by smtp.gmail.com with ESMTPSA id w134sm14354298wmd.45.2018.03.25.04.08.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Mar 2018 04:08:03 -0700 (PDT) From: Ard Biesheuvel To: wsa@the-dreams.de Subject: [PATCH v6 1/3] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Sun, 25 Mar 2018 12:07:45 +0100 Message-Id: <20180325110747.8852-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180325110747.8852-1-ard.biesheuvel@linaro.org> References: <20180325110747.8852-1-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180325_071019_901617_BC07D36D X-CRM114-Status: GOOD ( 15.17 ) 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: andy.shevchenko@gmail.com, jassisinghbrar@gmail.com, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ard Biesheuvel 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 Add a binding for the I2C controller that can be found in the Socionext SynQuacer SoC. Signed-off-by: Ard Biesheuvel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-synquacer.txt | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt new file mode 100644 index 000000000000..72f4a2f0fedc --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt @@ -0,0 +1,29 @@ +Socionext SynQuacer I2C + +Required properties: +- compatible : Must be "socionext,synquacer-i2c" +- reg : Offset and length of the register set for the device +- interrupts : A single interrupt specifier +- #address-cells : Must be <1>; +- #size-cells : Must be <0>; +- clock-names : Must contain "pclk". +- clocks : Must contain an entry for each name in clock-names. + (See the common clock bindings.) + +Optional properties: +- clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and + Fast modes are supported, possible values are 100000 and + 400000. + +Example : + + i2c@51210000 { + compatible = "socionext,synquacer-i2c"; + reg = <0x51210000 0x1000>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clock-names = "pclk"; + clocks = <&clk_i2c>; + clock-frequency = <400000>; + };