From patchwork Thu Mar 1 16:38:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 130338 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp3020542edc; Thu, 1 Mar 2018 08:39:41 -0800 (PST) X-Google-Smtp-Source: AG47ELvTRiH12AiYV+X4M77CNzSJQmZeP61JD36Q/8Vnnbng4e3OboCys8xGxgVWlgHw3WLmYADK X-Received: by 10.98.16.131 with SMTP id 3mr2565548pfq.188.1519922381008; Thu, 01 Mar 2018 08:39:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519922381; cv=none; d=google.com; s=arc-20160816; b=kEZxLc5Ceg58CFdXhbOmurlWdTaUWiyhYMv5AzjImC61CWVEnPBpKhMxBuzyTnZfAl MCF65J40qm8QnpKUksdI66ZNGBFWxxIdRTFEkuMMfMooxBHB1F9gWC0KxjS8PSowv8gL yWMahPArBjMpSX9pkMaqvjgEA2LivzsPDbFpAeLxmhcSJu0bZjy7g2rcXnJ+HiQiZMYo PN/cy/u7I4xO/UffLnzKQmXWhY89myrJS0h481lqPRxXe7UFas7mdpyzSDFHjXu31lhs r/l2e3GwI92r3flIvqDADgnQgXYhZO16duyz934EIQBZR3ze2jp8vLEvGvG/cqRmQK9U T7yQ== 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=eUW3qGKwai4TTaqUZLGyHR1KdamoEWgsCRrCVZDqdl4=; b=yZAXYxyHI4yvuY8IIvwDlm2KN0TxT2CguTlrG362qevupfU92dP8hZL9zPacKtzNMF K36dZRAnEOYe8RWEOJkb8ucNYGGi0HR9x6bauh12g0e9W6UW5/Y7ea1BHzcR5LoF0kut erkyChEIBCfo2CIeOefkf+4qN8DmlSRUMSQ2j9LBs5XO3rcAftKM1n6sOVhaw6M3qdy2 UmE214R2NIe+OnDJpr3V2t9VY9PHw09t6FFrXMi4JJBY7cRCa7VtqYlY1knd1qxxt4th E/7lfBWKr/D4X/K7eS88fjjjvUWa4ghsTIH+rR463LR+m0w1njb5MAdotJwKLC6hEPd2 RKSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T5FyuAtj; 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 o88si3224491pfk.380.2018.03.01.08.39.40; Thu, 01 Mar 2018 08:39:40 -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=T5FyuAtj; 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 S1033145AbeCAQjh (ORCPT + 28 others); Thu, 1 Mar 2018 11:39:37 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:51523 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033113AbeCAQjb (ORCPT ); Thu, 1 Mar 2018 11:39:31 -0500 Received: by mail-wm0-f66.google.com with SMTP id h21so13326414wmd.1 for ; Thu, 01 Mar 2018 08:39:31 -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=eUW3qGKwai4TTaqUZLGyHR1KdamoEWgsCRrCVZDqdl4=; b=T5FyuAtjyiZO111eHXQoPqXTB60gYya8Etx1PVfiIPokgbjfC3DGYPiHdFU9z0mM0E WWVyACex6kkU/Xoee64MWHaVrHpXDUUJbF7FEFVdvq6Y4rDjyGvzQS/zorkfkvlqV6A+ AE+7C1IU9RSHJFa7teltfQSk7sk+X5GZEMrno= 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=eUW3qGKwai4TTaqUZLGyHR1KdamoEWgsCRrCVZDqdl4=; b=n3wKe1kf+6DjSE8hTpo/C0fM7ZBOd90icJ+d1QqtbZhRtGgHl38xDj5rLiBAfllLPv 8EvuLqHN3JXxafyoa4SxNG5RFD24M/2fimla0p7pg3G3S4Ne4tHrUNUpMH3kejrGYHAy 6Lcn2leD1kL5vI+X2SxeFuAhmyVjnwwTZGgr+A04gjueA0fJ895wF+BI4V8efcx/lf4j pB5rkpmRTGjNJvU4wxNsxYo/3oCnNBBzcU7ZeMdLSGX2ejFaK66+NTKkyPheLB4OORoQ J4aoZCSUQm/HGaxbVQCEpmGSsqkcb8jFlOZUyzejmvPzd/jvHWLOdbs48+DS3nYbk/ET IXmA== X-Gm-Message-State: AElRT7EfYGug415yJUlq3C44XfAqzqwC9t0Wf+qAeEn1v/lmvuj8Tnxd 9PpGyyEZTXLTgZeA1qT1Q3p+yg== X-Received: by 10.28.109.195 with SMTP id b64mr2172946wmi.13.1519922370630; Thu, 01 Mar 2018 08:39:30 -0800 (PST) Received: from localhost.localdomain ([196.71.216.221]) by smtp.gmail.com with ESMTPSA id 7sm4278304wmq.42.2018.03.01.08.39.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 08:39:29 -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 v4 1/2] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Thu, 1 Mar 2018 16:38:14 +0000 Message-Id: <20180301163815.30595-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180301163815.30595-1-ard.biesheuvel@linaro.org> References: <20180301163815.30595-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. 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..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>; + };