Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp663193pxx; Wed, 28 Oct 2020 13:48:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK/4hsoFLf1aXGRRwE9SIXfO61Q/K0ud+HSiC3J/dY8jZBZ6Lbojz830SG9CSSD/CsJMT+ X-Received: by 2002:a05:6402:1653:: with SMTP id s19mr835930edx.124.1603918103922; Wed, 28 Oct 2020 13:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603918103; cv=none; d=google.com; s=arc-20160816; b=ik9cvMGwBiw8Wq/dVkfgxoY/PFPsjvt6pcTTrieONqBKFPJfAJe7bXSn65a5372z/L vmtSH5YSYzhIL6VeRnWPcB6OiYPu0HRq4o1eBLjRIZxwPqvIwp+4Io4WlJ4TVx9mLdx2 otCmofAv5Ac+ltpcP1JJ5uHueEDtr6wBKSAo6LPJ87kXEtLPQg1BxMF3igV2pPan8ME8 38MGffyUPry6MxPJlnQEVSluOZ7xEv8+j8IBultv4iElJwdvStTSlBKYHdJbVjiwti44 Zw7NnPmcqHikLxgv4uCO6l/OOrIPSrN7OpHECDsBYUF07XWNKT+8K5Ng09fboa+ipraR NgAg== 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=OFeC1CtOzMgLJVc4bc3YLVqRdX5EEq2f1kDG30jsGew=; b=FHEVtZYXo77lC8NROvVA8UFXca276YDrU+1KddETEZJV9qmBjN7Iwebsf0PtHekmvl +dwV+ieM9wmCNzb4FdcHtplLi80RMwvj96tt+cQizEleVNxyJ5TNM8+AkO/VL1rsHZfc gN1xDXq09RDqkm975/t0R51sMB4fSWuJ/FtzBBsloEPLETKwPsUmQ44wRh/3PRUmjtBI Hbe7/y1vaVMrQp5PBPzrBPBc/I1UNQ30c52PutWUaOzcAHrNrQVNbpNbVXRsXt186Dl7 GJeIM4yt2CiPP9SIKUxESugWbmCVfmcF9oXwkl/d56KvlYRLoXGIWpYj+FtKl/6NcEDS PR7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GsGzkw+w; 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 r21si3290edo.519.2020.10.28.13.48.01; Wed, 28 Oct 2020 13:48:23 -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=GsGzkw+w; 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 S1829929AbgJ0T06 (ORCPT + 99 others); Tue, 27 Oct 2020 15:26:58 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:44956 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443855AbgJ0TX1 (ORCPT ); Tue, 27 Oct 2020 15:23:27 -0400 Received: by mail-lf1-f67.google.com with SMTP id b1so3765278lfp.11; Tue, 27 Oct 2020 12:23:25 -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=OFeC1CtOzMgLJVc4bc3YLVqRdX5EEq2f1kDG30jsGew=; b=GsGzkw+whcBAy310+2NrYkyda+y5HtVgZPLk6L2HtDsITYHr7DvjGFng3ghy3fucRc TRX8olu54JANer1GN2PQ+aZQrLRSrLeo95uRegPlAhUZ4PnMEntVwjbW7/txByf8iUbt mz9ELt5DSMp+MZAWlbY/30OKQkPBPldk372ta8ur5OUSa9KV/KcVTCEQpIMgyAgWPz0A V6LYL0RQmBMrpigUrfMzFShDXlUUP4ecqD0sC4+nulvQOSyBsz8q7XhLhQ/1EIfhXdww OXf/pPWqx7zZtO62GMvNICWKwNuPriPaaqb68xMAp/bT/QAM58yl7rpPO7R2GjGCDWmr k3Iw== 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=OFeC1CtOzMgLJVc4bc3YLVqRdX5EEq2f1kDG30jsGew=; b=GDQs5+ByPfghp3cN0c1A4rqNp5xSyWCZegzCCNbwSX2nXIHD4mb+M22Kp+AsVBsKuf zJMQfs2c2u3RB5HHAZO0zeygWZywLXiHu1lEuVRo+h+XyT6oXixpWc2Mi7iRLsIf74X/ JQBPEbcjCC2vkYK9lLttXAvzjYbsQcqle/LxE4uZkL0CDhYv28ijgdFt7+AFsOXkhp1y N8zThVT9ak3Ww0BsgDzocoxA4YfruG8bCuQ2Ao+WVB7/EapknHKhhbiSF+/qjc1gyayi 3wcAtt3tDQpkcFTNnYIg7ndlPYm5lZeNlpXRC8EWidkPzm2tdBvSc6IGHTuTe/JRKT7e nMUQ== X-Gm-Message-State: AOAM533UL3HRWyRiAEV8vuwSKJusVXJFDLbClSzABpu++t6PH2DWxkGW r+soGbMrcW2tdz9ruEbataBIA8S/2iA= X-Received: by 2002:a19:3f52:: with SMTP id m79mr1323112lfa.58.1603826604035; Tue, 27 Oct 2020 12:23:24 -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 z14sm287943lji.84.2020.10.27.12.23.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Oct 2020 12:23:23 -0700 (PDT) Subject: Re: [PATCH v6 08/52] dt-bindings: memory: tegra20: emc: Document mfd-simple compatible and statistics sub-device 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-9-digetx@gmail.com> <20201027132241.GG1822510@ulmo> From: Dmitry Osipenko Message-ID: <0a619270-b301-4eeb-6216-0ad5fed6a20a@gmail.com> Date: Tue, 27 Oct 2020 22:23:22 +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: <20201027132241.GG1822510@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:22, Thierry Reding пишет: > On Mon, Oct 26, 2020 at 01:16:51AM +0300, Dmitry Osipenko wrote: >> External Memory Controller can gather various hardware statistics that >> are intended to be used for debugging purposes and for dynamic frequency >> scaling of memory bus. >> >> Document the new mfd-simple compatible and EMC statistics sub-device. >> The subdev contains EMC DFS OPP table and interconnect paths to be used >> for dynamic scaling of system's memory bandwidth based on EMC utilization >> statistics. >> >> Signed-off-by: Dmitry Osipenko >> --- >> .../memory-controllers/nvidia,tegra20-emc.txt | 43 +++++++++++++++++-- >> 1 file changed, 40 insertions(+), 3 deletions(-) > > Why does this have to be modelled as a separate device? Isn't this just > using a couple of registers out of the EMC register range? If so, this > would better just be integrated into the parent node and implemented as > part of the EMC driver. No need to further complicate things by adding > a dummy child. Maybe true, I'll take a closer look.