From patchwork Thu Jul 26 15:46:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 142985 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp616545ljj; Thu, 26 Jul 2018 08:47:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeqO1JjYZ0ngkPsOYaW1XiiPP2SFYtDEnfVfxGHzxuO5r+rzkASJ/Hpvm2pBGyl5rt/ynTj X-Received: by 2002:aa7:850b:: with SMTP id v11-v6mr2606793pfn.165.1532620038626; Thu, 26 Jul 2018 08:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532620038; cv=none; d=google.com; s=arc-20160816; b=ic6+4CzKyaLlG/9IDUnEx5L3EIatSPyBe5fhU7h/N4H0rDm1EArQiaCb8oEgO3ufib v3bEHPQHJWybN1l7qQtJicb5N236Dp/JqjY14Wcmd/4IWIMqSBYPpnomhnSvbp3VSW2E 50/mHd9Tp8M/6aB2KTo7uMQndSNvlvrKDy6KSIYJTz87/C/wWN0zV4MU3VgoVFglPXmn aN59JCMZJtKhnYGCRjTAmyqngVH9aDIUrLHyiJpjQI42++zRAJF4GXZHLxxDG9SmdFpr hobX1zN+lPBmEwWDbi0DEP5B7imVPVy0f6bdVdOkR8czu8eTouPekyuWazmtf+K1k0EI 1Gsw== 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=wL0fWQKe6YDVk5gZXK2gEuAVrBvPcSCEQHWulUbgBug=; b=hEpmQTtodTE9oMfixoRtgXnE81YDPfbBxd1ggze12ro9Q5UEN5gW8Xrc4H2vOQPsJz OKTfhJaBMw1jXt9I25/ulxAUP67GuaS4JxVCzC8uhzl5bdTUWvEE8aN4NiXO4lHc4iU1 6X44mtM07LjVACDQHqgRTOgYTOBwV+TimppmgQ1x5u6H6TqBlX7KRsXSjVYH+jamSk8f 2V7lmlOuiG7+DE4GMMDdCHm/BfM7fjxHxoPbN6fC3R4FwRpSfNtBNZzMFE8MjE+o15Tx ntWiJX5M+T7RlCrvdqmp4yQn0g+VjniW+R756Nj3FP7YpYfrklLUqaaBBD6i0qeYswtJ HVjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NWVkRGTD; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-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 c2-v6si1556218pfn.212.2018.07.26.08.47.18; Thu, 26 Jul 2018 08:47:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-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=NWVkRGTD; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-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 S1731822AbeGZREl (ORCPT + 2 others); Thu, 26 Jul 2018 13:04:41 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:39337 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731765AbeGZREl (ORCPT ); Thu, 26 Jul 2018 13:04:41 -0400 Received: by mail-pl0-f66.google.com with SMTP id m1-v6so1006574plt.6 for ; Thu, 26 Jul 2018 08:47: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=wL0fWQKe6YDVk5gZXK2gEuAVrBvPcSCEQHWulUbgBug=; b=NWVkRGTDcYA0a4yYo7YhSNggsqRgn0zlkREZgBbZUslpqVMuI9lW0DR8kl4+YaM/Yp sMJNYK7NpV3Y+9wMBpo9FHtOtw46tojp9dQ0MTvAjuD3eKNgH8y2IaRYAeSnQso7AnMi SwGV1b7NQTgC4f1g2N1niROpbFMNrgIjAyQrs= 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=YeystOMEfKGH6jahLpZ8kP+hbcRrAQpUi8bvdUovA89Vui6+PdDDDrQ9idiUDb8pjR Qs4pAzPp+/ujFUTjOQhNAWce2L3WKUPT6wV7sUeJfkF6ZBjiwPdiYq38h3ql9MK4ZGpQ XKn+S0DJl3BmGIjOF/IH84sXfYwR6AyQ075yGJEY1rJfl0TQ5gVjQ0UpKAZ3y+d3riTA sIpotSmdxnZyDXD29SbuVN+4X6tY5SiMVHgPrlrKVL4RME/Xz2bxKQUQNZtyTvSeUpzI tap8AQR97zte+0oAfD9QPmtWipyLRG/yDMsrJHdXIZCv26PYdRxJf3To2EYjYEJtGdwC 8K9w== X-Gm-Message-State: AOUpUlE/QcZJ4I8wNYghZVEtU9gU1xio6syvQj6BTvLOU3PaJ1sQLBtK hMYzi9+jud5gxw8Tg8fFNjMr X-Received: by 2002:a17:902:a989:: with SMTP id bh9-v6mr2469504plb.245.1532620035924; Thu, 26 Jul 2018 08:47:15 -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.47.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 08:47:15 -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 4/6] arm64: dts: actions: Enable I2C1 and I2C2 in Bubblegum-96 board Date: Thu, 26 Jul 2018 21:16:01 +0530 Message-Id: <20180726154603.5089-5-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: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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 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