Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3083268pxb; Tue, 21 Sep 2021 14:14:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7YZP3LHkVrhq53W8dfG9TIjS+hQ+Npk5CEwUBwVjg+0e+uv7CzXbjPpHNU6kpoJ2ALtKF X-Received: by 2002:a92:d0d2:: with SMTP id y18mr23490272ila.80.1632258883457; Tue, 21 Sep 2021 14:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632258883; cv=none; d=google.com; s=arc-20160816; b=TxKGQQEuuMzeQXJPt9XlLQfgcbJQ78pUjV+8wLs2uP9G89FSSr7f0uqVPUSlhj3DCv puSvcNLa8KHLSQRBG8F1wd6lYG0nrC/4JqJIFNXUULdHpEuh89UUD0gyQvTy6jb1MPEa tv+ZzgjiGYY2qreW05ORLyAoneNEBbLn+FPmkAkwLRtl5Y2gshW8oO677PxQ7PU28qbi xG15V2yL5MqzEXJIiZrqIqFNkkFY1d7PhccqMElHeoJrj9G74mnH8wrC2AqT7/kxhILu UMYIS6rQZjQqX22EW2c+OkU+BEWkknH2ev9PFe+Aa14L7FsYsr6QV4kfOPyYPwfiApfY Qybg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=74OhYUyeQYysi/TzRlJJ051fes4I/adprkYFLTi5Sdw=; b=f+gqjm6WkgZ4oTftlmDpQ4todZxTq2w26YQLq2z6PkG4J2yL/vibnU79gSsvfKYvmC n2QbXXQyq/OVCtia8YoJZ31kq5mmoDRkQDaMi2Jiqs0mU4S+dbTlw3tewWiyz9DkEER2 hCDah9f1iyR/4ubm/YV6wuUzGDG1MDDRSf5dAaUmHwCbQ1VO8XGRNVCaq1bHOMIYRZTs Qfciq7kgVcLT13xey30dE0W8tO2TsqA1qCw5tp1DFgQ2zLmAycSZdYNDLk3/+R8xb881 7bVNI0h5k9mErC6BKsUf0NjooKTuUmXgRsuhQGu0pcJ0f1HaVhmjnpTlNZuJPAj9rY/s Fnyg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o38si33545jac.39.2021.09.21.14.14.28; Tue, 21 Sep 2021 14:14:43 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234933AbhIUUiP (ORCPT + 99 others); Tue, 21 Sep 2021 16:38:15 -0400 Received: from mail-oi1-f181.google.com ([209.85.167.181]:36760 "EHLO mail-oi1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234921AbhIUUiO (ORCPT ); Tue, 21 Sep 2021 16:38:14 -0400 Received: by mail-oi1-f181.google.com with SMTP id y201so1050813oie.3; Tue, 21 Sep 2021 13:36:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=74OhYUyeQYysi/TzRlJJ051fes4I/adprkYFLTi5Sdw=; b=PEmfxGR2vC8ZC//3Nsi+rcK3BDGVjQ5PsAGM8SXIOSTFHICk/mYSSm1AhKiF4TT6Af lQJC7k1N0M0/21F2B0AALtYvqAOHuXobowoqJd5Gyuv7RY/7qCmGqGb6qIxPSBr7/w6Z CtZkKhhda9IkfLRqBn3UStMzhyyN36XnvVq+tap6IV0S70jzvmdKp5MFmmulXAhsajUS RGmnwGIlm2Od90d5jfSW1Lxtgns8Nmz3MgeHxfGDBIbhtOqx+c8bZQsCByQVJN6dL9LC hljnPzT603bTMxXUFI7bRAn9faQSt1hOeZa5vImId2i2xkgdN180soT1tCJzRWF0zoda /n3Q== X-Gm-Message-State: AOAM533+rgVFv0H6GC48HHIqCrAYOogW8R0eSoUugwNjvXxJtaV6+WWE 7EstX4+mT2iee6DWVDdxNQ== X-Received: by 2002:a05:6808:1481:: with SMTP id e1mr5210840oiw.5.1632256605224; Tue, 21 Sep 2021 13:36:45 -0700 (PDT) Received: from robh.at.kernel.org (rrcs-192-154-179-36.sw.biz.rr.com. [192.154.179.36]) by smtp.gmail.com with ESMTPSA id v19sm16599oic.31.2021.09.21.13.36.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 13:36:44 -0700 (PDT) Received: (nullmailer pid 3285894 invoked by uid 1000); Tue, 21 Sep 2021 20:36:42 -0000 Date: Tue, 21 Sep 2021 15:36:42 -0500 From: Rob Herring To: Yong Wu Cc: Ikjoon Jang , Krzysztof Kozlowski , youlin.pei@mediatek.com, Krzysztof Kozlowski , devicetree@vger.kernel.org, Joerg Roedel , linux-kernel@vger.kernel.org, yi.kuo@mediatek.com, anan.sun@mediatek.com, Tomasz Figa , ming-fan.chen@mediatek.com, Matthias Brugger , linux-arm-kernel@lists.infradead.org, Will Deacon , srv_heupstream@mediatek.com, linux-mediatek@lists.infradead.org, iommu@lists.linux-foundation.org, Rob Herring , anthony.huang@mediatek.com, Robin Murphy Subject: Re: [PATCH v4 02/13] dt-bindings: memory: mediatek: Add mt8195 smi sub common Message-ID: References: <20210914113703.31466-1-yong.wu@mediatek.com> <20210914113703.31466-3-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210914113703.31466-3-yong.wu@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Sep 2021 19:36:52 +0800, Yong Wu wrote: > Add the binding for smi-sub-common. The SMI block diagram like this: > > IOMMU > | | > smi-common > ------------------ > | .... | > larb0 larb7 <-max is 8 > > The smi-common connects with smi-larb and IOMMU. The maximum larbs number > that connects with a smi-common is 8. If the engines number is over 8, > sometimes we use a smi-sub-common which is nearly same with smi-common. > It supports up to 8 input and 1 output(smi-common has 2 output) > > Something like: > > IOMMU > | | > smi-common > --------------------- > | | ... > larb0 sub-common ... <-max is 8 > ----------- > | | ... <-max is 8 too. > larb2 larb5 > > We don't need extra SW setting for smi-sub-common, only the sub-common has > special clocks need to enable when the engines access dram. > > If it is sub-common, it should have a "mediatek,smi" phandle to point to > its smi-common. meanwhile the sub-common only has one gals clock. > > Signed-off-by: Yong Wu > --- > change note: add "else mediatek,smi: false". > --- > .../mediatek,smi-common.yaml | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > Reviewed-by: Rob Herring