Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp149007pxx; Wed, 28 Oct 2020 00:42:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydAOZlKCSR059/CaQICfpn1xv54KCEwoEqSE8cPG+KDg8C8BmiO8mJ/72tI7E6/5avIYmL X-Received: by 2002:a17:906:a981:: with SMTP id jr1mr6078661ejb.99.1603870939177; Wed, 28 Oct 2020 00:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603870939; cv=none; d=google.com; s=arc-20160816; b=UOK/XO6M4xsRVkzfCHnmEWo1bj/hOgkqovffDZPudDol0dH5gIhHcg/kSiDMjLEiBg YHQWfFzYPMdRrnzuOxAjeXqWoVyzuMmbx5uDHhGxaFbHmMFwnDYwfi+HAemvNsHPqYPI nH40bjpnSYlfhPkPR4RMJrg/WWGGgEdK2+yVMAqD5wkI8OktcD6sK4aWoEUk4E49HnhG LzYfER2hgOAEmPt/3uqRvU6kPVkFBq6+O45A1F/ApNVMA59oNY/BNcWyWYZR6qDR+44t EBLPADUouVrsni3mypsUKRGaVJxjtC/DF9tUTPchhMr8O1IDKmxei4FtBk21my8h8Hay adUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iFiKV/id+bhp/OGyzJyPrVgrZf8FoY0fdLp5S5yqHuk=; b=z/2voCuXIJ2VxZRXS4ysnkZBa1lGHdHjAEeFGhQf6tWnCSIjIYV+HhgIJqeS74DAod BiwB3XB2Z9jpYvFnfN9j5vQYOXIYKe3OZQD7r7BJQRc3VjV6MAAb2rZB6MZ9faad1g5C 5hdjrYoXb9AasC5Aey6WGqqzwehqWCJS1bf+RXIZ8u3SEte0n1lLIhIcZYXepTOA61ib 44xKRYRDqbTb3l0hSNDzLVnOxmFQQY3hCSbeTQf3ioiCCeAuu+E+9kz4UENDh54YrZ2e 28q3mzuFWe6n0EgzNUAde87mw+ea6LO2cFeOU7plz7qedQVCOl82ztusBUz6pCKPQg7x OVvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="we/SNQIk"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k22si3786111edj.504.2020.10.28.00.41.56; Wed, 28 Oct 2020 00:42:19 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="we/SNQIk"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2900365AbgJ0M5h (ORCPT + 99 others); Tue, 27 Oct 2020 08:57:37 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:43828 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2900360AbgJ0M5h (ORCPT ); Tue, 27 Oct 2020 08:57:37 -0400 Received: by mail-io1-f68.google.com with SMTP id h21so1369135iob.10 for ; Tue, 27 Oct 2020 05:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iFiKV/id+bhp/OGyzJyPrVgrZf8FoY0fdLp5S5yqHuk=; b=we/SNQIky5YrQh0PzXP6Tgc1eIaMm9E+w9wS9WP1wIMyhXLi3Qc00UqUJ/rWulxl4X S0JMd/4I7MEy/gjBu/RmJEcSkF2lNMRaW5JzUPodhWNlaZb0uE9J8JtBsqctVxmW9IVO U2xNQ12PzyVLQYGwQ/dPySIq6lOjMsSQZpy1iMxR7rqztopW9wJvIZTcihhNHq7gUD4Z PB8BoQcOle680zaF9ywOl0YyvTcQoThDF7oTv0LWEsxHIb3q3cKxsT97yu5gM8Jcnt49 ALDxk41xIvjj9e5eSaDMrHteCxC8C1h8wF9vVBR+H/FbrvTnfX5bU9Sfn2K9m9x+Alx1 vHxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iFiKV/id+bhp/OGyzJyPrVgrZf8FoY0fdLp5S5yqHuk=; b=RoLAiq1u4rx41iGddtIVaFMgqw1SoDoIQcbCmVMbkXKiAcBVyOBNa1qNBpLwIVE7Ez E6b/x0VUfmQBOfmRzPFMksBWpfKCEQo0Jzn+rnYOR5PSlpBs9KwkwSbSOtED1+VOoWQq uZRO5QaZ/Urat7JAnAKtLObqlbtgJxHpEQ6jecHmsbG1tidtxn20oDh8j9svkckmLb6S +b4c0MMGTBxr6tpSONwHZ9C4nEMvjbS4l8a/v7k8tXqWYUNTCFKjHiWnyfkbHfW8rLZQ 5N0r8DWoLbpHN6eTtAXpWIAHQzjHlonmpqrz49hHVCwEffRYmoCvqAXFd6SQgC41MveP pYVw== X-Gm-Message-State: AOAM533LN5WI9uOO4afSES+km8CuX/qcCPtJrUK9FbeQdfGH6hWM9Yr1 rJu+pI3Jv35Jzk/NRG4XsxnoLSiKGM1qxKpBHLaTCg== X-Received: by 2002:a02:b812:: with SMTP id o18mr2137454jam.55.1603803456107; Tue, 27 Oct 2020 05:57:36 -0700 (PDT) MIME-Version: 1.0 References: <20201026175526.2915399-1-enric.balletbo@collabora.com> <20201026175526.2915399-6-enric.balletbo@collabora.com> In-Reply-To: <20201026175526.2915399-6-enric.balletbo@collabora.com> From: Fabien Parent Date: Tue, 27 Oct 2020 13:57:25 +0100 Message-ID: Subject: Re: [PATCH v3 05/16] soc: mediatek: pm_domains: Make bus protection generic To: Enric Balletbo i Serra Cc: linux-kernel , Matthias Brugger , drinkcat@chromium.org, hsinyi@chromium.org, Collabora Kernel ML , weiyi.lu@mediatek.com, Matthias Brugger , Joerg Roedel , Miles Chen , Linux ARM , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > - ret = mtk_infracfg_set_bus_protection(pd->infracfg, > - bpd[i].bus_prot_mask, > - bpd[i].bus_prot_reg_update); [snip] > - ret = mtk_infracfg_clear_bus_protection(pd->infracfg, > - bpd[i].bus_prot_mask, > - bpd[i].bus_prot_reg_update); Since you got rid of all the dependencies to mtk-infracfg.c, maybe you can also remove the "depends on MTK_INFRACFG" in the Kconfig.