Received: by 10.223.185.116 with SMTP id b49csp5470903wrg; Wed, 7 Mar 2018 12:19:34 -0800 (PST) X-Google-Smtp-Source: AG47ELtbYS19JovsMsEqLOqPuhWK9YJg+tiauU0NeHeXVeGZxTNw6TbELvMqpTrX6JQxEKQbxKLq X-Received: by 10.99.120.193 with SMTP id t184mr19478333pgc.348.1520453974524; Wed, 07 Mar 2018 12:19:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520453974; cv=none; d=google.com; s=arc-20160816; b=P2KayxsE/v42npcyIjwH2clCtgUmihMzuLpaJES/sbvfv1ZpXB+8fWqjAztDhiypp6 h4urTFsv1dXd6CNlGmrG16DUV23mON6MHnLnIRheD3ZV4yciyLgXvRt9E5VEO44Ba6bj nm+WTBNiwXyz+0FbN/FFF9cVhBQcP6NMPo9gH0hecDB9veayCN5SJgAiKRsGNL0dUE4m XehUG4V1vFgWkYruPZgKI3hbgI6/19rq+HxqFD+8ewi79JQUeF05Weal9cS8rHR8qzeX BG4z0stTu3LbQPodYL7lFG9Ao6tQbfuCqxnh+Ft/kxqGmP5KF5xNNWR0aW1LIOxm4rVU 27pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Yi0+AImkkanUh5eBiI+6QXHDpTKYBEwmKDCuVAzYKtw=; b=YlnrMyyobtjTtj8mQd045zCU3bKESAsQfYuDwJF4up1pyUsmAP1KDtuY/UON503V4C 6fQb6l2XE1KaX86575rnF3AGf8isBpTDPSmcmV4PaPAho/I0WkvLedV+EmYr6e6H1zzq 1ofj3AV7dWQtKFmAkNOq7WbKgyAKexRrPXnNeY1MUeXJzh66XlBKiLfHWYY7MU4jMdfb wBAMuBwdxZNCAt/tRr1rEE5t1ADkw9/eMpJKtjNQR4R+lYF+nin6bVMsiDrpWG1SqjGE IwrLtBH5705xtO6ckv8Dbu0RfzPtx4cdmdtj8bvWA5H2vwyJ883p+Hur7Cj58OzcEirs LvzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y125si11811286pgb.120.2018.03.07.12.19.20; Wed, 07 Mar 2018 12:19:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965043AbeCGToF (ORCPT + 99 others); Wed, 7 Mar 2018 14:44:05 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43572 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933935AbeCGToB (ORCPT ); Wed, 7 Mar 2018 14:44:01 -0500 Received: from localhost (unknown [185.236.200.248]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A8E1731; Wed, 7 Mar 2018 19:44:00 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adam Ford , Tony Lindgren Subject: [PATCH 4.15 119/122] ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux Date: Wed, 7 Mar 2018 11:38:51 -0800 Message-Id: <20180307191746.864846388@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180307191729.190879024@linuxfoundation.org> References: <20180307191729.190879024@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Adam Ford commit 84c7efd607e7fb6933920322086db64654f669b2 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 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 Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/logicpd-som-lv.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --- 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 {