Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2966709imm; Mon, 16 Jul 2018 18:26:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfTXLlBvgPfNKVQBb5jmOTJChtZqsTCINlYaTM2JX/5MdNiSa0ROg0OEiRbJqMT/skw+ujx X-Received: by 2002:a63:220d:: with SMTP id i13-v6mr17750931pgi.212.1531790799670; Mon, 16 Jul 2018 18:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531790799; cv=none; d=google.com; s=arc-20160816; b=SgtIh63qS1OeycrHA4Yw26yrabeEdOUKAICj4qJCmvQamUJX/JgwsJd1cK0nWVfN7J 0SPbttwZ7D1s4AO6lEHFt/5tPtpJ14Ezr6xmeAG5cFYJ+Y/MzAlAHKJef8bnQt4t0y53 8Aw7udDh5xOGKcxSZrosWnSDP11DoH4YO7rNXZoWsuYtUYsKJvtEF5oohImUfCg5Zn2B 40iJmkkv/GDm4txA0jgqe7egrq5YmK6EgiSO13WcmJ1S46Ozn0EFcGx68g9ZbMPn560X SOCbdi+Xf8C1n4nhKHM2CGeGJpedtWldcF+38RHaAKNj9ClbIpAri0Cfb3Tk01x42tvd uJrA== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=w+1BzNGU7RviLyDYtoo0L0NZQBzypvJ2h+/K2fXpH0s=; b=ITE3kZO+vSbDSvE05MQaEi4UGUX5yhZFV43F9+DT1oTQdcJVHn52YmGchJ/qJl2+Dm T+VABuj9k/jK0vOlyrPICRmSw77SJ8rYbJUi9Q9fec9Vqr+py0igZ+cOC9PYV3kzwX8+ H5w5GftHGNj1nWSBN1D4zslMNn1QuWTQR54wKan7aI8UDbigxcbJdlDYLsC064IGQ2Lv u8TIGxKJvbMScQsdxKgKo6UzgXsAESMLYl4GKiCOvF71FE6ZiJDR9i3roCoIJZzAKxB2 B+4bMMH9a7+CPC7hD0jgHtHDnXTX0heTu0MGw8ELessmgYGRFEI0uflDsOraLH3hSQFq sZVg== 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 o84-v6si1788503pfa.15.2018.07.16.18.26.24; Mon, 16 Jul 2018 18:26:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731087AbeGQByh (ORCPT + 99 others); Mon, 16 Jul 2018 21:54:37 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:10031 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729913AbeGQByg (ORCPT ); Mon, 16 Jul 2018 21:54:36 -0400 Received: from [192.168.90.200] (10.18.20.235) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 17 Jul 2018 09:23:50 +0800 Subject: Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver To: Kevin Hilman , Jerome Brunet References: <1531134767-29927-1-git-send-email-jian.hu@amlogic.com> <1531134767-29927-4-git-send-email-jian.hu@amlogic.com> <1531216472.2708.71.camel@baylibre.com> <7hfu0jmhbe.fsf@baylibre.com> CC: , , Rob Herring , Neil Armstrong , Martin Blumenstingl , , , , , , , , , , , , From: Yixun Lan Message-ID: <7e1cce0b-fc86-b900-2019-a85c5e5ba2ae@amlogic.com> Date: Tue, 17 Jul 2018 09:24:02 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <7hfu0jmhbe.fsf@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.20.235] X-ClientProxiedBy: mail-sh2.amlogic.com (10.18.11.6) To mail-sh2.amlogic.com (10.18.11.6) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HI Kevin just want to clarify.. On 07/16/18 21:38, Kevin Hilman wrote: > Jerome Brunet writes: > >> On Tue, 2018-07-10 at 09:21 +0800, Yixun Lan wrote: >>> >>> On 07/10/18 05:53, Martin Blumenstingl wrote: >>>> On Mon, Jul 9, 2018 at 1:14 PM Jian Hu wrote: > > [...] > >>>>> + >>>>> +static const struct of_device_id clkc_match_table[] = { >>>>> + { .compatible = "amlogic,g12a-clkc" }, >>>> >>>> I wonder if that should be "amlogic,meson-g12a-clkc" (I know that AXG >>>> and GXBB/GXL/GXM omit the "meson-" prefix, but I am not sure if that's >>>> correct - I'll CC Rob Herring on the dt-bindings patch) >>>> >>> >>> we're fine with either way, since the g12a is recently new added SoC. >>> >>> but I guess those old compatibles which already exist won't be changed, >>> as it will break the DT >> >> Yes, I doubt we are going to change the compatibles. With or without the meson >> prefix, I suppose it going to stay that way. > > Correct, we will not change existing compatibles. Adding new ones for > clarity is fine though. > fine >> It is worth thinking about it for new drivers though. >> We already have the "amlogic,", so do we really to prefix even more with "meson- >> " >> >> Also, if we were really strict about that scheme, should meson8b compatible be >> >> "amlogic,meson-meson8b-foo-bar" ... the SoC is meson8b, not just 8b after all ? >> >> For the particular case of the clock controller, I don't care very much, as long >> as the compatible is coherent with documentation. >> >> I might have a preference for the current compatible ... just for consistency >> with the other clock controllers. > > In hindsight, I think using the "meson" prefix was a mistake. It's > redunant, IMO, but it's how we've been doing things for all the drivers, > except for drivers/clk, which, honestly, I hadn't even noticed until > now. > > As Jerome said, I think consistency is an important goal, so leaving off > the "meson-" for drivers/clk is fine with me. > ok > Also for consistency, for the rest of the drivers, keeping "meson-" is > probably the right thing to do. > ok, for the above, you are talking about the already exist compatible names? or the patches we will push in the future? > However, patches would be welcome to add compatibles without the "meson" > for the rest of the drivers & documentation as well, but please do not > remove any compatibles. > I assume you are talking about the patches in the future we will push? to drop the "meson". I'm confused here, as the above two paragraphs conflict with each other > Kevin > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic > > . >