Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACB9EC742A7 for ; Thu, 9 Mar 2023 10:35:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229804AbjCIKfH (ORCPT ); Thu, 9 Mar 2023 05:35:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231299AbjCIKez (ORCPT ); Thu, 9 Mar 2023 05:34:55 -0500 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1035CA337B; Thu, 9 Mar 2023 02:34:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358067; cv=none; d=zohomail.com; s=zohoarc; b=OWpl8tvz0qnNpiG4Vs+J4Iu6UsRWaLvsmkni8KKQuT4infLkOEXMQIzFJdpv5TKppd1v7gAtf+g8AGcNRpxUM5ODfe2iQGhkUE6Z4EcHFf2hmwBIPo+byN9J2X8ct69Slf17YdzxrtgNczOygFMOkt6OgbOywD52mEiRzP5NvhU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678358067; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Mg4iT5L29dJa7AVQIwcXw9Gg2iG7ZPIvfRGXtutmKSE=; b=emZsj0DaXxwJxm0+A5FBl/c1bJ7BJ8Z7+TjisBaO35T5zLCXaPaj7OcVwT51c2vjyKE4EjinvCgcAWUDmfMsAmObw2lME82Mop8LjYwTpT69rgY4QMfJVZ+gQ8UbvJ1goypEv8OFrdHNWdjYnW7cNqx/ZMoZh66HMi4CdvFzbRI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1678358067; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=Mg4iT5L29dJa7AVQIwcXw9Gg2iG7ZPIvfRGXtutmKSE=; b=iPqCEhOlGpIA5S1VoIwq0w9pqGbd369vSTPpixmehcg+6H6xYgrKB3mVdPwInSDF ZFWa42Ij22TTk61dRDnKnA8x1gqx24tQgVO5ZaRXgALv87A85W9wnwl0DLeMPTCVj77 VnI2BO9GoNHfkRWXe0t9OAvY7QyTB53Ra46sEqbo= Received: from [10.10.125.234] (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1678358065042379.7623954106633; Thu, 9 Mar 2023 02:34:25 -0800 (PST) Message-ID: Date: Thu, 9 Mar 2023 13:34:18 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 09/20] dt-bindings: pinctrl: ralink: {mt7620,mt7621}: rename to mediatek To: Krzysztof Kozlowski , Rob Herring Cc: Linus Walleij , Krzysztof Kozlowski , linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sergio Paracuellos , Matthias Brugger , Sean Wang , William Dean , Daniel Golle , Daniel Santos , Luiz Angelo Daros de Luca , Frank Wunderlich , Landen Chao , DENG Qingfang , Sean Wang , erkin.bozoglu@xeront.com References: <20230303002850.51858-1-arinc.unal@arinc9.com> <20230303002850.51858-10-arinc.unal@arinc9.com> <20230308210514.GA3767521-robh@kernel.org> <12be053e-b70a-faca-71c8-d8eef69a3b73@arinc9.com> <9663817e-7f6f-c3b1-8bf9-321f9b067e96@linaro.org> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <9663817e-7f6f-c3b1-8bf9-321f9b067e96@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9.03.2023 12:52, Krzysztof Kozlowski wrote: > On 09/03/2023 08:53, Arınç ÜNAL wrote: >> On 9.03.2023 00:19, Arınç ÜNAL wrote: >>> On 9.03.2023 00:05, Rob Herring wrote: >>>> On Fri, Mar 03, 2023 at 03:28:38AM +0300, arinc9.unal@gmail.com wrote: >>>>> From: Arınç ÜNAL >>>>> >>>>> This platform from Ralink was acquired by MediaTek in 2011. Then, >>>>> MediaTek >>>>> introduced these SoCs which utilise this platform. Rename the schemas to >>>>> mediatek to address the incorrect naming. >>>> >>>> I said we don't do renames due to acquistions, you said that wasn't the >>>> reason, but then that's your reasoning here. >>> >>> It's not a marketing/acquistion rename as the name of these SoCs were >>> wrong from the get go. The information on the first sentence is to give >>> the idea of why these SoCs were wrongfully named as the base platform >>> that these new MediaTek SoCs share code with was called Ralink. >>> >>>> >>>> To give you another example, *new* i.MX things are still called >>>> 'fsl,imx...' and it has been how many years since merging with NXP? >>> >>> Ok this is a point I see now. Though, I fail to see how this is called >>> renaming when there's only new SoCs (from NXP in this case) to be added. >> >> If I understand correctly, i.MX is a family from Freescale so the name > > It's the same "family" as your platform, because as you said: > "introduced these SoCs which utilise this platform" > >> was kept the same on new SoC releases from NXP. I believe it's different >> in this case here. There's no family name. The closest thing on the name >> of the SoC model is, it's RT for Ralink, MT for MediaTek. > > It's not about the name. NXP took Freescale platform and since many > years makes entirely new products, currently far, far away from original > platform. > > That's the same case you have here - Mediatek took existing platform and > started making new products with it. > >> >> On top of that, mediatek strings already exist for MT SoCs already, at >> least for MT7621. >> >> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/Documentation/devicetree/bindings/mips/ralink.yaml?id=dd3cb467ebb5659d6552999d6f16a616653f9933#n83 > > NXP also has compatibles with nxp, thus still not that good reason. Ok, makes sense. Am I free to call the SoCs MediaTek, change the schema name from ralink,mtXXXX-pinctrl.yaml to mediatek,mtXXXX-pinctrl.yaml whilst keeping the compatible string ralink? I plan to do some cleanup on ralink.yaml as well. From what I understand, I should change the mediatek,mt7621-soc compatible string to ralink,mt7621-soc? Arınç