Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp62632pxb; Tue, 28 Sep 2021 15:31:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+UjymdkDDoxQyYun6lfZasksIeXwTk+YptVwvTTt8W4vnZ7hONu9EMTiesRE+11ROT3WX X-Received: by 2002:a50:e14a:: with SMTP id i10mr10567830edl.73.1632868314650; Tue, 28 Sep 2021 15:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632868314; cv=none; d=google.com; s=arc-20160816; b=T7aRPNqBCkF0q6EqsZtwJVRGntDsbyPtlTHar9qKCb1SK2Mg0dzqb15SHXrOuVN1YO /zeOQJkoZ6v7hzOttm9WQMAwWKhrMwOW0qFZU2l1ukKIaQB+kDwRsgBmTcVIN2ko06gr OEAwoG/KA06GEEfHpxa0giHwxxNq5GI2lfdQdy5aghyy8VLwTTrS6c9NrkNNYb3+Awkq Lkb/3lxDsP/Zjs9to3eXNjjF0Mup/xTIbq19JSPGl6LBAudXgbo4uyNVzdOEBMYXqRHx xMWxtQFqHssKmcSgFyU6yLh13pSnPzvst3XFxPjqC/d+NyP/JD4m9wuvLIil2LKlJwYr BPAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CpoB/AQaiB5lLCqB8ho11PEAW2+8Qw4aT/GKC1JnWBs=; b=m2zmwwCgo7tuoucH9rh394avhGeVypBWqaUR3CfII7nHMNzGe7JffbOvdWRU7Avdga f68zbYD52rjL0ftd/Stl2KrUQgkPf0DCA8u7Zuov6ZGmfXt7Vp3oJkZnCNWqpjbAgCik vYoCXmavb/XGFpoJwFU1kMV1LvyL64jJr1hUcR55kKfmhr4IhQpk8y45cYxCRGK2ofYR GoSgJO9E7L/jTPjQJ/szAwDY6ag2VHsgHa7jJjecY+9AW/qebgHOSZZ1+QvI62A/2/al a7VEnuiYZXVNbWdgckgGdPAosbi/HK6KyOXpFWA3pxnGX1/aVSkFzVmMooNP0MyAwV0W iAeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NWHhMqyq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si533307ejy.247.2021.09.28.15.31.30; Tue, 28 Sep 2021 15:31:54 -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=@kernel.org header.s=k20201202 header.b=NWHhMqyq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243086AbhI1WaU (ORCPT + 99 others); Tue, 28 Sep 2021 18:30:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:57442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243072AbhI1WaU (ORCPT ); Tue, 28 Sep 2021 18:30:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4A502613A0; 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-f54.google.com with SMTP id v18so842755edc.11; Tue, 28 Sep 2021 15:28:40 -0700 (PDT) X-Gm-Message-State: AOAM5327P3KjnrP/IK8jq45xlur3TnDrPhzuwsJ0xoOo5QnogXUEPdzr lN0roiMtVTtQ9lnsQdXRULlu+siTz53qGyw92Q== 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 Cc: "joel@jms.id.au" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "adrian.hunter@intel.com" , "linux-aspeed@lists.ozlabs.org" , "openbmc@lists.ozlabs.org" , "linux-mmc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , "andrew@aj.id.au" , BMC-SW , Steven Lee Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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