From patchwork Thu Jul 26 15:45:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 142982 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp616021ljj; Thu, 26 Jul 2018 08:46:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcZ0q5A8kYkOOdsCKaZz63twINabUXMQL9coagndm7Q0I3djOecY4URUK5QWUdutwFMOORI X-Received: by 2002:a63:df04:: with SMTP id u4-v6mr2450677pgg.434.1532620005567; Thu, 26 Jul 2018 08:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532620005; cv=none; d=google.com; s=arc-20160816; b=Sa9OTTtV0SZ5TsHUuu6SNrxUNfbd4u54O6ggroIgP50amL8rjMS5JVA7ioNoRG0M13 qk/b/rErpN5kMaOrC0ThOMXCrj+EAQNCBZYfWEARVGRRv4fJMv8SNz4ZaX0SEZfSZxcF IhyXLKvL6Rtuu3caXzzKMhk1rCJ4yp8uM8zr9H7eEf6jSl5mG+DEkNRCYUWgQ2BPQoqx eOnJmuF9UHIPTwjQ5ygpLeFEuaT9ZOp+CUMJbcusDXbam9ACNU0u6Wp1bxJzFWa0J4MB ksA+HodorgMMESRzPuDHLvF2w6nuUVW9RejR2NPvJvH5zElPqDUY8EPkRI56cvc5u+KP 0WrQ== 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=Afo6Ndyu2zM/E3nPeRexccE7EJWRfbrwaKgKeNBReM8=; b=gC3BpQCMFd//vEcrE3W/vV3YuWh7wnf8tDXbDUw/WOo8hvTApo2cSWeZVf8DjC2tgy AylcsvM64bEDKaZBNYbI1N2LV1AS03CsSXZhUrEBNFurjOYVLdbosckNYrgkFYmEpRIh wl5LZKE4vb+xTAOfTmTmmbCaRR/Fv/bZ1jMBvk/pFU5mj1EndEvqOU7+KCQXQ2xh4V6K SyS16XCP5LI1+0cuY3DbzXPaK9Otn7HcfvoOWcbkCW60+3bP4XW96xJo1wwNkSfdM4En dgN03jcLeJ4juwT0NE6vMJmy4XLGLgCLy+jNQB/Sx5y+w2N3eRF6oBcIx/pebJxZAROj 66QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Qan4PZdZ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 c13-v6si1578237pgh.627.2018.07.26.08.46.45; Thu, 26 Jul 2018 08:46:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=Qan4PZdZ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1731936AbeGZREJ (ORCPT + 5 others); Thu, 26 Jul 2018 13:04:09 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43227 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731857AbeGZREI (ORCPT ); Thu, 26 Jul 2018 13:04:08 -0400 Received: by mail-pg1-f194.google.com with SMTP id v13-v6so1407558pgr.10 for ; Thu, 26 Jul 2018 08:46:43 -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=Qan4PZdZzY53hQ+6gh/+gQK0PvtEuDvcDTEUbMwFrHvW0nb34W6jUq/lbBSFYwZXOD o91EGS/Q8qF/CCRL8ISSy2n1ro5AZ/4zPvD/eLBjLJ+LF2321Ue2YKgAWQzAhXMb3qCd yLfU/k9PklEu4wVOzKRRMR1nRgDSPou7Nq6pM= 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=dp7zKaJXuM4NL6dOAuyUOs4/aX0GAlVvm+amvUHmt47S38r3DZIL1r7e6EhhEisURu b5+1JTqZsWlRda3pSnlb9GicGWMCLiELq9iz4ZuWRr0AB1i7hqmBNnGk0bE+dFIaRZUR EKoD4DIcz/5lXALXRmMU+rH0uwDK7WDU4AH5xuI4slOd6XwH3s77F39oaU2jakzRZMAP 7ITrtQeGKYvMCtiyyDwzsXsSO8UcmGwgEsjdKbCVERKbHi5+KiaxFo9CYtFI24VPNQEp BApPQiipX/OuW46+VXq0Tv9Jz+LKR0ziusie7o7nOIhgSZJ41VOXRZUvnkoUbtXj4IU7 VsYw== X-Gm-Message-State: AOUpUlG3s1V1ZTSaX077lwsO8qO/fKMsO9aRGVq6v5sTcucj/1BBakVr 16wA3pxq7eshEzCWI3UzM8gc X-Received: by 2002:a63:4283:: with SMTP id p125-v6mr2520935pga.142.1532620003047; Thu, 26 Jul 2018 08:46:43 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:628e:aef6:6d51:3501:dada:e06d]) by smtp.gmail.com with ESMTPSA id z11-v6sm3755322pff.162.2018.07.26.08.46.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 08:46:42 -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 v7 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller Date: Thu, 26 Jul 2018 21:15:58 +0530 Message-Id: <20180726154603.5089-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180726154603.5089-1-manivannan.sadhasivam@linaro.org> References: <20180726154603.5089-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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>; + };