Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp848011pxj; Wed, 2 Jun 2021 13:05:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0n9HISX86SUzUmETh75/Qj/fsDiU6BkwPjeej0V+A1Mv5MPybzN0Pr7gmJxqyZDMeSjGD X-Received: by 2002:a17:906:2a8e:: with SMTP id l14mr22809876eje.549.1622664346759; Wed, 02 Jun 2021 13:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622664346; cv=none; d=google.com; s=arc-20160816; b=XMAIFEVBmaHL1V48G/1fpdC30FWJvphn58MPVd0uplzgwe2ouYWT4XJCq20HsDukq7 rvdtUszTPuq3oG6lq3K5ciHWgBmQWsrzTp7HISJvdLsEeYBgbtAquihvQ1yKWDOyQTu+ 5PLUMeQEzzx4EH2j9XblNsDAa7Zh2snkHifotEfg2qzqm7jiYZ4sQGJclgXb8Fmc85gm g0+6bJ2jScRWcxMnsLrfK8pjrwj+Kk9iV/gg1LE+iHV+h0YdEZaDzYsMN94nkzimUiB3 TViVTvo7yPND4Xe/2/hVVMHSkJMUco0+iLoxABhkno9xjBgyKwDtZiUqfVLgTG6gOkh3 6Ong== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=uiSY2nPfub1TorMuwMxTsRCZaabvu7VFakvdKWWqHMg=; b=neOrvTJhiK4EHroqx5OLWaAKyaJ/1L74/Ln3DmaVQqrmUa+pKFSSjDaqMvvoxkRlOs k0efisTeDlO0WcppQosArJpTggnD5oT/NRFr15s0lMIH1RWq5opKjTm1vfNAmz/Y67AM SDccnrhZeJUOj0nrLbd+LRu9hpDtXYOjzqH1TZAYQKo8V4yq/W6B9LrF9MqLwyredMGW E2qZI7guGedl6tvYQNxTHGFwcDsCKtwhfcsa/IyyUeyy+5+HvyzzoANAlBf8XQoO+MTf t1/TyGvP3TNvrmZoT5D8nLqCBNJqSWJWyB2iGf5yzELBUDxkYAUY0QjnsahsgR9lX3M8 Hq4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="SZLt/O87"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt15si532256ejc.140.2021.06.02.13.05.23; Wed, 02 Jun 2021 13:05:46 -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=@mg.codeaurora.org header.s=smtp header.b="SZLt/O87"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229657AbhFBUD7 (ORCPT + 99 others); Wed, 2 Jun 2021 16:03:59 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:31196 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229467AbhFBUD5 (ORCPT ); Wed, 2 Jun 2021 16:03:57 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1622664134; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=uiSY2nPfub1TorMuwMxTsRCZaabvu7VFakvdKWWqHMg=; b=SZLt/O87LuqyAq1HpR8ZbGjxyvpqHlYSkZ+gInS+eE7aX4J38+qvjRF9hdPNlYuRbQdWWe1F vEW0cnUbZoxG24fCRfc1o9aZWpkDL9MrNwRe3iRtnRTlLBaWOWs2IvJafc8zGd3k3vpnUUYG hWe0pgt28lLmYYIMRJCCHN9E7NE= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 60b7e3c481efe91cda8c2125 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 02 Jun 2021 20:02:12 GMT Sender: rajeevny=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id AC119C43460; Wed, 2 Jun 2021 20:02:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rajeevny) by smtp.codeaurora.org (Postfix) with ESMTPSA id 811C1C433D3; Wed, 2 Jun 2021 20:02:09 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 03 Jun 2021 01:32:09 +0530 From: rajeevny@codeaurora.org To: Rob Herring Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sean@poorly.run, robdclark@gmail.com, abhinavk@codeaurora.org, kalyan_t@codeaurora.org, mkrishn@codeaurora.org, jonathan@marek.ca Subject: Re: [v1 1/3] dt-bindings: msm/dsi: Add yaml schema for 7nm DSI PHY In-Reply-To: <20210601205848.GA1025498@robh.at.kernel.org> References: <1622468035-8453-1-git-send-email-rajeevny@codeaurora.org> <1622468035-8453-2-git-send-email-rajeevny@codeaurora.org> <20210601205848.GA1025498@robh.at.kernel.org> Message-ID: X-Sender: rajeevny@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02-06-2021 02:28, Rob Herring wrote: > On Mon, May 31, 2021 at 07:03:53PM +0530, Rajeev Nandan wrote: >> + >> +properties: >> + compatible: >> + oneOf: >> + - const: qcom,dsi-phy-7nm > > When would one use this? This is for SM8250. > >> + - const: qcom,dsi-phy-7nm-7280 >> + - const: qcom,dsi-phy-7nm-8150 > > These don't look like full SoC names (sm8150?) and it's > ,-. Thanks, Rob, for the review. I just took the `compatible` property currently used in the DSI PHY driver (drivers/gpu/drm/msm/dsi/phy/dsi_phy.c), and added a new entry for sc7280. A similar pattern of `compatible` names are used in other variants of the DSI PHY driver e.g. qcom,qcom,dsi-phy-10nm-8998, qcom,dsi-phy-14nm-660 etc. The existing compatible names "qcom,dsi-phy-7nm-8150" (SoC at the end) make some sense, if we look at the organization of the dsi phy driver code. I am new to this and don't know the reason behind the current code organization and this naming. Yes, I agree with you, we should use full SoC names. Adding the SoC name at the end does not feel very convincing, so I will change this to the suggested format e.g. "qcom,sm8250-dsi-phy-7nm", and will rename the occurrences in the driver and device tree accordingly. Do I need to make changes for 10nm, 14nm, 20nm, and 28nm DSI PHY too? Bindings doc for these PHYs recently got merged to msm-next [1] [1] https://gitlab.freedesktop.org/drm/msm/-/commit/8fc939e72ff80116c090aaf03952253a124d2a8e Thanks, Rajeev