Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp751840pxu; Sun, 25 Oct 2020 16:07:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwpXz8UwD9SnW2pmzBipeH3MHiGRCwfkrMK7IYgSFratUuRRsaDMZbpIk2m5MteCUdU9o9 X-Received: by 2002:a17:906:a149:: with SMTP id bu9mr12652305ejb.115.1603667222246; Sun, 25 Oct 2020 16:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603667222; cv=none; d=google.com; s=arc-20160816; b=R2YZX686lg+tQgfyA9cJlnpXvqAaFIoiA74h79GBNK6mcSuNfU/WNH6ZzS4Pxh0mt/ QsJgjr84/Oh3J1UFFmnjZxY2JHMyqegYWqlIbATI6orkyyrJI6ty2mCZ2XGcpTPNcFVP mQpuWOfBhYdLJ24W8P4Mwk61fFF/rxya2ZyVPGeIYjRO0xZHPZzADyBS7/cBfp/m0Py6 YzdLM0zg1d7kFierN2J07DPohHJLt4s4FykoZI2hW+0RwivEIp4ii+cTuHnDXbUY8eQa 2sZgA9We9uYUDyVn5KD0iXbGhHqTlFR1P5P4o3O0XSVuN9emW1wM5TsYDgc+DtB3v8Vb l1DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W9sDSp9UsTOyPg5KK8o0S3uHbpxl1X+CxL9GNXFca6g=; b=rrKyXUHy9zl86GZtAL+TcnrgW9fhFBb+ngnGdCct15s+o3Ue4LfZ0J9nFbYmvFc5Md dCdqo0HwCuaCnqErGs0U06voJTivKAnzu7ECKUu4uWqBZ+Bs1WuIviCWq4Fis6UKDpny J+jxO248AvykWxRtA88YpRY+qXF61eObpFtwg8iSbAxS/zcjw6J4zCdSy8VM5aJYgegJ D7vHuT0iWfQEVumTdlc+J5pTjIDHjcXOBDuS+GU7nQ0DVcXLcIOnOVUP9lR2sjVvgzWQ GsUHwCz9WFxbY14X2JDaYKzV6jAT48RiJEohPptwrWcw4v1hlPwJLqgaFWCWzldNyHX2 ruRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FxPsN+6J; 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 r16si5866327ejs.21.2020.10.25.16.06.39; Sun, 25 Oct 2020 16:07:02 -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=FxPsN+6J; 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 S1419190AbgJYWSF (ORCPT + 99 others); Sun, 25 Oct 2020 18:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1419195AbgJYWRz (ORCPT ); Sun, 25 Oct 2020 18:17:55 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2706C061755; Sun, 25 Oct 2020 15:17:54 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id a5so7685764ljj.11; Sun, 25 Oct 2020 15:17:54 -0700 (PDT) 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=W9sDSp9UsTOyPg5KK8o0S3uHbpxl1X+CxL9GNXFca6g=; b=FxPsN+6J8h2aIRcjDbmWlta0K0EQg++E8JM2eiQpYPDHBJKT5SkDIM1gHxiYDuQGWn 1JaUQE95oGdqOHmMGIZpKB3Ggp6NfKMrvGb9su8kd29EJsh1RL+YTuYCvmxKswsBJNPH KcF2Ej0UsdXaKiLM9qTEThqccUEuxAH1QiWxbW1fD184w+CInvpJNpKBXWmyPZGWUX90 su5CdTIdxFroVnxlczmm+fajT1vHFSnBOFTpOrqjp7rIbY6XH+hSCDLs3DW6Ng2709iQ tnyV44RGx906uM8VUlypVg2NU0MhN4uTk7krMA5jHzEZnqFSG0NSfUUejjKGxUSJFlRx b/FQ== 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=W9sDSp9UsTOyPg5KK8o0S3uHbpxl1X+CxL9GNXFca6g=; b=jOTGYB9Md5sxkiAPlsca3MJmRDxzF5syqfXdUwPD7HK+ENyit+4jTjELyF24KpCzuM sScLLP/tRpzRUuBI56H2I/FXYHiBmZFt//7PmL4coKxUrCz+wniqKyxFScF6CEfg7jpg e/AFJLt/VM//8iyKqA5xDJ3jZapa1B7bpLcMKyL4Nh3oUR0mCV/nZp62FG7yxS4iJDZk 8TFXuN0728BUg1vr6Ri46Ekm+VsCSqKoiyA6OGK7GCY9TQv4I9oj8yPy/yl9p6Ydwr21 KT0miUeceGBSLduv4jmBvhiEkFE2QxAD/Z6zvVxQot7c5j7tbk/D8jxc+EV6IHCwxcx2 p0kA== X-Gm-Message-State: AOAM531Kp59G670+rYgsTCKvuCyEWISolsYHz4Y8hjgYWh3wvSHiQ9XO 34cMbkWO4xe9PX5iLcUUZX4rK3bI+fw= X-Received: by 2002:a2e:9bce:: with SMTP id w14mr4590245ljj.439.1603664273376; Sun, 25 Oct 2020 15:17:53 -0700 (PDT) Received: from localhost.localdomain (109-252-193-186.dynamic.spd-mgts.ru. [109.252.193.186]) by smtp.gmail.com with ESMTPSA id k13sm932423ljh.136.2020.10.25.15.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 15:17:52 -0700 (PDT) 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 Cc: linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v6 04/52] dt-bindings: memory: tegra20: emc: Document nvidia,memory-controller property Date: Mon, 26 Oct 2020 01:16:47 +0300 Message-Id: <20201025221735.3062-5-digetx@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201025221735.3062-1-digetx@gmail.com> References: <20201025221735.3062-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra20 External Memory Controller talks to DRAM chips and it needs to be reprogrammed when memory frequency changes. Tegra Memory Controller sits behind EMC and these controllers are tightly coupled. This patch adds the new phandle property which allows to properly express connection of EMC and MC hardware in a device-tree, it also put the Tegra20 EMC binding on par with Tegra30+ EMC bindings, which is handy to have. Signed-off-by: Dmitry Osipenko --- .../bindings/memory-controllers/nvidia,tegra20-emc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt index 567cffd37f3f..1b0d4417aad8 100644 --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt @@ -12,6 +12,7 @@ Properties: irrespective of ram-code configuration. - interrupts : Should contain EMC General interrupt. - clocks : Should contain EMC clock. +- nvidia,memory-controller : Phandle of the Memory Controller node. Child device nodes describe the memory settings for different configurations and clock rates. @@ -24,6 +25,7 @@ Example: reg = <0x7000f400 0x400>; interrupts = <0 78 0x04>; clocks = <&tegra_car TEGRA20_CLK_EMC>; + nvidia,memory-controller = <&mc>; } -- 2.27.0