From patchwork Thu Nov 30 08:06:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar Kushwaha X-Patchwork-Id: 10084331 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 498A9602B9 for ; Thu, 30 Nov 2017 08:08:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A17E29EE4 for ; Thu, 30 Nov 2017 08:08:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E9B329EED; Thu, 30 Nov 2017 08:08:03 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9F79329EE4 for ; Thu, 30 Nov 2017 08:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=oYslpjEIWueD67VXdmZGXwuOf3aBNNFbNOcdoB7YUNo=; b=cwBREOB8ynEgDG O1CVPPDPdwTfoBzS9apTrsf4S8Z0quZYSyYDJVK5lTOPbTXkq/ZgpI7mS5LzedVwZzH22wHvwibQq ppjNuVaJp1vUB9spvZ6Gek3aXKcfgslYguCh58qipbx+0qpgQUnnXYLqvUJTniX9QebOQ9pfP1sN5 vp+qf8bkCeplDkoMCqARQFbEI4o4/EprhGxfoIt7Zadf5ZElg8RsE9KiUTAu4eq56dSByLIBIpbLa htoZIjFyLnwRGcSCeHfhh/Mo+aKqpkd+lyGCMTo8f3RyGxqBtBbgAmIvjLcF+oYKjs41xeiABtr/p fYaa7Kda3pDF7XX0ctYA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eKJt1-0007Vc-R4; Thu, 30 Nov 2017 08:07:59 +0000 Received: from mail-bl2nam02on0045.outbound.protection.outlook.com ([104.47.38.45] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKJsw-0007Tp-Ok for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2017 08:07:58 +0000 Received: from BN3PR03CA0100.namprd03.prod.outlook.com (2603:10b6:400:4::18) by SN2PR03MB2367.namprd03.prod.outlook.com (2603:10b6:804:e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Thu, 30 Nov 2017 08:07:31 +0000 Received: from BL2FFO11FD040.protection.gbl (2a01:111:f400:7c09::185) by BN3PR03CA0100.outlook.office365.com (2603:10b6:400:4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Thu, 30 Nov 2017 08:07:31 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD040.mail.protection.outlook.com (10.173.161.136) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.218.12 via Frontend Transport; Thu, 30 Nov 2017 08:07:31 +0000 Received: from VirtualBox.ap.freescale.net ([10.232.40.41]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vAU87O2P031593; Thu, 30 Nov 2017 01:07:26 -0700 From: Prabhakar Kushwaha To: , , , Subject: [PATCH][v3] dt-bindings: ifc: Update endianness usage Date: Thu, 30 Nov 2017 13:36:36 +0530 Message-ID: <1512029196-7158-1-git-send-email-prabhakar.kushwaha@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131565028514139256; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(376002)(346002)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(43544003)(199003)(106466001)(498600001)(8656006)(48376002)(5660300001)(33646002)(50226002)(104016004)(86362001)(105606002)(50986010)(36756003)(8936002)(4326008)(110136005)(50466002)(54906003)(77096006)(6666003)(81156014)(15650500001)(85426001)(8676002)(2201001)(47776003)(97736004)(316002)(53936002)(51416003)(68736007)(189998001)(305945005)(16586007)(356003)(2906002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2367; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD040; 1:sj+iK9YDF2DMqzQhxNCDgTbuSgtQ+JndTfsDKwKw69WjhhHSetNgDig7OMkuroUgTkAxtmYxzwwLl9wCRuBMPXOTRrmRNsqDVTGtvpIcHIlzPl2Y3rlvkKewX4S6SR/+ MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ce3a414d-3a9d-4b38-a006-08d537c967d4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603283); SRVR:SN2PR03MB2367; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2367; 3:SkPZZc4VFxtXvcN/i2rsNbFPh5qsK08illt9M8cM/1b9UJaAnElbrINgGgr28G3XK2qGTV+pwlUn2Jk9j68uB71s6gDz0KjLD/IbBYQfJv4tn7NeJVRV2vkhSBCnTjmTG+BbY4aNjevPUIUv686JKyndAJDrDcCekvu5kAXr8CXvsevdNOxGVonk1Z06cNFChEiLzX9KydoyCEPB4vGKaboWl5cm3B/NoOs8rzOKJhwnz2ce3Le3dIySTrMSPnKYBMIO1t6P3goXLCUtzvJDpw7YYbcayMHgJFuUT8B3jHGUMRuSFSZY7260htn1DfW2fa57zV6J7Dg1p+HICfgIbZLW5CX3HPSKOt30DPYr73E=; 25:z2ucYXWDyy8m2iJAqOb8kvMF0RS6dOtL2Fqb8e8NYMzY9cZP3bZEup4oRrX65y5S+z9WmWyxFK+835wyzn1j5BeFYmJYunWiVn/OMRCAY0EUra+/SHBiMjSx7iaYzUvO9iQd7y32TubFvH23fU0Kg59uEyyxF79Jzf6QXIH4ew8QmgobZuubN5HAfFlEtENHvKz3dkA4qhkfvTs6LaV/sx0ttBV16acnsAF0/SixzExuJuiK84HMgUV5XoqBDf66u0uJx+dUFGie5sZF8Plc3vNZ9FI7LwzvsXAsp39DTvVJJK1QYIAtbp0Mb/NAB/IV2NdJ80w4tDFa2cm+8a8wow== X-MS-TrafficTypeDiagnostic: SN2PR03MB2367: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2367; 31:IKRLT2It2EA8Ve1028oLX0pHpsG+pErJhoy36KBtjogqeLk5ZfTI07ksgSYzjSSnxPo1/gIuqwTtwicpywxp2LJYzO9M6autT5DGFQbxjUb7MwrJCSOeS7QOqxiNN/uT9tN8m7VQxhv3RuaoRrzig06lslD0n3ctYs6rwE6hn+T3Q9iROAwYw8BEbUIl1uFtbNEmV4kKxhZYD+HNgomP7RDw71VJkJPIKlspiHFce98=; 4:hL7PaC3p5q0c9GD3dq6LfYP4o5Sy9nscl2pgc4u2s/h5QE5OVD68W3kJL/liI5R3xMhCxkEhPpDfHW0dlc4gH4ROn9jMRV6v1rcVFf1cnpLtQd6cRxmb5XKWrLoLXOWp8Q42AUoDzmJo6dAlsIIkOr4Dny/eH9rMrZc8u60tciU6qeQ/zzKwS+XBPdOi1XoQnAdwQPjEEjOSSlLYWKrTk0U6+t95F+wBkZVcaSlQBmD7aj2U9/VFAEu++uo7cJHZ6+nMMYJc/W3K9gxqkU/7f8s4c8RbYZR7AjWn14/eTW0z4r2L+MfaHRJoyAndgRKwSZBo2Tc5nRGsNGapk9tmpjQ56DONFEpQmBJ+tbnJ0yk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(20558992708506)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231022)(10201501046)(3002001)(6055026)(6096035)(20161123556025)(20161123565025)(20161123561025)(20161123563025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(201708071742011); SRVR:SN2PR03MB2367; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:SN2PR03MB2367; X-Forefront-PRVS: 05079D8470 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2367; 23:fOZopZbzElQ0lZCnwwfcPmyvbgs7Jn1WDCeWmHZfr?= =?us-ascii?Q?bCIKbwzNnbPnT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m6yWWOjHtR68zsUW+8ly+RikYbwlbnX3v/NqLxedA/Ef0kLyi1qTejFuQH6emYM45CGS3yW4m1q2L/ixRZ94BtPY80wwvlMZub+uSXLb+XgmV7EUGk8VbDHfu81hO18osFITNV9CrPMuxZJyFNpLLV94Y9zYZ0HFPq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2017 08:07:31.1019 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce3a414d-3a9d-4b38-a006-08d537c967d4 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2367 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171130_000755_237175_FC69A643 X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Prabhakar Kushwaha , 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 X-Virus-Scanned: ClamAV using ClamSMTP IFC controller version < 2.0 support IFC register access as big endian. These controller version also require IFC NOR signals to be connected in reverse order with NOR flash. IFC >= 2.0 is other way around. So updating IFC binding to take care of both using endianness field. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: updated subject Changes for v3: fixed typo for "big-endian" Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt b/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt index 89427b0..824a2ca 100644 --- a/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt @@ -18,8 +18,10 @@ Properties: interrupt (NAND_EVTER_STAT). If there is only one, that interrupt reports both types of event. -- little-endian : If this property is absent, the big-endian mode will - be in use as default for registers. +- little-endian or big-endian : It represents how IFC registers to be accessed. + It also represents connection between controller and + NOR flash. If this property is absent, the big-endian + mode will be in use as default. - ranges : Each range corresponds to a single chipselect, and covers the entire access window as configured.