Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2367125ybg; Sat, 19 Oct 2019 13:45:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqztSG/NUx2wUYy2DbGVruiBOXqAziHlHQ2ePB+tKMkcllEjfxD4QPMKOuLkOFPQdkfe/PHG X-Received: by 2002:aa7:c959:: with SMTP id h25mr16727701edt.216.1571517932516; Sat, 19 Oct 2019 13:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571517932; cv=none; d=google.com; s=arc-20160816; b=H22V181XbDUer0WnVTLhMzkIuvl4P9hLIfqBnCDEosEOY7K13Gi5cK1M6xSztcsjZL 1r56GynU8HfH135P866kdNTaD/E+cEDE2E722kgEcF9d9LS+ZM+NENaOzqrZKZtG7hg9 c66QAlm40mA4ve+0Wt7/bFCrdtqLttDkp5QHV4PQKG2MMuyXNUl4caxSvUdjYCF5SpRv gPnUJJs9HqyhKyUONpYvFIEkSeToWPOeu+hPjW037q47MhWCLrq1p2U1y6EKLP8VENXv 2DsO9k15xO4+bNgvmP0CthUneQiMx7MmQe6Uc6UJGYEdwt/dsnqiL2JorJbKpLni95/n 483g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :subject:message-id:mime-version:to:cc:date:from:in-reply-to; bh=XzvaxuzR3iD21xo/d16rdhhxu4b/FI9nzHowqnQ8DiI=; b=J3SIzomMYbzqPI/73DJda64HqpSM7s3FjvMuGDlXn31ifd8XchwKE3SPAliHvGLeo9 Sx+WsgH3mVkUBO7vjNRNf0ImVs/3HYTtsOgp7liTqam2xIOaUVRmqHr/TaSB6ak0/IeC UfJ5h5ThI6xArdvBPMKdLIQ52dwFg+nWb3R44dlO8XlomZ+galYElCvwzoufhD9e+km6 pUc7SD3fS2Ptykk6VSp4LuJg5qxCDdQ7OlHQO6YS6z46j/i6e1ZDwM4DCHF1hhS0BykH Jjn24Hm5e2YHsdX+qgAp0GoRQB6ZfOesDvJo4aPjs/xFVQLHlVyQVh/tE+BkOr3KNZQR O/+A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si5950523ejn.18.2019.10.19.13.45.08; Sat, 19 Oct 2019 13:45:32 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726316AbfJSUom convert rfc822-to-8bit (ORCPT + 99 others); Sat, 19 Oct 2019 16:44:42 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49748 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726136AbfJSUol (ORCPT ); Sat, 19 Oct 2019 16:44:41 -0400 Received: from turkeyburger.collabora.co.uk (turkeyburger.collabora.co.uk [46.235.227.230]) by bhuna.collabora.co.uk (Postfix) with ESMTP id C2434263BB2; Sat, 19 Oct 2019 21:44:38 +0100 (BST) Content-Type: text/plain; charset="utf-8" In-Reply-To: <5DA9EE2F.4030603@zoho.com> From: "Ezequiel Garcia" X-Forward: 81.67.116.94 Date: Sat, 19 Oct 2019 21:44:38 +0100 Cc: "Ulf Hansson" , "Paul Cercueil" , linux-mips@vger.kernel.org, "Linux Kernel Mailing List" , =?utf-8?q?linux-mmc=40vger=2Ekernel=2Eorg?= , "DTML" , "Rob Herring" , "Paul Burton" , "Mark Rutland" , syq@debian.org, "Linus Walleij" , armijn@tjaldur.nl, "Thomas Gleixner" , "YueHaibing" , "Mathieu Malaterre" To: "Zhou Yanjie" MIME-Version: 1.0 Message-ID: <47f6-5dab7580-33-5680128@176712317> Subject: =?utf-8?q?Re=3A?==?utf-8?q?_=5BPATCH?==?utf-8?q?_6=2F6?==?utf-8?q?_v2=5D?= =?utf-8?q?_MMC=3A?==?utf-8?q?_JZ4740=3A?= Add support for =?utf-8?q?LPM=2E?= User-Agent: SOGoMail 4.0.7 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, October 18, 2019 13:54 -03, Zhou Yanjie wrote: > > > > > I also have a general question. Should we perhaps rename the driver > > from jz4740_mmc.c to ingenic.c (and the file for the DT bindings, the > > Kconfig, etc), as that seems like a more appropriate name? No? > > I am very much in favor of this proposal. Now jz4740_mmc.c is not only used > for the JZ4740 processor, it is also used for JZ4725, JZ4760, JZ4770, JZ4780 > and X1000, and now Ingenic's processor is no longer named after JZ47xx, > it is divided into three product lines: M, T, and X. It is easy to cause > some > misunderstandings by using jz4740_mmc.c. At the same time, I think that > some register names also need to be adjusted. For example, the STLPPL > register name has only appeared in JZ4730 and JZ4740, and this register > in all subsequent processors is called CTRL. This time I was confused by > the STLPPL when I added drivers for the JZ4760's and X1000's LPM. > I am very much against renamings, for several reasons. As Paul already mentioned, it's pointless and just adds noise to the git-log, making history harder to recover. Driver file names don't really have to reflect the device exactly. For the compatibility list, it's far easier to just git-grep for compatible strings, or git-grep Documentation and/or Kconfig. Renaming macros and register names, is equally pointless and equally git-history invasive. Simply adding some documentation is enough. Thanks, Ezequiel