From patchwork Mon Jun 12 15:07:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 9781359 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6064060212 for ; Mon, 12 Jun 2017 15:07:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B7672807B for ; Mon, 12 Jun 2017 15:07:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F8C828358; Mon, 12 Jun 2017 15:07:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC4B02807B for ; Mon, 12 Jun 2017 15:07:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbdFLPHv (ORCPT ); Mon, 12 Jun 2017 11:07:51 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33184 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbdFLPHu (ORCPT ); Mon, 12 Jun 2017 11:07:50 -0400 Received: by mail-wr0-f193.google.com with SMTP id v104so22582571wrb.0; Mon, 12 Jun 2017 08:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=B8KZVg/g7WbF7yh6UH6x1rA4V508OEKz6ZwzLh8rz2g=; b=F5JsJ8KBrEp8V2mupxWOZomP5D4agR7brbGoaUSvn50pcld0PFVfqN4Vt4uy8dh29h yC1S8BHqs8o8lBCjr59ucZ1OlUvrVclopGmeLTIOhGQVkEYtFKSLceAlIRW2ucqaoOsH qytcNbM/E4z2lynA5TGisrkyFCYBDqOW7FGVrjGhZEpxAtcV5sBxdCOTvOdYV48xrXp8 W/z9nWFRK+8UcyNHdV+H+d9Z7Xk0PCjcqeyRw8Pbs+tU99sKpcZE/AXTnl780/krJier fvNp5coI5xp53VE/0LwysdVfPvvKt7o9W/RRjYLTx4x3DFxEIMAUVr7E4d/CJovmOa7z 7V8w== 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; bh=B8KZVg/g7WbF7yh6UH6x1rA4V508OEKz6ZwzLh8rz2g=; b=fm6a6deD3elsV1v6hAacbKq74MRvTlvmDWnkNidYiNiymdXLyV7p++vmHcpC3xXMI9 SjA0VNvrswAxtPLfRjRFA7w9ggjYCgZh/dVCfX2qTLvFddwQhAK6a3FSOkvfbZ/LjXZB axEYQOefgsTIa1i+n5uZS9s4B8V0Ch1DJfNahW1PNB089XUOJjigQnxFw97eFt0B520I tLD/TMvFwnNGoo9SJTMDyiFDZsY+Kt/PwlDZ852IRPSCF/92GEIGRQDu3yOFX8qR7O3c nUhexunmrDep0gDsCRkmqf8n286JoyF2HC3BiYVE0Ax0rdGXUX+i2jUDayAuJCJhjGTP ZLvA== X-Gm-Message-State: AKS2vOxBd7ZHsQvTFr3BBcQ0tS6kzYTrCOHt2gpjSji4G8JbPYyRnEwm cojxdJkDeT7Quaj1u54= X-Received: by 10.223.175.98 with SMTP id z89mr8376622wrc.22.1497280068159; Mon, 12 Jun 2017 08:07:48 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC02AFCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc0:2afc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id y17sm13451575wrb.39.2017.06.12.08.07.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Jun 2017 08:07:47 -0700 (PDT) Received: from root by debian64.daheim with local (Exim 4.89) (envelope-from ) id 1dKQwU-0006aj-PO; Mon, 12 Jun 2017 17:07:46 +0200 From: Christian Lamparter To: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , Chris Blake , Matthew McClintock Subject: [PATCH] qcom: ipq4019: add second i2c Date: Mon, 12 Jun 2017 17:07:46 +0200 Message-Id: <20170612150746.25297-1-chunkeey@googlemail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the second i2c block to the IPQ4019 platform. The second i2c has been successfully tested on the Cisco Meraki MR33. Cc: Chris Blake Cc: Matthew McClintock Signed-off-by: Christian Lamparter --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 4b7d97275c62..d8c87faa0124 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -26,6 +26,7 @@ aliases { spi0 = &spi_0; i2c0 = &i2c_0; + i2c1 = &i2c_1; }; cpus { @@ -164,6 +165,19 @@ status = "disabled"; }; + i2c_1: i2c@78b8000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x78b8000 0x600>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; + clock-names = "iface", "core"; + dmas = <&blsp_dma 11>, <&blsp_dma 10>; + dma-names = "rx", "tx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; cryptobam: dma@8e04000 { compatible = "qcom,bam-v1.7.0";