From patchwork Sat Jun 23 16:11:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 139761 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2139689lji; Sat, 23 Jun 2018 09:12:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJtt7yXiswv3SsiRYempLDz5mHMRhraVGJl0MF3Xbqz+kz9bf9sYetMiOU6Xxa+PVnbE/LP X-Received: by 2002:a63:a809:: with SMTP id o9-v6mr5353983pgf.313.1529770340638; Sat, 23 Jun 2018 09:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529770340; cv=none; d=google.com; s=arc-20160816; b=MWZe75yjaJZio+hrt2xUYtOcvzo7lWzyls8nl9o7QfQTwBkNajtGx2L84xo5tiJtu5 fku39DUgPdnfefueeNfhZrThLOGkauX9BQMZ4Vk94v8+Cvv6cY9XyazWJQzxWUHmiuYT HnHJ/IeZzCxUmq35Ho0eADmCCK7I6StXYTD9oGMSoOXsoShOuzyTaafd1FVT7pmruZzu M7KfLtsPwTja9SNPBqc2kNt5ZyWJDxHvlve4ZGgP5iUGBp43R4/csY9fEN8cQCMmQqPr vPdya8x1ghQPsvXjUiZYhzQiv8PSRBtakW0W+41rhQalxzGiW8sQMBJNZwtOOWJL+2hq YXWw== 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=ZEeA19+L8+CR/JlqMKQtG5PcysaH3mV5PlHcpZTUkI8=; b=i75JxtDkld89dlXSH9DFJMMw7OPABzgOVugkSkof6vh+YQDhyYIRy2W6zo0DpaagZ9 dmCj3SC3fmEbyCFECFfvaR0TTdT0wRoyGbEHirrDkhQoMCLy9NWRaYIFOjycDg5X9JCc uoFPyxhc9c3vkEpAX/Af6bz34dosSz7bp9e6G0uzg7JnI5pUMZFXATk3WORqlrme0kER C+lrBwt9kaE3vtKKL8EgEiro0S6JW5t+vD0z40hYVSwnup26Nh8mjCuC9LnnByLxCKkN lcQ2xcsHeBnKqdyXqVvaxTuUP/L+B7mqqU9lnLiCcQqcU0ddXK8yZtaDh0h6yT15dsf2 9ZSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TKdWxPGb; 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 r65-v6si9920166pfk.83.2018.06.23.09.12.20; Sat, 23 Jun 2018 09:12:20 -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=TKdWxPGb; 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 S1751869AbeFWQMT (ORCPT + 5 others); Sat, 23 Jun 2018 12:12:19 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44881 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbeFWQMQ (ORCPT ); Sat, 23 Jun 2018 12:12:16 -0400 Received: by mail-pg0-f66.google.com with SMTP id b10-v6so575601pgq.11 for ; Sat, 23 Jun 2018 09:12:16 -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=aNqyghA/+YELYPCfAy6P30ix4otp9ywUK1kCBsmdfz8=; b=TKdWxPGbA2P8mJ8pTPUEymQDMHiAV/hb8buSDOTUxI/giKhi3IhCSLPROJQ7PEHEg4 Am/7DhH2PvxmsXhWS1dN4VQ7U6h8K1KdFdSYCfA0QynoQf47CX/ekCkXNLH0bWuHyQH8 z403H4Jfo4RU/+jKy2qKY8hs1xZHr+7anY8aU= 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=aNqyghA/+YELYPCfAy6P30ix4otp9ywUK1kCBsmdfz8=; b=MlZIrlXoJ6u3EJ9mLMOgJ1Z/OlFIgBe2XULV4tS589UY3vzQpSKataxRrHVZrcpSQA zO1qRUlJEisHVQYl31ppzOxdDIYrhH1dddJMo4TxVVuBe2i/kf5j0zBGSHHVbcZSiHcp 9Q3kRkRfl9TNct0vh3bgJk/CieQngIwqHW3OApv1pqPSwuv839BEBM8u4qWKpN2J9tDc xEZ9sCvuZI4pzUeb1H3NUbQ8VE6olQqAJRHGSjDwcHDR1fTbBDJNY274QOHmeL2ImfNx DwcVPOPKVObbTGcpIv8RnqeziLPKgckxH7s3H5wUgEP+F5pb+EPid0QbC69A/BF0SecM i/uA== X-Gm-Message-State: APt69E0TrLJZb2KSaBVtLZMko9yqyq5b5An0AO/vwlZXkMyghFGceNl3 MrokEd4a7WWvovcc3SP7obFr X-Received: by 2002:a63:bf49:: with SMTP id i9-v6mr5330556pgo.342.1529770336159; Sat, 23 Jun 2018 09:12:16 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:100:fa16:6549:5166:32c7:2dab]) by smtp.gmail.com with ESMTPSA id n26-v6sm2732745pfi.168.2018.06.23.09.12.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 09:12:15 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de, 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 Cc: Manivannan Sadhasivam Subject: [PATCH 1/5] dt-bindings: i2c: Add binding for Actions Semi OWL I2C controller Date: Sat, 23 Jun 2018 21:41:43 +0530 Message-Id: <20180623161147.15672-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> References: <20180623161147.15672-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 Semi 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..9b691968cffd --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-owl.txt @@ -0,0 +1,27 @@ +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 Sat Jun 23 16:11:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 139763 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2139947lji; Sat, 23 Jun 2018 09:12:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNP/H2XX85NqaVK2uUOc6+du4crR1eGKxD3lVUX+HaFItr4yJIxZgKFgDbf8Hpix4paYrY X-Received: by 2002:a62:a104:: with SMTP id b4-v6mr6413735pff.159.1529770359909; Sat, 23 Jun 2018 09:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529770359; cv=none; d=google.com; s=arc-20160816; b=k9Wnp3NWXZWmtKRnSUfCA+QoUMu1To8MagV6pTDkmtVkiWbncr8wuZSjF8+UK38gQ0 F/KF8240boKXJbe3TqIxbL1gU+pWdozwQSDYS6oSvoGMgPpBVKJyY683AUt4Rv3L00ka mR2ppTJOvGxq/M3mbtHeSjY6lLPOGu6NnO89qL79rUNXLtK2LLy522GI3XNZCdCcOIVl hdOQ2X0adcq0gZ3KqxIb1UoDDk+ZWJyrhhjj1G5CUYM4/e9tZAAd6ZION52gFc2rcoIx l3YvH9Z1r5G6i/LbEB7PHziTitL0QWB9Im2GhYWrv3K+DEwB0Dx48LFnGvD4qs2Fv/dB 4WeA== 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=njvAk4qKiwe9c/bvSxaxgxAGLrUT6Qp7v+YT5o0KvHo=; b=ZGaQ+e28tWWfACjEFnzOwhmYIynxuBPP1LmX7WaxNsspt6n24IjGVJbWZ/NHPyU2Vo wbGl/rzEEsRB9kpBP8tYP4vNA908j9YO4yYdj9gvHjs8H/jjX+8FqtFNiQ0dzkdezwOH PJBy5rkp3D/7CpL2kkjXgmWyAv8v7EZGrchWTjgnLgmaF472aGVQL/cigIVClq3soUB+ GrM92c4D5H9/QZp7+EbZXIw77+07RACVJhEng9Z879rbuZnuRuApmUyVoWYNzXjwB0RW EWw+Llkz4C3mh3ZxXiIN9JP0tQ5Vq1o4vV++JB8ZLrFluCma0WmRTRvq/+MR9L5gOaTb SGDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WDEu058g; 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 c17-v6si9474322pfi.102.2018.06.23.09.12.39; Sat, 23 Jun 2018 09:12:39 -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=WDEu058g; 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 S1751941AbeFWQMi (ORCPT + 5 others); Sat, 23 Jun 2018 12:12:38 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:39524 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751933AbeFWQMg (ORCPT ); Sat, 23 Jun 2018 12:12:36 -0400 Received: by mail-pg0-f66.google.com with SMTP id n2-v6so822789pgq.6 for ; Sat, 23 Jun 2018 09:12:35 -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=J1OYTWw+kcNsg7QWXAtAWguxWjrzRt996LRNo3FbPBM=; b=WDEu058gnmVH2PzDN7liFPmKJUCcc+sSqEgVM8hwdhGztI8pZz2tD//SWZ/njL19Un 2+FsIkE7+4FjmLk6tiAq1AN0q5vji2T5XhvrXMcHQvUNy7F+d/zBBtjfcRP9Bn9/2lv5 Ijq/2pmbJkDQplY4lQHGzRvaE/mL4Gp4dfiZ4= 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=J1OYTWw+kcNsg7QWXAtAWguxWjrzRt996LRNo3FbPBM=; b=sHj9zrxYxreYdpYRApeyeJ+8vGenAaF/QibBKU/wCsctQh+aJBkdZSl7XzGL6z4V+K HsuvGcYVJ41RhZncVr68LGU2FOZ+yTtoYPcn5QTffKAjG5hsDMhpSSKlhjL24pZy8LDl s4RjNIdoYoQydCt29B5ScpTYecbI1716Li1czjFYy+EuCg6/BoB+XIjzLBcI3FfgqFpx GriwlS/10Y5rej327gx1+qUpIZ++XKD6jw/2yRtDceZWgK/JLrJN/Qdz9j+5lVYAVig7 zbOG+4iki4SlOkLLHW+v3J+9z5EY562N0jegUehvKoiNRe8/pKxvUO4RtpqOjBjMYuSh AJLg== X-Gm-Message-State: APt69E35uhGcInySSZrvVl9m+EyRZlUwxbuR3cusdtxNw74/PaS0/ex1 OZqaNiXAwzpFxiYDHMOsaOGT X-Received: by 2002:a65:5348:: with SMTP id w8-v6mr5371168pgr.247.1529770355527; Sat, 23 Jun 2018 09:12:35 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:100:fa16:6549:5166:32c7:2dab]) by smtp.gmail.com with ESMTPSA id n26-v6sm2732745pfi.168.2018.06.23.09.12.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 09:12:35 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de, 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 Cc: Manivannan Sadhasivam Subject: [PATCH 3/5] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Sat, 23 Jun 2018 21:41:45 +0530 Message-Id: <20180623161147.15672-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> References: <20180623161147.15672-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 pinctrl definition for Actions Semi S900 I2C controller. Pinctrl definitions are only available for I2C0, I2C1, and I2C2. Signed-off-by: Manivannan Sadhasivam --- .../dts/actions/s900-bubblegum-96-pins.dtsi | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi -- 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/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi b/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi new file mode 100644 index 000000000000..e46ae187b27e --- /dev/null +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&pinctrl { + + i2c0_default: i2c0_default { + pinmux { + groups = "i2c0_mfp"; + function = "i2c0"; + }; + pinconf { + pins = "i2c0_sclk", "i2c0_sdata"; + bias-pull-up; + }; + }; + + i2c1_default: i2c1_default { + pinconf { + pins = "i2c1_sclk", "i2c1_sdata"; + bias-pull-up; + }; + }; + + i2c2_default: i2c2_default { + pinconf { + pins = "i2c2_sclk", "i2c2_sdata"; + bias-pull-up; + }; + }; +}; From patchwork Sat Jun 23 16:11:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 139764 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2140054lji; Sat, 23 Jun 2018 09:12:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKT0aOvCQ0EwnLlBPRothr0yB9SKjqYXmFEOFQOpOG77+kzuqzvNZi4or6OdXMwge0y25ne X-Received: by 2002:a17:902:7446:: with SMTP id e6-v6mr1235374plt.161.1529770368935; Sat, 23 Jun 2018 09:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529770368; cv=none; d=google.com; s=arc-20160816; b=0ZtiJddeifJNXnQknSpNTMfEK29MoaVHmNWUjsIN3Dp9P71pvErh1b9rvGtyJumbzB xQSdPwsLGA4qqXtokLeVTpG6ztzIgSRMX0Nx4iXAt6eklHgdSjlOjNimTAMkYyBXezQl YS1QFGi+J9WQt4jMaKGh5kqIsFgFm7ot+U+ds2unRZa8B+veRsSlHWj43wRI4rYdXsWJ M5skurOLArMKY5HVDBb6t8641sVNqfnHcUyPtdFc3yhBd/mFsmz1oQ8KYMoKdaHrDO85 TUIRR/Sx0eIQAsS+j9iRrYyfNCyFVW69kYLrgeMx3ocssAg6//AEdt+DrJK9hSN5kB3V l1dg== 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=SN0Ha81SaNgs1AwWDt9WUmfFavvuFEPHVZ25on4jtKk=; b=Jnkp2372FG2yn5yo2Wakae2DW/K1C4qjw6uca6dWNeBozCsZUlZG7NEj+Vw5xLdwxf JWoJikRPHMxhc6zLtKPecWYmJcCUWtUmB+WgPKBYxbReaCR26Q+dKqLKNBv7W9jRcsBh qLwoBddyliCq+TbwLpcvTzME/WPdrZPzZ2VrUj5YAUxCSnutVf4WTnpfQVGAkUQIZk/r ++/Z4fte2yfFrCj9TuPmAI+LfzxwQsopKkmk5hUR/gamf7tGMoJWRaIzKduBrqN4klNk LozVMV5xbLHwIgy4AvGRPz4Xea/hoR95M/sk8KV7T5kjPraER5FvKEBjDNeLfKEvRLTX DOZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="js7+/iSs"; 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 w16-v6si10638916plk.79.2018.06.23.09.12.48; Sat, 23 Jun 2018 09:12: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="js7+/iSs"; 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 S1751984AbeFWQMr (ORCPT + 5 others); Sat, 23 Jun 2018 12:12:47 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:46182 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbeFWQMp (ORCPT ); Sat, 23 Jun 2018 12:12:45 -0400 Received: by mail-pl0-f66.google.com with SMTP id 30-v6so4837311pld.13 for ; Sat, 23 Jun 2018 09:12:45 -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=wL0fWQKe6YDVk5gZXK2gEuAVrBvPcSCEQHWulUbgBug=; b=js7+/iSs7THKH8rb8FANEunLq3zlH08Q8E3IHUFDmqnh3obvvRtLGsWKV74Oy1n4kq JFcf9pewZkF80SmmBrWn7c5UT3c5fszuyOabGnFyIf5pi38Rv7PMQ6JF4CphWoLhI5NR fycl62gdJZsg+QG3LXFz3GQcPehbr+ym8c7o8= 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=wL0fWQKe6YDVk5gZXK2gEuAVrBvPcSCEQHWulUbgBug=; b=fauCmvz/1ZkyIa0WSmnhEGoxql13GLCaWjHFHAxSYxKj3hFPl5Ud7O8TFtDKzQgq5Z m6V02MkW45wycGlDK2ooI1QHLEbY249yNqiEW+oQfKL46oioctsKrp2ze8YssffzxQjq GpWeLAOauGzLddDRWiAeAuhboGt6oYWpxPPjMQ2s2obVUr5escxvQaSVPGQfSyENQOXp 7XeKSBNJwA8ZOqbMBwoA1MCOq7WsxDq6Co5KndvdK1951I1K969PAsF3fVipQqr+kGuI RrKd7bHuWI/gSXuOqBDphmAX3wOzSg5TEPewbNi5ufk5SBHuGhrHSRtoH87V4rFzEN+p un5w== X-Gm-Message-State: APt69E2Z4l3X7BvxghDPQmBQ2V5fRc1Of3++cvwAmp6r5cxKJlzsrkMH QxtTvmr+saTMAbgsqIN1jUQD X-Received: by 2002:a17:902:422:: with SMTP id 31-v6mr6018394ple.320.1529770364616; Sat, 23 Jun 2018 09:12:44 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:100:fa16:6549:5166:32c7:2dab]) by smtp.gmail.com with ESMTPSA id n26-v6sm2732745pfi.168.2018.06.23.09.12.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 09:12:44 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de, 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 Cc: Manivannan Sadhasivam Subject: [PATCH 4/5] arm64: dts: actions: Enable I2C1 and I2C2 in Bubblegum-96 board Date: Sat, 23 Jun 2018 21:41:46 +0530 Message-Id: <20180623161147.15672-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> References: <20180623161147.15672-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Enable I2C1 and I2C2 exposed on the low speed expansion connector in Bubblegum-96 board. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 11 +++++++++++ 1 file changed, 11 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/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts index d0ba35df9015..57ae374cfb5a 100644 --- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "s900.dtsi" +#include "s900-bubblegum-96-pins.dtsi" / { compatible = "ucrobotics,bubblegum-96", "actions,s900"; @@ -35,6 +36,16 @@ clocks = <&cmu CLK_UART5>; }; +&i2c1 { + status = "okay"; + clocks = <&cmu CLK_I2C1>; +}; + +&i2c2 { + status = "okay"; + clocks = <&cmu CLK_I2C2>; +}; + /* * GPIO name legend: proper name = the GPIO line is used as GPIO * NC = not connected (pin out but not routed from the chip to