Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1160677pxb; Wed, 6 Apr 2022 10:08:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEGD9W/NY3j4Mpx4539uHCNh9RpxXwa5vwK3ucAM0wYSrYWMe+AZsS/+r7Zx07zhWH/J3y X-Received: by 2002:a63:368a:0:b0:398:2829:2698 with SMTP id d132-20020a63368a000000b0039828292698mr8050493pga.172.1649264907052; Wed, 06 Apr 2022 10:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649264907; cv=none; d=google.com; s=arc-20160816; b=YaF1MBTdfROz58D2YWDpa474cRHfBMtjLdwQz8fTQXbdbYJyBdT/LQt3kKTXmXwg/E gJf2vbD/6NYo0Wa1PDSZd36AJJ9mcGEQSgJzHWQRs+mGE/IWxtTTz/DdWdYTAjXbNeCI aqc+VUWhjNqDXhkg1CShO47xQ4n74LKRAwGVqgEfH525Q+aAEZzpvauoLaIncugTixYN fBvYCvVy03a4EQgZssueliZeNtjpbIowgGUuIu77PDUyeTKieCxaPFzkGKKpyTjrRyo2 w2Xy/lRSxJ0bnqYTJwdo1rESGuJadcpfvdEJQbrnGjNC+Soo/Tc3yC1hDpPXe8A1t9mq 2WDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=nNVtA40oQHM0eOGId5yNo8xiVPzOWuJpNkMLS3feFc0=; b=WG2BI2UZHQJMgMRive8Ma7TUN3Ixp2PtGIbo0A1JkcpDjEmQGtdeZotWbs7EjhCc5Q MNtk8a9nF9hWe8tPEtCEMDUhvaO887sEz6o39CPANp3+hXx6jWKeeGK0H7BBfQu6AN3q 7JYAVfwWUO4lIVi5S3JgJUM8RgzayYG3qRwmb0ExKbGFm87risRwG0ZsI/COgs3Dm5eV G2VhcPJOLAd/itTz/+DgCfvo2aQVzlze4AsnsTZZ74IiK+c3gH+b00DdVo4j656xIh+N iuJumke7GPmVOQPYLikxFSFOPK9bhY9xybvmNbuI9AULLv7R4gICReyE4gG3xtRCREKn ojzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=muU3faxE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c8-20020a17090ab28800b001bf6913eb4bsi5198432pjr.155.2022.04.06.10.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 10:08:27 -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; dkim=pass header.i=@linaro.org header.s=google header.b=muU3faxE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D018523D46F; Wed, 6 Apr 2022 09:53:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238326AbiDFQyy (ORCPT + 99 others); Wed, 6 Apr 2022 12:54:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238339AbiDFQya (ORCPT ); Wed, 6 Apr 2022 12:54:30 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3743C2A9138 for ; Wed, 6 Apr 2022 07:56:27 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id z12so4522757lfu.10 for ; Wed, 06 Apr 2022 07:56:27 -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:content-transfer-encoding; bh=nNVtA40oQHM0eOGId5yNo8xiVPzOWuJpNkMLS3feFc0=; b=muU3faxErilQjUnsrCmgyj60U8GEHYstiuZuK2DRn5NgDG38ZnUH2qyP1UUrECX3MF WmBZi7gaaPPLqwNdDPrVdXTcSmplJbHbgh7dAwcBtWX/0PB/R1FtVVWyWeWGBEqa2Dt5 qG4ww8t31zd7uK0muC6tgclP5/Yb4MErHKHGy57IcxecvvLTVwjgGdDoiLVwREVFUg9y qj1fZR5zwQOmSapyD6wZHha26vwyKIvj3KzYUIgFb7ngPFmjjjKsN5wjhp8rBli8wxn+ jMiEj/l4Z+MHIARTLbk5ZzOTCR0hyNkQdkDS6V8wfPzPaiK3cfJ0Y6mz+zyOLTdp3QSo 2ovA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=nNVtA40oQHM0eOGId5yNo8xiVPzOWuJpNkMLS3feFc0=; b=6E8rtNMWLY+Q0O8vu1HExVJInnQetjVLArqhV4BnPVqG+THPNRQN18tNRopGt1JKm8 wgGfeIUICe23R8EWGRpc1hFWNikcF95FU3Uog7f4y9zB3vghhO7W2bWGd7l2k2eAlh3z /KA6ql6D2nKm3Vbl7/2dby8vstIwhwJaPiDoJXUwg+gFvOa3I7hbWwBk/fDy9A3p8xKC +emkYfZnEtWpk8NJof+FnZyHcxWQ8TTnl2daN3vQlJRZG4twU0dogqq2UNwLsK1QXU1Z b2GovUq/vXaGrQteAmmspwozxv4TFRn+xNlXR4rb3yKlEfhfP3OaoGhPxw2IfRPrRhXC LMKQ== X-Gm-Message-State: AOAM532QW7DbRsLWAf4IXDOrgzuV11+HgP7t8ShPmqqxRX5weN11iKVw yV7FrP3FbQlCzHCWQ6Zk6jedVxy42ULAfcyZrJNzhQ== X-Received: by 2002:a05:6512:c0c:b0:44a:6865:860a with SMTP id z12-20020a0565120c0c00b0044a6865860amr5978705lfu.71.1649256985512; Wed, 06 Apr 2022 07:56:25 -0700 (PDT) MIME-Version: 1.0 References: <20c6efa9a4c7423bbfb9352705c4a53a@hyperstone.com> In-Reply-To: <20c6efa9a4c7423bbfb9352705c4a53a@hyperstone.com> From: Ulf Hansson Date: Wed, 6 Apr 2022 16:55:49 +0200 Message-ID: Subject: Re: [PATCH 1/2] mmc: mmc_spi: parse speed mode options To: =?UTF-8?Q?Christian_L=C3=B6hle?= Cc: "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "andriy.shevchenko@linux.intel.com" , "adrian.hunter@intel.com" , "digetx@gmail.com" , "avri.altman@wdc.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 Thu, 31 Mar 2022 at 09:28, Christian L=C3=B6hle = wrote: > > Since SD and MMC Highspeed modes are also valid for SPI let's parse > them too. > > Signed-off-by: Christian Loehle Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/of_mmc_spi.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.= c > index 3629550528b6..bf54776fb26c 100644 > --- a/drivers/mmc/host/of_mmc_spi.c > +++ b/drivers/mmc/host/of_mmc_spi.c > @@ -70,6 +70,10 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct= spi_device *spi) > } else { > oms->pdata.caps |=3D MMC_CAP_NEEDS_POLL; > } > + if (device_property_read_bool(dev, "cap-sd-highspeed")) > + oms->pdata.caps |=3D MMC_CAP_SD_HIGHSPEED; > + if (device_property_read_bool(dev, "cap-mmc-highspeed")) > + oms->pdata.caps |=3D MMC_CAP_MMC_HIGHSPEED; > > dev->platform_data =3D &oms->pdata; > return dev->platform_data; > -- > 2.34.1 > Hyperstone GmbH | Reichenaustr. 39a | 78467 Konstanz > Managing Director: Dr. Jan Peter Berns. > Commercial register of local courts: Freiburg HRB381782 >