Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp517310pxa; Fri, 21 Aug 2020 13:15:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze4LlX8lEOb89wm2CVbNs18Q74Silk2IpCNDe6SCmpPG5/CGVb/FQ6ySs0hqRKWkbBCrZS X-Received: by 2002:a05:6402:6da:: with SMTP id n26mr4671823edy.262.1598040917972; Fri, 21 Aug 2020 13:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598040917; cv=none; d=google.com; s=arc-20160816; b=bGHs350FWLl68dDZX1NfSsQGpEloute59TuxH9sci5vJgLbfUwZGqd4nRubvZ1ynIk j7T1O8u2ZZKWX5N/o7t4ZQlJ17F6B83TwrH3jCgqhh1F5mxzlQm9woSdUra4YIszWBQI nB77T/ur6FyyhsPsd7naA2iZgY/ibnLAszUfGMqdFgv5Dp61gFaGqiFUgd1/qyb/BlpU SpogCymBXPWY9xKNpmMM9mngt+IXKvvRwVWrfAAlpVlc91HWh6dnGicGPRIBzaDaJ/iB pDCTTBqpQyYNa/mdWclpJZUwWoJjLIxYVoPtHEDfsz0SOFLH7ZKAhnjMpKEQ+csTdQjP QuMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/qU809CtNTXkjajhW2wh13M18DwibA6ul0FCeVgUG8A=; b=bpes6YDaBufSsu1bPO5WNxI0kAaNCALFKvqmZdvbJbf0HzwdeRVnB5SjzmpbWRt4cH oYOlxC+YUJL5obbQmjSYppwnghLwOtsM4MrQH4bhFxrHXfhinn8aHkNyRComjH4qbnbl zi5biDSWvVFokINVrl8BhUp9WrvJzHg66DEKx4vq0zD1TOV84BR2Z95x2Q0k5zBW8oxM muccceCY4mF7oeY9DJ5FsytrEQUU1AdETv+eayQldS+PyzWSdtjFO8Dox7cPfVyHF2H9 bNn/ltYlhRjhV+eCdaS6MkTuZjh6wVz6Pv4k0ANPySY/c9FkAeMIm37c8dPizRzTQA7t DEcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uNZJcPBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si1903470ejd.544.2020.08.21.13.14.54; Fri, 21 Aug 2020 13:15:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uNZJcPBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbgHUUMW (ORCPT + 99 others); Fri, 21 Aug 2020 16:12:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbgHUUMT (ORCPT ); Fri, 21 Aug 2020 16:12:19 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B05C6C061573 for ; Fri, 21 Aug 2020 13:12:19 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id k4so2583816oik.2 for ; Fri, 21 Aug 2020 13:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/qU809CtNTXkjajhW2wh13M18DwibA6ul0FCeVgUG8A=; b=uNZJcPBuLQI6ASFZUw8QkZ9k3ruDXi+NR0Kt7euvSfH4mOkI5/9P8eZwp0n3pWGIA2 BJ4j8yy0xBhrOtnOZFZLMc7a8rXqPwypZyipI8fq6RvAnmAgwpFzG81/j/WOGXKiGiPo 8VAAvITRLMHZv00OrfzzKV4vVj3SWkldqmfvMNhMXywEZI2IPy/6TmMblhy2pRgEfzgz yFCi2m/o0WvrnQqp8VkEwh/4O4HMWoET8SG+sn0fYfLw24j101w3Sjs9gBVrCR3pZ9Dm STC2SEsoODBbxumcSiZ4huToeiteGnz0EWJmsz9eJevZQlzg1H+uKLuUeJotQ86iS3yf yOeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/qU809CtNTXkjajhW2wh13M18DwibA6ul0FCeVgUG8A=; b=EyWi6D+U0ZB58CROLbsmsglxGCdFFQkBH9OjSA2BxGjJizRdFyLJHJrtYd3ybiFjdo kF2bG0S4BNpAby/YTKonlNg5hJ+3/8W9FSSox3u56hvlBw5W6ireHQnMzLuEg6GIihiD 6kl9hM+ra6xrU8NmiSUzC/x4rSpSMaTohb1XtsJ68wfUHgkhy/ctD76vmK/p4ytod6yC nxBDaOIJoXSOCbQIyajfhvOrvOjeMtgZG4ve+m+czd0EY26TLr2nZdUEIXIcrCJq3+sU q1MwPbEavQfNMGk1/PvcTp6pLUfkplHwQw785r53WOqTWpBpMWcj0tlLVG7uZaHkMuJt eaGA== X-Gm-Message-State: AOAM532JjzIRo0mB9DhMs612bRruodYHVS+EGatzLfCVgzYYi0TndVfW D+qV5LHuFMOpOIyv/mMoomYmK4/fZS1GZ/Jgk8jQPA== X-Received: by 2002:aca:1c15:: with SMTP id c21mr2982966oic.10.1598040738933; Fri, 21 Aug 2020 13:12:18 -0700 (PDT) MIME-Version: 1.0 References: <9fa944021373ec5b82c2c1e118c15d9effe7f964.1597833138.git.mchehab+huawei@kernel.org> <20200820102332.7223d38d@coco.lan> In-Reply-To: <20200820102332.7223d38d@coco.lan> From: John Stultz Date: Fri, 21 Aug 2020 13:12:06 -0700 Message-ID: Subject: Re: [PATCH 25/49] staging: hikey9xx/gpu: do some code cleanups To: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman , linuxarm@huawei.com, mauro.chehab@huawei.com, Manivannan Sadhasivam , Daniel Vetter , dri-devel , Xiubin Zhang , Liwei Cai , Chen Feng , driverdevel , lkml , Rob Herring Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 20, 2020 at 1:23 AM Mauro Carvalho Chehab wrote: > > (added c/c Rob Herring) > > Em Wed, 19 Aug 2020 18:53:06 -0700 > John Stultz escreveu: > > > On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab > > wrote: > > > @@ -376,7 +355,7 @@ static int kirin_drm_platform_resume(struct platform_device *pdev) > > > } > > > > > > static const struct of_device_id kirin_drm_dt_ids[] = { > > > - { .compatible = "hisilicon,hi3660-dpe", > > > + { .compatible = "hisilicon,kirin960-dpe", > > > > > > One issue, elsewhere in your patch stack you still refer to the > > hisilicon,hi3660-dpe compatible string. This should probably be > > consistent one way or the other. > > Agreed with regards to consistency. > > It sounds to me that calling those as Kirin 9xx (and the previous one > as Kirin 620) is better than using the part number. > > Here, googling for "Kirin 970" gave about 6.9 million hits, while "Hi3670" > gave only 75,5K hits. > > Kirin 620 has similar results: 6.85 million hits, against 61,9 hits > for "Hi3620". Hi6620 is kirin 620 I believe. > With "Kirin 960", the numbers are a lot higher: had 21,4 million hits, > against 423K hits for "Hi3660". > > So, my preference is to use "Kirin 620, 960 and 970" for future changes. I think traditionally the DTS is developed with the hardware documentation sometimes before the SoC is announced, so they tend to stick with whatever those documents call it, rather than (later more google-able) marketing names. That said, I don't have a preference, as long as it's consistent, and we don't change compatible strings that are already upstream. > I would love to make this consistent among the Kernel. However, > I'm not sure if changing "compatible" would be acceptable > by DT maintainers. > Existing bindings are already ABI. So we can't change those. New bindings can be set to what makes the most sense. thanks -john