From patchwork Tue Apr 3 19:11:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 132781 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp4175453ljb; Tue, 3 Apr 2018 12:12:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+NSKq90FPVcj2qvPa7gflf3iWUftDfV3VoECZpznKhJU7D362BTIkJLIEw7yNO26oY1vKS X-Received: by 10.98.73.214 with SMTP id r83mr11609074pfi.76.1522782723592; Tue, 03 Apr 2018 12:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522782723; cv=none; d=google.com; s=arc-20160816; b=UqhZt0o2dHWEdr5olObGY4zw5oOJayprp78G6X6xZrQWDtdHD+9jyw/nov5cEZxF6R ZiHeYuouWdNIkm6KKtMq0q9ZdY8dn4AfUCrbDb+IcSbv4DdIxr53vfF+cIxNrVcRApc2 EGtj+GfMAkNHzw3mGGoCPgUfJkoj9m2x+V3d2160Dl0E8UQAD4KTXZP9fN0YNbz4wsNN XmcmjdHFmNd1wCWv/IAfCsZJkr3s66Vfx/qGVT94JFXsdsGm1y0lsgRhwD/+d3cnEWEu xI938rplOIWHfbeCDFLHCvOgCFO5732vsA8oEggMQOcy7b50Kkv65qzuh11ozVOlSJVS Yj9A== 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=5H7RRsVaATT8cCxp+bxpCPwKnlHRMmcG30hhwJ0kUVc=; b=bF40ovrfEVrfD+lfD5zs+t5/eX+/vlsfkoEw4gSCX0BlTkdlQJ54jz1XkawXTyMc9c iiKw9x6wOZcMBvXD+6YlU7OQ3s7BGYbkx1d80fj/gq+xzAHkT5Lv8AUmRZVfENYOyd0W VraHuWmuiqOV8Zwyl6LbEbecu0XxaNuTaaed/Bz9Cu8JtXXMsrgLJcg2PPVbHr87/gu7 Y8vQpv9Kvwb+VBA7zY9gZTlZd1D22htrVGpwUCU7NGcrxYkbXQqMziLBYDqzyd7xHGBJ cfK9ZMS/69kR1OL/OqDW39x4tlsHDutAlUKjT/e89ozCXYuEszlgJQLGUih6hE3s/Vmy gdjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UmOB9+5t; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-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 s78si2646947pfa.374.2018.04.03.12.12.03; Tue, 03 Apr 2018 12:12:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-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=UmOB9+5t; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-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 S1752929AbeDCTMC (ORCPT + 3 others); Tue, 3 Apr 2018 15:12:02 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:39728 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752914AbeDCTMB (ORCPT ); Tue, 3 Apr 2018 15:12:01 -0400 Received: by mail-wm0-f66.google.com with SMTP id f125so37197684wme.4 for ; Tue, 03 Apr 2018 12:12:01 -0700 (PDT) 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=5H7RRsVaATT8cCxp+bxpCPwKnlHRMmcG30hhwJ0kUVc=; b=UmOB9+5thRrLL1WyCZ+aisgh5cdJfhEGxl9HPrAJhHM0LXWPQTtiN5QrLGumOnk8he CjNyPJ+MeehkVkZELxVC9QKCnxVrVZ+W/750/b1ZRiWudlP4BDcX1OVo6U3Cj0uE07Lr 19JvjY/h+M/kt1ixyS/DUE7fUMk9TUp7mqYJE= 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=5H7RRsVaATT8cCxp+bxpCPwKnlHRMmcG30hhwJ0kUVc=; b=RMyv3YM5ObLSrQQAG7Wjvw365sKMBrbpNjx6dEcUgWS+Zhe78bm6InJyjPKHK0AR3K dUzIubByRgfgvYEpYaadvbaQbrMp3+Gc1DcO7/SNWBoP3haaWHjG5l3OOickS0ItBat5 kGhpInCcRE9Feljdee6aGZnJSGMa7G0ZLee5a/0BgujuLD2A8MLBHvmhqe0GXBKDBk0S TKpTi99goUygV4OhjiTclOBacL46lpDbRQNx/OxkHsB7mLGZ13Yqqu2QCSKWviVlutrW 0NaoYhRKbQTlPxmIhFjObBVaokAjTeoZk7ODsop9Qyv+CMrbAJn3otp+moAjEDKHDWdJ /koA== X-Gm-Message-State: AElRT7Gvpip+Gr11osPTTCM+V5CtHcVwMN60B0hsKJJol1LZFy1TfIf0 H7CByebiAdTlGig738CbiHQycg== X-Received: by 10.28.141.138 with SMTP id p132mr5528768wmd.51.1522782720473; Tue, 03 Apr 2018 12:12:00 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id y100sm25120682wmh.2.2018.04.03.12.11.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 12:11:59 -0700 (PDT) From: Ard Biesheuvel To: wsa@the-dreams.de Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jassisinghbrar@gmail.com, andy.shevchenko@gmail.com, Ard Biesheuvel Subject: [PATCH v7 1/4] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Tue, 3 Apr 2018 21:11:48 +0200 Message-Id: <20180403191151.14924-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180403191151.14924-1-ard.biesheuvel@linaro.org> References: <20180403191151.14924-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. Signed-off-by: Ard Biesheuvel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-synquacer.txt | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.15.1 diff --git a/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt new file mode 100644 index 000000000000..72f4a2f0fedc --- /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 : A single 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>; + };