From patchwork Sun Jul 1 17:23:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 140718 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3133849ljj; Sun, 1 Jul 2018 10:25:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpclMgez/m/8t23HgYvJXNqn4SLX1P2DOvqoGQ15stiULRPKwzybwJaCUJgep6RHgNYCsmMV X-Received: by 2002:a63:714a:: with SMTP id b10-v6mr9859622pgn.73.1530465930554; Sun, 01 Jul 2018 10:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530465930; cv=none; d=google.com; s=arc-20160816; b=WIR/ReBV5ytxCTNxsXYjdNLMposqJ7y+V+pFcdx+HgfBnmULhfKKREzCVaUYVbqwq3 /x94WsjhDQ6ID309uTW150Se3ok/Ib2xNxAgqgv9OMY76CGPMuruMYFEDuZk+3k/TZ/W 6vdodUk6rsqIk99JYehMI1094wJ/oR2yxhlfXL3hRvC1IvqeVBO4TudCVpAQpwK9g2qt IJX9dukw8HtKmL9JPTivNPjJsn9CztDzfOCA3+w+Ji5GVEjwn4StTM+SJyPhGwGukaLf HcAT3ONPYhk7l6Akifbf/qaVOSaNSYsUsPP/rTUnOvjsjjXE/eRP3GF5MdJJjVN9kzUK uElw== 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=ayJUqE4KpJyjSwWkRMAcQ/7ki75xwYN8kjGCEetoFIuMa8paUP4clRl2/1/2Imw9e9 NpboNdRLzMYesX2sYGSbXFJtcH+azYZBk/Hv3YDFXEFZQHmjbwjLFGeJOzO1N4TFSwmG v2bWsmGrfjQ8JrHqPPX90EyS3euJCUcovmvy1MHoaRI8Ya7I6QEjN2+dqt6WBcgRasF/ jcNQC+9GwzIMk9+NbV9wec58pVMfl1E89UGoWkMzK2bFpCIeVC2cHPUF65snk9l5jpzm cgYw+/KwqxbccXSnYoTYTz6bzH+aIERnBqolGNDWyox7PCKg7mxoShtDLUnfceKpdLnd 5sIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jBgcWRF3; 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 s19-v6si9482132pgv.327.2018.07.01.10.25.30; Sun, 01 Jul 2018 10:25:30 -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=jBgcWRF3; 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 S1030688AbeGARZ2 (ORCPT + 2 others); Sun, 1 Jul 2018 13:25:28 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43592 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934171AbeGARYW (ORCPT ); Sun, 1 Jul 2018 13:24:22 -0400 Received: by mail-pf0-f195.google.com with SMTP id y8-v6so6393697pfm.10 for ; Sun, 01 Jul 2018 10:24:22 -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=jBgcWRF3onHf5SlxJPi6RBaz1BggehPSAddx9BF7k61SSJHWglA7FEprYWQRw+uTGQ BhaGWY6R6jni7Y6/IDy3u5qzYNsvlHoieaZJ9HiSRfhk8UWjdT2ONdxQn7hJh91DG+I8 Z3A9y1mcn7OWiMWda1M4gYqItb/jH4guNePUc= 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=Uus1wb2pueJwUmAfRex6l7LFESEY38oRV7dVKQo7NgsbMebqiHSdbgrVIyXh8yzRqc tMYWPJBxplmCgIZJXAJ8ybPoulSa1guURBWFZ5ClwWeOXdoVB3pUFuj2laYm6IHsFLX3 H0POgL8th87Wi0NBFOX27abvDxBw+f084A0f3sMvDgzDLmSQ/gU1vbbPHE8vExvvS4+3 IznwFrVXZxm/PcbepcLn7b6GiVLbu3Gb7nlKbYOuUpAU+jETguScKEG/S6fqkPHg48IK rwcCDUk3qzEC0obqefqLv5/WW3+FvQ90yC+QVDZMwAuTZ3nrzGK5ARCItTeMdX8WRqd/ +Huw== X-Gm-Message-State: APt69E2oYa34Nr87afEmNNhtYPdC032u5nBBGTgG/EzHySHpVE5Zcnd5 Qa3RjsG86s3v3m4n73o2NeEn X-Received: by 2002:a65:6688:: with SMTP id b8-v6mr19451142pgw.24.1530465861208; Sun, 01 Jul 2018 10:24:21 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:900:ea77:2c06:3367:1893:796]) by smtp.gmail.com with ESMTPSA id f10-v6sm17989836pgr.30.2018.07.01.10.24.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 10:24:20 -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 v4 4/6] arm64: dts: actions: Enable I2C1 and I2C2 in Bubblegum-96 board Date: Sun, 1 Jul 2018 22:53:03 +0530 Message-Id: <20180701172305.15663-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180701172305.15663-1-manivannan.sadhasivam@linaro.org> References: <20180701172305.15663-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