From patchwork Sat Jun 30 13:33:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 140675 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2000791ljj; Sat, 30 Jun 2018 06:34:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIHsKAIHQWA87Ft5rauktcfNmTUjR4CFRgFYKnWOk/divBB4Srg/WLV3/xbj0sMWSBFi9Tb X-Received: by 2002:a17:902:6802:: with SMTP id h2-v6mr18674790plk.113.1530365653743; Sat, 30 Jun 2018 06:34:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530365653; cv=none; d=google.com; s=arc-20160816; b=u96mEN94M1arwh5ukioMbq/6FNOS5rq74rIrFdMmATuFfEKRWcaCWeKqoYgraHzKpz lHgMniLMoUswyjsuETSZoyGLsuFA5Jthj8RvOh1tqreFEV4McRn87kU0x6GpM/rBdZ5O 1bGVphbm4XfzgUdLBgOALhReqY9hmAzRJAln5bL6AT860h7V6yFDOhstGMB9pyxl2/z8 fojrM6RegDvM7PXJg+nRaOGFAnNxm2hjwsLCKKc0p0fTf8OB/Vd0GC00/qu7TpMi7pCI iyhHWb4eKL9a4u0SiY4Hpkppj0ShmPJKK6+Mn9krPFByzSMpTD7fG/q0L+UI2Fdk0JVT 9//g== 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=P3sErEIs2TdQVU1vCbLuXOpei3kXzzcqD58jTzbNExU=; b=mdKwB6t31Gc2DcM/M6lT80s46nGltQKVZ0DiTK0a1nl9lkGrQSHSsF3fBUpNz9DqbX +4SKnYrNfbLLXSTgZRwpnHnGoaMoV3BSjaC0cZ+QQ9241tYoNlf6aNSlNlk9hHdtOdDc of80vocSzVaJE8cwIHYEx/kocQqsD/uBqOiTbqsaeAmuVGqaNB31BBniZs0gGOb0xL3z 1GeZ1pWzgLc2l0v46NC5K9c9I/UfXMxcp21uPflRg4n43v3lg/va5lilroiKfFuyF+ut 0BicQ2rEgEqGSA7asHoLpPyWqqXY3u4gRUYHY0dFo1xMPZxWAkllusH+EzFs/qxqHLHG 8mPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YjTKDmE4; 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 o123-v6si4086165pgo.190.2018.06.30.06.34.13; Sat, 30 Jun 2018 06:34:13 -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=YjTKDmE4; 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 S1751096AbeF3NeD (ORCPT + 2 others); Sat, 30 Jun 2018 09:34:03 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:40038 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbeF3Nd5 (ORCPT ); Sat, 30 Jun 2018 09:33:57 -0400 Received: by mail-pl0-f67.google.com with SMTP id t6-v6so5800419plo.7 for ; Sat, 30 Jun 2018 06:33:57 -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=P3sErEIs2TdQVU1vCbLuXOpei3kXzzcqD58jTzbNExU=; b=YjTKDmE4YaMqwRk6V3v7r9XY4w3noRKkarDChMw1xBVbWHgNR2k6XknTw0g0MQazO1 BttlBO+FdjP5f1p+yKMPR3c93d/76Tx1DdNMl5EFj69k7gEED7aYJYYD355Ry6B/k47u Q5TJXdVof4VD46xJvbKXBY1VJgaW2BYU2Kmrg= 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=P3sErEIs2TdQVU1vCbLuXOpei3kXzzcqD58jTzbNExU=; b=P/8+tUYB6r1iG+ngDu908OgAHjA5Q+vvK1jmaI4fBqzJmhiBDmrRuu8lo9Mg4UVypb aW31SoeveZeVe7eIfO+TQ9ObYTi7b52sDHCCjpoQYbAY0a1spD7XelJ+KZ86wbIsyDZC Pse1MX2iHgCCZTdQkYpKox0I01s2jtQKhFgQFWgNTdOKKpGjvEZJmwhRbD3fVqA3Vdrq jnYaVr0a1Lmqq+G7tB2pmPsIJSEijWQATij0qMx5S6l6Ryb4E5MnKc8ZCGkqaebIcds4 HDGwwnQ689Qw50Uyqzh8AIpwcyYcT2KCVfSQd4cD+i+Z3CjGTd4KJG0lhYwOzJOuIJE7 KGlg== X-Gm-Message-State: APt69E0Qb+oWaU3BN8EXsbXebc0xPmjpppLF6OlW5bGhNtrupeulHzBD qGbKecPsZ4Vp1v505IF3bMhe X-Received: by 2002:a17:902:3303:: with SMTP id a3-v6mr18890105plc.209.1530365637165; Sat, 30 Jun 2018 06:33:57 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73ca:b257:2c06:3367:1893:796]) by smtp.gmail.com with ESMTPSA id m10-v6sm18738778pgq.89.2018.06.30.06.33.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Jun 2018 06:33:56 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de Cc: linus.walleij@linaro.org, linux-i2c@vger.kernel.org, liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com, Manivannan Sadhasivam Subject: [PATCH v3 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller Date: Sat, 30 Jun 2018 19:03:25 +0530 Message-Id: <20180630133330.23858-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180630133330.23858-1-manivannan.sadhasivam@linaro.org> References: <20180630133330.23858-1-manivannan.sadhasivam@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Add devicetree binding for Actions Semiconductor Owl I2C controller Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/i2c/i2c-owl.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-owl.txt -- 2.17.1 diff --git a/Documentation/devicetree/bindings/i2c/i2c-owl.txt b/Documentation/devicetree/bindings/i2c/i2c-owl.txt new file mode 100644 index 000000000000..b743fe444e9f --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-owl.txt @@ -0,0 +1,27 @@ +Actions Semiconductor Owl I2C controller + +Required properties: + +- compatible : Should be "actions,s900-i2c". +- reg : Offset and length of the register set for the device. +- #address-cells : Should be 1. +- #size-cells : Should be 0. +- interrupts : A single interrupt specifier. +- clocks : Phandle of the clock feeding the I2C controller. + +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. +Examples: + + i2c0: i2c@e0170000 { + compatible = "actions,s900-i2c"; + reg = <0 0xe0170000 0 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&clock CLK_I2C0>; + clock-frequency = <100000>; + };