From patchwork Thu Feb 15 14:25:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10221385 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 0E14C602CB for ; Thu, 15 Feb 2018 14:26:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F36062937B for ; Thu, 15 Feb 2018 14:26:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E826929385; Thu, 15 Feb 2018 14:26:11 +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 1557F2937B for ; Thu, 15 Feb 2018 14:26:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033090AbeBOO0I (ORCPT ); Thu, 15 Feb 2018 09:26:08 -0500 Received: from mail-it0-f67.google.com ([209.85.214.67]:53881 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032974AbeBOO0I (ORCPT ); Thu, 15 Feb 2018 09:26:08 -0500 Received: by mail-it0-f67.google.com with SMTP id w63so739042ita.3 for ; Thu, 15 Feb 2018 06:26:08 -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=rLtbrn/tvV5nVIdN3P8hRhbz67jmDxtR6EG78l9Cu2M=; b=uHDVlhUAGyQnK2464lhyDEidU4xOMAExVjoZbbY5yimGAw79DiC5C7VZqmFzP6vS+e 6eiH7YYOldk3u5y5zdlDZHKUkZjXTr0uRb4Szze403aWzZKOJHx2/6GdXLOtQVfaRm7G fRXlZlEKq77dWDieBdWBRZuqaChzAQOdp4+CF+LqW1jEC/5cd2T10Z+KnHvU8eOTz2yr 8b4Xfo7UQhgEyRueOJahVpwy6Ykc8esY7BRh8KcaCFb32MYZBTbxYeSF8/P1+iGecKEE 8AR6Oh2UxSsZnTWyQQyqYFSctloDOlqEk6P7hO6/q0s6EW16xQB2rGuzBNi3cVVAIL4F y42g== 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=rLtbrn/tvV5nVIdN3P8hRhbz67jmDxtR6EG78l9Cu2M=; b=DKsOgnShvVlfVFKl6jSKawLfp7OJKdu4xLs9hMOWtf+OD6qgoiBql8H3S51qCtTwK/ t50jIPmSUxb3X4XLmVsqTXHDT5qOB4Cx8rvCcm7hdGJjdedwxYjdS9gFlpXk6ANzPq+f qKxGKiuAKMxs84cSxRzPI6cypXWS6UZtCpiDtIExJt0pRM5UcQqhWS1rwZS/Dyc1VVwQ hTJNjOV+0OYw33LPfd6G4L/pJ/TkfxER1zD0HAovokXX3SC32ygkHe1X1BBtvEn8cRS/ PXkBD7Ct32roUKj1jtvkTJsTsv/64yBTrOpOpaD6jpscTFzOoeWBWfY8cjPYVcRj/3hq oO/w== X-Gm-Message-State: APf1xPCW+pkZ2GnGTtzB02eqyUDjc9EQySOeXLg43HmpyCjSUW2w9TyV 2KDLWIsuGXqjXZ2KElu48jPvSw== X-Google-Smtp-Source: AH8x225mN/90qR3jPEDVU1phKOvei/kE9jJhMvPNif7Xl3IYrOWOjT3mUD3Fq3ARxNKlcaLWGRtSzA== X-Received: by 10.36.138.134 with SMTP id v128mr3671534itd.45.1518704767062; Thu, 15 Feb 2018 06:26:07 -0800 (PST) Received: from aford-OptiPlex-7050.logicpd.com ([174.46.170.158]) by smtp.gmail.com with ESMTPSA id 64sm16309530iox.0.2018.02.15.06.26.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 06:26:06 -0800 (PST) From: Adam Ford To: linux-omap@vger.kernel.org Cc: Adam Ford Subject: [PATCH 1/2] ARM: dts: Add pinmuxing for i2c2 and i2c3 for LogicPD torpedo Date: Thu, 15 Feb 2018 08:25:55 -0600 Message-Id: <1518704756-6968-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 Since I2C1 and I2C4 have explicit pinmuxing set, let's be on the safe side and set the pin muxing for I2C2 and I2C3. 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 4791544..3e174e4 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -83,10 +83,14 @@ }; &i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; clock-frequency = <400000>; }; &i2c3 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins>; clock-frequency = <400000>; at24@50 { compatible = "atmel,24c64"; @@ -144,6 +148,18 @@ OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */ >; }; + i2c2_pins: pinmux_i2c2_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21be, PIN_INPUT | MUX_MODE0) /* i2c2_scl */ + OMAP3_CORE1_IOPAD(0x21c0, PIN_INPUT | MUX_MODE0) /* i2c2_sda */ + >; + }; + i2c3_pins: pinmux_i2c3_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl */ + OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda */ + >; + }; }; &uart2 {