From patchwork Thu Feb 22 19:16:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 10236199 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 2A1B660209 for ; Thu, 22 Feb 2018 19:17:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 214CA28735 for ; Thu, 22 Feb 2018 19:17:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 160042873F; Thu, 22 Feb 2018 19:17:44 +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 9EC2628735 for ; Thu, 22 Feb 2018 19:17:43 +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=sx2CmpN4rOdWaqCqPzrv1l8lGSmbGy1ZkmTwi/UIp7s=; b=ppIB4AB9lHx6FH+6uod4NFylXx oZUTS4ur9yR3RNz3NLGUapGhHtagZEt3CUBVS7HYf/Fb3zZGv5GNWbZgybXRI5QbV0eEoE4Ax+xyz Um8b0JaOmcqEVJOLxBwCJA9pMqdgr2ugKqAsQc2PkoPJlVw7jHRHyoTXH1OFZCw8KpB/qfChEZsL5 RmBoeKbttakV7Bv1wSvV2FxgnyKyDPdfF/DyAc4W9XDWCZ4hFS7M/35ipZM3o8kzPRQuZM+wE+LyJ oI6WAZDHRzYD8M2Bp8WOpM4WhfSVMLpJ/KcioaDKK5eRgzjqPLgPBIwFIk2dHOg4e9XETFgdwmpFd mGhOlD4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eowN3-0005Ug-Ra; Thu, 22 Feb 2018 19:17:33 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eowMh-0005RX-1l for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2018 19:17:31 +0000 Received: by mail-wm0-x244.google.com with SMTP id m207so424490wma.2 for ; Thu, 22 Feb 2018 11:17:00 -0800 (PST) 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=bVxkLcuJT9k+fZdQdH4l7y75wuordelEUv9ssTXm9xI=; b=PQ9Dty6ey13t86ZXTS0jNr8ZaP+Id5W0sZx+KtK8Y/zCTNPCy9L6C5CEthwSgWJ1go NkQzUH1BJhM+TsGmyKeQspwjoOjg1PYew3NmMEjx4BbYQxGwUkIBTtYCqctAe+aQEOoL AURyNUP7j/8DsseJEgUwstRr71SxEKB2/ybj4= 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=bVxkLcuJT9k+fZdQdH4l7y75wuordelEUv9ssTXm9xI=; b=jsOGgpCdwFpp8LBaBQdjGdFNmRBd9TV7rGkL9UxGhZEQQR3Bi8fVUe/rYrGRacfUYn Q2edUi7O5DY5vDgwrE2QMc8Ipe5e2YShP7AGZ+3BboyXMwTq7wR6oRTAtR07RvQ909fw vnkmzhmLvPDLRaM93NWdvsq1ya0JWqevwkPtP23c0pdKG4+V5Nmq8VCF/dv+DBu+Da3G /o0FgeFU0G6f5g1ekRKG+pryMpjAjHfRN5KV6eer3NY3oTfXzs/Sz7ebS3mrmne+jnAf tSCdIw5WcfOmKueODXXo6ZoRWAPhBculHns6BCHP7jioc5274ESHIS9pRZsObIMvVtU1 BDiA== X-Gm-Message-State: APf1xPBio+JddJvk5OOczlmMc3/7GRagMuaRob0Po32kL2RRRuY6+OWj oCkz0T5VhRY+2+3Y4RHzW3696g== X-Google-Smtp-Source: AG47ELulsE24IPt3MZjZ7hFOeXHDqgt7D0p/oUz6u9tq81cYcxz4r4r1kXnB0GcKhFXvElj8Muk4+w== X-Received: by 10.28.67.65 with SMTP id q62mr183723wma.110.1519327019292; Thu, 22 Feb 2018 11:16:59 -0800 (PST) Received: from localhost.localdomain ([196.90.4.100]) by smtp.gmail.com with ESMTPSA id n49sm953763wrn.90.2018.02.22.11.16.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 11:16:58 -0800 (PST) From: Ard Biesheuvel To: wsa@the-dreams.de, robh+dt@kernel.org, mark.rutland@arm.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Thu, 22 Feb 2018 19:16:46 +0000 Message-Id: <20180222191647.4727-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180222191647.4727-1-ard.biesheuvel@linaro.org> References: <20180222191647.4727-1-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180222_111729_884681_9B269662 X-CRM114-Status: GOOD ( 13.94 ) 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-kernel@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. Note that this is the exact same IP as the Fujitsu F_I2C. Signed-off-by: Ard Biesheuvel --- 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..4d0bb6a71211 --- /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 : the 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>; + };