devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Tony Huang 黃懷厚" <tony.huang@sunplus.com>,
	"Tony Huang" <tonyhuang.sunplus@gmail.com>,
	"ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"lhjeff911@gmail.com" <lhjeff911@gmail.com>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>
Cc: "Wells Lu 呂芳騰" <wells.lu@sunplus.com>
Subject: Re: [PATCH v4 1/2] dt-binding: mmc: Add mmc yaml file for Sunplus SP7021
Date: Mon, 21 Mar 2022 09:59:52 +0100	[thread overview]
Message-ID: <21044180-faeb-a590-f195-dc2dc5257e05@kernel.org> (raw)
In-Reply-To: <cab5bdafed86451a99cd59da3b1c5a38@sphcmbx02.sunplus.com.tw>

On 21/03/2022 03:35, Tony Huang 黃懷厚 wrote:
> Dear Krzysztof:
> 
>>> +++ b/Documentation/devicetree/bindings/mmc/sunplus,mmc.yaml
>>> @@ -0,0 +1,79 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # Copyright
>>> +(C) Sunplus Ltd. Co. 2021 %YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/mmc/sunplus,mmc.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: sunplus MMC controller
>>
>> s/sunplus/Sunplus/
>>
> 
> Below is my modification:
> title: Sunplus MMC Controller
> 
>>> +
>>> +allOf:
>>> +  - $ref: "mmc-controller.yaml"
>>
>> allOf below maintainers,
>>
> 
> I will modify it.
> 
>>> +
>>> +maintainers:
>>> +  - Tony Huang <tonyhuang.sunplus@gmail.com>
>>> +  - Li-hao Kuo <lhjeff911@gmail.com>
>>> +
>>> +properties:
>>> +  compatible:
>>> +    enum:
>>> +      - sunplus,mmc-v1
>>> +      - sunplus,mmc-v2
>>
>> How did this happen? Versions of blocks are usually discouraged, unless you
>> have clear specification,. The previous discussion did not end with "add v1 and
>> v2".
>>
>> Do you have clear documentation/specification of these blocks? If no, please
>> use SoC compatibles.
>>
> 
> v1: support SDIO 2.0							
> v2: support eMMC 4.41		

That's spec is not enough. You need to provide detailed specification of
each of them. See for example versioned blocks of Synopsys DeisgnWare
(e.g. eMMC/SDHCI).

					
> The register base address and offset address of emmc and sd card are different.							
> eMMC and sdcard are individual hardware settings							
> We need version to distinguish different speeds	

That's not the answer. How did it happen that you have now versions and
before there were SoC compatibles? No one pointed to this and you did
not mention it in description of changes.

Best regards,
Krzysztof

  reply	other threads:[~2022-03-21  9:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19  1:50 [PATCH v4 0/2] Add mmc driver for Sunplus SP7021 SOC Tony Huang
2022-03-19  1:50 ` [PATCH v4 1/2] dt-binding: mmc: Add mmc yaml file for Sunplus SP7021 Tony Huang
2022-03-20 11:41   ` Krzysztof Kozlowski
2022-03-21  2:35     ` Tony Huang 黃懷厚
2022-03-21  8:59       ` Krzysztof Kozlowski [this message]
2022-03-19  1:50 ` [PATCH v4 2/2] mmc: Add mmc driver " Tony Huang
2022-03-20 11:54   ` Krzysztof Kozlowski
2022-03-21  4:55     ` Tony Huang 黃懷厚
2022-03-21  9:01       ` Krzysztof Kozlowski
2022-03-21  9:12         ` Tony Huang 黃懷厚
2022-03-21  7:40     ` Tony Huang 黃懷厚

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21044180-faeb-a590-f195-dc2dc5257e05@kernel.org \
    --to=krzk@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lhjeff911@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=tony.huang@sunplus.com \
    --cc=tonyhuang.sunplus@gmail.com \
    --cc=ulf.hansson@linaro.org \
    --cc=wells.lu@sunplus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).