Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2247018pxp; Mon, 21 Mar 2022 14:54:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkNrr2L5Tmr8RaelbC8rFgHXabP4yuV6M8cV4nrSKLjrIlqmu4xP9ej1k0aPLaTeo6pwYB X-Received: by 2002:a63:df0d:0:b0:373:401:6818 with SMTP id u13-20020a63df0d000000b0037304016818mr19394330pgg.34.1647899676919; Mon, 21 Mar 2022 14:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647899676; cv=none; d=google.com; s=arc-20160816; b=oA2uekA5PRkrdHV/l3M1LeH5lbgeMvkaQneW/ENpMSG+CzDwRC+8C/kQlXwYRB+lgl 9s5HrfR9wWAQDY0XI1paJ6pZzzIWt0dLsIVw50k2chZyjfE0DmJGGIu+hi1dwE4fBm6Q D2w7ccx3vs4TRnH5xssse+zdYPCuJIszd5EV9nGZlAZMuIBopGWxQj0eHBKfqxSDYf2V yJDn5irIPfa7nrDxtibOe1V9XyV1v71XIPOE+Ok86yXZEi8YTwqkTD99xPT5nAHb8oi9 HoCNjzy4m1VK6PtIxaZlkfb/zlOq+5Ctyhp6gJWCQGJfGk5JkpZk54/DkXWnuuk5Wt6V Bt0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:content-language:subject:from:user-agent:mime-version:date :message-id; bh=KRRTaiowhTFiSU/AwzcdwKwVkTXFIC8zPamc05kYi08=; b=t7KbIQGq3VyN16fARMEur2MExc3ddt3a7bqO+akd3GpAUL7dzBnYV67MQg6jVzwsPR U7kNDiqOgnqh/+H2x779QhF6R2q9uCjFnceYh4BCEMeSwuFfk38z4rKokrSg4FglOrXY T7eLTJpXpiTDfGo1Q7g2gZqxGC7yljhasMSUSQ/d/wGusJ3dC92fo7uDI8+VJSjowmza QeJjW+SFvF54BZbs0eGxlqM3FdOX1rGtVhLc54+VceTqgSLmT4C3KrIzixatnvJ1Yi1r xqRUlecp6UaWD5yVGTHNJZ6kQ+ofAvdYihBgsTXe/C+3TDvmW1kbHGjxcQKTrQpLHMl9 rUyA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 10-20020a170902c10a00b00153b2d16628si10884528pli.560.2022.03.21.14.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:54:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 536FF2C962A; Mon, 21 Mar 2022 14:21:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238517AbiCUJB1 (ORCPT + 99 others); Mon, 21 Mar 2022 05:01:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345505AbiCUJBW (ORCPT ); Mon, 21 Mar 2022 05:01:22 -0400 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18BAA74625; Mon, 21 Mar 2022 01:59:56 -0700 (PDT) Received: by mail-ej1-f47.google.com with SMTP id r22so8342543ejs.11; Mon, 21 Mar 2022 01:59:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:content-language:to:cc:references:in-reply-to :content-transfer-encoding; bh=KRRTaiowhTFiSU/AwzcdwKwVkTXFIC8zPamc05kYi08=; b=FVwI7360URwLrqtUQ9bcGhyIEfVpMcicRQUdh/nReECGeZhIHQ+nXkLOsHl9z6IZ+t LiIaHvU38VJIhHnE/GDY+ZWe82dvWWCrXOrI23BLDUZzVLFhTHROvf1qthdKow239/UY ilFhmDxzBB0J0ZcDGolWi7Zna4jP/8DPd9/3sxDbSALsXhb09BL/JWaeMxAhiwAJ+gZr QwvOKWZTMl60YZ9YbMI0NhWpymElszT9PbvYQ5aVI4+3oYPjsAww1TjaKo2XqGdllB4j DSigSgG8K0EtT27Xeyb7qSKfJhaOSZC2HRWR9sGf3q9V//DD0BC+u0O0HtrNYyjnmrd/ W7UA== X-Gm-Message-State: AOAM532u22hYSOXx0o/QbxmZXs4dghCyAToQ95/d7z59ATGwj8o9I9w8 nreI0Qdji+QIsWo3o02UU4w= X-Received: by 2002:a17:907:1628:b0:6d0:ae1c:251b with SMTP id hb40-20020a170907162800b006d0ae1c251bmr19791393ejc.393.1647853194551; Mon, 21 Mar 2022 01:59:54 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.googlemail.com with ESMTPSA id p3-20020a1709060e8300b006d0e8ada804sm6506135ejf.127.2022.03.21.01.59.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Mar 2022 01:59:53 -0700 (PDT) Message-ID: <21044180-faeb-a590-f195-dc2dc5257e05@kernel.org> Date: Mon, 21 Mar 2022 09:59:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 From: Krzysztof Kozlowski Subject: Re: [PATCH v4 1/2] dt-binding: mmc: Add mmc yaml file for Sunplus SP7021 Content-Language: en-US To: =?UTF-8?B?VG9ueSBIdWFuZyDpu4Pmh7fljpo=?= , Tony Huang , "ulf.hansson@linaro.org" , "robh+dt@kernel.org" , "lhjeff911@gmail.com" , "linux-mmc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "p.zabel@pengutronix.de" Cc: =?UTF-8?B?V2VsbHMgTHUg5ZGC6Iqz6aiw?= References: <27dba330ec0c1cd7edbcec53083f78169713a42e.1647652688.git.tonyhuang.sunplus@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >>> + - Li-hao Kuo >>> + >>> +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