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: 876813 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@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=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="PQ9Dty6e"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3znPJ431xSz9s7T for ; Fri, 23 Feb 2018 06:17:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751391AbeBVTR0 (ORCPT ); Thu, 22 Feb 2018 14:17:26 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38333 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339AbeBVTRA (ORCPT ); Thu, 22 Feb 2018 14:17:00 -0500 Received: by mail-wm0-f66.google.com with SMTP id z9so413187wmb.3 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=p9T5LBhYGl/Hpjyj8uNrA/Za4Xbkvb/QZ1adY7Ie3wsrcVX7rDOxOy1fcYzh9LU0yi DCMGHzePq4payz9O2NnR43+7QcxU7AX0AkTDDgpi+2DZqy3tPhnJMLGTMqV+MyU9GeQ9 MSTF8idUg1o0ld8nvKyu6xqRc3Rum3ZvsgW1rnbNdrthy7Ulba9Oyt9hv97bZNCAkVHV qQP1Jw3khmRnq2wwfxTQ53aTouAKwYZELOhM93Up6+ipOTwf+feLLEOVA+ArIF5spKxI IEGt2zwWVqI0Xfhc3g1nI258MdV5FKWV/HG5lI0id/PAkLkwgtGgE2AceWDJtv+y8FyK F0Zg== X-Gm-Message-State: APf1xPBnqcIAtrj9XiFjJ2WTpxmy8WAPwBYr2ebawd2avSMWuBi6bjQc PNBVF6Pg7pPhVW+XYt6gt4lOzA== 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 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: 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(+) 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>; + };