Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp297267pxv; Thu, 8 Jul 2021 02:49:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRp8PS9RU5wXFjNpJo/QOn41wrd0Cem28SUSI0pGrQ6M+1U76NsF/sVialahUwhL3GFpzU X-Received: by 2002:a17:906:3e8d:: with SMTP id a13mr29650494ejj.463.1625737743941; Thu, 08 Jul 2021 02:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625737743; cv=none; d=google.com; s=arc-20160816; b=hyARnrf01Ssb9RMbRum4okNg+XMvp0S2/H+nit8L7rMJFT4wJyYAwWo2Qpji1jgTkD DU7g2zZyTZ6Uxo5xMfIRh85OHQBVBmJM3JwLhWUPx/6xE191JGhlTkw/LXf5ZBNjAAVc uoepkRTLdis/fMuU53pm39stgjG1LpsPTl8E7s6Hm+6rn4br8u7Hl3BOozgRlKwHO0qi lf2092RUMUKJ3CviwE0r5Px2aFw9RL+Cq75CZyrezeHTFCQWkmER1up4S4/nBHo2pHrG I4MXbkFXrS0ndj1GfnnUAehbK/gObXR91xfq0hZ7rUSF+xgz2C4ZOv6ZFv3mGnGVrXds mZPQ== 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; bh=sqWyNGudVuElSm2fjSw0fUVrxrGpZuSoG0yfc9ufVeY=; b=GBAMTIBgu65kzpHSLj9aWVnxJow+K96x9ZxUN+OKbx5XyJdJgdYDB/YyQcxqWkA3gJ MvEEWn4VaGA8lHZTf+7X7h1FSraTyV2LxpvcppCq1MxKY1vu47ZsH3xj0n0f3vJ7VGS/ ZOdbhCTssM63EOjAvEgEguMNtZh87aN1r9dyHyZXO0cWZcPR07r5B/9nLYDucWBQPUWC NLIFWQVwqIrfcb+++pzHbSVTtk+mlTZWMh86uIgAV9+baB7zM7L9pPuwx8t0nFlw/Mk8 LObCvQOLOq+bxipRGSFSS4fJiYtEkyF4qOpRxImH/5vCmsFfjcmd8LFTOyKh7wfDcjFi XBVw== 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si2547669edy.327.2021.07.08.02.48.41; Thu, 08 Jul 2021 02:49:03 -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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231417AbhGHJuA (ORCPT + 99 others); Thu, 8 Jul 2021 05:50:00 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35089 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230079AbhGHJt7 (ORCPT ); Thu, 8 Jul 2021 05:49:59 -0400 Received: from mail-wr1-f69.google.com ([209.85.221.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m1Qcm-0007PE-Dh for linux-kernel@vger.kernel.org; Thu, 08 Jul 2021 09:47:16 +0000 Received: by mail-wr1-f69.google.com with SMTP id k3-20020a5d52430000b0290138092aea94so1719069wrc.20 for ; Thu, 08 Jul 2021 02:47:16 -0700 (PDT) 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=sqWyNGudVuElSm2fjSw0fUVrxrGpZuSoG0yfc9ufVeY=; b=AZ9cgO9cdFAFiJyxIqVePQ5HePOYwCljunutpL7ig9v2tDFdBGXmUjjXSq6Lvjkd79 1l49JO2qWliRANUQ4wxEqWKhZh1fF907oyNJv8hKS/LFSoSszS86+DMDuTJLuW1w1Sga dSXOfpx9+Y5J6SUmuA5P1K3qLji0wNqwouQLsnjybs4WgwpBvaOf/mT7S0IGIhG+yTBY FXZ78j0k7viqY/Qj4AxwkgxgFnK201AZOkTr+TiFc0wldx4wqIJeKF4kT/vNTCb4atbm 430g4uDziTpcxNGdcfdk/4KMNwU2izgt0jwR9vYdQvn1OF42PPPeVJgs0gIqk1gGbgdG H1Fw== X-Gm-Message-State: AOAM530hQmQ1tgI96401YNgEkoB3ZqfASgC+T8BNjd4AfyKnLIFxRn3Z So6jSV55G+7MuNvm7th6vqHaUGwGExi7OM5f9FxzUlvXhahyEnpW3Q2OSwOSGV48kkid3jlnzS3 lOIA+GqPQCgLFfsGkOKpgCqCoCsVOC2cZ51seWQmIkw== X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr33862434wri.348.1625737636226; Thu, 08 Jul 2021 02:47:16 -0700 (PDT) X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr33862416wri.348.1625737636070; Thu, 08 Jul 2021 02:47:16 -0700 (PDT) Received: from [192.168.3.211] (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id d24sm8936115wmb.42.2021.07.08.02.47.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jul 2021 02:47:15 -0700 (PDT) Subject: Re: [PATCH 6/9] memory: mtk-smi: Add smi sub common support To: Yong Wu , Rob Herring , Matthias Brugger Cc: Krzysztof Kozlowski , Joerg Roedel , Will Deacon , Robin Murphy , Tomasz Figa , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, youlin.pei@mediatek.com, anan.sun@mediatek.com, ming-fan.chen@mediatek.com, yi.kuo@mediatek.com, anthony.huang@mediatek.com References: <20210616114346.18812-1-yong.wu@mediatek.com> <20210616114346.18812-7-yong.wu@mediatek.com> From: Krzysztof Kozlowski Message-ID: Date: Thu, 8 Jul 2021 11:47:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210616114346.18812-7-yong.wu@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/06/2021 13:43, Yong Wu wrote: > This patch adds smi-sub-common support. some larbs may connect with the > smi-sub-common, then connect with smi-common. Please start sentences with capital letter. This (similarly to "This patch") appears in multiple patches. > > Before we create device link between smi-larb with smi-common, If we have > sub-common, we should use device link the smi-larb and smi-sub-common, > then use device link between the smi-sub-common with smi-common. This is > for enabling clock/power automatically. > Move the device link code to a new interface for reusing. > > there is no SW extra setting for smi-sub-common. > > Signed-off-by: Yong Wu > --- > drivers/memory/mtk-smi.c | 78 ++++++++++++++++++++++++++-------------- > 1 file changed, 52 insertions(+), 26 deletions(-) > Best regards, Krzysztof