Received: by 10.223.148.5 with SMTP id 5csp6420201wrq; Wed, 17 Jan 2018 13:30:29 -0800 (PST) X-Google-Smtp-Source: ACJfBosvkdPBV9jd8apLVCdlYiNnhd2T80EbxdxOV6IMSrdMZwMkDGa2BpLbQEaLuFmkd8rlZAAI X-Received: by 10.159.211.67 with SMTP id g3mr362195plp.319.1516224629767; Wed, 17 Jan 2018 13:30:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516224629; cv=none; d=google.com; s=arc-20160816; b=SxPZUiz5nOhtHXTp1yc2MWzXmlj0XKjNnM9ndzTuEZrZxqDB5uvt1/vHB0HU958xGg UzwZDvaE16ZIcNgI1cEOEZKoCa7TwcNKww+I2WtFpbVL73s7HtzZaSM2icM7F31rbJGj v3yzaBqJrC16HUpgYtfxwyR6DQWHsnLtwbD0MBN5QCr4H2LmbaExEvFiEcOfBzPhJtwL foTj9ZT3qqPk2Z57t0UDqQLiP7vzGnAUPEGO542wvv77j/56e1uK73FtkHMNOmTfi/ak QwG5kvonvBHWiyFdWaE0sLAKgsjiCDYLrfpTpzGAckZN9aq4OivM17qfYKmIemA3ul+a +B5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=6NZaiSePJjtxmTqgUTOpX3Xh25yXuxEypnYl1HFetYk=; b=YBVWgagvDRyPz76tJ5tgppCTjahfQRxGSxDXgsSlu/NN4avUevDlHigJeltKEk9obw 1LOgSiW3PIjSCabcgMUgYnD088qSx7uEzgLn8AV+vFu7zcusWivfdGunFRTOcTekkjak nwIfpHKx1Z4rVJIm6zmK2KrSnH5ybbSKnp2TKCNDLDTxgVvRTjV8ND6HwbTEUYbPJSLC q/AMgq00kSYnJz0hO/6+vudHZiUk6ZdrNT+SJ6hvYpNpvan1TrwAj5C5cs1a+igkXXPK 4cbYAZGeGaENuQkFQbcVJwd0G7VBB3Fnh9hFdTBvdwDh4yWb32GAJ+/5ivJvRSEM+Z6p HhKA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a89si5066716pla.153.2018.01.17.13.30.15; Wed, 17 Jan 2018 13:30:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753223AbeAQV3u (ORCPT + 99 others); Wed, 17 Jan 2018 16:29:50 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.154.210]:44508 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbeAQV3o (ORCPT ); Wed, 17 Jan 2018 16:29:44 -0500 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx1412.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Wed, 17 Jan 2018 21:29:13 +0000 Received: from localhost (192.168.154.110) by MIPSMAIL01.mipstec.com (10.20.43.31) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 17 Jan 2018 13:28:56 -0800 Date: Wed, 17 Jan 2018 21:28:54 +0000 From: James Hogan To: Paul Cercueil CC: Ralf Baechle , Maarten ter Huurne , , Subject: Re: [PATCH v7 11/14] MIPS: ingenic: Initial JZ4770 support Message-ID: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Re7H+V5lQR2Zv/pu" Content-Disposition: inline In-Reply-To: <20180116154804.21150-12-paul@crapouillou.net> User-Agent: Mutt/1.7.2 (2016-11-26) X-Originating-IP: [192.168.154.110] X-BESS-ID: 1516224551-452060-3081-13852-9 X-BESS-VER: 2017.17.1-r1801152154 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.189085 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Re7H+V5lQR2Zv/pu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 16, 2018 at 04:48:01PM +0100, Paul Cercueil wrote: > Provide just enough bits (clocks, clocksource, uart) to allow a kernel > to boot on the JZ4770 SoC to a initramfs userspace. >=20 > Signed-off-by: Paul Cercueil > Reviewed-by: PrasannaKumar Muralidharan > 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 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 > }; > --=20 > 2.11.0 >=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 MACH_JZ4780") does for JZ4780. Otherwise the non-DT bits look reasonable (I've not really looked properly at the DT): Reviewed-by: James Hogan Cheers James --Re7H+V5lQR2Zv/pu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlpfwBUACgkQbAtpk944 dnrtoBAAg2K7uXd4aklg9Vo7PmWMQjAyhi92pU1aAQv3a8ld7l2HCKorKi0+YoxA Ads5snHaNf4jl07yVhyWzM1AzLu2crOS1nat3FNSypX8wUtL2Y/4FNsYJq3rE3lX 0FW8boVkzKWUcyq3i/VMEkxyzs4azMhqzUgfAc4Fk1tQoa4uUsGL+QCwXE+sMQ87 E3Mv7Xf7u+L/sg5AGs/Eu/ITDboBlBlik70qUWMF/HsFYK0ZIDZyCCfwotn8i2K1 8dS1wGp05fpjlsti3zGPqfacrLkA6Bx0yekH/JiOCpuwz5VBoQSFiUZV6kWdwM74 q1RJ0AjyXg39krrYhSf5OOWT07hBGdfpaJOEjc1Uwi13jnjNHDP2o5EsLto7tHJu zTecpIUg/LCF7xGHxJEck0nliP0GA7STYZep0IPrt0D9o1V3691G0gL2RZ8rxYEn lzv/824u89iidziOK5CV5lOP5LtzRB9GjJmKx85qa/r4M4Gx9w5srOEFGtQ1dSF+ ZtBaawJ0tOKC1Ngl+eAdXjGcegjYieyO8LXpgi1NT+lvvpqRLf+vY1XK9b9LBXhG /JoBIYCb9mnSLACRtFoGi37qIu8+I0rkCRdmXeavZ2bW1Zu3tvFgz9Cc45talnj5 EqKE7beELzz0yiVrQbzz2ttobKUJDvmZ2PT3h74rjtd7Puu4W18= =A6KW -----END PGP SIGNATURE----- --Re7H+V5lQR2Zv/pu--