From patchwork Thu Jul 19 17:44:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 142370 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2012157ljj; Thu, 19 Jul 2018 10:45:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWP8Qlq6om1zQjx15WgtQGp5yW5S1WG/KVyoWeoTcS0a73X8MwycsH1jqdWvZERlV015fy X-Received: by 2002:a17:902:784d:: with SMTP id e13-v6mr10806771pln.197.1532022356012; Thu, 19 Jul 2018 10:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532022356; cv=none; d=google.com; s=arc-20160816; b=eMaiT7bHKC2zWFe1DJA8juJK2sJL0PqVZgDHRv27bFiqQoBMFD8wApRTm9HxtVY6ic H/9gCwOZZ5p02L7GEUJwAkv3myM6dq3m72dzIvH7OM64ynFyAe575Ll3lWI95rZrCNqQ 07YvLCeCOdd4btDUKpc4jFqueZhTP2jK2vvrNWIa5QTXrEFkd2ip2UitifwwQX8gpQaj Iwve+z4JxfBarTu7BGyvQfSHdJfNSAe/7Zoac5h7+mVjP9u55g5eE01bTynVUHtBdGNn YC7zNJWQaMVvmfT+cMOzj+cXWxLbC26329iMKVk6Q6Woi20Mv5sv2r4v1SzkSvxGShv8 OSmg== 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=Cn44zRXTGPvctvheSaCqVbmMOifURQsNzfmRLTYAid8=; b=AMJ0XYpSd77Vlzdl0hp41/ESjIqMesehY6gKrTeUxiripnZew9+B470zcTRNkEeny3 +dlhfsPnACGaYFK2aZk9EemxvSWArGzPaGdJfS4F6KsyegN5WPvsPOAzTcv/uBTMF4bF moP1pFDUG+D6ylzMQv05xnhWVaH/+51Xyd0W0afpMVU3R6y29svO6qGmwkhwYTNN2idl ozN799hqIss8Erj4VAT2Vp5RePCeTuvqHmhHpOOqNlHzaqi2MAM10AdBpObbWoXbfqA9 IXoZYBc8WS8GzB6BaywZTUmfzNCjZdrDe3wHPw7jtlO3XPG8tC2MDCwJCLcsMucJV6NG X/aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FpkRgRu4; 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 29-v6si6588164pgv.292.2018.07.19.10.45.55; Thu, 19 Jul 2018 10:45:56 -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=FpkRgRu4; 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 S1732029AbeGSSaH (ORCPT + 5 others); Thu, 19 Jul 2018 14:30:07 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:45890 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732070AbeGSSaG (ORCPT ); Thu, 19 Jul 2018 14:30:06 -0400 Received: by mail-pg1-f194.google.com with SMTP id f1-v6so4398006pgq.12 for ; Thu, 19 Jul 2018 10:45:54 -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=Bcvpf2JwZdjv59xkZ4zzQ6yiuLiqFtQKkQsfAovx0i4=; b=FpkRgRu4dZleXRYQhUHMPXQ3tgX+QkA1HLbi1Opbp7v/6nxT4vkJadaVL0yMYCO4ew YR/DxkQ71DKCwjncumnjEA/Fjj1v1a4o8nfniQBK7GSlsrd48GVwdYwCN7fwxM67zCAV g49q0LYpVGbGS4G/CVrpfITQ6EAb62JdtM6kk= 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=Bcvpf2JwZdjv59xkZ4zzQ6yiuLiqFtQKkQsfAovx0i4=; b=VY9gQFs31Z+R1ouzm1uUb3KKx0gh68K7XyvehdkJQpqT+H7ibnVaYlh2YceoqM1Q3B mRily5/UnCk5tlxCSz7zn44/9G+IH0d3FPHtkAkrfov6a5IU5zcvbIWQv2NWlVWLdvwP ROdJ07uNvzDeL0nNjpScXEt4lqfMx5VEZTKk1gQ3obUH9plLmtAlAUAtsWeffstMluyj ePeqjoZwHOP/bg1J9uz7ZBLLUwNNpWAKBZH5ScyQdM4y7N+b9VLgtqZb6i5K308kYMsK W78brCR+bn5qN7dUaGE0nyL1WjKUt+3S2jQre36+5oB3D9OBjpiuX/Scf9UXZJwW0nVZ XZFg== X-Gm-Message-State: AOUpUlFaP0BTToj1Eigd+nkvWybLEM6jDpFXAE8YrXR3zWM9DyOUeTkl dWpu7AiV3kXO5btr3WGnBOcp X-Received: by 2002:a62:843:: with SMTP id c64-v6mr10540670pfd.14.1532022354235; Thu, 19 Jul 2018 10:45:54 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6081:b056:55fa:fd42:61de:739]) by smtp.gmail.com with ESMTPSA id h2-v6sm10114639pgc.90.2018.07.19.10.45.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 10:45:53 -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 v5 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller Date: Thu, 19 Jul 2018 23:14:00 +0530 Message-Id: <20180719174405.7210-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180719174405.7210-1-manivannan.sadhasivam@linaro.org> References: <20180719174405.7210-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 Semiconductor Owl I2C controller Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../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..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>; + };