Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1291777pxj; Fri, 4 Jun 2021 10:30:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1eY970pIbADRGrYcoVN+2V+vJvvo4eEHFo97neAVdbpzjCVqQfZAGNKPxJebIxo3y2uCS X-Received: by 2002:a17:906:6712:: with SMTP id a18mr2606036ejp.334.1622827855644; Fri, 04 Jun 2021 10:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622827855; cv=none; d=google.com; s=arc-20160816; b=h0tKILM1cMqVf5/x68H776TISmiz4o9DMJS+LvMZgt0sY1eCRkauvPPaPAlQDM3VOV tv2mDTkTAEZvlfqLLG6lli1eoLYTcnj8SKy9Dy6WKXmNyaXwIGgQGwq7qfMR34pixTCb CrbXuSXW3SJpj4KAMh2Xe+rqCfQyP80qBtO7cB6r0yzZ5wuw5lkMx3dehbAg3+7CgDy4 pQSIcEcYJJHgZ9mv9+Z5itwztBzMP51NAIvVGy4Boawy5wxD4icx82RTkbsuX7/5wicl KHz1p8p2D1XPxmFfFdV/MgNLS1X4yvDIPdv/XklI0p5L6T9v3fTxtVRVKOSLKqFDionp Lbcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=W7q2U9QT7qAxj7hf+II4Z/nhms5EfM2onq31L99Ku2U=; b=doPbcjlbTsS7gNJ9hRN0DDior7tIo3m056z1YAOUqlfHF1C3ZGbG6pPjpcU3WYmmr4 3KduDAH0wAH8KG9FKVa+kzrWk8g/0lzTLd71dohitZq+f6dm3waCkvZhJN2C604vfDEu Ggvl5iFjbWBtRIIiKCF0WWGVk3fXnSrdKViyy+SWGUm/bCMcKSSp2/tlR3ioyqcdxup0 xNi9ad7MFDFVd+vtypdhR7YUX8vCFOJ88gN5SlDraRLMyh76mox3QgeolodNr8b6j+nY eA8Nxh4Uw5Y/Lt6NTf0zCFJ/ZNCBqTAMj1BEuSH/cxDofoGZkeys3J/itpOEmTh+CENM JKiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=knyEhL7Q; 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 w11si6582149ede.2.2021.06.04.10.30.32; Fri, 04 Jun 2021 10:30:55 -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=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=knyEhL7Q; 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 S231363AbhFDRaX (ORCPT + 99 others); Fri, 4 Jun 2021 13:30:23 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:33344 "EHLO mail-qt1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231352AbhFDRaX (ORCPT ); Fri, 4 Jun 2021 13:30:23 -0400 Received: by mail-qt1-f176.google.com with SMTP id a15so7607143qta.0 for ; Fri, 04 Jun 2021 10:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=W7q2U9QT7qAxj7hf+II4Z/nhms5EfM2onq31L99Ku2U=; b=knyEhL7QEI32EeLzI2KT4Dljnurd8LSBl3eY1jsnandqQeKWQkPZUAoZo33Ipg4z6i ebwNIk8PHzjI6iPgnKWu11xSJ7F8p2e1g4Ij1mMqWez1t91NnabPspncr395HhfNwHtT XC3F3nkkrdCmEg76mV5KLl7EfwTEHmszTUNvOB7m+zA8CdMGorb7cs0OF0da1HKyrZAc 1/DVPkDnzn8KURWaYRlGNmlR8yNW1vy9Z+bnYexUzg5EymMymjArwtCVSzi+ETjbmrLA NTXzipMQwxfXaZ8LqfiQ4TiM1rat14suhnFWwRgBiFbHi7rnenPJD/Q1GOUWkVp8kaei tIBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=W7q2U9QT7qAxj7hf+II4Z/nhms5EfM2onq31L99Ku2U=; b=aTtvVIkG1HcUjrvYydUSYsgi36HZsXhuWYnT2lGtjgGzBs7AohBJelk6HieY17oZhC 5cVDB0ppsddA+Umyd3tHmm8RbyQj/yFZ6AL7VXAQNyWffgRvj2+5EoMHbJ6r5uDwC1N7 OKEGIsto2/DnQkxwC38+hXO1bOeWgFRVYL40cnLgWezPQYwHyTftlQ6mpHKgFVynSnqZ x25NjnNYNL+niISiSpiZVNdpi4CtFhh9jd2Sn68TgWUdpa6mI3DKKpZhR13qwI4S+gF7 omLRE2zg7mp8G6hJszO75GgOte+k/Gdmuv8qd7c91vTRaRlpcv0xxiBatcs3PM4fwuX4 BJQw== X-Gm-Message-State: AOAM530U11nKrdXjaJY0KJMQAvKSEfdO6bVbGjLSBGNwTRrW0sIVUu8P OCxX27zAP6oZcEGGXqwVV57TdYi6tIg64gC7W6M= X-Received: by 2002:ac8:570b:: with SMTP id 11mr5643304qtw.287.1622827643909; Fri, 04 Jun 2021 10:27:23 -0700 (PDT) Received: from [192.168.0.189] (modemcable068.184-131-66.mc.videotron.ca. [66.131.184.68]) by smtp.gmail.com with ESMTPSA id l5sm3411632qkf.55.2021.06.04.10.27.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Jun 2021 10:27:23 -0700 (PDT) Subject: Re: [PATCH v2 2/2] dt-bindings: clock: add QCOM SM8350 display clock bindings To: Stephen Boyd , linux-arm-msm@vger.kernel.org Cc: Rob Herring , Andy Gross , Bjorn Andersson , Michael Turquette , Rob Herring , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210519001802.1863-1-jonathan@marek.ca> <20210519001802.1863-2-jonathan@marek.ca> <162266925581.4130789.10178141366818328902@swboyd.mtv.corp.google.com> From: Jonathan Marek Message-ID: <56f3b0bd-5dd7-80d4-041a-0fd2daf4b1f2@marek.ca> Date: Fri, 4 Jun 2021 13:25:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <162266925581.4130789.10178141366818328902@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/2/21 5:27 PM, Stephen Boyd wrote: > Quoting Jonathan Marek (2021-05-18 17:18:02) >> Add sm8350 DISPCC bindings, which are simply a symlink to the sm8250 >> bindings. Update the documentation with the new compatible. >> >> Signed-off-by: Jonathan Marek >> Reviewed-by: Rob Herring >> --- >> .../devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml | 6 ++++-- >> include/dt-bindings/clock/qcom,dispcc-sm8350.h | 1 + > >> 2 files changed, 5 insertions(+), 2 deletions(-) >> create mode 120000 include/dt-bindings/clock/qcom,dispcc-sm8350.h > > Why the symlink? Can we have the dt authors use the existing header file > instead? > It would be strange to include bindings with the name of a different SoC. I guess it is a matter a preference, is there any good reason to *not* do it like this? >> >> diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml >> index 0cdf53f41f84..8f414642445e 100644 >> --- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml >> +++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml >> @@ -4,24 +4,26 @@ >> $id: http://devicetree.org/schemas/clock/qcom,dispcc-sm8x50.yaml# >> $schema: http://devicetree.org/meta-schemas/core.yaml# >> >> -title: Qualcomm Display Clock & Reset Controller Binding for SM8150/SM8250 >> +title: Qualcomm Display Clock & Reset Controller Binding for SM8150/SM8250/SM8350 > > Maybe just "Binding for SM8x50 SoCs" > Its likely these bindings won't be compatible with future "SM8x50" SoCs, listing supported SoCs explicitly will avoid confusion in the future. >> >> maintainers: >> - Jonathan Marek >> >> description: | >> Qualcomm display clock control module which supports the clocks, resets and >> - power domains on SM8150 and SM8250. >> + power domains on SM8150/SM8250/SM8350. > > same 8x50 comment. > >> >> See also: >> dt-bindings/clock/qcom,dispcc-sm8150.h >> dt-bindings/clock/qcom,dispcc-sm8250.h >> + dt-bindings/clock/qcom,dispcc-sm8350.h >> >> properties: >> compatible: >> enum: >> - qcom,sm8150-dispcc >> - qcom,sm8250-dispcc >> + - qcom,sm8350-dispcc >> >> clocks: >> items: >> diff --git a/include/dt-bindings/clock/qcom,dispcc-sm8350.h b/include/dt-bindings/clock/qcom,dispcc-sm8350.h >> new file mode 120000 >> index 000000000000..0312b4544acb >> --- /dev/null >> +++ b/include/dt-bindings/clock/qcom,dispcc-sm8350.h >> @@ -0,0 +1 @@ >> +qcom,dispcc-sm8250.h >> \ No newline at end of file