From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.scram.de (mail0.scram.de [78.47.204.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.scram.de", Issuer "scram e.V. CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 6113FDDFBC for ; Wed, 2 Jul 2008 01:40:59 +1000 (EST) Message-ID: <486A4FFE.6020407@scram.de> Date: Tue, 01 Jul 2008 17:40:46 +0200 From: Jochen Friedrich MIME-Version: 1.0 To: Grant Likely Subject: Re: [PATCH2/2] [POWERPC] CPM1: implement GPIO LIB API on CPM1 Freescale SoC. References: <4808D606.5070309@scram.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: Scott Wood , linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Grant, sorry for the late response on this one. > 2. You need to specifiy exact chip names in your compatible string. > "fsl,cpm1-pario-" is a made up thing. >> + for_each_compatible_node(np, NULL, "fsl,cpm1-pario-bank16") >> + cpm1_gpiochip_add16(np); >> + >> + for_each_compatible_node(np, NULL, "fsl,cpm1-pario-bank32b") >> + cpm1_gpiochip_add32(np); >> + >> + /* Port E uses CPM2 layout */ >> + for_each_compatible_node(np, NULL, "fsl,cpm1-pario-bank32e") >> + cpm2_gpiochip_add32(np); What do you suggest here? All GPIO ports of CPM1/CPM2 are on the SoC, so the chip name is in fact the CPU itself (like fsl,mpc866-pario-bank16). Thanks, Jochen