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: 129315 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp937253lja; Thu, 22 Feb 2018 11:17:29 -0800 (PST) X-Google-Smtp-Source: AH8x227kg7l0SmwB1LCJ3lT4X6lq/CFHJ1GcjxM6MTu2t3TYPuOZvm5j21QHMXCIPBwjqBJ0ukN2 X-Received: by 10.98.3.131 with SMTP id 125mr7946740pfd.65.1519327049640; Thu, 22 Feb 2018 11:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519327049; cv=none; d=google.com; s=arc-20160816; b=gwH3LDY3oaK+i1O7aY0N7k1G+lIXmCFi601+ivbnDGcYx1DbGKYuawnMjs+WoIvud7 0gnFqDqLOSl8B52HnMz/FSBCCYnUSu5B805P3Le43WJbJ+f/T9s1+7XGMSDScG6mGEaj TKPGZxP4SoFiCmR1AhSljqoBEVglAOm4ZN5/Vqmrq4aseBZFHe0ucogQDnKnmkeGa+S1 NSZH8d0MSIqc4uTvhgZCWcnNK73QchFiu+LtdHv3UVsA1XLcxkEYEAA7LBhs7866aKxu j27lHHgBPYTT2nISSIGzMXbbliXOWenq91dhel+sqpdFtX7bDxm/ceTaqZuflAm+29yB 81YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=bVxkLcuJT9k+fZdQdH4l7y75wuordelEUv9ssTXm9xI=; b=piS2lElj60zFkaTqHAv1mGneYL7bmcKxiZwpvMSzK6HdkwS7QTSIVPrNAPf3fZEdWJ 1AMGdnjxn/I7LY2UWiIoazUfQdd3+kZk5takwzAB+gLX/9re8WvhpbyTtU7xG5dYqBYA mBd11o8miYQxPO1EYsjXmYaUAq3LD8jPWlqA9CSvmGP1LavRMAZIyVnqrzL96Pgx1gsQ zN8RvQ4RgMwl7gevSppyj4V8nSy+e8wWgDn3JDh3Y/fPY8hipbY0XfoIezO9ob1OR5I1 EACqhnmwZTYOz9fQQQpZ5uFdwObyi/FxL2PXtguFN745mjXbdcYqZVbEk/4t14LAmR9e /Z6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PQ9Dty6e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t16si486355pfj.149.2018.02.22.11.17.29; Thu, 22 Feb 2018 11:17:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PQ9Dty6e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751438AbeBVTR0 (ORCPT + 28 others); Thu, 22 Feb 2018 14:17:26 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39949 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334AbeBVTRA (ORCPT ); Thu, 22 Feb 2018 14:17:00 -0500 Received: by mail-wm0-f67.google.com with SMTP id t82so395059wmt.5 for ; Thu, 22 Feb 2018 11:16:59 -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=IJYtn2jhUskeTOpzj2HyfbEoGIwbqVjJoWDVlw7W97a/AY8g8Erojo2WQUZ53thVZ9 zl177/1GeqtnRlFJ9BjDyz98pVQkxJRuOjKMLWVWk51Z5fJtomP0EmdIb1RN0HvfDtlM ZsPvjWMPyR7Z7xXu+HHXebc8cdZMBGf5mLJ0NUL3q1amFOHted+FC5VfdtbsLxEVSN/Y enM2O5zvRDDy6IfT+X/XOU2uiA8noYmPevfVooLrBnqjbDkptqlDXj7B95FKSs7PGgmi uH+3hbZC/85/c00x1hM1Saa9AOl0ODRWUGyFS4gSNeg5b/UmfNp4WYTFFWOTGHpdQjrq XCsA== X-Gm-Message-State: APf1xPCo6q6XB27WDYP9uL/rEjr4bS0cB5Fjxo/GAdZvRiczJcD+qDMY 6KpnNlYaOsz6NQ9Qx9qdDCbbgg== 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 Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jassisinghbrar@gmail.com, andy.shevchenko@gmail.com, Ard Biesheuvel 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.11.0 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>; + };