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: 143303 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1177874ljj; Wed, 1 Aug 2018 11:04:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgped51/fTj8CjOdAxvPeKkjdUDLqblZny+RtlxHS5FZ2RQveJx0PjPC8G6+IDp36JDYWMvjE X-Received: by 2002:a62:2983:: with SMTP id p125-v6mr28142790pfp.128.1533146645715; Wed, 01 Aug 2018 11:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533146645; cv=none; d=google.com; s=arc-20160816; b=m3Ej29b9xe87GUUiSEzPbW9jZ8TeCILZAyC4x/IcUtq2P3TaoxgaDQpIudc1lW/T3k MvTI7/rQ2dMJd+u33WjgbHLz8NOTAC+bHmT4LLNrQJXFIy9wmr76IBRvVDQ+jPLlswCA yIRh/t3ZHVehNpKSPTiJG54F7sCTTIVKe+EZw3j1LwzET+guPYkUREpQ7QAC/67pk/lv bVP4CRd9UYzp6zIIxyNXL/tQ4Sluu2Yk30LlnFAZ1tjCPc/m2XA658tFY1Xlc1rQHtgq xYeXRNVA1gxbGAOuFuzDmNfE8S5fPPm76qKnJwh4gDFfL6UJcLNqmBl6ljFg19cZcveh IXTw== 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=Bcvpf2JwZdjv59xkZ4zzQ6yiuLiqFtQKkQsfAovx0i4=; b=ttQqPgWSemtT2dWLRW9N/F61ucqYdNqu1nmfP6qR32xhW4WXzV/uExAo+vCjzdkrmM OyYpXOgJk1tmtcxFY7keTIVRHQQynL3jqdEiqr8wI1vj58HOPLpG5zVlafDQKUFP8xgT QADAkjF0Llin1MoNCI2YiJetA7b84TSvS+1fWOQjBgmeCP+yjk6YLxL4j90SwpIDhZYp k0G7PW4Qogq3hCSQYLYu483DFOCTZWKF1LDSQjoUbY9p7Rzu3Fq3Bsj9gGRcSpifXGKt Jn3zaKPIbQ+/CtsjbOMFWRH8jGvPdYKlm75tf2I2e2d5kKkXikPQDZK6tcP6zJarpegg qNUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AEgcGi/N"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 f17-v6si16056176pge.494.2018.08.01.11.04.05; Wed, 01 Aug 2018 11:04:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AEgcGi/N"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732687AbeHATu4 (ORCPT + 31 others); Wed, 1 Aug 2018 15:50:56 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:42328 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732257AbeHATuy (ORCPT ); Wed, 1 Aug 2018 15:50:54 -0400 Received: by mail-pl0-f68.google.com with SMTP id z7-v6so9149959plo.9 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=XoH/RRdgmNWUVczu/VLnpLNoGa+fgFncBEMazJhWj5U5XL9DYQ8xuYxWa9M6iIMnmS pyjXqiXGBGkpuswRMjPBWr/Y/oXWISJfyk//5XwUuSofKnpS2Uo3Uq5bx5OFQ/cC2Hum 0qMItW5JBuXbZ3kBeqMtBR1FlnI0wHlfUi8WiOmLg+rqHC2byEbefw8NiJmvKk1DDiZK 6nSOBuj7XD588fwbunPu86HzF7vVHgPriE1RO3HcbrjbJEej+W38H6DB2T/8zTm8PPMS kVqTGcLAeSJ+MmUoNAVFNY0LYtXvHZpivw91bTNQJ5f71NIEAsg/JAJFQJQfhFmd9a8f r3IQ== X-Gm-Message-State: AOUpUlHmsv0+LHDeOmvr6EwSgu0qtTarGg4CyhhnGhI1jrygd3hwowna rFaofl8o8xdVdro9n/Q1DKgE 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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>; + };