Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2304656imm; Thu, 16 Aug 2018 07:54:54 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyJQ3CXCie1oSChFiIu7hOFsAj7Rwlcg1rrIQqom2VnTAZfHbSQFsycIQzJB/lqidrjbhKw X-Received: by 2002:a62:b29c:: with SMTP id z28-v6mr33002831pfl.8.1534431294839; Thu, 16 Aug 2018 07:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534431294; cv=none; d=google.com; s=arc-20160816; b=FzN3LTWV1q4JM/bxWcal0Hhyl9Ecy+v1IV90bqYVWBZiUCSY9O3hbXPNlJgycBPYcH JtMFGl6hUWHUII/q6NG8hmOjwy1yiXdIuoeuQAiaagaOYQ/yQL18DL2cOVYjorrfRQVq CSRxlDGqY9GK3TskviRn4IFEqU0N9/Vi1nuAzwktfyS/nLq8dlkbJxfvqUlSDAkvw3j3 Oy/KI6vKab+CTJlbS1sDHdaznK5LnsFILGZI2AH6vtkmWyAFSPrvevc8sjDS4QACjg9X UB3UBaAeXBOefaArKCH75Z3zjRcrBcUE5DcJMvnv1IyYlLaVBCT9zi/6erT7H9Vl1Wgq kQ5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=jDgjW+QdeoXmGgB/+SepaeR5unzohegltxHW5URA7K4=; b=Ff9sGonA0r96IXWIMxhMVrqiYslPTGNymapUrWpUHVFz6tk+R62z4FQppTLeGL9Olm p6y3pKqB1RPXE8sQbvHbzDQyrvPm92kmZeawxtvYX8fe6saM88g0zg9KlizUmpUajSIj u7HlJ0mLOKPHCeLB+VLhC4nvMhFdMubiYwjbUKimtjWxnZrdo19VE/ZnJVb3yph/C4m4 gO1q+XfZ25t3ukJnB9UUu8vgHc4KjxMEQ/WloV0HFGLleMLzSOhlyGCaQeb91WaSYcua dfBlX43ombn6VycMLo8x4bwX363OArZpjJUiRK5hMVDXaVmIQwsIVDTgx3DYTX4RT49l GanQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bi2bdS98; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si26863724pgj.550.2018.08.16.07.54.39; Thu, 16 Aug 2018 07:54:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bi2bdS98; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389758AbeHPK6y (ORCPT + 99 others); Thu, 16 Aug 2018 06:58:54 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:36034 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389732AbeHPK6x (ORCPT ); Thu, 16 Aug 2018 06:58:53 -0400 Received: by mail-lf1-f65.google.com with SMTP id b22-v6so2749001lfa.3 for ; Thu, 16 Aug 2018 01:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jDgjW+QdeoXmGgB/+SepaeR5unzohegltxHW5URA7K4=; b=bi2bdS98mHqBOUgDbZyYDrjH86WI9WiUDdIb6aP2b7lZI6HiHN3oiqIs7puyj7D8B3 q97RySEIrheXT4kCnGKPHgMXARA1HIHYYSEVIqjule0OKQeq6pTaBy9RDmrBUgEgmzYF ZRxkw8OtE5QHhBdLGPA9cMq5qa11qGQU92Ak8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jDgjW+QdeoXmGgB/+SepaeR5unzohegltxHW5URA7K4=; b=mLFRkYIGjmbjVtkKhuA1N7OmRhXrjdbSUoSW1moU2liIEPBkg0UCPuSap9EkeB5fNh M4wPyGw5Wgopnv3bTDVmffzQN+1vuSD0BIG4V/opTbkmL9C7dxfxDBw0GA651lk47ia7 kdoeao70ausLKI/UK3n4FsWVqZq8gv0UimNTCPFMR2Sc5wO549W9mc5ofjz9h8HBZf9b L4Zzm3s2UTqndj8fGdvpdQi4Y3cP/aieq1LkpYqDlukp+5FpV5teV+nEpfIJkbPV0iYM tpanFpV8umT0dYvKN9rm4OqKX3G5bQcxlpdgrs+0YVTs2ic5jRqfn44o1NoO3UMuGmK9 n29A== X-Gm-Message-State: AOUpUlF53BhYLa2pSJpFWkHhNc54P7NVcMJ1RCybkzt1wcefWHv3qGPA T+U9m5LZuXHHFC0anwTUtYGahTUEO0x1Ks9nAfSRcw== X-Received: by 2002:a19:95c9:: with SMTP id x192-v6mr17963018lfd.37.1534406529304; Thu, 16 Aug 2018 01:02:09 -0700 (PDT) MIME-Version: 1.0 References: <1534333184-25599-1-git-send-email-igor.opaniuk@linaro.org> In-Reply-To: <1534333184-25599-1-git-send-email-igor.opaniuk@linaro.org> From: Shawn Guo Date: Thu, 16 Aug 2018 16:01:51 +0800 Message-ID: Subject: Re: [PATCH 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 capability To: igor.opaniuk@linaro.org Cc: linux-mmc@vger.kernel.org, Jaehoon Chung , Ulf Hansson , tianshuliang , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 15, 2018 at 7:39 PM Igor Opaniuk wrote: > > Enable access to the RPMB on the on-board eMMC of the > Poplar board. > > Signed-off-by: Igor Opaniuk > --- > drivers/mmc/host/dw_mmc-hi3798cv200.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/mmc/host/dw_mmc-hi3798cv200.c b/drivers/mmc/host/dw_mmc-hi3798cv200.c > index f9b333f..7a023f0 100644 > --- a/drivers/mmc/host/dw_mmc-hi3798cv200.c > +++ b/drivers/mmc/host/dw_mmc-hi3798cv200.c > @@ -23,6 +23,12 @@ struct hi3798cv200_priv { > struct clk *drive_clk; > }; > > +static unsigned long dw_mci_hi3798cv200_caps[] = { > + MMC_CAP_CMD23, > + MMC_CAP_CMD23, > + 0 > +}; I believe the three dwmmc blocks integrated on Hi3798CV200 SoC are identical on CMD23 support. So I expect the zero to be MMC_CAP_CMD23 as well. Shawn > + > static void dw_mci_hi3798cv200_set_ios(struct dw_mci *host, struct mmc_ios *ios) > { > struct hi3798cv200_priv *priv = host->priv; > @@ -160,6 +166,8 @@ static int dw_mci_hi3798cv200_init(struct dw_mci *host) > } > > static const struct dw_mci_drv_data hi3798cv200_data = { > + .caps = dw_mci_hi3798cv200_caps, > + .num_caps = ARRAY_SIZE(dw_mci_hi3798cv200_caps), > .init = dw_mci_hi3798cv200_init, > .set_ios = dw_mci_hi3798cv200_set_ios, > .execute_tuning = dw_mci_hi3798cv200_execute_tuning, > -- > 2.7.4 >