From patchwork Fri Dec 20 07:14:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11304931 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 698EA139A for ; Fri, 20 Dec 2019 07:14:51 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1C8E324679 for ; Fri, 20 Dec 2019 07:14:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="S6VvMIeU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C8E324679 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1050+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id TliFYY1556264xqhUBNMpXi5; Thu, 19 Dec 2019 23:14:50 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web09.6298.1576826089927638540 for ; Thu, 19 Dec 2019 23:14:50 -0800 X-Received: by mail.kernel.org (Postfix) id 6BD7A2467F; Fri, 20 Dec 2019 07:14:49 +0000 (UTC) X-Received: from shell.v3.sk (unknown [167.172.186.51]) (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 857D724679; Fri, 20 Dec 2019 07:14:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 857D724679 X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 8597FDFCAF; Fri, 20 Dec 2019 07:14:50 +0000 (UTC) X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id vIzVzB36xj78; Fri, 20 Dec 2019 07:14:50 +0000 (UTC) X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id DE67CDFCB0; Fri, 20 Dec 2019 07:14:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EFegCLmctJug; Fri, 20 Dec 2019 07:14:49 +0000 (UTC) X-Received: from furthur.lan (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 78E15DFCAF; Fri, 20 Dec 2019 07:14:49 +0000 (UTC) From: Lubomir Rintel To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, soc@kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel Subject: [PATCH] ARM: dts: mmp3: Fix the TWSI ranges Date: Fri, 20 Dec 2019 08:14:43 +0100 Message-Id: <20191220071443.247183-1-lkundrak@v3.sk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: 6iqHKwx7TbkUN5v3aXj0qGU1x1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576826090; bh=D0ffV8AbVJqRttRQkcvsu8FBomOntdAmY8mRywfxyJI=; h=Cc:Date:From:Reply-To:Subject:To; b=S6VvMIeUz/O9A+TJNM3nFvLZ9vX0M5nBUOowtPQGla2TDmmTUYoJkU/M4nJOI9iK5L1 PeMQnrE94/HTW6dVjFr2UJ0K54F0rZKVyr43APlLnVyt0QHwPcVBy6EFfvfOeAqmesKY5 A+G8ya3D+JBU/cAvN0Qpct6mOmQFaXk4q+4= The register blocks don't occupy 4K. In fact, some blocks are packed close to others and assuming they're 4K causes overlaps: pxa2xx-i2c d4033800.i2c: can't request region for resource [mem 0xd4033800-0xd40347ff] Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi index 7e38b7f662be4..991b07253090f 100644 --- a/arch/arm/boot/dts/mmp3.dtsi +++ b/arch/arm/boot/dts/mmp3.dtsi @@ -415,7 +415,7 @@ gcb5: gpio@d4019108 { twsi1: i2c@d4011000 { compatible = "mrvl,mmp-twsi"; - reg = <0xd4011000 0x1000>; + reg = <0xd4011000 0x70>; interrupts = ; clocks = <&soc_clocks MMP2_CLK_TWSI0>; resets = <&soc_clocks MMP2_CLK_TWSI0>; @@ -427,7 +427,7 @@ twsi1: i2c@d4011000 { twsi2: i2c@d4031000 { compatible = "mrvl,mmp-twsi"; - reg = <0xd4031000 0x1000>; + reg = <0xd4031000 0x70>; interrupt-parent = <&twsi_mux>; interrupts = <0>; clocks = <&soc_clocks MMP2_CLK_TWSI1>; @@ -439,7 +439,7 @@ twsi2: i2c@d4031000 { twsi3: i2c@d4032000 { compatible = "mrvl,mmp-twsi"; - reg = <0xd4032000 0x1000>; + reg = <0xd4032000 0x70>; interrupt-parent = <&twsi_mux>; interrupts = <1>; clocks = <&soc_clocks MMP2_CLK_TWSI2>; @@ -451,7 +451,7 @@ twsi3: i2c@d4032000 { twsi4: i2c@d4033000 { compatible = "mrvl,mmp-twsi"; - reg = <0xd4033000 0x1000>; + reg = <0xd4033000 0x70>; interrupt-parent = <&twsi_mux>; interrupts = <2>; clocks = <&soc_clocks MMP2_CLK_TWSI3>; @@ -464,7 +464,7 @@ twsi4: i2c@d4033000 { twsi5: i2c@d4033800 { compatible = "mrvl,mmp-twsi"; - reg = <0xd4033800 0x1000>; + reg = <0xd4033800 0x70>; interrupt-parent = <&twsi_mux>; interrupts = <3>; clocks = <&soc_clocks MMP2_CLK_TWSI4>; @@ -476,7 +476,7 @@ twsi5: i2c@d4033800 { twsi6: i2c@d4034000 { compatible = "mrvl,mmp-twsi"; - reg = <0xd4034000 0x1000>; + reg = <0xd4034000 0x70>; interrupt-parent = <&twsi_mux>; interrupts = <4>; clocks = <&soc_clocks MMP2_CLK_TWSI5>;