From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 4CB33C07E96 for ; Thu, 8 Jul 2021 09:47:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2AF2461AC0 for ; Thu, 8 Jul 2021 09:47:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbhGHJuA (ORCPT ); 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-Google-Smtp-Source: ABdhPJxA3YilHPZ1h4YN/boLpRhydKgVWfFWvPY1mi0CfKNUCFbOLg+vcpMYWAsmGhdef7F2n7aCtg== 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 C4AD0C07E96 for ; Thu, 8 Jul 2021 09:47:23 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 63AE561A33 for ; Thu, 8 Jul 2021 09:47:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63AE561A33 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 2452D40E43; Thu, 8 Jul 2021 09:47:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J_OWwQSdXj7o; Thu, 8 Jul 2021 09:47:22 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id DA387402C4; Thu, 8 Jul 2021 09:47:21 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id AF881C0010; Thu, 8 Jul 2021 09:47:21 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 954AAC000E for ; Thu, 8 Jul 2021 09:47:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6F04740217 for ; Thu, 8 Jul 2021 09:47:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9X27f0dztqW9 for ; Thu, 8 Jul 2021 09:47:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by smtp2.osuosl.org (Postfix) with ESMTPS id D8CE8400E0 for ; Thu, 8 Jul 2021 09:47:18 +0000 (UTC) Received: from mail-wm1-f71.google.com ([209.85.128.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m1Qcm-0007PF-E1 for iommu@lists.linux-foundation.org; Thu, 08 Jul 2021 09:47:16 +0000 Received: by mail-wm1-f71.google.com with SMTP id m7-20020a05600c4f47b02901ff81a3bb59so951513wmq.2 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=iUM1VKzDHVVfYBVu5aTq0DukSs7YD+zlKqJPZK876cn51fwIGrX1bUESI19fLe9D0a ztDxvzSafrUdyWtklVo9ICauugZRGrLfWmOZ/RVtDP+cFmY3s/4+1T+jv+EWkptC9ypH HHF3pQiRb+bvOO23fBblyXOrYuxlExPp8GRAsPnpEpP/nuWNqN08YujsNSivTPgHmmLZ 6uZqKQPWwUtGzmwyN9Y9iyjTFW4g70oIT0GOaHzMLp2BcjRW27T1XPWV0iRQHmLnU5bj gTBJmh+HDEbKIrkDAG5lTbHb1gK1NN3XlHUejAD451h6d5uXtVZuxtxA9XWKho1+5kBl xx0A== X-Gm-Message-State: AOAM532L73VNC6HhM0x0U8TbCJH/Tfh0jtoBU7HU6LL0Bc9bvczO9VDq HfNx7vB47c8TO/a/yT9j6wFT6cPnism+x+4SFRjYYETK+rfVk0A7ZgKx1CCg1mERMLvI7aTGY1H +b+eUmRotJ/1w23/5Emke6yg03Xor3C1hhT29XLGfGxYOGNQ= X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr33862444wri.348.1625737636226; Thu, 08 Jul 2021 02:47:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA3YilHPZ1h4YN/boLpRhydKgVWfFWvPY1mi0CfKNUCFbOLg+vcpMYWAsmGhdef7F2n7aCtg== 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 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-Language: en-US Cc: youlin.pei@mediatek.com, anan.sun@mediatek.com, srv_heupstream@mediatek.com, Will Deacon , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, anthony.huang@mediatek.com, ming-fan.chen@mediatek.com, yi.kuo@mediatek.com, Robin Murphy , linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" 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 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 EF76FC07E96 for ; Thu, 8 Jul 2021 09:47:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B97F961A36 for ; Thu, 8 Jul 2021 09:47:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B97F961A36 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ymy3zwsE+FTx9jJFwDduIqzSXXpBLNtPk0nwHNF8uW4=; b=4omn0FpZjkHuHacBEuL4xWBA/V ersu/smMjJm80WXJb3LYX4pnK96JC/gM7vYvdsh+0IjrYbcz0GPYmXx1gT5yxrvV1tsZImklx9gn2 RsuUUqSANUSWiFXMsWKOUv6KXSw6hkF6Og0t/ubc1mL5BR1nFxmAWikWCwmVSLzb7yK7hQ/Crakch 0FON7cB80KSDwwtlgJ7JkRKNDdIPJXxma/LLOBN9FYCAAOM6NZwODIyFH9MOcHNjyTg00T10EDHmi TH4Iiv8OKqpn3EMVr0XMJPI1d9Nex0h7hFWxTs2FZCYyevyZLEX5U7q1W/X/Z12FfcW79mFLcyUqL 3Cf6k2Aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1Qd0-00GWYw-RK; Thu, 08 Jul 2021 09:47:30 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1Qco-00GWWu-OE for linux-mediatek@lists.infradead.org; Thu, 08 Jul 2021 09:47:21 +0000 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-0007PN-Hy for linux-mediatek@lists.infradead.org; Thu, 08 Jul 2021 09:47:16 +0000 Received: by mail-wr1-f69.google.com with SMTP id r11-20020a5d52cb0000b02901309f5e7298so1749237wrv.0 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=dQizu6+iLHheT0B24YHoi8/hqhEF6E+1BWufZQTWYGkJqLjEkNRd38mROBKDhB2gfQ zG89ZvdvJL6afntu6rRhgV+xHi54P78WxVrvN6+yy5lUcm6eCh7sAfOgTysZWiMCBSKw nErURuFwKrwt4abTynjA50l7FlBtlXlZfNo490A2Cwu4hpFqMEAQIV+n3LTSUFnLhV9U gajqqsYHvkqBEpgF+qPlzc1QUbo84+L/ISwQVsHxdl0ExmPXJMc/ieN4AJEpMEud7lq2 Em3v+enYQ2Nzt1DJDA4c3EzZBWLnQtXl6EeImbJuI24JjMteMHRHko/IcoWkxq4A6ZBH V4Yw== X-Gm-Message-State: AOAM5323N6/wncSioFMkJ5pzlrtmXQY6Ub0kS3xN1BeQHCMphc9+jeIc HWDIXgQjn9a6686cCFhAig8E1AliCV//R+fla9mtUq0qfz7jRrWdoVi1VBTuwRZVhRGkMWDYknf pZO5YGQfcRYQS1xPSUBq+rqqi5f9ltnVKNQXEtRB1AJSk82OYbg== X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr33862446wri.348.1625737636227; Thu, 08 Jul 2021 02:47:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA3YilHPZ1h4YN/boLpRhydKgVWfFWvPY1mi0CfKNUCFbOLg+vcpMYWAsmGhdef7F2n7aCtg== 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210708_024718_867526_0C1059D7 X-CRM114-Status: GOOD ( 16.57 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 1729AC07E96 for ; Thu, 8 Jul 2021 09:49:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C850561AC0 for ; Thu, 8 Jul 2021 09:49:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C850561AC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=CpRQ6gu5imUj9Xp9vRYpxnKNHaRUqHyBY78S22PReD0=; b=LD2qrIdGFvc9/ltbGgyqtZwaFG e5R8RIq3j6EicI2SYR7DrALZFF56iqNc8MajtFrUMk4r9tK5Ze1dfNXR9mn7xgQ2DqQxxD2zQArnc S/uS4gWXNkb02AgdlJG5HrvFIl4hn15H5XgOAqDW1wCGFiNzgWHyTcqyYYrhxCUza6+ZAvBLWlbGY TpNkjhG4/FzsDVZtozx4/frMDhO90TB8I58dzu51jlegXYgCawXMOENBdwKD8xGuWja/jTqWr5yjT NjmZXPEbsWAWskkufrSZCPL9lUU0MAR0oGRKsEZFxQQpIAzVWOfR6CSZaanN+/iinUmvlVGU3wlqM 1/CIyP6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1Qcr-00GWXo-Nt; Thu, 08 Jul 2021 09:47:21 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1Qco-00GWWt-OD for linux-arm-kernel@lists.infradead.org; Thu, 08 Jul 2021 09:47:19 +0000 Received: from mail-wr1-f72.google.com ([209.85.221.72]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m1Qcm-0007PG-Gr for linux-arm-kernel@lists.infradead.org; Thu, 08 Jul 2021 09:47:16 +0000 Received: by mail-wr1-f72.google.com with SMTP id d9-20020adffbc90000b029011a3b249b10so1720932wrs.3 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=Egjl/XirIG4gHnkH1R4MfADVpZbCcjhZrFKC8g/4N/+hhChHq6wvDQ/nZ7Lc3Vucun mMIK7rTCTlsbK5TcbURvR3bx6npElbx8XxKIdHZnxHdeah9tWAhKEh4mMI3Foz5FIw66 0MKT1x5aWVzEcCQKeLw3ZAdsw4dlRuWNHEXYPgQyUrJFrJuclS5MZumu/NdcBIcxlqm6 RpkWxzIAeXXsy3YjqPrsAfVTJUBOCzSfR3iCDEGlyy1DKbADRZCBEQlCclUWlOq1t2F3 a0dvl0u8GTR/yHUpKxX6YbfOKixWNdmRLddj3TqQZxkyI69ajjE+CufQlDB4ilaPvydv 89Kw== X-Gm-Message-State: AOAM532l0PQWW9/7C3OgEyJ8W+7aREtWbOVxhCXS2Pz5kotOSIdvOGon JB5fUdRRiUywFkn5c5MEr1ffXvWCsPHBbbM4EXk3luq6E6GuCzcYkG9+HZVX/mBP4/F1YSXNSM8 snp7KxFLw+uwluPt4WQOfoPgIkuyqHuAIHjA3PMXJwhXfQhD8gns+ X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr33862443wri.348.1625737636226; Thu, 08 Jul 2021 02:47:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA3YilHPZ1h4YN/boLpRhydKgVWfFWvPY1mi0CfKNUCFbOLg+vcpMYWAsmGhdef7F2n7aCtg== 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210708_024718_867548_27F5D4A3 X-CRM114-Status: GOOD ( 17.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel