Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3601654ybk; Tue, 19 May 2020 08:32:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXXXzTRBL/Sq+Ol14L51vFpg0EShizG4ZCHLNRp34zaeB7UvmC6pka0s9EepnOYVVHN/YB X-Received: by 2002:a17:906:bc55:: with SMTP id s21mr7016128ejv.21.1589902350806; Tue, 19 May 2020 08:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589902350; cv=none; d=google.com; s=arc-20160816; b=kQXNg/8Dy4x+iShvMBkedXp5qshCRXKTiEI0nyL9IZ0WKpVu9AE4uknL3G3auPVvmo vy22JuaEOSw/Y2af2/ta8jNx+RWydWEpmj17pH23lOtyCG/WyZN9gE9mJ02XSn3TtAsS 6KLbIfV0BioAZiNdbrbjo/Gk95PkU0E4nxtkE45gyHBjWo4LnH5ojGOWVRU9TkM3zKoz Nw4lYX1OsXWoeoF3F/SpCCFeBIh/dFEmndtEkq7o/7rIsSZ7haYsUIw2wfmpsHlMfLaV 6bRDIkwRBb47gK5zJd+6StSF2dz1Ct5Vm1dmlUZcKXtPJYE0RysM1uKYbL0ambpz9l82 a9vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rnSyU5f4PrzmexMJlgXOLUxtZCdHxKJvdv/zUlkAcrA=; b=kG/HXD5caFQ6YAvm9n3slMwVk7d0VMAofG92hWv8XY6NNmnTm897oIRC4Ka51XC9br IZl+KScCcapDgfmCtSC98b7CMHhu/fF+qvm7gUp1mHc5BpoJ4cCDMWRzewbF2bo3LKCn fkE6qkIiN6ohKw+kctDrB7w+IPUE+f2RKABDCI+5juxpIHdlYa7SiPiBwyvJSN8HnRgb 6AEehb8gDqu9kUDZaZwSGdj/IzNd1tO7eqUFR5fRpKbT4yVo2fiWmXb8oAMCyTcD4INk Cpw2/5+b/iep/ik+cyGcs8l+QAtJLPD3iR6zPUx9Qst7C+CqPST1h5g1H9+WZLF1acfn flQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uFDIdf1+; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si66901eja.636.2020.05.19.08.32.06; Tue, 19 May 2020 08:32:30 -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=@linaro.org header.s=google header.b=uFDIdf1+; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729099AbgESPak (ORCPT + 99 others); Tue, 19 May 2020 11:30:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729205AbgESPah (ORCPT ); Tue, 19 May 2020 11:30:37 -0400 Received: from mail-vk1-xa44.google.com (mail-vk1-xa44.google.com [IPv6:2607:f8b0:4864:20::a44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1350C08C5C2 for ; Tue, 19 May 2020 08:30:37 -0700 (PDT) Received: by mail-vk1-xa44.google.com with SMTP id w188so3477255vkf.0 for ; Tue, 19 May 2020 08:30:37 -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=rnSyU5f4PrzmexMJlgXOLUxtZCdHxKJvdv/zUlkAcrA=; b=uFDIdf1+QUnCUyeb3hS0KTf1RU83RdK39E8uD55PKtjZVNtGka7FbU96itQXslCa3v DBf1jMaS0xKuLCHFJcuI7M8Mg9AkIPcrVFepYErgEehXvkrtxdty6I1QwJXnoAcmTNg0 AVHL3RW8MyuTnQLz/F0B+CkFXCjFj3IMVZZKMReDU7+GoMDGHD1R/XSzfjUizPauPxG5 YyffwHfYRRQ86kbn0GzRL0AI98LNK2SIx4AI9Fdb/faRU6JCpYcjuSxfyPrVp1FjwR+E qNuH4yOtO3RNGh73/dQW5BHCznhU0oV1R8GElfWHP1z620/sPMHAJtS3/c1QwkteKu7q eEEw== 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:content-transfer-encoding; bh=rnSyU5f4PrzmexMJlgXOLUxtZCdHxKJvdv/zUlkAcrA=; b=ArJRF+pZw+65PbSLz9T8GRfkAX6v+9xPG5lfFSGyV4T2jqZUIKSANR295NrVSpK8vs IVFTVJ7iywuv+q50eb7fEWtFtB7op5ZbhQCnZsAftI9tSwM6LGPEoE/cSJhzAFoKQ7Kd raum+k/3Lk0NQ+XYaUvCE1F1yf7kaU9A5jmZnLVWTQzdNFSf4qmievAxbSTZTNPCL61G 1fYbgZdsqiGyimVfmOTWhqhB1HIkn9BPPyJuk49tkNBtCpSavQQofucYo2huTPhnomfI LP1wKkgwcDHKcUjOYk3yOctUA6PUbjRaeu1VCa++TyxSBD34UPbM/k8XPcwlEjiziqYR WmiA== X-Gm-Message-State: AOAM532bMwJUV086dYXiGbNzGEKR60ffbDJLW59S6dXBxwgqJU8/e/Qs fM05ZZhSqd6kqDrSygWaiyMArRjYHDKcNMdU/PCtMQ== X-Received: by 2002:ac5:cded:: with SMTP id v13mr222021vkn.59.1589902236878; Tue, 19 May 2020 08:30:36 -0700 (PDT) MIME-Version: 1.0 References: <20200516154314.14769-1-digetx@gmail.com> In-Reply-To: From: Ulf Hansson Date: Tue, 19 May 2020 17:29:59 +0200 Message-ID: Subject: Re: [PATCH v1] sdhci: tegra: Remove warnings about missing device-tree properties To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Adrian Hunter , "linux-mmc@vger.kernel.org" , linux-tegra , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 May 2020 at 16:05, Dmitry Osipenko wrote: > > 19.05.2020 10:28, Ulf Hansson =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Sat, 16 May 2020 at 17:44, Dmitry Osipenko wrote: > >> > >> Several people asked me about the MMC warnings in the KMSG log and > >> I had to tell to ignore them because these warning are irrelevant to > >> pre-Tegra210 SoCs. > > > > Why are the warnings irrelevant? > > That's what the DT binding doc says [1]. > > [1] > https://www.kernel.org/doc/Documentation/devicetree/bindings/mmc/nvidia%2= Ctegra20-sdhci.txt > > Although, looking at the driver's code and TRM docs, it seems that all > those properties are really irrelevant only to the older Terga20 SoC. So > the binding doc is a bit misleading. > > Nevertheless, the binding explicitly says that the properties are > optional, which is correct. > > >> It should be up to a board's device-tree writer to > >> properly describe all the necessary properties. Secondly, eventually a= ll > >> device-tree bindings will be converted to YAML, which allows to valida= te > >> board DT files, giving a warning about missing properties. Hence let's > >> remove the noisy warnings to stop the confusion. > > > > Yep, makes sense. However, perhaps we should do this conversion then, > > rather than first drop the warnings? > > I don't mind to postpone this patch. But again, IIUC, all these > properties are optional, and thus, there is no critical need to verify > them in DT right now, it could be done later on. Ok, fair enough. Applied for next, thanks! Kind regards Uffe