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: 878449 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="L32998Ln"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zrG365lQhz9s1n for ; Tue, 27 Feb 2018 22:01:22 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752532AbeB0LBU (ORCPT ); Tue, 27 Feb 2018 06:01:20 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41558 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752759AbeB0LBS (ORCPT ); Tue, 27 Feb 2018 06:01:18 -0500 Received: by mail-wr0-f193.google.com with SMTP id f14so24368115wre.8 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=XMfE380uvBArdDDvJrWKIuDZ9SJL7HNUqykcc7FYB5BpTCGFzQn10BSiZe/ZXnmX3a 5qAZHD3zmxvOpJL20Sd0MN0VIvS8EYPbYxOt+DzZeJYVD5tSn3W9WyklUl+WgL/hTpZ1 btPBUzG0P8DonvOcAJmgmtu4qgSngoz+b6wLN9g44CmMr2i9ri4aWAiwzJ1t6t8Et4Vv yA9KuXQXwsr9XQQbUFIhkcFCRL7g5WAXJcAXkYydgLMaa44FFds5trg1zuCr6suBa/i9 JmwZkE9Ta4o34PP0DWMUT/wqss8UfXDygi5AnSPV1Hv/eWbeKMnE1bhFBWotYwL2OEjl 3vMg== X-Gm-Message-State: APf1xPCkokqb6gNgI0/mJSV3mNjvHE5LXVvN4uCbssYe2/80ABykjBAD 6qgIKa6N3qjEW5bIro9guoyqkQ== X-Google-Smtp-Source: AH8x224afjFmAYT/4nTno8xicrtqZ2NHQRTFd56bs75oWURJNgiTzLOV0izxllcln74UO294krbfEQ== 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: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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(+) 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>; + };