From patchwork Mon Sep 7 02:41:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 11759863 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74461618 for ; Mon, 7 Sep 2020 02:43:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3F8AC20796 for ; Mon, 7 Sep 2020 02:43:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CxcqVD0B"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="I1cpKEkC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F8AC20796 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HhtBPqplceiWON47joKki79cWH1zYymFRIVF2D04VV4=; b=CxcqVD0Bh/PLZ2l684F9VraHO VxXtz6XsOO8w4UvQuoRgbO8r0Azf/2Icne6SMn27PQ/1CY3/vTjYiqDDsbBvnqycWX2u0iu9nsnjm 8wRxwGQHnA9jyUbDaPIAHQFd3KSfLNnMJYTcd4S6y/rfejwFKin6RRWHzFFulVxaVJV4CFjLzc7G1 AaU0GCHyiZdG3+tTnqywzKyG02kOqSWOr3p/l5pxweakTe12+FNKrtiI1VVxQzWrZeBC3DlrywxTS PQ54idRXoen9g89ZwF2PFOLk6LbFyahOBn6DEIrV8vvOmI1xcDcqHelimkzVP3/XrnpKYoDOzPGCw qo7xU33+g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF76g-0001sD-AY; Mon, 07 Sep 2020 02:42:10 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF76a-0001q3-Nh for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 02:42:05 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 197FC891B0; Mon, 7 Sep 2020 14:41:52 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1599446512; bh=OBfpn6maBRdc+d/1QNwOPIf7KifJQ2fwNTTnwBpNbxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=I1cpKEkCzS5NYU632TWvFBCgk0wE7ZDLSlJZl3q23KPXAAwkB0dxtevstfOiTDdqY P6yvNTZu0On7B6oECjqXmzTmmdXXEVCbOLFoztVOGQetoCJuaIUsAl27NNKmDqCVDV fJac4y+y6jgXc0ThSeBrr3uVmlSg9iWk9QkvgHKv5hcgsKtRKwT+9jp5MeQoSm5zKS Y6eZLgX7nPbvUqWsWAnIq374fJn7sp9cKp9hXtK9IKy9zKqFWXHynH5lvqdDQJoivU +c1FSf5+99j6lbOUl6/QV/FLGUEa2DVtcP5CWhgPSD22H1RYCcTdEpid/9dmPtGhRL ZjU8L6A0hYiZg== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Mon, 07 Sep 2020 14:41:51 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id A2EC913EEB7; Mon, 7 Sep 2020 14:41:51 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E538E280060; Mon, 7 Sep 2020 14:41:51 +1200 (NZST) From: Chris Packham To: jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linus.walleij@linaro.org Subject: [PATCH 1/3] pinctrl: mvebu: Fix i2c sda definition for 98DX3236 Date: Mon, 7 Sep 2020 14:41:47 +1200 Message-Id: <20200907024149.20001-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200907024149.20001-1-chris.packham@alliedtelesis.co.nz> References: <20200907024149.20001-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200906_224204_998193_D529DB51 X-CRM114-Status: GOOD ( 18.40 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Kalyan Kinthada , Chris Packham , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Per the datasheet the i2c functions use MPP_Sel=0x1. They are documented as using MPP_Sel=0x4 as well but mixing 0x1 and 0x4 is clearly wrong. On the board tested 0x4 resulted in a non-functioning i2c bus so stick with 0x1 which works. Fixes: d7ae8f8dee7f ("pinctrl: mvebu: pinctrl driver for 98DX3236 SoC") Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn --- drivers/pinctrl/mvebu/pinctrl-armada-xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c index a767a05fa3a0..48e2a6c56a83 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c @@ -414,7 +414,7 @@ static struct mvebu_mpp_mode mv98dx3236_mpp_modes[] = { MPP_VAR_FUNCTION(0x1, "i2c0", "sck", V_98DX3236_PLUS)), MPP_MODE(15, MPP_VAR_FUNCTION(0x0, "gpio", NULL, V_98DX3236_PLUS), - MPP_VAR_FUNCTION(0x4, "i2c0", "sda", V_98DX3236_PLUS)), + MPP_VAR_FUNCTION(0x1, "i2c0", "sda", V_98DX3236_PLUS)), MPP_MODE(16, MPP_VAR_FUNCTION(0x0, "gpo", NULL, V_98DX3236_PLUS), MPP_VAR_FUNCTION(0x4, "dev", "oe", V_98DX3236_PLUS)), From patchwork Mon Sep 7 02:41:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 11759859 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E966618 for ; Mon, 7 Sep 2020 02:42:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D98F820C09 for ; Mon, 7 Sep 2020 02:42:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GIoxPiWB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="y2Q4/BO0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D98F820C09 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RyrymWtU3s4Nt6BNjNbRb4SDaRf1D+cxE9oafvLEOZI=; b=GIoxPiWBc69UDC9yUeTcUfqGy xand2d7aE53d7HWzhbT1hl4BKEyzE5XhHrPPjPQU1Spbq5qJMrRiaV9miupcXFPNjmPvDx0PyWSc/ fpQTTQy+AYjQyTzGDu835lqWi7KsQRg7kzkt46qs1q8II7fHE1hAHj+yKFOhjEMO2PhUSkv0R96zT lU+52AtClhFyYGYbRMRRDhEwiL1rGjaaw0h2JBLthCfsnzHxHFP/UJKhTvrP2SHHzBOIHY4pLLogQ BqUU9eo2y/9XI7bO2XgRG9t1JoGQE6SenOM+W77aNZBWyfc0b0ZQWoCyUgtOItONd19BrUFtCoXG2 jyKA23Cnw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF76e-0001rZ-1Z; Mon, 07 Sep 2020 02:42:08 +0000 Received: from gate2.alliedtelesis.co.nz ([2001:df5:b000:5::4]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF76a-0001q8-MF for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 02:42:05 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 4CCC0891B1; Mon, 7 Sep 2020 14:41:52 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1599446512; bh=uuxzc0BwwMjDmwpBE5VjOWOBbCDoQWkHnGgl+K/56L0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=y2Q4/BO0SIeGnG31GyiM6ilqx/5bAybVsjxelBCfyYgC2hrKNCGuai5me92ztSdF3 PfQo7YSQpm8PJYSQo1gOJgzE+NDN64OhXPsv39WC8Q5JsXYq4gwSV8r6Fcs6yrrB1F ES/9gXzqFkApTiXobGKtK8DvxgEzEYB+3wQyqC1LBGvTR2WM/MUcxU38mR6B/uL7WC nV1ylX/c0khvxHFbbL+zOUug71UYWxJnmKIVW1KaIUtSF5AiuuW0CdFg1KOHt9V4vM YP/HUZt0XdHajRxIT9wfl0snqV10emz9h3rznawSj/E7WrTUnCJ0WZYbk05CDSU8yn 9zhmTqRxxvbog== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Mon, 07 Sep 2020 14:41:52 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id C786413EEB7; Mon, 7 Sep 2020 14:41:51 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 15F94280060; Mon, 7 Sep 2020 14:41:52 +1200 (NZST) From: Chris Packham To: jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linus.walleij@linaro.org Subject: [PATCH 2/3] ARM: dts: Remove non-existent i2c1 from 98dx3236 Date: Mon, 7 Sep 2020 14:41:48 +1200 Message-Id: <20200907024149.20001-3-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200907024149.20001-1-chris.packham@alliedtelesis.co.nz> References: <20200907024149.20001-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200906_224205_105803_7BDF1581 X-CRM114-Status: GOOD ( 17.33 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Packham , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The switches with integrated CPUs have only got a single i2c controller. The incorrectly gained one when they were split from the Armada-XP. Fixes: 43e28ba87708 ("ARM: dts: Use armada-370-xp as a base for armada-xp-98dx3236") Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi index 654648b05c7c..aeccedd12574 100644 --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi @@ -266,11 +266,6 @@ &i2c0 { reg = <0x11000 0x100>; }; -&i2c1 { - compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; - reg = <0x11100 0x100>; -}; - &mpic { reg = <0x20a00 0x2d0>, <0x21070 0x58>; }; From patchwork Mon Sep 7 02:41:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 11759865 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F3141599 for ; Mon, 7 Sep 2020 02:43:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D162F20796 for ; Mon, 7 Sep 2020 02:43:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Mqq1JkQc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="ETqVzF+D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D162F20796 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K/SPqOIUbmq4Ii8i4fJoDbLEuJpnQWl1jlJAFAdYeEc=; b=Mqq1JkQc4VmsTMWLt/LsrCGo7 4IerIzD4mLnKLEd8EAWuKsAdrO8ZAOrVElmFkrChOi647+dvdo03zGyl7lIqlv0P+uAGzZX7Ua6os +qwH4n0ipGCo8FYBIy6jrCC/jYG/L9JmHGQdNNJvpUijnkJWjCMhOEfu34Nqldvo2kv9txt6N9KSV DoKdVybhgjUiYFMdtu3VphYPd9fb/YVl3l+ITOMxZJEUU1DYvHEZfGTYrmL1PQV10ihHtpOu11NVD AVjAhKwDx5W3GuW9oNdwFRls4fia+ElwgZDfQZfjfcENlDRG4XhUZnr+PfpmzoCVlykVJlbJiNxGC MkQ1aPpZg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF76k-0001sp-3w; Mon, 07 Sep 2020 02:42:14 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF76c-0001q7-M1 for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 02:42:07 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 55D97891B2; Mon, 7 Sep 2020 14:41:52 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1599446512; bh=i7QhCQy5Vo70pgJu5PEh9wAOSGu//sPREvdLP/pz8+0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ETqVzF+Dp9RVTISD5UedDnNjrTor0DXspYLGoiqD6q1/aUyjj1IWmpy5kAAqJrQi5 rw3nuoN87iXPUbMmWUOA0m66PuR//1tr7HXH2uF+YFFjSuRQPermEW84mX5JZp6VYq +Ydp5NF7gEMzbpURVbZ9jg+7gF47Jc6aE5ec3kArpoT92lUfifNnFuP//hOmpAPxuX EQANtCe5lJTVcwMUqXa975Tsbr2o1GzhN0ZQ8GyaGv3DAE1E+pQdoET1gZr1KEUZTc 09LKKgxlyl07V0aZv69cKxT7WvevMgE+rCXG39AttVhUydLR96dM5MAW74kzgHJDxO qaxSA7UMWFAww== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Mon, 07 Sep 2020 14:41:52 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id E99AA13EEB7; Mon, 7 Sep 2020 14:41:51 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 37E34280060; Mon, 7 Sep 2020 14:41:52 +1200 (NZST) From: Chris Packham To: jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linus.walleij@linaro.org Subject: [PATCH 3/3] ARM: dts: Add i2c0 pinctrl information for 98dx3236 Date: Mon, 7 Sep 2020 14:41:49 +1200 Message-Id: <20200907024149.20001-4-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200907024149.20001-1-chris.packham@alliedtelesis.co.nz> References: <20200907024149.20001-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200906_224206_952996_DC77BB67 X-CRM114-Status: GOOD ( 17.41 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Packham , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add pinctrl information for the 98dx3236 (and variants). There is only one choice for i2c0 MPP14 and MPP15. Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi index aeccedd12574..38a052a0312d 100644 --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi @@ -264,6 +264,8 @@ refclk: oscillator { &i2c0 { compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; reg = <0x11000 0x100>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; }; &mpic { @@ -319,6 +321,11 @@ spi0_pins: spi0-pins { "mpp2", "mpp3"; marvell,function = "spi0"; }; + + i2c0_pins: i2c-pins-0 { + marvell,pins = "mpp14", "mpp15"; + marvell,function = "i2c0"; + }; }; &spi0 {