From patchwork Wed Aug 1 18:02:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 952339 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="AEgcGi/N"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41gh5N3DJJz9s1x for ; Thu, 2 Aug 2018 04:04:08 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732650AbeHATuz (ORCPT ); Wed, 1 Aug 2018 15:50:55 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:44685 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729899AbeHATuz (ORCPT ); Wed, 1 Aug 2018 15:50:55 -0400 Received: by mail-pl0-f67.google.com with SMTP id ba4-v6so471867plb.11 for ; Wed, 01 Aug 2018 11:04:01 -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=AEgcGi/NSYUb3SrrIYbvxL4yOApCmS2HwxjW6cUjssRzKVt1QPJm/6zV2v0pork9+I GmdwVShfrtnA2HSfFwihY5Cgt+yGG3ob9cfbm+EQUGuOlGf7RUymyybZ3hHwgZtd9iME rEk+ypJ92X4wTJjCOnELTCYSJ0DCCftDv5/Ls= 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=R8nI0cO8Mx3OUD/NC9BIzDOKjL0lCbLM8O6l6jr6+J7wvw2zLfYZtrAWsVgGiZ9pjK HzxJS5mQx1+2yi2j1hPSM9/Ag1ewTzMcQ12VfQv+Tuv/t/hTNcMusVetRMpyIAd3Tdpd WPCW5z6I4jz1G4vr6GBLdl6mxWcOJAfCubVLaY24G0Q8nI2vVeR2UzS3CnhFFP7fdLxL qtjAjX0BbqoXcP0Ww1ZcDB9qMGTQ12W1p9tbvJMzaYHz1cVRpYaiJn+8ZHCJUlHcFay0 2aEFnMAV8utqSIlb2N9SWxeIBdK3DE19WZRIlpxxqDdpiu08fcQDJX2yzzmDPqnbLXjS cB4g== X-Gm-Message-State: AOUpUlF6T/9Qo1OjsSn4rtZTaiEeN1jIrDAXj9Gx+t1FIoJrfP3C9mNJ w+q60dT9x41lrS1qoH5qSzsW X-Google-Smtp-Source: AAOMgpdUuoLoMzZeIMClT/daaHqqSNU31wcrGAX5WoMl52Oq2OtsHijDQRKZUmvm5Wy3/8EftZ4flA== X-Received: by 2002:a17:902:74c2:: with SMTP id f2-v6mr25276510plt.260.1533146640760; Wed, 01 Aug 2018 11:04:00 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73c1:5a70:e532:a47d:7290:5aa6]) by smtp.gmail.com with ESMTPSA id x80-v6sm12961649pfe.129.2018.08.01.11.03.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 11:03:45 -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 v8 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller Date: Wed, 1 Aug 2018 23:32:27 +0530 Message-Id: <20180801180232.23680-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180801180232.23680-1-manivannan.sadhasivam@linaro.org> References: <20180801180232.23680-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 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>; + };