From patchwork Mon Nov 23 00:27:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 11924197 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0C8DC5519F for ; Mon, 23 Nov 2020 01:07:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CA8220771 for ; Mon, 23 Nov 2020 01:07:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="efaz58nH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CA8220771 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B8CD189BEC; Mon, 23 Nov 2020 01:07:13 +0000 (UTC) Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by gabe.freedesktop.org (Postfix) with ESMTPS id 144FA89A60 for ; Mon, 23 Nov 2020 00:31:16 +0000 (UTC) Received: by mail-lf1-x141.google.com with SMTP id s27so1466753lfp.5 for ; Sun, 22 Nov 2020 16:31:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aiKxinntaaBhKNDA6LHo2vQincTmnZ6b702qKhoDqBY=; b=efaz58nHi7ZIPNTz1vsAj1hnSBa0M1ImwOfX2KoyXe1MoVJ48V7MkK76CAiFX9Llis JC7VMkN+rIr8dQEBBJYTPMLkPHND3na3EjyX8Jl18Bh0JuNMwAEyXb14kyyXSwsFBX3r 2nSsamHEb3exucuwwPUd8QU0NnAVWFp7kap+4TABQVuMuAmq+3R510d/dxvJ1/N12Y1v MkwYeR1oYVCe31LVUmvFfsFfHD8CclGXcHoYCpd4xrhrh60VG3aEdpoPObEPhy4Ar1oK 8Q3bvL+iKcah8cCrbmhF2QedMtE+FL6Hl0goHN2nq+kiIIFT4CJjfL/PSnTabI+acx6C rZog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aiKxinntaaBhKNDA6LHo2vQincTmnZ6b702qKhoDqBY=; b=jIEQ918HvW/ZLEw5J7Iss5iaE/rp8mAlxfMZv2lEsTJ6ZwTphmgSR4cIFoConIoRz7 ApbAjWSBqLZalHdCMDHSZ7mXcNuAvqzI65AQCrVrWVt/5XqPGDHs1TiPbJDZ9xGcx3w8 4Q/Ijfjg3oMnmgSUSG4cnfn79Acud2fzB94xqo2IMnF5kvw/uavfAZH4s/xQJQgkj08+ UTMBZRj/s9YhKM06VAqASFB6705uUAFH9s1i6tjMlMHHvQiT8F+vXm4Zju4D1AnJ4NMy PWcqSyO8RmrpJ2sVmIpsaM3kvs6OvqZSMTmUxv67xcoPcd5GJpYF6qhnz//GTOcdPGM1 xvZA== X-Gm-Message-State: AOAM5338rhDxUIMbiwnKtp6unjlFIUIKAHPyjodctzeOiGbxk8PZft8H sLD6LoX6piF+2Aw3VnK70sk= X-Google-Smtp-Source: ABdhPJwJcon4kwwSKPI2+abWib1wTP3B2tcX9CDwpGJUURqjxaPIly5wScJkIBxUc6uYOv3TCwHzvQ== X-Received: by 2002:a19:ca57:: with SMTP id h23mr885032lfj.12.1606091474437; Sun, 22 Nov 2020 16:31:14 -0800 (PST) Received: from localhost.localdomain (109-252-193-159.dynamic.spd-mgts.ru. [109.252.193.159]) by smtp.gmail.com with ESMTPSA id r27sm1225823lfn.290.2020.11.22.16.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Nov 2020 16:31:13 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , 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 Subject: [PATCH v10 01/19] dt-bindings: memory: tegra20: emc: Document opp-supported-hw property Date: Mon, 23 Nov 2020 03:27:05 +0300 Message-Id: <20201123002723.28463-2-digetx@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123002723.28463-1-digetx@gmail.com> References: <20201123002723.28463-1-digetx@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 23 Nov 2020 01:06:28 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Document opp-supported-hw property, which is not strictly necessary to have on Tegra20, but it's very convenient to have because all other SoC core devices will use hardware versioning, and thus, it's good to maintain the consistency. Signed-off-by: Dmitry Osipenko --- .../bindings/memory-controllers/nvidia,tegra20-emc.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt index 67ac8d1297da..fe99ce1013bd 100644 --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt @@ -16,6 +16,12 @@ Properties: - #interconnect-cells : Should be 0. - operating-points-v2: See ../bindings/opp/opp.txt for details. +For each opp entry in 'operating-points-v2' table: +- opp-supported-hw: One bitfield indicating SoC process ID mask + + A bitwise AND is performed against this value and if any bit + matches, the OPP gets enabled. + Optional properties: - core-supply: Phandle of voltage regulator of the SoC "core" power domain.