From patchwork Sun Mar 25 11:07:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 132388 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp2668845ljb; Sun, 25 Mar 2018 04:08:06 -0700 (PDT) X-Google-Smtp-Source: AG47ELuxkKWJDTENlnVTpLyx+eOzcGKfwJPoEjqyAhxfmYojsoZ8LLh5RiacBPg8otxWcLPlYvPr X-Received: by 10.101.74.15 with SMTP id s15mr25648210pgq.382.1521976086757; Sun, 25 Mar 2018 04:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521976086; cv=none; d=google.com; s=arc-20160816; b=1FQyJVOo7/0fVPIZqFYdhk65cxcrF11YMVsFVEztPGz3ru1luTpaRCN72T3VHMiR9D sL0mTXTzg3czBLaQNr1vV9hObpdJwTzuohHK24Z0K3+PngIKl3ZgOCbBXAxx+nLDbzes 7alknsIjYxaPsZIulRWGhYYlV4aLfGZtjnq3scArJPgiYBd9ZSdgR9ybzw5Ox718kH5U e2Rig+3mZu8GuqPH7FioL3U2SbPgTiMLSVS9POvEaOPT94PtpNOI0V43y22jQNYe/dtJ gPG4fMZqPuDziAVjpAFI22D01UpGq6+Yoq6yiLi8INwv8TeIGqMRJaJYElVBzBk3uuDy ettQ== 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=gcHLaKP6jUabsBdMTszPXNj2k5E+/7pIOuY3b5ca85Ywv27l3KGIWXXWOblxtHuBZw xk0THdf1pD8+4BFeHz/DnbUd/guFYk10BeygXvjtDmepn+EhJVLNTKQ6XbaLX6R9MwzU +BDQln3meGGtXGd69QH2N/bZZIyUeLxHjKNxaX2o25Wzbs/8F3z7o7qz+FTo2O0n/7I2 0MHUYB915gwKL/ps0X8NTGHgNywoC/fmsXWGI5TPGhc2kP9Qoy7ISsarXNLLRyJ0vh8Z cMZ3EzG04E1Knkye6Phi4TedPdLwjRK1aQShWkzmglpKyq0jtzAx5Gp8eTLYlxKylEjy CYjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iuQdtX3M; 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 f8-v6si13805808pli.445.2018.03.25.04.08.06; Sun, 25 Mar 2018 04:08:06 -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=iuQdtX3M; 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 S1751997AbeCYLIF (ORCPT + 3 others); Sun, 25 Mar 2018 07:08:05 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:40041 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751985AbeCYLIF (ORCPT ); Sun, 25 Mar 2018 07:08:05 -0400 Received: by mail-wr0-f196.google.com with SMTP id z8so16101637wrh.7 for ; Sun, 25 Mar 2018 04:08:04 -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=iuQdtX3MnLir7STpPPlVQbGy+DN+daLXmevmJxpggvybproEVoU2kjK9pcSVMSJlra Ab/ifWMmZSw5BoGgAzauO6OygoFlp8IAekOJYV5oeNBNqYrU2V+jDtwCbXTSDUOHATSD yzCn815gCp3B/g1tAQzNzhmMgtclYSjs4wpNw= 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=HN2tNWgQ26kxD2o0Q8wJtQvwbM7FwO4wPiAmYk9UGO48eseTsyWI2pgQUkIHjCAqlE ozZ1un/6Tv6pDwEcaQky33JcoOUrkAy5p5ro6ftjyIby7p1Fpzb0b49e8W5Kjqmf5BBb qVDesha9/9vN1PapgBy6alDwjKuvtNtPmim75HDY0xNduwU4HE0eozmU65XCF4mPM0Z+ NPIDZoSean4iuY52hKl5KsWlZNIsIteJRvQ6fFXKh/4o+WlC7pgyctxS5uUWFq3qsF0b b8nl+7kOIDUOapo213tUBeKacH5+nLJzt+yxWJ1ceG15wZWsTdMraJmWwSZixtwDMFnx 56MA== X-Gm-Message-State: AElRT7GctJkQhvZG8Hcy+2pWUG1WohIitknnYtJsdbyHB1nLUoV4SKcu nfwqhhyRAsZ/sMGHqmxr87H82w== X-Received: by 10.223.188.1 with SMTP id s1mr29588103wrg.243.1521976084114; Sun, 25 Mar 2018 04:08:04 -0700 (PDT) Received: from localhost.localdomain ([160.105.205.136]) by smtp.gmail.com with ESMTPSA id w134sm14354298wmd.45.2018.03.25.04.08.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Mar 2018 04:08:03 -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 v6 1/3] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Sun, 25 Mar 2018 12:07:45 +0100 Message-Id: <20180325110747.8852-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180325110747.8852-1-ard.biesheuvel@linaro.org> References: <20180325110747.8852-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>; + };