From patchwork Thu Jan 25 20:10:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10184763 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 347DF60233 for ; Thu, 25 Jan 2018 20:10:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25BA92853A for ; Thu, 25 Jan 2018 20:10:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A31A2895A; Thu, 25 Jan 2018 20:10:56 +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 08BE12853A for ; Thu, 25 Jan 2018 20:10:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751234AbeAYUKy (ORCPT ); Thu, 25 Jan 2018 15:10:54 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:32910 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbeAYUKx (ORCPT ); Thu, 25 Jan 2018 15:10:53 -0500 Received: by mail-it0-f66.google.com with SMTP id c102so22807905itd.0 for ; Thu, 25 Jan 2018 12:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=zXCYV9TDSeFI8uDp5TA/8/UAUYk8x0RIaCoKD+icOF4=; b=JN2QNGe7AhjW9OO9eGjb2TE3Y2zKzIOxxR58AUgbQYkDJH8Mo/KkXnjcPTIUi/ah8k 6F67QfrLFCmHBArX3U+VZnNbTnOiiXtNrI0vn47eCJBgd4YnihnCW6r5DUcP5TC5c8MI Z9EgdSLH04t7KeFrVxgpOddQkY5gEagovrjnE/89H1CluoQlighHkpX1nLpMdcEo2zg0 cuEj4XyM8rmjHn7g2eyQp7flotpjYiHb4ApojXuQwqusRXV1+VmQWHbHtH1skgr74MKW tQItSDmP3znoroNnMqSxLgQRGqo5ZJIbjEtVaD0N3CeiOhTgCHi4Bz98sJLtT9HlW+y3 wogg== 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=zXCYV9TDSeFI8uDp5TA/8/UAUYk8x0RIaCoKD+icOF4=; b=e8pCiQdwE1tn4bHcmSteX48SIl5DUeMj6eDA1eg7xdNF59ThLw7thau457WF3DFQqT E+xvS33tU4iTletf3zhB2sMdLoxmj/igNmyP8vtktUXfexbRZfmz2Mp84lvr0I4Vc44y gZTc6Qn0vzy1IBOZT6hefnuSxDuVX7h6lZ4iXerRbOFC4LAz9pmMYd/TIG4x/qq8VS2w n78Pc5AfuJW4eZmuNUwYlEh1mKrU1CxE6kPs1+KLadbcABXnQoFippXFujNfmjfIxKU5 +roZpD4EsbFY/FUKxgG3Kr/Ok+w7JqGi/WgyOAuEuCY1Tz+8mCJRCIdtb6j+bTQ/fC0F SpsA== X-Gm-Message-State: AKwxyteKhT18bBvUl/5Tqg7MWDIRWwFMKlEWybJv5EZapt8Ix5Ikzk+6 XZ8JCazB+MDNY/Q52UGnILv7ewvz X-Google-Smtp-Source: AH8x227CB5XT837y5QX4XvNCgryMrLgLqfGedWGXNuRJOurvt07yyaR5XxGeruEGPe2DDxDNLDvbnw== X-Received: by 10.36.179.67 with SMTP id z3mr15309976iti.67.1516911050105; Thu, 25 Jan 2018 12:10:50 -0800 (PST) Received: from ubuntu16.lan (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id x82sm1456518itb.36.2018.01.25.12.10.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Jan 2018 12:10:48 -0800 (PST) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, woods.technical@gmail.com, Adam Ford Subject: [PATCH] ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux Date: Thu, 25 Jan 2018 14:10:37 -0600 Message-Id: <1516911037-18292-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The pinmuxing was missing for I2C1 which was causing intermittent issues with the PMIC which is connected to I2C1. The bootloader did not quite configure the I2C1 either, so when running at 2.6MHz, it was generating errors at time. This correctly sets the I2C1 pinmuxing so it can operate at 2.6MHz Fixes: 687c27676151 ("ARM: dts: Add minimal support for LogicPD Torpedo DM3730 devkit") Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index 6d89736..cf22b35 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -104,6 +104,8 @@ }; &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; clock-frequency = <2600000>; twl: twl@48 { @@ -211,6 +213,12 @@ OMAP3_CORE1_IOPAD(0x21b8, PIN_INPUT | MUX_MODE0) /* hsusb0_data7.hsusb0_data7 */ >; }; + i2c1_pins: pinmux_i2c1_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */ + OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */ + >; + }; }; &uart2 {