Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4160084rwi; Mon, 17 Oct 2022 02:17:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/GS+9SieCwjWEz53cWFdypU/plMMQuiMjhnT6+HZc2tjOXWhNUdeGcidYoo7b9TpP7C/x X-Received: by 2002:a05:6a00:2446:b0:528:5f22:5b6f with SMTP id d6-20020a056a00244600b005285f225b6fmr11621433pfj.73.1665998232137; Mon, 17 Oct 2022 02:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665998232; cv=none; d=google.com; s=arc-20160816; b=Wxqh7JAmQDXDK2AZeKdIOhdBOMzxno7but0dDR3ybO4RQ3KwCmcconTM1Ig10D2TLM Q9fpGtffXsrwitOGrb52ykxHL6a8s2Kvg79RZmT7BGl18V6M0t7jQT+ftsd1qXTPvMBo 7tPzOWUYn20Yjj0GUrkXT49qxwFmdSD2f/MeD1zlvr34ZWCUd/za76+lIhWy6O9ckxRc WasYgBLuHyFtDR38UC4+Wi1FqQSqYzN0AkxIEeJXhRGeEvjlvFSk6mUD39xp3fwjmmLA iCAfCy+AsRddp8kUquP0dJE3sdYVAfZ6Zqm/IJtvChmS490RKUTayNrZF8nFPvvM7K9J sRgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=0bJfDcoOH2/Dfhg55MIWlaG3Eyh+d7rLyW2xeWWEQy8=; b=q5L+cEuQMr5EJ9h0gHgUZtZXW8aJUHr6y8X67NIkjySnHlimYaKlcAL1uha74ipdxx ujMI3z/x7bnL98Yk5Jkyn9qHvuNE+Q1sehhzX7yChgXXtjNcxTvo9Kvrr2wKCLBbkLd3 McAxQ9xMbuU8ZGZvr4CwwzcyBhp4nNY8fIVWIclH1OcgENLbYEi1GgXWRmQNLDxXfWyJ Y/y/tDwdG/L+Cedky6M9mvIZT9ILidV4QH7mYUskMgVaJ9mgElIChKx76S1a7SOByZu8 4/7YZpFqsyPYvCByk3slzCPV4fR6kgV/GsQooGgyYO2VU68yVCpm36UxbRl46NqSTnCc +quA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=CUek5BrH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t42-20020a056a0013aa00b005636b3f6ceesi11790966pfg.347.2022.10.17.02.16.58; Mon, 17 Oct 2022 02:17:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=CUek5BrH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230488AbiJQJKU (ORCPT + 99 others); Mon, 17 Oct 2022 05:10:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbiJQJKS (ORCPT ); Mon, 17 Oct 2022 05:10:18 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1AC622288; Mon, 17 Oct 2022 02:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1665997807; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0bJfDcoOH2/Dfhg55MIWlaG3Eyh+d7rLyW2xeWWEQy8=; b=CUek5BrHtkLHGNAQvqkzWSKqxJ7U/UHeNfTUWBi+2KPDpcLQJV2UQMEqP6wpPs5x/wdhv8 brK0Z8OAQUfv+oKnBeqFCY7bQL0XyVc8pRZ6M+ZClv4w/ulqmtg5geb87QYDgGcs62k2DR Bet/jnmj2kowe+zsoANpATl4nu1wdwQ= Date: Mon, 17 Oct 2022 10:09:56 +0100 From: Paul Cercueil Subject: Re: [PATCH v2 1/4] MIPS: ingenic: add new machine type MACH_JZ4755 To: Siarhei Volkau Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Thomas Bogendoerfer , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Message-Id: In-Reply-To: <20221016150110.3020451-2-lis8215@gmail.com> References: <20221016150110.3020451-1-lis8215@gmail.com> <20221016150110.3020451-2-lis8215@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Siarhei, Le dim., oct. 16 2022 at 18:01:06 +0300, Siarhei Volkau=20 a =E9crit : > which is close to jz4725b because it is actually a low price > successor of the jz4755. > It has the same MIPS32r1 core with Xburst(R) extension > MXU version 1 release 2. >=20 > Signed-off-by: Siarhei Volkau This patch doesn't really belong in the CGU patchset. It should go=20 through the MIPS tree. I see why you include it, but you do not need to have the MACH_JZ4755=20 symbol defined anywhere for the "default MACH_JZ4755" to work, it will=20 just default to false until the patchset that adds JZ4755 support is=20 merged in the MIPS tree. Cheers, -Paul > --- > arch/mips/ingenic/Kconfig | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/arch/mips/ingenic/Kconfig b/arch/mips/ingenic/Kconfig > index f595b339a..edd84cf13 100644 > --- a/arch/mips/ingenic/Kconfig > +++ b/arch/mips/ingenic/Kconfig > @@ -4,6 +4,7 @@ config MACH_INGENIC_GENERIC > bool > select MACH_INGENIC > select MACH_JZ4740 > + select MACH_JZ4755 > select MACH_JZ4725B > select MACH_JZ4770 > select MACH_JZ4780 > @@ -53,6 +54,10 @@ config MACH_JZ4740 > bool > select SYS_HAS_CPU_MIPS32_R1 >=20 > +config MACH_JZ4755 > + bool > + select SYS_HAS_CPU_MIPS32_R1 > + > config MACH_JZ4770 > bool > select MIPS_CPU_SCACHE > -- > 2.36.1 >=20