From patchwork Sat Jun 23 16:11:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 139761 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2139689lji; Sat, 23 Jun 2018 09:12:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJtt7yXiswv3SsiRYempLDz5mHMRhraVGJl0MF3Xbqz+kz9bf9sYetMiOU6Xxa+PVnbE/LP X-Received: by 2002:a63:a809:: with SMTP id o9-v6mr5353983pgf.313.1529770340638; Sat, 23 Jun 2018 09:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529770340; cv=none; d=google.com; s=arc-20160816; b=MWZe75yjaJZio+hrt2xUYtOcvzo7lWzyls8nl9o7QfQTwBkNajtGx2L84xo5tiJtu5 fku39DUgPdnfefueeNfhZrThLOGkauX9BQMZ4Vk94v8+Cvv6cY9XyazWJQzxWUHmiuYT HnHJ/IeZzCxUmq35Ho0eADmCCK7I6StXYTD9oGMSoOXsoShOuzyTaafd1FVT7pmruZzu M7KfLtsPwTja9SNPBqc2kNt5ZyWJDxHvlve4ZGgP5iUGBp43R4/csY9fEN8cQCMmQqPr vPdya8x1ghQPsvXjUiZYhzQiv8PSRBtakW0W+41rhQalxzGiW8sQMBJNZwtOOWJL+2hq YXWw== 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=i75JxtDkld89dlXSH9DFJMMw7OPABzgOVugkSkof6vh+YQDhyYIRy2W6zo0DpaagZ9 dmCj3SC3fmEbyCFECFfvaR0TTdT0wRoyGbEHirrDkhQoMCLy9NWRaYIFOjycDg5X9JCc uoFPyxhc9c3vkEpAX/Af6bz34dosSz7bp9e6G0uzg7JnI5pUMZFXATk3WORqlrme0kER C+lrBwt9kaE3vtKKL8EgEiro0S6JW5t+vD0z40hYVSwnup26Nh8mjCuC9LnnByLxCKkN lcQ2xcsHeBnKqdyXqVvaxTuUP/L+B7mqqU9lnLiCcQqcU0ddXK8yZtaDh0h6yT15dsf2 9ZSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TKdWxPGb; 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 r65-v6si9920166pfk.83.2018.06.23.09.12.20; Sat, 23 Jun 2018 09:12:20 -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=TKdWxPGb; 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 S1751869AbeFWQMT (ORCPT + 5 others); Sat, 23 Jun 2018 12:12:19 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44881 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbeFWQMQ (ORCPT ); Sat, 23 Jun 2018 12:12:16 -0400 Received: by mail-pg0-f66.google.com with SMTP id b10-v6so575601pgq.11 for ; Sat, 23 Jun 2018 09:12:16 -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=TKdWxPGbA2P8mJ8pTPUEymQDMHiAV/hb8buSDOTUxI/giKhi3IhCSLPROJQ7PEHEg4 Am/7DhH2PvxmsXhWS1dN4VQ7U6h8K1KdFdSYCfA0QynoQf47CX/ekCkXNLH0bWuHyQH8 z403H4Jfo4RU/+jKy2qKY8hs1xZHr+7anY8aU= 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=MlZIrlXoJ6u3EJ9mLMOgJ1Z/OlFIgBe2XULV4tS589UY3vzQpSKataxRrHVZrcpSQA zO1qRUlJEisHVQYl31ppzOxdDIYrhH1dddJMo4TxVVuBe2i/kf5j0zBGSHHVbcZSiHcp 9Q3kRkRfl9TNct0vh3bgJk/CieQngIwqHW3OApv1pqPSwuv839BEBM8u4qWKpN2J9tDc xEZ9sCvuZI4pzUeb1H3NUbQ8VE6olQqAJRHGSjDwcHDR1fTbBDJNY274QOHmeL2ImfNx DwcVPOPKVObbTGcpIv8RnqeziLPKgckxH7s3H5wUgEP+F5pb+EPid0QbC69A/BF0SecM i/uA== X-Gm-Message-State: APt69E0TrLJZb2KSaBVtLZMko9yqyq5b5An0AO/vwlZXkMyghFGceNl3 MrokEd4a7WWvovcc3SP7obFr X-Received: by 2002:a63:bf49:: with SMTP id i9-v6mr5330556pgo.342.1529770336159; Sat, 23 Jun 2018 09:12:16 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:100:fa16:6549:5166:32c7:2dab]) by smtp.gmail.com with ESMTPSA id n26-v6sm2732745pfi.168.2018.06.23.09.12.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 09:12:15 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de, 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 Cc: Manivannan Sadhasivam Subject: [PATCH 1/5] dt-bindings: i2c: Add binding for Actions Semi OWL I2C controller Date: Sat, 23 Jun 2018 21:41:43 +0530 Message-Id: <20180623161147.15672-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> References: <20180623161147.15672-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>; + };