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: 140469 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2494114ljj; Thu, 28 Jun 2018 11:12:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdUx9NeDpQ6LPzNzKE2634y1zvnl5qAKjnbFkm0JbScrZT/CaCxO8iSc/jHI0pwo1V26Dx2 X-Received: by 2002:a62:e01b:: with SMTP id f27-v6mr7606974pfh.208.1530209526994; Thu, 28 Jun 2018 11:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530209526; cv=none; d=google.com; s=arc-20160816; b=zcZU57fNkTMCsFu6m4EaKo2iJuXifkdamxEjuQ8aUp44Iwa4uO5Eo6BY3ogGfht6eO z7HW7b6/W8JBqvWVBlOBv3qUxGym6v5hS6ocDZ/uCbPDslgine2cgmzDYS/1AJe6E45d mxXF5sHVi2x4TJYlEMO1mvLqD/jkdNvEzC5FOipDrkuUuUfFgjiwppLhwemjOn6oqFw8 8QWl5jw9YTh00c/bvTFJmyaIH7ijbt9Dl9hC9oL/9K+XPz+ZPE5zN5B92BSCKscJOawH Vf9gjXwf3vd/TUSWl5/m3mGBhpZz5K60VTp28Bv+MShfmOA271Zr1JeRhy+AUrFM4VHm J0yA== 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=ZEeA19+L8+CR/JlqMKQtG5PcysaH3mV5PlHcpZTUkI8=; b=wq2HgvrbLp8goDQX1MFIbWkvw7BdFOXuQeHxAZpEP1MRmw/3e1u3CbD8pPmYl2JnHq 5Ci+644duBZCSx/HnYtvkweGKX3tgdGoY5vUq4YWhzgio0uMPwze3vmFMBdaAmWu4MLb zgd8BAGC/QjDfftkQiDExaAU8joLoqqFAsAes4yeue60asshJhljTUp/VEWkvliZum3J wQ3xGhtEX9WQmvJs2H0oeS7/smsi3tOUpaPB95M2YRbAJJgWJI/QEId40CyRJzY9QtxK y+oSgYqGmWOzj+7ehq8HUt46ydEGYB5ealLR4rIWV6Jad7pKrOzNUc4GV4S1wBFKZMag P7pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=buYo29t2; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (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 1-v6si7341858plz.379.2018.06.28.11.12.06; Thu, 28 Jun 2018 11:12:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=buYo29t2; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967687AbeF1SME (ORCPT + 5 others); 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-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 -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + };