From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?utf-8?q?St=C3=BCbner?= Subject: Re: [PATCH v2] gpio: samsung: add devicetree init for s3c24xx arches Date: Fri, 7 Sep 2012 09:27:27 +0200 Message-ID: <201209070927.28405.heiko@sntech.de> References: <201208282355.44268.heiko@sntech.de> <243901cd8cbb$10ad0580$32071080$%kim@samsung.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <243901cd8cbb$10ad0580$32071080$%kim@samsung.com> Sender: linux-doc-owner@vger.kernel.org To: Kukjin Kim Cc: 'Grant Likely' , 'Rob Herring' , 'Rob Landley' , 'Linus Walleij' , 'Olof Johansson' , 'Thomas Abraham' , devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 'linux-samsung-soc' List-Id: linux-samsung-soc@vger.kernel.org Am Freitag, 7. September 2012, 07:38:52 schrieb Kukjin Kim: > Heiko St=C3=BCbner wrote: > > Until now the Exynos-SoC was the only Samsung-SoC supporting the GP= IOs > > via the device tree. This patch implements dt-support for the > > s3c24xx arches. > >=20 > > The controllers contain only 3 cells, as the underlying gpio contro= ller > > does not support controlling the drive strength on a gpio level. > >=20 > > Tested with the gpio-keys driver on a s3c2416 based machine. > >=20 > > Signed-off-by: Heiko Stuebner > > Reviewed-by: Thomas Abraham > > --- >=20 > [...] >=20 > > +#if defined(CONFIG_PLAT_S3C24XX) && defined(CONFIG_OF) >=20 > [...] >=20 > > +static __init void s3c24xx_gpiolib_attach_ofnode(struct > > samsung_gpio_chip *chip, > > + u64 base, u64 offset) > > +{ >=20 > [...] >=20 > > +} > > +#elif defined(CONFIG_PLAT_S3C24XX) >=20 > Heiko, above line breaks building for other samsung stuff except s3c2= 4xx. I > fixed with following which has been amended in your patch. If any > problems, please let me know. yeah, I see the problem now. Thanks for the fix and sorry to have cause= d=20 additional work. Heiko From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko =?utf-8?q?St=C3=BCbner?=) Date: Fri, 7 Sep 2012 09:27:27 +0200 Subject: [PATCH v2] gpio: samsung: add devicetree init for s3c24xx arches In-Reply-To: <243901cd8cbb$10ad0580$32071080$%kim@samsung.com> References: <201208282355.44268.heiko@sntech.de> <243901cd8cbb$10ad0580$32071080$%kim@samsung.com> Message-ID: <201209070927.28405.heiko@sntech.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am Freitag, 7. September 2012, 07:38:52 schrieb Kukjin Kim: > Heiko St?bner wrote: > > Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs > > via the device tree. This patch implements dt-support for the > > s3c24xx arches. > > > > The controllers contain only 3 cells, as the underlying gpio controller > > does not support controlling the drive strength on a gpio level. > > > > Tested with the gpio-keys driver on a s3c2416 based machine. > > > > Signed-off-by: Heiko Stuebner > > Reviewed-by: Thomas Abraham > > --- > > [...] > > > +#if defined(CONFIG_PLAT_S3C24XX) && defined(CONFIG_OF) > > [...] > > > +static __init void s3c24xx_gpiolib_attach_ofnode(struct > > samsung_gpio_chip *chip, > > + u64 base, u64 offset) > > +{ > > [...] > > > +} > > +#elif defined(CONFIG_PLAT_S3C24XX) > > Heiko, above line breaks building for other samsung stuff except s3c24xx. I > fixed with following which has been amended in your patch. If any > problems, please let me know. yeah, I see the problem now. Thanks for the fix and sorry to have caused additional work. Heiko