Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2954290pxu; Mon, 14 Dec 2020 15:48:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeaX00kO7NNC+0NbugK6gba97iN409A0CW2fJh2HTNqWa0sMAXpX4mCs40tj4fvrzaBgib X-Received: by 2002:a17:906:2707:: with SMTP id z7mr24933496ejc.418.1607989690455; Mon, 14 Dec 2020 15:48:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607989690; cv=none; d=google.com; s=arc-20160816; b=CMW392WS1LOM1ICJZZTEoRcGM85cY7HFMVj/JT62EAxwd8Ttt9KIKtMaY3PMDF7V87 OI+5lgkkPuktL3YjBSGP2Hoe4EVUEGcQKL6FpfXD7cSx0Zf9deLehaNDnDsjfDkRc8wr yLBbdYMqVgacpqbrhaD+k0MShuwIf1qzzNMLJfyjKr/q4WnBLq0GBHR8lQ4oWRBb7sa6 RPIw+Z8gGik9jlkGDbNOZ4Gv7BfUaKhTqEsD5Y8AvhgNvWP+AxDfxw5VlWhcDhhRkoqu R+X8hNIktn6p34op2qZ+uaiSxxLxgvjMsnlLh7tmxlnp7PF3/MvHSV8NsW4QULimCZLX rZfw== 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=Mp78t7kvEaMtsxX8pXTx/a7oOkC9SmrXUeT073CfRSc=; b=cOfzDZVUPQPYQJ5/NrhlAbsJL5QQ/ih7uHXns48IsjPKsZ41svty/SusCxkTPbttoP JMJd6Fg+uJgP9KU9AHIfHJ6TTDBEPxjhfAXZ6IpR/KWFpg4bKa1ewc9wbjGogdAP0fIK dvL2P+96CRKL7ToRPgXIf1UthahGl/xRxS0yQYVGEBMyP43+kPqKVFxmo+cd3ykxxJB7 HU7M0tIK8hj+voJ+tFT0CqVxSQR2d1r12VMAio72psh9Y+7ZS4TJ3PYLHYHVK9PBW/PS EQsWYZg0l7aPVXNiJ/Oxw3hOychnzPtshiyETUyTGCrQQnrH24maMEixS6EqB62U5lq4 wrSA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t6si23452ejr.116.2020.12.14.15.47.47; Mon, 14 Dec 2020 15:48:10 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408408AbgLNRMU (ORCPT + 99 others); Mon, 14 Dec 2020 12:12:20 -0500 Received: from 14.mo4.mail-out.ovh.net ([46.105.40.29]:40022 "EHLO 14.mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408360AbgLNRMD (ORCPT ); Mon, 14 Dec 2020 12:12:03 -0500 X-Greylist: delayed 24225 seconds by postgrey-1.27 at vger.kernel.org; Mon, 14 Dec 2020 12:12:02 EST Received: from player746.ha.ovh.net (unknown [10.108.35.74]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id 58CDE25C592 for ; Mon, 14 Dec 2020 13:24:45 +0100 (CET) Received: from milecki.pl (ip-194-187-74-233.konfederacka.maverick.com.pl [194.187.74.233]) (Authenticated sender: rafal@milecki.pl) by player746.ha.ovh.net (Postfix) with ESMTPSA id 7AC26193795B4; Mon, 14 Dec 2020 12:24:33 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R0024d04bba9-bba4-4092-81a2-66b9f363d4d7, 9D4513A06938E8562C9FC8D5040FBB067C1A90C8) smtp.auth=rafal@milecki.pl X-OVh-ClientIp: 194.187.74.233 Subject: Re: [PATCH 2/2] soc: bcm: add PM driver for Broadcom's PMB To: Florian Fainelli , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring Cc: Philipp Zabel , "Rafael J . Wysocki" , Kevin Hilman , Ulf Hansson , devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org References: <20201211215942.5726-1-zajec5@gmail.com> <20201211215942.5726-3-zajec5@gmail.com> <3bc097fa-3bef-396f-a4fd-fa8acbc1b71d@gmail.com> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Message-ID: <18ebb7ab-2a45-f9fb-a094-0e63d44eadad@milecki.pl> Date: Mon, 14 Dec 2020 13:24:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <3bc097fa-3bef-396f-a4fd-fa8acbc1b71d@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6452813843937398321 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrudekkedggedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepkeduheejheffudefhffghfegjeejleetkeevueelveegkefhhfffieehleelgfevnecukfhppedtrddtrddtrddtpdduleegrddukeejrdejgedrvdeffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejgeeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomheprhgrfhgrlhesmhhilhgvtghkihdrphhlpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.12.2020 23:08, Florian Fainelli wrote: > On 12/11/20 1:59 PM, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> PMB can be found on BCM4908 and many other chipsets (e.g. BCM63138). >> It's needed to power on and off SoC blocks like PCIe, SATA, USB. >> >> Signed-off-by: Rafał Miłecki > > I will do a more thorough review tonight, however do you mind moving the > driver under drives/soc/bcm/bcm63xx? The first SoC that had PMB was > 63138 and that one is DSL. I now realized that bcm63xx's: * Kconfig is wrapper in: if SOC_BCM63XX * Makefile is conditional: obj-$(CONFIG_SOC_BCM63XX) So it means I've to either: 1. Refactor bcm63xx structure 2. Make SOC_BCM63XX selectable on ARCH_BCM4908 and select it I'm not sure if any of above is a really good idea. Any further thought, ideas?