From patchwork Sat Jan 27 21:27:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10187657 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 22398602C8 for ; Sat, 27 Jan 2018 21:27:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05F1D28B7A for ; Sat, 27 Jan 2018 21:27:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEA6828B7B; Sat, 27 Jan 2018 21:27:18 +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 757C928B85 for ; Sat, 27 Jan 2018 21:27:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751518AbeA0V1P (ORCPT ); Sat, 27 Jan 2018 16:27:15 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:36830 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505AbeA0V1O (ORCPT ); Sat, 27 Jan 2018 16:27:14 -0500 Received: by mail-it0-f68.google.com with SMTP id n206so2912102itg.1 for ; Sat, 27 Jan 2018 13:27:14 -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=6/jGdHBijGWfp7rsrXSJxdTJhKXz/oXQyxchbuVOzr8=; b=oWx3aogypd1OuvZN+X9sZ3CDaf3EfWM5gIZepveyQA6zMOOlqK2CMIF6ZTgFgLp4Mg dJP5zMAwk5Gpj3cbBQcSt60jWU6zO0Y1eVu9SiwQF/ilxnJ+6WHpu4wT7+dr2pQS4kmP 0bE7pbrE8j1o5GQASPZp4dWQW54j8TdW053hq9cgQAVRmNyQLTAHujapcDiTAF/bDETK qwardxYTVIZLk58aHvA6xEzf2TmKemmGti5w1HH+AuhIV+32KrYfti5aaLuicQq2zsj/ PtkZ5Famo5VWfSRKQMBJvm4s5t27Jf0LVgDNtCWElYdo7U0xdBxQ0fDr/4Ubi1zTFjy/ eXxw== 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=6/jGdHBijGWfp7rsrXSJxdTJhKXz/oXQyxchbuVOzr8=; b=jmcTNJZxdudQ/M+aud5CpfquG/6cZ9BD8+uEKPh5O6QRyWjhtIFEbkpmW8qpd6GLCS dXKzLnrubcJN/xlPnYHVJFhmZe3GqbsRLoD/GrBEZldtuC7bnbobTaVgCZEZwyoj81vk BNDtLalyJW/SYtF6Ixh97I0djmlvjYPnniEhk7PGuPLtD0Q/5kUXvV3yj7EE9VvjBJve TtCIRMJDg9lbtUDYq0+dNzR18BtC5Wpq9k3X+2z1HiQTZkhjjkypThf19g9ojF98BJv6 WTvYYX3kS9rd3eZ15Rtdky8xZgFCZhbVkaF9qxrLZa1bKpdJDCfPphCGO4bqQ4Kg/yn4 ZwaQ== X-Gm-Message-State: AKwxytdt7Mp4CMjtj5ka8PwiO75PXjUPNiFKljLrSKCIx3n0/yy3qkmh F5+6dU29oB+qJvKk6E8Ax1184Q== X-Google-Smtp-Source: AH8x224k/YMFcv52AtqTwQ78IIAEL1Bf+Bgn2FWu4Fi3ellvKP0FF+KHN7FRu1FeCpNgBPiQQLN5rQ== X-Received: by 10.36.51.201 with SMTP id k192mr22802832itk.71.1517088433769; Sat, 27 Jan 2018 13:27:13 -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 p198sm3934311itp.11.2018.01.27.13.27.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Jan 2018 13:27:12 -0800 (PST) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux Date: Sat, 27 Jan 2018 15:27:05 -0600 Message-Id: <1517088425-27594-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 times. This correctly sets the I2C1 pinmuxing so it can operate at 2.6MHz Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi index 29cb804..06cce72 100644 --- a/arch/arm/boot/dts/logicpd-som-lv.dtsi +++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi @@ -98,6 +98,8 @@ }; &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; clock-frequency = <2600000>; twl: twl@48 { @@ -216,7 +218,12 @@ >; }; - + 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_wkup {