From patchwork Mon Mar 19 12:38:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10292275 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 1ECDA600F6 for ; Mon, 19 Mar 2018 12:38:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AD4829248 for ; Mon, 19 Mar 2018 12:38:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F20142924A; Mon, 19 Mar 2018 12:38:47 +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 DE6F829248 for ; Mon, 19 Mar 2018 12:38:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932666AbeCSMip (ORCPT ); Mon, 19 Mar 2018 08:38:45 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:46860 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932635AbeCSMio (ORCPT ); Mon, 19 Mar 2018 08:38:44 -0400 Received: by mail-io0-f196.google.com with SMTP id g14so11712061iob.13; Mon, 19 Mar 2018 05:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1yMXHQ2il8HiGvFKmdNSCeJvcbe2s6VnWvOA8klkGxE=; b=ss5DbGjzvEWhswnXiq585vhn6rGownaevXesqtHACzWvR5BSzvyUWjvVlfyWSCSwy/ HZptP6Hh6mvwHTgr6oUKJlVsuldwmPinjoXCFsuAsKg33anr7ZeBwpyfpZRDqyaJjb0a pdFuxp1vwPqirruhzAlRaZF0YxwPFZKmUbOMVcKr602wJAZhrVHGIUPn2pRpdYiKv2fP YgAES5sJH/ZY5/vXTLi1Vj+OXReLeI4vs/a2aBrzW7hTkhm2sjbSkRpYNpUxQtVEXb8i XszPGeSPB7DOKlviJ5NMeN1N0U2OgXvkf8hXDYKeO7x7LZkv126g2KI5VmW72TtfV0Jq rHbw== 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=1yMXHQ2il8HiGvFKmdNSCeJvcbe2s6VnWvOA8klkGxE=; b=bk3V2mN1GR4+c4j5h8UcBQ6blslEWBBsWejahPz41uVvG9kmh8duTChxXHjwQ41swL 4kQcMRqvNDjOgaqlwzDfWhd7Z6rzSLzNZLQF27Z6JhmRk32uZLq7XsbF+wslSavn7r9t CbVWm36NzSnTGetzCRjNJVZJNdqctRNmx142Nugp/3yjh2u+va/O8jkKjkWxXnDDQKSP llH2GHntozEaAw/bi4/B1G8pQhRb6bkIDEY2+NJAvDrAggTjLl598XiU3Mtx+flZq+pT nmpVbPTfliZC3egFZxWKJ6B5YXmtNlegNlKWznDrIVLlHQ4xwa93jX6aMlZFF5xynhm3 dVwg== X-Gm-Message-State: AElRT7F+bEubuxqPt/YdyDqKHBije9UFm4UYCixmq6WcohhbKgxL6uK9 RS2IVtxn99QiuzSqTAMzG1Re4w== X-Google-Smtp-Source: AG47ELsOVNPBbxSKKaqd3kYBTPWibpW3dx70FvZZe0/wv4f/YcGHcr8WoRBmnixfqsFdH/ks/QIIaQ== X-Received: by 10.107.149.205 with SMTP id x196mr12317557iod.212.1521463123386; Mon, 19 Mar 2018 05:38:43 -0700 (PDT) Received: from aford-OptiPlex-7050.logicpd.com ([174.46.170.158]) by smtp.gmail.com with ESMTPSA id 40sm3870860iol.39.2018.03.19.05.38.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Mar 2018 05:38:42 -0700 (PDT) From: Adam Ford To: stable@vger.kernel.org Cc: gregkh@linuxfoundation.org, ben.hutchings@codethink.co.uk, linux-omap@vger.kernel.org, Adam Ford Subject: [PATCH] ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux Date: Mon, 19 Mar 2018 07:38:28 -0500 Message-Id: <1521463108-9014-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 commit 74402055a2d3ec998a1ded599e86185a27d9bbf4 upstream. 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") For linux-4.4.y 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 80f6c78..e056704 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -90,6 +90,8 @@ }; &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; clock-frequency = <2600000>; twl: twl@48 { @@ -137,6 +139,12 @@ OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */ >; }; + 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 */ + >; + }; }; &omap3_pmx_core2 {