From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F392C433EF for ; Tue, 28 Sep 2021 22:29:31 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E59BC6138D for ; Tue, 28 Sep 2021 22:29:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E59BC6138D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HJvLx3zsVz2yJT for ; Wed, 29 Sep 2021 08:29:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=NWHhMqyq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=robh@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=NWHhMqyq; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HJvL35vGVz2xsW; Wed, 29 Sep 2021 08:28:43 +1000 (AEST) Received: by mail.kernel.org (Postfix) with ESMTPSA id 54E35613A6; Tue, 28 Sep 2021 22:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632868120; bh=CpoB/AQaiB5lLCqB8ho11PEAW2+8Qw4aT/GKC1JnWBs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NWHhMqyqu5ZeEo7veyI0DPB8sfx/QCj+Q6/4ri8A+3eKcgUBjZ2OSX1rCewPb226Y IzDq987TbzOv2e1SuaxsSPVI4471heZdrf3Yu1oJHcUukxwQXqv7v2Z/Via9w5kfG8 c2D3Pt6Tk9p/qwZDK1kSi6Fdr9/FpF0CZrmHLDeE1xI9neyG3KgK2rAwo3Mf/A/x6q jpMcuhdfzW2xeHYcHLMWmHHnJ+2fFXEF/aeZTtLIfn+Reb0S8q4/fru1L3wKcvo2kN sRB6UvFq1i2+o/tmhodQdcJFeA8cfLTvsQ3H5hSAomDnY5QVoiR4xnXE0EA+l9EOz5 S0Amq1sMI7KzA== Received: by mail-ed1-f46.google.com with SMTP id s17so896121edd.8; Tue, 28 Sep 2021 15:28:40 -0700 (PDT) X-Gm-Message-State: AOAM532kMgaaNjkyVDihi1JD5mflaaMD0YZsDIgE7ZDUBLDLBwXBq2gU JQlbcch4LeZZzs4Ycm+1qmw9MbeDMmhZ8MKIlw== X-Google-Smtp-Source: ABdhPJwf3T2vDvRzn1kn4EttNExbUJlEkqp3unlYwOfhx9E5xNV/zF/ODC8gDrpuUojJrEloyRNMxi7elthKPR3Tgus= X-Received: by 2002:a50:d903:: with SMTP id t3mr10809492edj.70.1632868118869; Tue, 28 Sep 2021 15:28:38 -0700 (PDT) MIME-Version: 1.0 References: <20210922103116.30652-1-chin-ting_kuo@aspeedtech.com> <20210922103116.30652-11-chin-ting_kuo@aspeedtech.com> In-Reply-To: From: Rob Herring Date: Tue, 28 Sep 2021 17:28:27 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 10/10] dt-bindings: mmc: aspeed: Add a new compatible string To: Chin-Ting Kuo Content-Type: text/plain; charset="UTF-8" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "devicetree@vger.kernel.org" , "linux-clk@vger.kernel.org" , "linux-aspeed@lists.ozlabs.org" , BMC-SW , "sboyd@kernel.org" , Steven Lee , "openbmc@lists.ozlabs.org" , "linux-mmc@vger.kernel.org" , "adrian.hunter@intel.com" , "linux-kernel@vger.kernel.org" , "andrew@aj.id.au" , "mturquette@baylibre.com" , "linux-arm-kernel@lists.infradead.org" Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Mon, Sep 27, 2021 at 9:51 PM Chin-Ting Kuo wrote: > > Hi Rob, > > > -----Original Message----- > > From: Rob Herring > > Sent: Tuesday, September 28, 2021 2:59 AM > > To: Chin-Ting Kuo > > Subject: Re: [PATCH 10/10] dt-bindings: mmc: aspeed: Add a new compatible > > string > > > > On Wed, Sep 22, 2021 at 06:31:16PM +0800, Chin-Ting Kuo wrote: > > > Add "aspeed,ast2600-emmc" compatible string for the sake of > > > distinguishing between SD and eMMC device. > > > > Why? > > > > Is the h/w block different? We already have properties to handle some of the > > eMMC specifics. Also, you can have a child node for the eMMC device if you > > need that. > > There are two SD/SDIO controllers in a AST2600 SoC. > One is for SD card and the other is for eMMC. > Although both of them are embedded in the same SoC, the design of delay cell and > the manufacture process are different. The delay phase is definitely different and, thus, > we need a flag, compatible, to distinguish the device, SD or eMMC. > > Without "aspeed,ast2600-emmc" compatible, of course, eMMC device can work with original > sdhci driver and device tree setting. But, for ultra-speed or HS200 case, AST2600 SoC needs some > phase delay which (maximum) value is different between SD and eMMC device. This is quite common as tweaking the timing is also need per board. Look at what other bindings have done. A property is more appropriate here. Rob