Received: by 10.223.148.5 with SMTP id 5csp7771040wrq; Thu, 18 Jan 2018 09:15:58 -0800 (PST) X-Google-Smtp-Source: ACJfBos/TBkKGtcU6dMJ9VotcsD4JpZDFsr1YlQwQSEiVhVYC50RtZhSFwhU16aZ8PrZ7jHhkC6Q X-Received: by 10.101.81.7 with SMTP id f7mr15868858pgq.451.1516295758148; Thu, 18 Jan 2018 09:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516295758; cv=none; d=google.com; s=arc-20160816; b=k3t5Z1tspVAAug+vYcRRQ2ZgaXVhTR6fzRYjbdiIOsAk3Jy8Ok8nbVxw8yq7Fx5S/1 a17oQe/C6jDg0ntdQ1110kw674BHMhVjKot7oYBoiab43eQMuGk5YqSJvAGGOKYY5Nco QjGbh0gtRmTJ9eVT3EGjMdghKw5ZB55vsjO5wVDd8QtawcTDmoLDFgoD4EcDoY8QRj3l bB/JTn1M6nUP4QV0p0nKADDQslhhP4iRVtCfmQlIT8cGCY0XiZ9++buFlrZssIZC54HF +n9LTwUvfrhP7htvukbAC0ZENJZ/7XRPlNl5EkrQJd9DYR157evGRN9Q59NoM1dwqB/g E4aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:cc:to:subject:from :date:arc-authentication-results; bh=CHKX9tM6Q5uiVsvfE4XvKxlKuM63tE/8RB19Vn6qhbs=; b=ojmnF5aiwukgG/N1F97FlymG9tchrE6lGXr/uPF28e67pdp0VflFDabLFFOALWAILC 8zPikFQzWXDmxK2Tg29fh7LarsrD+ZwMV62z92S+QZGZJ300xdczbDyVIJC9kc4R3Y/i TaxYwJ2AnaF9KDCWwrBcG6Px9IqFmgn1Od/9xyKSS/74I0q+N5qFeSGtUWOCewY4AzUi 3cqvSAW9k3rAgkgcA7nLs6rK7M7iRLhlIApW5m8yoaG5KcNxX0KW4YcYapFy1nwStw38 ne9yhBeO6TylWRVO6kl8in0eWSmZEJon8tX3Vp+dSWlktPrFz1O8OwuXjvid8l92UZT+ bPeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=szTZbmvu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si6528550pgn.343.2018.01.18.09.15.43; Thu, 18 Jan 2018 09:15:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=szTZbmvu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755189AbeARROr (ORCPT + 99 others); Thu, 18 Jan 2018 12:14:47 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:35410 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754629AbeARROq (ORCPT ); Thu, 18 Jan 2018 12:14:46 -0500 Date: Thu, 18 Jan 2018 18:14:30 +0100 From: Paul Cercueil Subject: Re: [PATCH v7 11/14] MIPS: ingenic: Initial JZ4770 support To: James Hogan Cc: Ralf Baechle , Maarten ter Huurne , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Message-Id: <1516295670.1423.0@smtp.crapouillou.net> In-Reply-To: <20180117212853.GC27409@jhogan-linux.mipstec.com> References: <20180105182513.16248-2-paul@crapouillou.net> <20180116154804.21150-1-paul@crapouillou.net> <20180116154804.21150-12-paul@crapouillou.net> <20180117212853.GC27409@jhogan-linux.mipstec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1516295683; bh=CHKX9tM6Q5uiVsvfE4XvKxlKuM63tE/8RB19Vn6qhbs=; h=Date:From:Subject:To:Cc:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=szTZbmvuH/+i2pqoZ6LSk8ZcB1FoWYuy+Updi2lsXUFbLSQdPjL8kbfsMPwSkh7A/oyI70426YshqnFvC8jAGPuGdgfLh+znQjvKylrR+OF1DFqgM16BH/9kl3chmVFB3I9O2ncgwjhiqbEZ4C2/il/4fi95epWTZ2qHuVmTO+g= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, Le mer. 17 janv. 2018 =E0 22:28, James Hogan a=20 =E9crit : > On Tue, Jan 16, 2018 at 04:48:01PM +0100, Paul Cercueil wrote: >> Provide just enough bits (clocks, clocksource, uart) to allow a=20 >> kernel >> to boot on the JZ4770 SoC to a initramfs userspace. >>=20 >> Signed-off-by: Paul Cercueil >> Reviewed-by: PrasannaKumar Muralidharan >=20 >=20 >> diff --git a/arch/mips/jz4740/time.c b/arch/mips/jz4740/time.c >> index bb1ad5119da4..2ca9160f642a 100644 >> --- a/arch/mips/jz4740/time.c >> +++ b/arch/mips/jz4740/time.c >> @@ -113,7 +113,7 @@ static struct clock_event_device=20 >> jz4740_clockevent =3D { >> #ifdef CONFIG_MACH_JZ4740 >> .irq =3D JZ4740_IRQ_TCU0, >> #endif >> -#ifdef CONFIG_MACH_JZ4780 >> +#if defined(CONFIG_MACH_JZ4770) || defined(CONFIG_MACH_JZ4780) >> .irq =3D JZ4780_IRQ_TCU2, >> #endif >> }; >> -- >> 2.11.0 >>=20 >=20 > MACH_INGENIC selects SYS_SUPPORTS_ZBOOT_UART16550, so I wonder whether > arch/mips/boot/compressed/uart-16550.c needs updating for JZ4770 like > commit ba9e72c2290f ("MIPS: Fix build with DEBUG_ZBOOT and=20 > MACH_JZ4780") > does for JZ4780. >=20 > Otherwise the non-DT bits look reasonable (I've not really looked > properly at the DT): > Reviewed-by: James Hogan >=20 > Cheers > James I will fix it in a separate patch, if you don't mind. -Paul =