From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0187.outbound.protection.outlook.com [207.46.163.187]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 72FAC1A014D for ; Tue, 29 Jul 2014 20:15:53 +1000 (EST) Date: Tue, 29 Jul 2014 18:13:24 +0800 From: Nicolin Chen To: Mark Rutland Subject: Re: [PATCH v3 2/2] ASoC: fsl_asrc: Add ASRC ASoC CPU DAI and platform drivers Message-ID: <20140729101322.GA5495@MrMyself> References: <20140729094613.GK2576@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <20140729094613.GK2576@leverpostej> Cc: "devicetree@vger.kernel.org" , "alsa-devel@alsa-project.org" , "b42378@freescale.com" , "timur@tabi.org" , Pawel Moll , "ijc+devicetree@hellion.org.uk" , "tiwai@suse.de" , "linux-kernel@vger.kernel.org" , "rdunlap@infradead.org" , "b02247@freescale.com" , "lgirdwood@gmail.com" , "robh+dt@kernel.org" , "perex@perex.cz" , Nicolin Chen , "broonie@kernel.org" , "galak@codeaurora.org" , "grant.likely@linaro.org" , "tklauser@distanz.ch" , "shawn.guo@linaro.org" , "linuxppc-dev@lists.ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Jul 29, 2014 at 10:46:13AM +0100, Mark Rutland wrote: > > + - big-endian : If this property is absent, the native endian mode will > > + be in use as default, or the big endian mode will be in use > > + for all the device registers. > > Native endian is meaningless. If a CPU supports both BE and LE, there is > no native endianness. The endianness of the kernel is dynamic while the > endianness of registers in HW is fixed. > > Just choose an endianness to assume by default (presumably little). That > way this describes the HW and always works with a kernel of arbitrary > endianness. Thank you for the comments. I just revised it by using 'little endian as default' and sent the patch v6. Please take a look at the new version. Thanks again, Nicolin