Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp424094pxv; Thu, 22 Jul 2021 03:39:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJww7LJ6epYnlTFdUq3y2PHdMEV1CFiXIqZHEJBU2y+f7wz7+SGTQdcX3l56is+Z2/a9pUUT X-Received: by 2002:a05:6638:1383:: with SMTP id w3mr35485259jad.32.1626950392608; Thu, 22 Jul 2021 03:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626950392; cv=none; d=google.com; s=arc-20160816; b=rzV4s1pjyaNEgoPjFxPAUAkIm0EbPixXTmMfCNege5FEGuFF8uwmYUn2f/Y3CYqm4G Kef6Dy0O1QMyXNNtqVn64j9qmX9E1HOEJUNWFzOVNt44VjEFZ1X6zPrYiUUGDObqHCgD a3vkfZvQDwhuzfTCxylO4/PHoyiJBYyB5UA6BjIkXL9SgRMxQ1Zl75HYGsoEQpmuhSOd z7OMALEHfiwU7o3icO/LirGwoxwHNTWZyY63j/qDav7DYO2LHpvHiB+cYFIw8KGZ+OGN dxJX9wnUFXrJrdu9CESUsyVMWpJBFxU6BwjsEWTe70Cjr25KxkWh6RsrbUfdWqsXqmZg L/Ew== 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=J+CJm7w5RtYQkCsp0Qp6X/Re0wsgac5NK3ZDCttrjqo=; b=D83tymV8uiyP3mIOEQTHXgBHSUY/WNEZakNtfThCKw9J4HxpM1YfSv2ilTq2fLRX6z S1QmQGPfXMa9ZLrsGvKv8Wv/KwLFbj63VHu+YRs5nCv7nRvcRGy1U04mRqJfGc4o3seE /7h5FMym8ebKJfZCHGx2gNROaTPZFYbe08LZ0iGzGaLtXKtax34nVrFdpntb6AySGy9m q1RhVAkI7vxXv9ugcKwLZHBODXDt5ad3n54pOY9vlCARhy5roF31MC2dcjHgpxx/U/gX AeeRnPM4cr2lguuLS5A7uts58H80K2txnBRbKR4N+V/l723gQVhDdrw9cwSjeuWpq40F KKPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YRilbTuy; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si25044640ioo.75.2021.07.22.03.39.41; Thu, 22 Jul 2021 03:39:52 -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=@gmail.com header.s=20161025 header.b=YRilbTuy; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231626AbhGVJ4L (ORCPT + 99 others); Thu, 22 Jul 2021 05:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231528AbhGVJ4K (ORCPT ); Thu, 22 Jul 2021 05:56:10 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBDCFC061575; Thu, 22 Jul 2021 03:36:44 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id y3so3970946plp.4; Thu, 22 Jul 2021 03:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J+CJm7w5RtYQkCsp0Qp6X/Re0wsgac5NK3ZDCttrjqo=; b=YRilbTuyLbp7M19OwW9DR5Z5cQ4qixCtje3vuhQ5WTPRlhc+wyJGrc3SsJvhgiSC+m VzF5y0+eCAE3Tm1/7c9kD0UQqHo4zwtSfAxEHsNZo5qHkR6Thw+tYzMDQZpQRpPJ6m+e L11H/zuwi4xGu9SBxWQZGq6UDmW3bnEGI0T4g9GOhJCXzMlMUk7UYCgqeoo57qCs6sJz PIupVDWDJmVoluxEN+5VMVcUfxSo5xvPC0awdbN+tMaVlfjTYuGEsiBhrSFCcOZuA88k YXQygClGCl+HT08VdG9sCYGY9evmdcQiz10woDQVKludvmQUXWq2gs+9P7+7kcaOoU7s Yi3A== 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=J+CJm7w5RtYQkCsp0Qp6X/Re0wsgac5NK3ZDCttrjqo=; b=E3HUiQ8tdQvtd8v52vNfX+dcvvis29ac9BH4DxUN3TqZEq1d06Arp6G8iXI/5XfEpO Iao7BQO48YQJjzf+MZzroZ6haETsbeLlv9dIaSLW7j5GK3poh9weqhZjUjNojAgDsmAL yFLpZIsEtaHIXlZzxz2EcB0OKUABgmt9A0sgcyNhiwe502NoaRmwSrd2OXxgZX9lsGVq HSKOPucfGAOg6oYPqDkFLqnoKwEHWlawmpuHFw6g7gMin7expjE7yrjM3vv1o7C5yYZy h7oj8R+qXpkFdeyo5EZFYb/iad9e0vzF8c7O6ONdZr7ZYd/C4i6qtA1ag+sbTXJ7LB3V iE8A== X-Gm-Message-State: AOAM530txF8RYgzaRJNYyJNxte0qWZd2nO7qYnU886FA8vppYk3osn1k IhQ7zzySi5Udasizg736KJVZW6ML9ut7EYVXdiY= X-Received: by 2002:a17:90b:1194:: with SMTP id gk20mr8357672pjb.181.1626950204461; Thu, 22 Jul 2021 03:36:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andy Shevchenko Date: Thu, 22 Jul 2021 13:36:04 +0300 Message-ID: Subject: Re: [PATCH] mmc: mmc_spi: add spi:mmc-spi-slot alias To: Andreas Schwab , Srinivas Kandagatla , Bjorn Andersson Cc: Ulf Hansson , Tobias Schramm , Geert Uytterhoeven , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 22, 2021 at 1:28 PM Andy Shevchenko wrote: > On Thu, Jul 22, 2021 at 1:03 PM Andreas Schwab wrote: > > On Jul 21 2021, Andy Shevchenko wrote: > > > > > Or problem is somewhere else? > > > > I don't know. Why does the spi subsystem put "spi:mmc-spi-slot" into > > the modalias file, instead of "of:N(null)T(null)Cmmc-spi-slot" or > > similar? The same problem exists with the other spi port on the board, > > which has a jedec,spi-nor instance attached, also not auto loading. > > You see, there are two unrelated drivers that share the same issue > (the common denominator is that they are SPI devices). I believe the > issue is somewhere in the SPI core rather than here. > > Compare the code of > https://elixir.bootlin.com/linux/latest/source/drivers/i2c/i2c-core-base.c#L649 > vs. > https://elixir.bootlin.com/linux/latest/source/drivers/spi/spi.c#L56 > > and > > https://elixir.bootlin.com/linux/latest/source/drivers/i2c/i2c-core-base.c#L139 > vs. > https://elixir.bootlin.com/linux/latest/source/drivers/spi/spi.c#L361 > The culprit is this one: > https://lore.kernel.org/lkml/20190618052644.32446-1-bjorn.andersson@linaro.org/ > > and in my humble opinion must be reverted. Oops, I have been too fast. It's not related to SPI in general, sorry guys. But the idea you have got from above, I believe. -- With Best Regards, Andy Shevchenko