From patchwork Tue Feb 27 11:01:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 129768 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1253651lja; Tue, 27 Feb 2018 03:01:23 -0800 (PST) X-Google-Smtp-Source: AH8x227YmYwHrf8r5bsOlEsx+Md325tBpC0HH1LljKSjPnV31cfibIkDmIqB1E0ULsN/pE0u6Zup X-Received: by 2002:a17:902:b697:: with SMTP id c23-v6mr13074088pls.328.1519729282911; Tue, 27 Feb 2018 03:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519729282; cv=none; d=google.com; s=arc-20160816; b=kqBpRexSc6yRlb4sOc6CAoU1nKIm9VoDRw464Q4aQdh9uqf6s6YLK6rQ2n/GnecPAJ UC7QTngy1cPKHS4gJIXEo2JDpqrxq2foZyxO6hUlbR2juFWsP6gzeo2RCMkPfPe+TtEH 5AWriN2tgkOH/5gE8vvjL6CJ0lQfQKCWGZCRJMLNA3I9CwBoqGQKPKTcNv0rrNkwUaQL L31Ng68T6iyvLD6FDRRUG3zHFbo635CUmGPQyMo72yVYbRPaxYTF7XbWUqLt/OUcYvic 7fKVNTebKujDt9IVv0PyhcGvy3IRDlDk6ADFEYkQc2dzbxi6FPb92NkxT377kw/M4Z91 yBKg== 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=ZpXbAe80ZL+ZkGQ3Ztf5nNfj0a9GoGBUSkFJedUj14U=; b=Fq4VtmE859bc+KyynvyJ8meF4vGRJ6xFBCjj6uiHUHjm5NQa10QFiW7KkIufesQUKD mc1Nm+LoHcutC0qENAUUCHErc+LakeB9eQDOHY+cWREEelcRhuE1d/W5xBMJU1l2rHUm Wpt1VRNIWeAsRNM8hymxlulCXTchqyFxxjMc3VLs2p5Sji05WW2KCRDgktnxmhmsw26m E16/5W8Fqk8VJsr/+Wv1wgC5g+Ae9Ev5mkNmI4hqYtjHGATVMrpraDGm/JUnZHXHzabZ O7yR0h3VRYgh9CVQ+kTqwUr65MkhbEhOAnXCeXs8uZhKk3oGOUkzrnQOV4zAzUKNDesX +IhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L32998Ln; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 g1-v6si8426315pld.236.2018.02.27.03.01.22; Tue, 27 Feb 2018 03:01:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L32998Ln; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752779AbeB0LBU (ORCPT + 6 others); Tue, 27 Feb 2018 06:01:20 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38069 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752761AbeB0LBS (ORCPT ); Tue, 27 Feb 2018 06:01:18 -0500 Received: by mail-wr0-f193.google.com with SMTP id n7so24394174wrn.5 for ; Tue, 27 Feb 2018 03:01:18 -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=L32998LnvGVuxUIFGgunqlnMFQ9iTGP42R32fT0t1mzL0j/FDdt1AP1WK4xvMlRaFr yXLkDCIUXLh6fC3BKn5nLfDqimxGBCMo5AkUxmuoUQyzvFy9DaHPPuXTdd088nLjQSFP xanYf9upLN06Rk7jXxlilj5uORnJbLrPdjmKw= 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=LMG9NIRu/dp9liipqalfzpVAsHw74L2V3sbC+m7NZjcTUdkYY3C5zNKpkeT8wUrssr DMSIb0dIebaLyOFf41PMak2c2qVUpoz9+KOhjOciZgSG5MYGkfC44R7s8zsu+XCKz0h5 rMGlOL4MeZAXR8LO/+JPQ3flrxYImD8Hg5tBBloOLUnif5V11m8SwfsABD0TT/ag9QD5 YIfdliabQ5TKMrZg2OZCO+oQ/pv9yWqQl1gADgTTpn+M7edSG3D3Ot1x4DGjLpnn9E95 BQZAX56A0DHlauqxIosWId9X5XccLsXtg1lR4lt2E1wdwLCJfJcgtG79QHje7EvTWF9b rCzQ== X-Gm-Message-State: APf1xPCud8/hf93c6I+8mc75E1ci9YaqvC/1P1W8GRIkRNEMHDDEGgY8 50v1XELmcsFAJzvhmJ3g5zVfrg== X-Received: by 10.223.179.211 with SMTP id x19mr12047748wrd.175.1519729277220; Tue, 27 Feb 2018 03:01:17 -0800 (PST) Received: from localhost.localdomain ([160.167.215.215]) by smtp.gmail.com with ESMTPSA id p5sm14380482wmd.9.2018.02.27.03.01.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Feb 2018 03:01:16 -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 v3 1/2] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Tue, 27 Feb 2018 11:01:06 +0000 Message-Id: <20180227110107.30259-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180227110107.30259-1-ard.biesheuvel@linaro.org> References: <20180227110107.30259-1-ard.biesheuvel@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + };