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: 879930 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@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=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="T5FyuAtj"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zsdSd6xbKz9s2t for ; Fri, 2 Mar 2018 03:39:45 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033139AbeCAQjg (ORCPT ); Thu, 1 Mar 2018 11:39:36 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35620 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032988AbeCAQjb (ORCPT ); Thu, 1 Mar 2018 11:39:31 -0500 Received: by mail-wm0-f67.google.com with SMTP id x7so13351439wmc.0 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=gcov9FAOpbJLwmToUFmx0Hre9edxeXJnYNRTc7Z3lXbikK6oUrO4NEdecqB5iLuYYF r41uz1RC9cXXgd/hXIP+3aQByHrLi0GBs2332YFHdzyrkYnvJPEgMH6wgPJH59yDRv+J 6vHFOCMBpCkzADMH53vfMm5pN5u5pIskJQZSy7QO3TBHxf/a4qZ4qyGOQVLuTIHxbhva FUm4gm2yKPGGRm7zxqsjXRy8k4/igbYUCCqsNOcOXgJk/6qsJ+2xJeAbgXMoxf2eGKuu a+yD8MbSjsFrLVxQIcuz2CMZBl8Zo9yis/RSX5TvWhqq4UkhSnbDNo7uzAzUu0Hr47VZ 1r2A== X-Gm-Message-State: AElRT7GduM29e09Mf+oKi7oPtnW4/jYPlBZ9pHTdTjc+N9gikK1AZPnV 5/R66eeEVcOHXxRhLKQCA6V4rA== X-Google-Smtp-Source: AG47ELuBP8gOtraCCc/N32EfmS8bFx+uWMfx/aMl4p67BKNkZR2nPIK0RjguCh7PBdfgz4cEYboolw== 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-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(+) 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>; + };