Received: by 10.223.185.116 with SMTP id b49csp7495930wrg; Thu, 1 Mar 2018 06:30:41 -0800 (PST) X-Google-Smtp-Source: AG47ELtfq+la2jkOjr1KAhG3iKTl0W1PacA4wuWdCWwx9CluTPAW1Vckr6mlzmRKaLrPqxNtqXOx X-Received: by 10.98.248.7 with SMTP id d7mr2152315pfh.117.1519914641726; Thu, 01 Mar 2018 06:30:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519914641; cv=none; d=google.com; s=arc-20160816; b=yMiHn3zNQRxNBsKo9RfvUcZCgPSmPW+QgO/ye5HvTQhAzw3vzXGVGHY3TOg4Me26bb 83KItw7cgWT+EzL8LvqslWGw3NQTPZ8vN4HflcWF3XWpZJUZyWX0itLKOHLrduIiWnSN oEhZKL7HW0kc/lw007QKqnllzLmzkO5BfE1z/iKJ0qmSpgR79YUPKf+tKXCxCq4Eflda R8VeNA+9RWi5h0E6Pw5dMDIXwFCVBy8EFz3cD8I9SKyK2zR2et/qcBpJwo0VC6cAn165 6WFo2R++rws5HXpPwR/MqnGhXN2ycaIQoEEAo974M0fkcWyAci4xIf+LE97YnnKUWo3V CM8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=VH/b3b05lMNcnePd2SF/MrKCU++nElzYhZpCux1VJPQ=; b=Qci92n7VN+9uyzmMR8Dx8bfCtBujGid0CAq9sPHHthMDY3N1CKbht6NzYJa5yQFXL6 vrGAUIMhiVTIlia4TDM4ZcOefuwnCcgFz4vjnZ2D2eqlNHLlyoijzVT6r1XeMhkyUgX1 sziZJF+RlSiS4rDfIW4AeYS3y8qMgsoVcDuuyG/aYKQOmyCGIUoRybloE71HQ5fpW92a 8jYZ+lYuBNEI2OCzFlghyyimCpgNclVeZvHySdtuEa1X4xOnQBTMa9Nbn05hk410DlWB k2CzE59Gu0gEG0eXNEHNvTW0PQAkWKTOHwoyfnFtPcVkLfBMg9YzmJEbdD8zmzzwTj9b itVw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7si2540948pgc.69.2018.03.01.06.30.16; Thu, 01 Mar 2018 06:30:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031559AbeCAO2s (ORCPT + 99 others); Thu, 1 Mar 2018 09:28:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:51706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031546AbeCAO2p (ORCPT ); Thu, 1 Mar 2018 09:28:45 -0500 Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A364021795; Thu, 1 Mar 2018 14:28:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A364021795 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qt0-f173.google.com with SMTP id t6so7711104qtn.9; Thu, 01 Mar 2018 06:28:44 -0800 (PST) X-Gm-Message-State: AElRT7GdlqjYUds2H0iTnpc3xvH0shiRIuSshFFu4umPM2EBVWR+vhHe JkrOYsrRmCyUu4JWicQZGVuXcxpc3AMa4CmOLQ== X-Received: by 10.200.28.84 with SMTP id j20mr3150391qtk.188.1519914523835; Thu, 01 Mar 2018 06:28:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.178.131 with HTTP; Thu, 1 Mar 2018 06:28:23 -0800 (PST) In-Reply-To: <20180227110107.30259-2-ard.biesheuvel@linaro.org> References: <20180227110107.30259-1-ard.biesheuvel@linaro.org> <20180227110107.30259-2-ard.biesheuvel@linaro.org> From: Rob Herring Date: Thu, 1 Mar 2018 08:28:23 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: i2c: add binding for Socionext SynQuacer I2C To: Ard Biesheuvel Cc: Wolfram Sang , Mark Rutland , Linux I2C , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Jassi Brar , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 5:01 AM, Ard Biesheuvel wrote: > 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. Is there a binding for that? Should be the same doc if so. > 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 How many? > +- #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>; > + }; > -- > 2.11.0 >