Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp286639pxb; Wed, 11 Nov 2020 03:48:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOKO7pdSicdiIjB+Cuuqhig3PiiBiJjb7+uRnhYMLXJte0E3xzKOaFDbgBO23Yp5CkuX3o X-Received: by 2002:a17:906:3c0b:: with SMTP id h11mr7340261ejg.170.1605095280961; Wed, 11 Nov 2020 03:48:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605095280; cv=none; d=google.com; s=arc-20160816; b=aUECcCOqMcHY34vZh3OP9podSxiwGEyGG664ekFPjU0gWMUqnvwkrLGOKBKAMLzY1I miQhkyv179PbhUdRoI1uJOw/EJgXIWs2+5QAHYFTFKUnc3nI776ZYN8w6dJATnRHL643 k/ybbw9pF9aIi9DIN4RmgyuJpFPjGgCPmeKwwGMTM0pkVkudG3E1PCzVLUSGi9sRAhTJ Fz20gSGRde14BAyYu+yip14OgSznkaEmO5Q3qE7C1X7MzR2adjZr8/w2zZQBEfQsThSk qrwyS9NqJRLJ26O3p4bb1Fg7slmFAj9TkB69B5q4/62H1N8wtkGetC/QwNCeJu8dSLaf 0Ymw== 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=W2LROEDqwB/YAfpZuvnNBx/s/n4ussPUTp1SoV848WE=; b=kQeHYyajLNRoTi0Xf6nJRPqTBiMctNSDJ4eaYoRZLrKzNgqZZyoQGL51XPe4J5DoKn 4CP2hvds/RmmGNU1D3cwpM+Y5MLBzODtlnXFN23RTjuBylykB50HY7wjGOWADbJ1qcnS dFVInD8pheWLG7NxW3vPSKZ0PJJ48HwiPsraX/8+SjHSkLXIJepwRx4hOL9Zp5AIgclf h1XuZJdYZRHaYX0bnZjS/ZGKPzNX0lfI/AUuD/FCX58c/QDaW1Ji+jy8O1def8R7zBMi RyH5FY+zluVqgSiHMrSy/zAxmSmuCibnhLD+Rdyvq9nxIsJXxUl5PCzl2PDgpUlnmM1A u2ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rj4QLbP7; 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 t8si1298039edy.496.2020.11.11.03.47.36; Wed, 11 Nov 2020 03:48:00 -0800 (PST) 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=Rj4QLbP7; 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 S1725961AbgKKLp7 (ORCPT + 99 others); Wed, 11 Nov 2020 06:45:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbgKKLpn (ORCPT ); Wed, 11 Nov 2020 06:45:43 -0500 Received: from mail-vk1-xa42.google.com (mail-vk1-xa42.google.com [IPv6:2607:f8b0:4864:20::a42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E45BBC061A47 for ; Wed, 11 Nov 2020 03:45:39 -0800 (PST) Received: by mail-vk1-xa42.google.com with SMTP id i3so404070vkk.11 for ; Wed, 11 Nov 2020 03:45:39 -0800 (PST) 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; bh=W2LROEDqwB/YAfpZuvnNBx/s/n4ussPUTp1SoV848WE=; b=Rj4QLbP7hQUGidksqh3Sz+Mz1awLgghgywmgmq9iaGhu6djYI966xmN5JUcRmcYrq/ Woc2NSWg8j33913hx6Vmfrrzuym6+skblcbvL41IiQFacYFt1SjAs/nslFk+g3W36u4V 5Z4diCxFrS93BVrqJ7SDLPJfjdeswkTya8vvZmjaKgR3zhBTTE1EhWuFIHUSn9N1wPo1 iX4p8Jc2fBB3F1mpe8ZqM6XFLIoz2+OX+tvgiLg3x8tn5z0hkeUvi4fzbnv3qjZga/O9 dv9NoC5jp/yLI8jF8N3x1Yw2xoMv3ppOhpBWH3CIkWAXgT5hobFLAqPh/q8PjOiT3/Eo yovw== 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=W2LROEDqwB/YAfpZuvnNBx/s/n4ussPUTp1SoV848WE=; b=gCE/kcD/L2aUUyKGmOnmmAugooJN0qFNJY/WGkRp/sw+hW0Dpqvq/vphJbxjptmZor AhHVw3i8SXRXzyh44qWgLlw7TxFSrdID+xL7ohrC0gQQnjcSPydx2xfrmx88xIswe2fr OnEET2UE/nKLPGtLQ5bCWrkX2S4ZQhze/f6Nyd+iWTxk66k+P+m1/hB0w2RzJfRZA7ad wm+CF7XthuZHjNGlYAgNt/+xeRUSXPQggP3xWjJ8nsbTMR5jQNMFGN3RcFPJnzD/lsId kIsPx4aDZO+Rh2cj7vsnCHRrARQM4OT1wEpg4adqavZlzv3INTUr3KF8lZxmqH9t7Fol 4r+Q== X-Gm-Message-State: AOAM531fMhXO7H5oMpfItrIDRpJHRYJ2Bt/d02PZT8UaoDKnEU9P+wTE zB41VNHf0CnvZXAV2GK+EL4GhBWNE16Nz8VTBDstlQ== X-Received: by 2002:a1f:41cc:: with SMTP id o195mr13053486vka.15.1605095138861; Wed, 11 Nov 2020 03:45:38 -0800 (PST) MIME-Version: 1.0 References: <20201104234427.26477-1-digetx@gmail.com> <20201104234427.26477-2-digetx@gmail.com> In-Reply-To: <20201104234427.26477-2-digetx@gmail.com> From: Ulf Hansson Date: Wed, 11 Nov 2020 12:45:02 +0100 Message-ID: Subject: Re: [PATCH v1 01/30] dt-bindings: host1x: Document OPP and voltage regulator properties To: Dmitry Osipenko , Rob Herring Cc: Thierry Reding , Jonathan Hunter , Alan Stern , Peter Chen , Mark Brown , Liam Girdwood , Adrian Hunter , Krzysztof Kozlowski , Greg Kroah-Hartman , Lee Jones , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Mauro Carvalho Chehab , Marek Szyprowski , Peter Geis , Nicolas Chauvet , linux-samsung-soc , driverdevel , Linux USB List , linux-pwm@vger.kernel.org, "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , DTML , dri-devel , Linux Media Mailing List , linux-tegra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Nov 2020 at 00:44, Dmitry Osipenko wrote: > > Document new DVFS OPP table and voltage regulator properties of the > Host1x bus and devices sitting on the bus. > > Signed-off-by: Dmitry Osipenko > --- > .../display/tegra/nvidia,tegra20-host1x.txt | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt > index 34d993338453..0593c8df70bb 100644 > --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt > +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt > @@ -20,6 +20,18 @@ Required properties: > - reset-names: Must include the following entries: > - host1x > > +Optional properties: > +- operating-points-v2: See ../bindings/opp/opp.txt for details. > +- core-supply: Phandle of voltage regulator of the SoC "core" power domain. > + > +For each opp entry in 'operating-points-v2' table of host1x and its modules: > +- opp-supported-hw: One bitfield indicating: > + On Tegra20: SoC process ID mask > + On Tegra30+: SoC speedo ID mask > + > + A bitwise AND is performed against the value and if any bit > + matches, the OPP gets enabled. > + > Each host1x client module having to perform DMA through the Memory Controller > should have the interconnect endpoints set to the Memory Client and External > Memory respectively. > @@ -45,6 +57,8 @@ of the following host1x client modules: > - interconnect-names: Must include name of the interconnect path for each > interconnect entry. Consult TRM documentation for information about > available memory clients, see MEMORY CONTROLLER section. > + - core-supply: Phandle of voltage regulator of the SoC "core" power domain. > + - operating-points-v2: See ../bindings/opp/opp.txt for details. > As discussed in the thread for the cover-letter. We already have DT bindings for power-domains (providers and consumers). Please use them instead of adding SoC specific bindings to each peripheral device. [...] Kind regards Uffe