From patchwork Thu Jun 28 18:10:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 936312 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-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="buYo29t2"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41GntG64Khz9rvt for ; Fri, 29 Jun 2018 04:12:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967687AbeF1SME (ORCPT ); Thu, 28 Jun 2018 14:12:04 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:45517 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965800AbeF1SL7 (ORCPT ); Thu, 28 Jun 2018 14:11:59 -0400 Received: by mail-pg0-f66.google.com with SMTP id z1-v6so2805801pgv.12 for ; Thu, 28 Jun 2018 11:11:59 -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=aNqyghA/+YELYPCfAy6P30ix4otp9ywUK1kCBsmdfz8=; b=buYo29t2qO4dqkxFWlnyU0cv4pdxbR8W4ZyI3eRLOuTO4VfdKxpNd9XM3Zzec0dVtY LLfxgqioskBofSVwTFIsd26xpBLmjsH05COyplIglPW+aHXzYxo2jLBREuIxQTYxV6Gd A92EyNTS5dPNGtZf8NKx4tobcpXMcM1q5GMVY= 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=aNqyghA/+YELYPCfAy6P30ix4otp9ywUK1kCBsmdfz8=; b=lTNFCUKZYOSODtY8DGU1vdYTIWtMRDvMNyuFY27cy8CvdpxQxfaDh0irfzVelAI7H1 GB5XnMw1gNBw171zhwuTs5EWDHDTkbO5peGB5ZJm+Jrd+b2YhjyV8UXkigZxHRklfgMB GbRSiEzDx4SGwIf93xOGniIJ/RTpIw1rVEQ2YV1G1Ci/Xmnx+Ed4iyHbMHtIZrnBx9pX 0grDnZ8tRi4tJsITnZWByFl4FMfBmB9jCGqKTHu2thn0sXuCcKDMqTTl5xGwSsUHrv2S lOT50fTNxYYmUVt02ZpqvLTwEf4/eLB81qP6sXgCKPqX5S47AE9RV96qq/exIOsk4Xxm V/Qg== X-Gm-Message-State: APt69E2ODGEftaMQiX8/A6ccnhdoSGxwKTwdvL2AZ8dNCL8NlyKV8jab PajTLKwcd+RWEm6QrhW11HOU X-Google-Smtp-Source: AAOMgpcELhip9VUF/N/Rld/vRdzC+J/NaFGgKbdKdyvrvsPAe0ARl/gUeiZ2Yb6D2tPlWNKuDhtZuA== X-Received: by 2002:a62:5601:: with SMTP id k1-v6mr11193384pfb.212.1530209518745; Thu, 28 Jun 2018 11:11:58 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7141:9f8e:c1c3:7dd1:e694:9dc2]) by smtp.gmail.com with ESMTPSA id o13-v6sm13293132pgn.93.2018.06.28.11.11.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 11:11:58 -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 v2 1/6] dt-bindings: i2c: Add binding for Actions Semi OWL I2C controller Date: Thu, 28 Jun 2018 23:40:37 +0530 Message-Id: <20180628181042.2239-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628181042.2239-1-manivannan.sadhasivam@linaro.org> References: <20180628181042.2239-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add devicetree binding for Actions Semi 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 diff --git a/Documentation/devicetree/bindings/i2c/i2c-owl.txt b/Documentation/devicetree/bindings/i2c/i2c-owl.txt new file mode 100644 index 000000000000..9b691968cffd --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-owl.txt @@ -0,0 +1,27 @@ +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>; + };