Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966444AbbBDQdE (ORCPT ); Wed, 4 Feb 2015 11:33:04 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:63580 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755671AbbBDQdA (ORCPT ); Wed, 4 Feb 2015 11:33:00 -0500 From: Arnd Bergmann To: Zubair Lutfullah Kakakhel Cc: linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, mturquette@linaro.org, sboyd@codeaurora.org, ralf@linux-mips.org, jslaby@suse.cz, tglx@linutronix.de, jason@lakedaemon.net, lars@metafoo.de, paul.burton@imgtec.com Subject: Re: [PATCH_V2 27/34] MIPS: jz4740: use jz47xx-uart & DT for UART output Date: Wed, 04 Feb 2015 17:32:51 +0100 Message-ID: <3911455.CfbmuRjhZB@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1423063323-19419-28-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1423063323-19419-28-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:1XNQxpiNmzSNJE5FN7hf2PLxH/8ws5aAZglpImnK6uzHkDZEL+3 eJnuwwJCTdi7PaO6aZz9l7uAoc9iE2ciWp3IlCZmYKsZ1dgtHa3li4EJvTgdxbA+uMZYWFn LgSADI0SAopM04H41N24vM/G6fBDGUs+A3VEaAB2pkgZpq2jK89nn9cVzRJmpA2YmmbDizz NSLbiLD0W0uswZoLM+i3Q== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 18 On Wednesday 04 February 2015 15:21:56 Zubair Lutfullah Kakakhel wrote: > +#ifndef __JZ4740_SERIAL_H__ > +#define __JZ4740_SERIAL_H__ > + > +#define BASE_BAUD (12000000 / 16) > + > +#endif /* __JZ4740_SERIAL_H__ */ > This looks wrong: You should not need to hardcode this number when you can get it from DT. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/