From patchwork Fri Nov 3 09:56:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ladislav Michl X-Patchwork-Id: 10039755 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 27BFA602D8 for ; Fri, 3 Nov 2017 09:56:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E63E29586 for ; Fri, 3 Nov 2017 09:56:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 231B22958E; Fri, 3 Nov 2017 09:56:10 +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.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY 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 2063429586 for ; Fri, 3 Nov 2017 09:56:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755749AbdKCJ4I (ORCPT ); Fri, 3 Nov 2017 05:56:08 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:53586 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520AbdKCJ4H (ORCPT ); Fri, 3 Nov 2017 05:56:07 -0400 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23990437AbdKCJ4FwDD96 (ORCPT ); Fri, 3 Nov 2017 10:56:05 +0100 Date: Fri, 3 Nov 2017 10:56:04 +0100 From: Ladislav Michl To: linux-omap@vger.kernel.org Cc: Roger Quadros , Tony Lindgren Subject: [PATCH] ARM: dts: Fix GPMC device width property Message-ID: <20171103095604.xzri77aljgwsimsz@lenoch> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) 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 Currently undocumented bank-width property is used to configure device width per GPMC chip select instead of documented 'gpmc,device-width'. Add (or correct) documented property where it is missing. Signed-off-by: Ladislav Michl --- arch/arm/boot/dts/am335x-nano.dts | 2 ++ arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi | 2 +- arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi | 1 + arch/arm/boot/dts/omap-zoom-common.dtsi | 2 +- arch/arm/boot/dts/omap2420-h4.dts | 1 + arch/arm/boot/dts/omap2430-sdp.dts | 1 + arch/arm/boot/dts/omap3-devkit8000-common.dtsi | 2 +- arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 1 + arch/arm/boot/dts/omap3-lilly-dbb056.dts | 1 + arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi | 1 + arch/arm/boot/dts/omap3-sb-t35.dtsi | 2 +- arch/arm/boot/dts/omap3430-sdp.dts | 1 + 12 files changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 946d7069f417..cc441af9e2d3 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -258,6 +258,7 @@ linux,mtd-name = "spansion,s29gl010p11t"; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data = <2>; gpmc,sync-clk-ps = <0>; @@ -348,6 +349,7 @@ reg = <1 0x00000000 0x01000000>; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data = <2>; gpmc,sync-clk-ps = <0>; diff --git a/arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi b/arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi index 445fafc73254..f17aa9127122 100644 --- a/arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi +++ b/arch/arm/boot/dts/omap-gpmc-smsc911x.dtsi @@ -23,7 +23,7 @@ ethernet@gpmc { compatible = "smsc,lan9221", "smsc,lan9115"; bank-width = <2>; - gpmc,device-width = <1>; + gpmc,device-width = <2>; gpmc,cycle2cycle-samecsen = <1>; gpmc,cycle2cycle-diffcsen = <1>; gpmc,cs-on-ns = <5>; diff --git a/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi b/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi index 73e272fadc20..cd119c3ffb6c 100644 --- a/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi +++ b/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi @@ -28,6 +28,7 @@ compatible = "smsc,lan9221","smsc,lan9115"; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <42>; diff --git a/arch/arm/boot/dts/omap-zoom-common.dtsi b/arch/arm/boot/dts/omap-zoom-common.dtsi index 46ef3e443861..451c9fb57697 100644 --- a/arch/arm/boot/dts/omap-zoom-common.dtsi +++ b/arch/arm/boot/dts/omap-zoom-common.dtsi @@ -24,7 +24,7 @@ clock-frequency = <1843200>; current-speed = <115200>; gpmc,mux-add-data = <0>; - gpmc,device-width = <1>; + gpmc,device-width = <2>; gpmc,wait-pin = <1>; gpmc,cycle2cycle-samecsen = <1>; gpmc,cycle2cycle-diffcsen = <1>; diff --git a/arch/arm/boot/dts/omap2420-h4.dts b/arch/arm/boot/dts/omap2420-h4.dts index 9265c0b9c3f3..a004f15ab925 100644 --- a/arch/arm/boot/dts/omap2420-h4.dts +++ b/arch/arm/boot/dts/omap2420-h4.dts @@ -30,6 +30,7 @@ reg = <0 0 0x04000000>; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data = <2>; gpmc,cs-on-ns = <10>; gpmc,cs-rd-off-ns = <160>; diff --git a/arch/arm/boot/dts/omap2430-sdp.dts b/arch/arm/boot/dts/omap2430-sdp.dts index 4f7d9d7c00c7..4314b79c26a6 100644 --- a/arch/arm/boot/dts/omap2430-sdp.dts +++ b/arch/arm/boot/dts/omap2430-sdp.dts @@ -43,6 +43,7 @@ interrupts = <21 IRQ_TYPE_LEVEL_LOW>; /* gpio149 */ reg = <5 0x300 0xf>; bank-width = <2>; + gpmc,device-width = <2>; gpmc,sync-clk-ps = <0>; gpmc,mux-add-data = <2>; gpmc,device-width = <1>; diff --git a/arch/arm/boot/dts/omap3-devkit8000-common.dtsi b/arch/arm/boot/dts/omap3-devkit8000-common.dtsi index 0c0bb1b01b0b..72bb7c665472 100644 --- a/arch/arm/boot/dts/omap3-devkit8000-common.dtsi +++ b/arch/arm/boot/dts/omap3-devkit8000-common.dtsi @@ -268,7 +268,7 @@ davicom,no-eeprom; gpmc,mux-add-data = <0>; - gpmc,device-width = <1>; + gpmc,device-width = <2>; gpmc,wait-pin = <0>; gpmc,cycle2cycle-samecsen = <1>; gpmc,cycle2cycle-diffcsen = <1>; diff --git a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi index fa611a5e4850..befd159d837e 100644 --- a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi +++ b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi @@ -428,6 +428,7 @@ ethernet@7,0 { compatible = "smsc,lan9221", "smsc,lan9115"; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data = <2>; gpmc,cs-on-ns = <10>; gpmc,cs-rd-off-ns = <60>; diff --git a/arch/arm/boot/dts/omap3-lilly-dbb056.dts b/arch/arm/boot/dts/omap3-lilly-dbb056.dts index 0e3c9812f4e3..11c278aae2f0 100644 --- a/arch/arm/boot/dts/omap3-lilly-dbb056.dts +++ b/arch/arm/boot/dts/omap3-lilly-dbb056.dts @@ -135,6 +135,7 @@ ethernet@4,0 { compatible = "smsc,lan9117", "smsc,lan9115"; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data = <2>; gpmc,cs-on-ns = <10>; gpmc,cs-rd-off-ns = <65>; diff --git a/arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi index 82e98ee3023a..20371b145a6e 100644 --- a/arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi +++ b/arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi @@ -25,6 +25,7 @@ compatible = "smsc,lan9221","smsc,lan9115"; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <42>; diff --git a/arch/arm/boot/dts/omap3-sb-t35.dtsi b/arch/arm/boot/dts/omap3-sb-t35.dtsi index 4476fb685a1b..631d24fcbd72 100644 --- a/arch/arm/boot/dts/omap3-sb-t35.dtsi +++ b/arch/arm/boot/dts/omap3-sb-t35.dtsi @@ -106,7 +106,7 @@ interrupts = <1 IRQ_TYPE_LEVEL_LOW>; reg = <4 0 0xff>; bank-width = <2>; - gpmc,device-width = <1>; + gpmc,device-width = <2>; gpmc,cycle2cycle-samecsen = <1>; gpmc,cycle2cycle-diffcsen = <1>; gpmc,cs-on-ns = <5>; diff --git a/arch/arm/boot/dts/omap3430-sdp.dts b/arch/arm/boot/dts/omap3430-sdp.dts index 908951eb5943..d50a105c9dc6 100644 --- a/arch/arm/boot/dts/omap3430-sdp.dts +++ b/arch/arm/boot/dts/omap3430-sdp.dts @@ -62,6 +62,7 @@ reg = <0 0 0x08000000>; bank-width = <2>; + gpmc,device-width = <2>; gpmc,mux-add-data = <2>; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <186>;