Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3658799pxu; Sun, 20 Dec 2020 10:28:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIIF2ozerQauRYrS5cr4vzmCczZTbJdLVUvNZFtt4b2flbC9T9zm40y/prIJzemIzljkst X-Received: by 2002:a05:6402:1d3b:: with SMTP id dh27mr13384974edb.238.1608488905986; Sun, 20 Dec 2020 10:28:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608488905; cv=none; d=google.com; s=arc-20160816; b=vmyv4EK04ExhVZWrJJAVHU5ttM/5cAFkt2AmGlwNbURIJwhvEwSAAUYBTxB6PGVfA8 4MZ0DKYqQHlhR5yjWkeYRK1xlkRGQvPB/svp/d0AIxAqpCPOxApfJfSKvb2XpaNrfjrq +YBP8PA91Fd+4xBxA8Zgps8gN+W7AEysAMRK9Y9ch+wcu1NWgNifzJ6RnlK/rO94msq0 ExLLngxmnUefxauy9DxdK/Q9a2vAbydG9R8ITZu21j6m8uNnQD28Iq1U1KT9iLVY0fzw GFPRHuqTtHHh4SJSJm+bkpxdCt39QqCFueKFP2JVNSuv0eZmrLbJJ+FROZF62k87am4I /YjA== 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=Dw4JPrP6acwrpZwuGGjt1P7HcEJMDGmCI8V3sWOk5Ic=; b=T0/VbxWumxSQHEhffAoaxLLlWPbzTnHaSnrVvOx6pkER3lGsSBA/BSErRi6pAZnNjB yxWoQMkyUPDZa3lGHRVtplgaq9W7s09IwWbm+HixCHkw9EB4eOs66Vx18qLKv4BMtZ9V 0Zi5uYVs9s+BpKkgc/34KH2iYiqOnEV6587b0KzoRTsc07pHKdrnQPBvhJhmAbNFFSjQ 4sZW6aqNL048D9IYdUUe/OUIckpuvjTqJ0UGuYUNtj8UBl+BnAoWiKsm8lxmbeZWhgOq 1+ZpY7IzNhY66bizcGHXS1wkctXockMFBMmN+OxqxFREU8+ZkMYgDwzCEEaqbX8EfGdk KA5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pT37pEqH; 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 f6si9433872edm.128.2020.12.20.10.28.03; Sun, 20 Dec 2020 10:28:25 -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=@gmail.com header.s=20161025 header.b=pT37pEqH; 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 S1727321AbgLTS1P (ORCPT + 99 others); Sun, 20 Dec 2020 13:27:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgLTS1O (ORCPT ); Sun, 20 Dec 2020 13:27:14 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26C43C061282; Sun, 20 Dec 2020 10:26:34 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id m12so18403053lfo.7; Sun, 20 Dec 2020 10:26:34 -0800 (PST) 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=Dw4JPrP6acwrpZwuGGjt1P7HcEJMDGmCI8V3sWOk5Ic=; b=pT37pEqHrqcxmnPSmwxH9RNswp5aGcnhhkvGsin7xICzjgnixZn8OtcU68Lc88mq2F QeSH7/ZwBsEUnvTjmYhOv2U7rOCzN/Fwt5knsfkhL1k890q8dzOIpL+9Nub4xIEnFWiC I9BU8ipqTFV9wGpnkw3XaXsz9NPpZsKtXRALa5OlSF3SDGThfy0moA2TdgyGl0Q2nICC 3592J56MExRzHJj3nzxSfQpzZ/eAcS7Tl2sO8BPDjAKnjOdLolp4Zdztugw7fu3gDLg1 CNXQg+VpYtC8uFh8FVWXpKwvLIWY8ovV2QX09I5bwKez+3EBnhQsJkL28KhPfz9FOJY7 l5VA== 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=Dw4JPrP6acwrpZwuGGjt1P7HcEJMDGmCI8V3sWOk5Ic=; b=hYR+afoI65I6YHMMf0gsHQbHZDiYaFSjs5rOMTzydtt9aScedKZvda1iVWmsxvxbSj ljCx3KLSJdton58PkYvhejGYlyVuTGJrtYV1CAv+N+jDF51iMnub+KTgofkLcFB+aMrB +p3tspr95Ofrd0vI+PyzAXUayoJXR0XtLJNqwoFLPS8tej3F7qxuG/AM93qBTApl+hri dJ/e8FAzhKWrW0SZWmLkt8NS47YHby057nnlsdoztpxHMYNAVHjGbzYbhH7JGwJI7Qy8 Cwu57PnYG+QwbO+aVoEa5drnf4fZsrLhaQHMl+WHCzHOC6OECwZYIwac3Dyiv6KFM9Pp VpVQ== X-Gm-Message-State: AOAM531W0o33leY4afSWkFi+nLSbYSQhnn9Iy4yy1C34an+S/Z8LeeJJ K85fBroM+cLF5nkeY3uoc1ju8DJcWtE= X-Received: by 2002:ac2:59ce:: with SMTP id x14mr5133297lfn.545.1608488792261; Sun, 20 Dec 2020 10:26:32 -0800 (PST) Received: from [192.168.2.145] (109-252-192-57.dynamic.spd-mgts.ru. [109.252.192.57]) by smtp.googlemail.com with ESMTPSA id p13sm1877788ljc.112.2020.12.20.10.26.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Dec 2020 10:26:31 -0800 (PST) Subject: Re: [PATCH v2 07/48] dt-bindings: arm: tegra: Add binding for core power domain To: Krzysztof Kozlowski Cc: Thierry Reding , Jonathan Hunter , Mark Brown , Liam Girdwood , Ulf Hansson , Mauro Carvalho Chehab , Rob Herring , Peter Geis , Nicolas Chauvet , "Rafael J. Wysocki" , Kevin Hilman , Peter De Schrijver , Viresh Kumar , Stephen Boyd , Michael Turquette , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org References: <20201217180638.22748-1-digetx@gmail.com> <20201217180638.22748-8-digetx@gmail.com> <20201219105720.GA5323@kozik-lap> From: Dmitry Osipenko Message-ID: Date: Sun, 20 Dec 2020 21:26:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.2 MIME-Version: 1.0 In-Reply-To: <20201219105720.GA5323@kozik-lap> 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 19.12.2020 13:57, Krzysztof Kozlowski пишет: > On Thu, Dec 17, 2020 at 09:05:57PM +0300, Dmitry Osipenko wrote: >> All NVIDIA Tegra SoCs have a core power domain where majority of hardware >> blocks reside. Add binding for the core power domain. >> >> Signed-off-by: Dmitry Osipenko >> --- >> .../arm/tegra/nvidia,tegra20-core-domain.yaml | 48 +++++++++++++++++++ >> 1 file changed, 48 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-core-domain.yaml >> >> diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-core-domain.yaml b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-core-domain.yaml >> new file mode 100644 >> index 000000000000..f3d8fd2d8371 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-core-domain.yaml >> @@ -0,0 +1,48 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra20-core-domain.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: NVIDIA Tegra Core Power Domain >> + >> +maintainers: >> + - Dmitry Osipenko >> + - Jon Hunter >> + - Thierry Reding >> + >> +properties: >> + compatible: >> + enum: >> + - nvidia,tegra20-core-domain >> + - nvidia,tegra30-core-domain > > The file should be in bindings/power. > Include also the power-domain.yaml schema. > >> + >> + operating-points-v2: >> + description: >> + Should contain level, voltages and opp-supported-hw property. >> + The supported-hw is a bitfield indicating SoC speedo or process >> + ID mask. >> + >> + "#power-domain-cells": >> + const: 0 >> + >> + power-supply: >> + description: >> + Phandle to voltage regulator connected to the SoC Core power rail. >> + >> +required: >> + - compatible >> + - operating-points-v2 >> + - "#power-domain-cells" >> + - power-supply >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + core-domain { > > power-domain (to follow schema and devicetree spec) Thanks for the suggestion, I'll update it in v3.