From patchwork Sun Jul 1 17:23: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: 140713 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3132849ljj; Sun, 1 Jul 2018 10:23:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLpoBoROG/p0YukIa7gKDJ2DutkJVw4d97aHFlcj+jRfer+57+b1YcMsfKU3g/DJC9KmaTv X-Received: by 2002:a63:a84f:: with SMTP id i15-v6mr19630911pgp.422.1530465837872; Sun, 01 Jul 2018 10:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530465837; cv=none; d=google.com; s=arc-20160816; b=rn+jTQT1sgcfYJmDsrmyW9h5RMv+kXreuZI2wZYZQcOJR/w76stmogLI30KIoTf9Rm d5KJDiluLGGoTIgoZjRojVEgBRJR5I60pwAQno0tsMKF54amddGXwNOh5No3IsD7EhKL pe2whDH9DbtOcDXDGVKBUcsPsHG5q3AQQGZ4SpPbwPRKEcyCYu2/sIEA7OTyxuI29dJK H/+VmuPIkVRZHz8xa5W1iwDDzHIt5ymvub1hbuIPsZVr4J3KI4vbJe/vMRPYCYwlZLR9 ZiVIzJDV1iBf59NeOY2Vq+pHoabghgbsQ/WIgutD7uCYuIK0P+l0nKHlSFgGcpp5Wp+d c3Zw== 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=iHqBiPwknnDTTPC15d9SKZUQ867uFx6JJbK9vqpC5yY=; b=ZmmDcJySZQeRwnGKYhYT6jZt0G7cE5fMQ9nUn7Lpz3MkcgPVZmKRv81tcdbt2gYkFk 2Y4iktD99QBiQq3vMlRtpeJe95v+wgvgkCZ0bNbhmhGiyrmLvO6p0EQBZxGnRyE9I3+o X0j205HExlDrefhehZWWFYIOKdFUPcp0Ik/9uiVyLoFI1br/adJVTN+0YeaqIc7NP9wg 5cFHnxD4sFJfhKJNKQqv/mKgyme7TZr4Qz4qKrl3Uh315Mz2MRUZRNIYXlYctQdEQQ4J +Uf0GNRNykc7IIAMIh+tylDFyC9QNCMS661+488Yb8QxtT3tG49mbERlHMJeftrCo8b6 7Uog== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MaSDfffo; 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 c18-v6si14857220pls.407.2018.07.01.10.23.57; Sun, 01 Jul 2018 10:23:57 -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=MaSDfffo; 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 S1031084AbeGARX4 (ORCPT + 5 others); Sun, 1 Jul 2018 13:23:56 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34825 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031202AbeGARXs (ORCPT ); Sun, 1 Jul 2018 13:23:48 -0400 Received: by mail-pg0-f66.google.com with SMTP id i7-v6so6077389pgp.2 for ; Sun, 01 Jul 2018 10:23:48 -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=MaSDfffoerGmI+Bo1tCX+ZGDEJX7ped0O9TV7ameQuKICsxXs3a3McpMsqudtpWRhC gX2cOz8tz1JZ+CUKuB/9Ooq1WvkF0uQDUM71k3jYy243ccz5E0Y/lW9iOjd4xPRNh4Gh c3117//4+7y8R8B0mX/WtwXDDbKlCSP4ZVPWY= 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=BIJPdCa8NbxGozoNwsCJb7B9Lu+1vis3ou6sTiP0StY3fNDkYc6sRRXm7+QkC98PHo lukrCKLxfj2G9dN7cdeDF7kE/NljEs1NBpUsPLxRWjrs5uifMOWQqRUDJ+YUe9dwhrfC 9F/Cd+KbkLKGr+UUjiuFZ/H4bxrDbNLkOMCs7dcWSIEniHbJXyUKXnFbe3jZksE89RS8 QhRVdsrFnX8fRRkC/NE6UHEYarUnX6IfAmg4mwIjawrQ0TS3qWfzgfpzQFpAk/F/PhFR aj706KQW4MecFh+LzatampUwaH7D1J5gRM8SoxJ8SY2mk+w/uTgyJB6X/Ow0/y2TuBXZ 4lkg== X-Gm-Message-State: APt69E2cD1Le2Xaq95i/4fAIqL7Teewa5qaqcFHMswNOQtlN/U/BsWox dS/B/lHPGB8NmYd9QQiAbtvb X-Received: by 2002:aa7:8004:: with SMTP id j4-v6mr22178819pfi.174.1530465827900; Sun, 01 Jul 2018 10:23:47 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:900:ea77:2c06:3367:1893:796]) by smtp.gmail.com with ESMTPSA id f10-v6sm17989836pgr.30.2018.07.01.10.23.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 10:23:47 -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 v4 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller Date: Sun, 1 Jul 2018 22:53:00 +0530 Message-Id: <20180701172305.15663-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180701172305.15663-1-manivannan.sadhasivam@linaro.org> References: <20180701172305.15663-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 --- .../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>; + };