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>; + }; From patchwork Sun Jul 1 17:23:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 140717 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3133416ljj; Sun, 1 Jul 2018 10:24:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI3QU2/VYH3UEq7SfPOMJ+WyUCw16sGRyfjclXBg83jkY+NVWo46fgkV95M0J/Q5Jnmkrrg X-Received: by 2002:a17:902:8a95:: with SMTP id p21-v6mr22707916plo.91.1530465888597; Sun, 01 Jul 2018 10:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530465888; cv=none; d=google.com; s=arc-20160816; b=w5ey0ZlAgTUr6vU8h6nAzwBJJurrsJ46X8wXGiNnVKVKxMCY587KHKalRFsRZusB3j jLsQhux/Y0AzF199DEUiFSbScGBORyr4SgxZmRAK8uxkIZoGAs5+89ac4k/QtzLljD/w oXjPCx+7jgD71EUMb6QTwzwSc/w/UnwaI0woayU8S1RH9Lpd+YA5T9d7Omn7eRcfdHbz rASFGnH5l6iMoZOu+PSgDMORKNjzU4V04tRSBfWp3p4ghz4ImtxCfNLxY2VGq+iRmM3t Ez0LZT90SuYeSY849msdOdcPgs6xZyppnWK2YM8sE5/g826cFpEea+wU1nPDPlqkKwzt 0Ijw== 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=b/glWb+s188pu+C4QVxE3AGepf/ZDHYvevmFQqGa5AY=; b=CPE5g12AF7xAIO0v2bZBnrDEHXE+sPGauu8JZ9PbRSEUD2nYpW3qGxwnpgqDdhFAjQ 5vNglhTRa8leuTYfbPvlsRWpuOVn71bCCA+zdaA3k4YDeb7H6MbVMpC+6sFJ5YAVoL3x OzAgh0xTss9IqzS2cQn7ko9Ej5fD4A7j58Vl56TyMNSr4nXlJMgf7+MncZhqafoAyTk+ mrlykZjOFLgCFa461P/tAs/lSFkMOIJO6xFiCeWwFygNN6jpEuiDHE1oRc9G2+iij1Kn pO5qGEfpH9CfWZaqcrAtj+r/91+XDErM5UZ0fRhyliHDaWkYok6qrcBmX8pAsNa8TVE/ UjpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gFJJe0XX; 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 b16-v6si12194317pgv.358.2018.07.01.10.24.48; Sun, 01 Jul 2018 10:24:48 -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=gFJJe0XX; 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 S1031528AbeGARYp (ORCPT + 5 others); Sun, 1 Jul 2018 13:24:45 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:38256 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031601AbeGARYm (ORCPT ); Sun, 1 Jul 2018 13:24:42 -0400 Received: by mail-pl0-f68.google.com with SMTP id d10-v6so6802449plo.5 for ; Sun, 01 Jul 2018 10:24:42 -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=/b+N2DvOUUyA2A2wTJ+2C32b3lKHmvgv0TH8hNrLKeQ=; b=gFJJe0XXSL5nNHQZXKnM3keAuD5t6EIoArZmA/JH2g6+7zP9LFvwqyUGztOdpn2ACq uLNz2/Lb/yLF4hFZPIg2QevOesmR3wQ5Anr7ZxYNf70bS4Dp9WnBoNrpktifmyPJy8aB V/W7D0AEJvY6KtwNwmCeNMsSynOVzefBKVVdY= 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=/b+N2DvOUUyA2A2wTJ+2C32b3lKHmvgv0TH8hNrLKeQ=; b=Lzo7mEPlukNMEYUJ+pjzmjS34DZLhwACHO3/s/bgFcgo0Wx2rAQ+SFgmNKmZRrg00W K5WB04g7ZqrCWrIVCMyyhWWpKqxvrlntRVubp5NRcAYg3I6cNR3tLr2N89tzhA7eWmbI Da2wZ97HoxcLT9anXbzAs27tazgH6eBym/Kgx8YLdBPp93yn4xdXSsmTDfxKKnTFeB8q 4qz9yYK/pgmG6LFNnzO/gSvkShcztIc8MPjJRsRpHZRWDyCpSL5bxQv+OClVYfDq9ZFT MPWEx4tAYq4c2j1jWXWOBDHLHSTOz5B3T28Ds6mOduZGx6y3E1Fa7F4HnQwtBZKhAh7W Mr3g== X-Gm-Message-State: APt69E0BvBuQxPzbypE2sud76UOMhpu40NwU3XjBx7SkICi/Cz/faVtF hSpz/nZbmxEZCgTUn5u22Eb4 X-Received: by 2002:a17:902:15a8:: with SMTP id m37-v6mr22922748pla.219.1530465881631; Sun, 01 Jul 2018 10:24:41 -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.24.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 10:24:41 -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 6/6] MAINTAINERS: Add entry for Actions Semiconductor Owl I2C driver Date: Sun, 1 Jul 2018 22:53:05 +0530 Message-Id: <20180701172305.15663-7-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 entry for Actions Semiconductor Owl I2C driver under ARM/ACTIONS Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) -- 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/MAINTAINERS b/MAINTAINERS index 09b54e9ebc6f..5084c62712fa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1145,12 +1145,14 @@ F: arch/arm/boot/dts/owl-* F: arch/arm64/boot/dts/actions/ F: drivers/clk/actions/ F: drivers/clocksource/owl-* +F: drivers/i2c/busses/i2c-owl.c F: drivers/pinctrl/actions/* F: drivers/soc/actions/ F: include/dt-bindings/power/owl-* F: include/linux/soc/actions/ F: Documentation/devicetree/bindings/arm/actions.txt F: Documentation/devicetree/bindings/clock/actions,s900-cmu.txt +F: Documentation/devicetree/bindings/i2c/i2c-owl.txt F: Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt F: Documentation/devicetree/bindings/power/actions,owl-sps.txt F: Documentation/devicetree/bindings/timer/actions,owl-timer.txt