Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp668119pxx; Wed, 28 Oct 2020 13:57:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHhojXNBmzB3qeWRt0SfvvePyHt0Yfqq0+AC4bWL4ZvTDybZX57VzLQV/hZpwb1yN97CLw X-Received: by 2002:aa7:d7c1:: with SMTP id e1mr841237eds.4.1603918676043; Wed, 28 Oct 2020 13:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603918676; cv=none; d=google.com; s=arc-20160816; b=qFdkQ+H8OVOdmuTvaKOCXX9UuoOu0JBRKQW6q5qN6nltZ2hdEFuVhPrE58kWngwZv1 W7hPwyLV2u0LWHR7kfbhJvpGFJRk/JUoHYeY8W823DBx73IMU/9CydR66r4+nlLYO4eb yDgZXQbbKcIf2Ok8IAtMmgaay4FUMn6IpIziytKSsj8GphqUlcE/lQ/o3Hy5Gti0lhJv nn5DWA5dQmeOqSdh/Txo8agQkoM3nYn0v+f3fVZjaylrUlNVb7GHL8UEZK8HukSxNQPs 6oxI0BdBeMQPrKIL3q0BRklQ/dBNJcvgs+uqHj0pqLKQs2Cl56TjOpsXrj/HMRrs4cjZ akEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=oSKJ52KX02pbIoZHYzF+rH9Iv+ZGut7jSb61YOY1u8k=; b=u7I5O5LuOoLrLbpfkrNsFkjsrCc9P31hszRtRZypehYyrsl1tTJ3IwbSSkK+XkL2O2 LB9GbWsrFXHPcIg8odUN6pBJ0sa8kTHDUutKUNasT6rUv8xSvEdQatXRa1XUmnLJRexE vIdQQlNdZnTTXtJNp6Zg2bM4/jq0jhyAIhHY5SbvKn2PKB9j65OxL9UxBR/xTlVAPgs0 OhPCiPjfwxRd/VnvEskBAFSpNgF0dsFLPYLUxlkMLsLyz6ojcFCa6MS82XeEZPkbyX+2 hU+l1gWDV9vg9VuS2AKz/CufqIskAC/hHXKm/vSRLCdBGuxszki5DbVdkpSiLH0dz+7d Snvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A5QlT5Aj; 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 w23si165eds.571.2020.10.28.13.57.34; Wed, 28 Oct 2020 13:57:56 -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=A5QlT5Aj; 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 S1830343AbgJ0TjB (ORCPT + 99 others); Tue, 27 Oct 2020 15:39:01 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:36034 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504430AbgJ0TjA (ORCPT ); Tue, 27 Oct 2020 15:39:00 -0400 Received: by mail-lf1-f67.google.com with SMTP id h6so3890602lfj.3; Tue, 27 Oct 2020 12:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oSKJ52KX02pbIoZHYzF+rH9Iv+ZGut7jSb61YOY1u8k=; b=A5QlT5Ajrg5hX3qeNVkBillmBH/crjEuzDP8STRVYmqQ2x6onxY/hq07gpy6OFWjmN EjC/+CsbBUDSJRkmevpFr2r4akZGf9cbfA29AChzMkcEv/NGuqrNMJDULX2CgS0Voll+ brSwpHEXhEbTAkLXle27QRaoh4+k/W17Mskq51bJ7t2xgAFkzw05yzRFyZxRC0xJVY2O 40vSf6srqo6klIAYhkecoEgA9RjFHqTNYyHWJyEEqo2uD5snp2WESzI0WbGcXYEpXSd/ QWieY/p8Ox6t1VPdLTNWuMzD7PMCfQhKIdukSW1XIOayP6i5W/42RESI3Ou8b3QH9Y4b bvzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oSKJ52KX02pbIoZHYzF+rH9Iv+ZGut7jSb61YOY1u8k=; b=BfxHg98yQPLOtWdyR1YYvyY5Y1p5pB9gVtcdsI05ZDrmzcCR5bkmmVNJNZm0V9ful5 LIdxjjhHhZAWy9ZrjTtDAvuXJCLb9CynutOe56tjcF9h8CSImJKmOdw9Cv5+Dy1CQG1Q eKKCykhLDR1SRt6NR9Axv3rJKC92ukjjVOuEdLdZIbg1T05qmjGn/8GqsI3DqyJsB/JE NAtkL0tjnKUMfPe/ky/aCqMTk6LRYH1exfcMLTSPnT/0Z/NtOH9kzk1Ty1DY41iX1lD1 keNad6Q3zwZ3mWX7t8muuUwUeUHBvQcApJDqWU+gg7jUnoer1rWOqVUhn+ZczPbwCvXU R0BQ== X-Gm-Message-State: AOAM530M72IHSdyKtKW++pwjxPZ9V7KAtsISeVZ1cDQgjb3dSM62/p+l 92jmehGX3wx+S0FVa65d0SCWgD2H3YQ= X-Received: by 2002:a19:834e:: with SMTP id f75mr1362840lfd.111.1603827537672; Tue, 27 Oct 2020 12:38:57 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-186.dynamic.spd-mgts.ru. [109.252.193.186]) by smtp.googlemail.com with ESMTPSA id c4sm272462lfm.294.2020.10.27.12.38.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Oct 2020 12:38:57 -0700 (PDT) Subject: Re: [PATCH v6 32/52] memory: tegra20-emc: Continue probing if timings are missing in device-tree To: Thierry Reding Cc: Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Mikko Perttunen , Viresh Kumar , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org References: <20201025221735.3062-1-digetx@gmail.com> <20201025221735.3062-33-digetx@gmail.com> <20201027135244.GM1822510@ulmo> From: Dmitry Osipenko Message-ID: <0c306309-6f49-cbac-99ce-6d956d5e910c@gmail.com> Date: Tue, 27 Oct 2020 22:38:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201027135244.GM1822510@ulmo> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 27.10.2020 16:52, Thierry Reding пишет: > On Mon, Oct 26, 2020 at 01:17:15AM +0300, Dmitry Osipenko wrote: >> EMC driver will become mandatory after turning it into interconnect >> provider because interconnect users, like display controller driver, will >> fail to probe using newer device-trees that have interconnect properties. >> Thus make EMC driver to probe even if timings are missing in device-tree. > > Does it really have to be mandatory? Sounds like that's going to make it > unnecessarily complicated to merge all of this. Is it complicated to > make interconnect support optional in consumer drivers? Interconnect provider can't be optional if interconnect properties present in a device-tree because drivers that use ICC path will get -EPROBE_DEFER until ICC provider is registered. Older device-trees don't have ICC properties, and thus, the ICC users/consumers will get a dummy NULL ICC path in this case. I.e. ICC core handles this for us.